john30 / ebusd

daemon for communication with eBUS heating systems
GNU General Public License v3.0
594 stars 136 forks source link

Condition '>0' does not work #1244

Closed pvyleta closed 8 months ago

pvyleta commented 8 months ago

Description

Ebusd fails to create a condition in configuration file that would be true, if the value is greater than zero.

The Minimum non-working example I can create is a configuration '4c.csv' in 'encon' subfolder:

# type (r[1-9];w;u),circuit,name,[comment],[QQ],ZZ,PBSB,[ID],field1,part (m/s),datatypes/templates,divider/values,unit,comment
r,scan,TestMessage,,,,4050,,,,UCH,,,
*[testcondition],scan,TestMessage,,,,
[testcondition>0]r,testCircuit,TestMessage2,,,,4050,,,,UCH,,,

And then running ebusd:

ebusd --checkconfig -c /config/ebusd-configuration/latest/en

Actual behavior

I receive error for my condition

Expected behavior

I expect this to be a valid condition.

ebusd version

23.2

ebusd arguments

ebusd --foreground --mqtthost=core-mosquitto --mqttport=1883 --mqttuser=addons --mqttpass=Rae9ooYeekaigi9OoPhoodahCheel7aequaidiis1oocee8iw5ieG3maingietho --scanconfig --mqttjson --mqttlog --configpath=/config/ebusd-configuration/latest/en --mqttint=/config/ebusd/contrib/etc/ebusd/mqtt-hassio.cfg --mqtttopic=ebusd --device=ens:192.168.100.60:9999 --log=all:debug --log=bus:notice

Operating system

other

CPU architecture

arm64

Dockerized

other

Hardware interface

Adapter Shield v5 via WiFi

Related integration

MQTT Home Assistant via mqtt-hassio.cfg

Logs

2024-03-28 20:08:13.038 [main error] error reading config files from /config/ebusd-configuration/latest/en/: ERR: invalid argument, last error: encon/4c.csv:4: ERR: invalid argument, derive condition with values >0 failed