Hey @giannello,
not an ideal PR as it's massive and contains a lot of unrelated changes, but it was useful for me to refactor the code to debug and improve the implementation with more ease. Feel free to pick what you like, and add comments in case you have questions.
Added a README.md to document settings and the expected usage pattern
Added library sourcecode for warema-wms-venetian-blinds to allow upgrading dependencies of serialport and parsers
Improved logging by using winston, added log_level setting
Added the ability to specify device type when force-adding devices
Added targeted frequent polling for moving devices, as supported by warema-wms-venetian-blinds
Perfom scan anyway even when forcing a list of devices, and merge the resulting set, while still removing the blacklisted ones
Tweaked registration of devices to reuse some code for weather stations, added all supported sensors
Split code in a couple more files to improve readability
Hey @giannello, not an ideal PR as it's massive and contains a lot of unrelated changes, but it was useful for me to refactor the code to debug and improve the implementation with more ease. Feel free to pick what you like, and add comments in case you have questions.
warema-wms-venetian-blinds
to allow upgrading dependencies of serialport and parsers