ebusd-configuration icon indicating copy to clipboard operation
ebusd-configuration copied to clipboard

can not send negative numbers via mqtt

Open swi88 opened this issue 2 years ago • 1 comments

Hello, I added tihs entry for the HcAlternativePoint in my 15.720.csv file: r;w,,HcAlternativePoint,,,,,2200,,,tempv,,,exclusively alternate heating below alternative point (-21=off)

And this is the template: tempv,EXP,,°C,temperature

If I try to change the value to -21 via mqtt, i got the error "Function tried to send a message of type number"

When I try to change the value to -21 via mqtt, I get the error message "Function tried to send a message of type number".

Does anyone have any idea why this might be? I can also only specify values > 0 via Home Assistant.

swi88 avatar Mar 28 '24 22:03 swi88

I use SIN for some of the values of my systems and ebusd accept the messages, even negative ones. I'm no expert but I think you should check your mqtt-hassio.cfg to be sure that the line get mapped to a float/number data type in HA otherwise I think that the mqtt value can be mapped to a string and thus be discarded by ebusd.

wrongisthenewright avatar Apr 03 '24 21:04 wrongisthenewright

thanks, i will try this.

swi88 avatar Apr 12 '24 20:04 swi88