john30 / ebusd

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

strange --mqtttopic handling when / inserted #943

Closed JanHBade closed 1 year ago

JanHBade commented 1 year ago

Description

setting the topic to --mqtttopic=ebusd/lueftung results in strange behaviour, links to #559 maybe?

grafik

Actual behavior

see picture, the / is ignored

Expected behavior

subtopic in mqtttopic should supported

ebusd version

current source from git

ebusd arguments

sudo ./src/ebusd/ebusd --scanconfig=full -c /etc/ebusd -d /dev/ttyebus --receivetimeout=50000 --pollinterval=30 --mqtthost=isis --mqttport=1883 --mqtttopic=ebusd/lueftung -f

Operating system

Debian 11 (Bullseye) / Ubuntu 20-21 / Raspbian 11 / Raspberry Pi OS 11 (including lite)

CPU architecture

armv7l

Dockerized

None

Hardware interface

other

Related integration

MQTT generic

Logs

-none-

john30 commented 1 year ago

is this only for the global topic or for all?

JanHBade commented 1 year ago

for all

JanHBade commented 1 year ago
2023-07-04 20:58:49.002 [main notice] ebusd 23.1.23.1-51-ge33810aa started with full scan on device: /dev/ttyebus
2023-07-04 20:58:49.030 [bus notice] bus started with own address 31/36
2023-07-04 20:58:49.067 [bus notice] signal acquired
2023-07-04 20:58:49.070 [mqtt notice] connection established
2023-07-04 20:58:49.073 [mqtt error] subscribe: Invalid function arguments provided.
2023-07-04 20:58:49.803 [bus notice] new master 37, master count 2
2023-07-04 20:58:59.066 [main notice] starting initial full scan

grafik

grafik

john30 commented 1 year ago

please check again with 43d3599

JanHBade commented 1 year ago

works, thank you