Skip to content

Add RFXSensor decoding#144

Open
martinj-op wants to merge 1 commit intoDanielhiversen:masterfrom
martinj-op:master
Open

Add RFXSensor decoding#144
martinj-op wants to merge 1 commit intoDanielhiversen:masterfrom
martinj-op:master

Conversation

@martinj-op
Copy link

Hi there,
I just found out that RFXSensor decoding is not implemented - so I have added it. I took inspiration from RFXMeter implementation - hopefully it follows all your standards.
Unit test also implemented.
Hope you'll accept my contribution!
Cheers,
Martin.

0x03: {'label': 'RfxSensor Message',
'field': 'Message',
'decoder': lambda hi, lo: (hi << 8) + lo}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The TYPES constant is only expected to be a int -> str map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants