seb821 / espRFLinkMQTT

ESP8266 gateway between RFLink and MQTT server
96 stars 32 forks source link

Raw data extraction from Debug #38

Open lettore opened 11 months ago

lettore commented 11 months ago

Hi, first of all thank you for this project, you saved my life. That said I managed to connect Home Assistant via TCP with Node Red using the debug data over MQTT. I want to share my considerations:

  1. it's possible to add a topic RAW to send the original data coming from Rflink serial bus without any modifications?
  2. actually the debug topic receive 2 message for every single message incoming, one with DATA and another with JSON, it's possible to publish this to two separates topics rflink/debug/data and rflink/debug/json?
  3. the debug topic is retained, this can be useful for debugging but if you use it as I'm doing at every reconnection to the server I get the last published topic, and it's not what should happen. You can make this an option? If you can just publish the raw data on a separate topic all the rest can remain the same. Thank you