I have reviewed other posts on this. I think it would be helpful if we defined some standard device profiles and how they should be setup. Ie. a switch, dimmer, contact, push button, etc.
I have put together a python library for 3.0.1 that makes it very easy to add homie devices to any existing code. Its a WIP but would be interested in any feedback. I have made several assumptions about common device profiles in this library - it would be good to have a discussion about best practices. Ie. should a switch be a boolean or should it be an enum with on,off values?
I have reviewed other posts on this. I think it would be helpful if we defined some standard device profiles and how they should be setup. Ie. a switch, dimmer, contact, push button, etc.
I have put together a python library for 3.0.1 that makes it very easy to add homie devices to any existing code. Its a WIP but would be interested in any feedback. I have made several assumptions about common device profiles in this library - it would be good to have a discussion about best practices. Ie. should a switch be a boolean or should it be an enum with on,off values?
https://github.com/mjcumming/HomieV3