adorobis / hacomfoairmqtt

Home Assistant integration for ComfoAir 350 device via serial communication and MQTT
MIT License
37 stars 16 forks source link

Feature request: Add a debug switch to publish the raw data #33

Closed brembygit closed 1 year ago

brembygit commented 2 years ago

It can be really helpful during the troubleshooting if we can have a debug switch, when the switch is set to TRUE, we publish a new MQTT message that contains the row data I'm not sure if a single message is enough or we need a message for every different value the goal is to see the raw returned value in MQTT/HA without the need to debug the python script itself

adorobis commented 2 years ago

A one point to clarify the request: When in this "debug" mode, response from each call to the ventilation system will be published to MQTT. By default it is sending status updates every 10 seconds and there are 7 calls every time. The easiest way would be to store the response data in the same topic (a pair of query & response) and it would be on the receiver side to collect / browse through all of them.