aequitas / python-rflink

MIT License
30 stars 27 forks source link

Dropping invalid data on every boot of HA #50

Closed quack3d closed 4 years ago

quack3d commented 4 years ago

On every boot of HA I get a warning saying "dropping invalid data: 20;01;MiLight=ON;". Can that be fixed?

aequitas commented 4 years ago

This is mostly due to there being incomplete data in the input buffer of the serial port when rflink first starts reading from the port. But it might also be legitimate invalid data coming in. You can change the loglevel in HA to only show errors and not warnings, as is described in the documentation on the HA website.