john30 / ebusd

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

knx: OtShutdownLimit uses wrong datatype? #1090

Closed mivola closed 8 months ago

mivola commented 9 months ago

Description

in my knx.cfg I want to include OtShutdownLimit. I tried different associations (mc/OtShutdownLimit/0, mc/OtShutdownLimit/desiredtemp) and datatypes (9, 12) but it doesnt properly work.

the ebusd is started in docker with these env vars:

-e EBUSD_SCANCONFIG= \
-e EBUSD_DEVICE=/dev/ttyUSB0 \
-e EBUSD_VERSION=23.2 \
-e EBUSD_MQTTPORT=1883 \
-e EBUSD_MQTTHOST=mediaserver \
-e EBUSD_MQTTVAR="filter-direction=r|u|^w" \
-e EBUSD_MQTTINT=/etc/ebusd/mqtt-hassio.cfg \
-e EBUSD_MQTTJSON= \
-e EBUSD_KNXURL= \
-e EBUSD_KNXINT=/etc/ebusd/knx.cfg \
-e EBUSD_LOG=other:debug \

Actual behavior

Expected behavior

ebusd version

23.2

ebusd arguments

see description

Operating system

other

CPU architecture

x64

Dockerized

latest

Hardware interface

other

Related integration

TCP (cmdline client like ebusctl or netcat), MQTT generic, KNX

Logs

n/a

c-huetter commented 9 months ago

Hi @mivola,

Would you please share the configuration CSV file that you're using? I would like to check the ebus data type and divider configured for the message OtShutdownLimit. If DPT-9 (2 byte float) works the message should probably be encoded as SIR with divisor 10.

Best Christian

john30 commented 8 months ago

desiredtemp is defined as UCH without divisor. as such, it is mapped to DPT 5.010 according to the docs

mivola commented 8 months ago

desiredtemp is defined as UCH without divisor. as such, it is mapped to DPT 5.010 according to the docs

Thanks a lot for the clarification and the link to the doc. Just for my (and others) reference in the future: here is the missing link between desiredtemp and the UCH type: https://github.com/john30/ebusd-configuration/blob/4675cd03b2763867cf74bd12426b1990bebb6204/ebusd-2.1.x/de/_templates.csv#L13