Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RFXSensor decoding #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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