Add raw data publishing setting.#874
Conversation
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
|
The part where it reads instead of writes to mqtt should then have a new setting also. Something like 'listen to raw data over mqtt'. Both settings should not be able to set at the same time. |
|
@IgorYbema No worries, I can update this. |
I use it in test cases. So have my production heishamon on my heatpump just publish the raw data and then have my test heishamon read it from mqtt. Then my test heishamon works as if it is connected to a heatpump also. |
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
|
@IgorYbema I added a "listen to raw data" setting, mutually exclusive with the publishing one. How does it looks like now? |
|
Look ok, however when selecting the listen to raw data it now uses the default 'panasonic_heat_pump' topic. Better would be that there is a new text field which then let the user define the other heishamon topic. |
Hi!
This PR partially reverts the logic of b32bba8 by putting the raw data topic behind a runtime setting rather than a compile one.
This is useful when you want to get all settings at once via decoding the raw data.