[SOLVED] Cannot send ebus commands via MQTT

Hello,

I’ve set up ebusd and MQTT integration to control my Vaillant heating system.

It works all good up to me publishing MQTT messages and I can’t understand why.

I know the message I publish is correct because if I open a shell in the ebusd container and execute the following command, I can see the message being published on the MQTT bus, a log line being shown in my ebusd addon’s logs, and my heating system works accordingly:

root@miniforum:~# docker exec -it addon_2ad9b828_ebusd /bin/bash
2ad9b828-ebusd:/# ebusctl write -c b7v OpMode auto
done
2024-03-16 10:12:13.185 [update notice] sent write b7v OpMode QQ=31: auto
2024-03-16 10:12:13.185 [main notice] write b7v OpMode: done

image
But, when I try to publish the same message via MQTT integration’s configuration page, while I can see the message being published on the MQTT bus, I can’t see it in my ebusd integration’s logs, and my heating system doesn’t react:

2024-03-16 10:14:00.285 [update notice] sent poll-read bai StorageExitTemp QQ=31: 116.06;circuit
2024-03-16 10:14:04.748 [update notice] received read bai Status01 QQ=10: 38.0;39.5;-;33.0;37.5;off
2024-03-16 10:14:05.513 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;1;0;0;0
2024-03-16 10:14:05.774 [update notice] received poll-read bai Status02 QQ=10: on;60;75.0;70;65.0
2024-03-16 10:14:06.251 [update notice] sent poll-read bai StorageLoadPumpHours QQ=31: 118
2024-03-16 10:14:12.266 [update notice] sent poll-read bai StorageloadPumpStarts QQ=31: 3283
2024-03-16 10:14:14.789 [update notice] received read bai Status01 QQ=10: 38.0;39.5;-;33.0;37.5;off
2024-03-16 10:14:15.064 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;1;0;0;0
2024-03-16 10:14:18.327 [update notice] sent poll-read bai StorageTemp QQ=31: 37.50;ok
2024-03-16 10:14:24.261 [update notice] sent poll-read bai StorageTempDesired QQ=31: 52.00
2024-03-16 10:14:24.836 [update notice] received read bai Status01 QQ=10: 38.0;39.5;-;33.0;37.5;off
2024-03-16 10:14:25.106 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;1;0;0;0
2024-03-16 10:14:30.316 [update notice] sent poll-read bai StorageTempMax QQ=31: 56.56
2024-03-16 10:14:34.915 [update notice] received read bai Status01 QQ=10: 38.0;39.5;-;33.0;37.5;off
2024-03-16 10:14:35.181 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;1;0;0;0
2024-03-16 10:14:35.417 [update notice] received update-read broadcast vdatetime QQ=10: 10:14:34;16.03.2024
2024-03-16 10:14:35.681 [update notice] received poll-read bai Status02 QQ=10: on;60;75.0;70;65.0
2024-03-16 10:14:35.938 [update notice] received unknown MS cmd: 1008b5110100 / 0861020b001f000000
2024-03-16 10:14:36.281 [update notice] sent poll-read bai TempDiffBlock QQ=31: 0
2024-03-16 10:14:36.336 [update notice] received update-read broadcast outsidetemp QQ=10: 11.430
2024-03-16 10:14:36.576 [update notice] received unknown MS cmd: 1008b5100305ff01 / 0101
2024-03-16 10:14:36.816 [update notice] received update-write bai StatusCirPump QQ=10: off
2024-03-16 10:14:37.056 [update notice] received unknown MS cmd: 1008b5120204ff / 0101
2024-03-16 10:14:37.295 [update notice] received unknown MS cmd: 1008b513020508 / 00
2024-03-16 10:14:37.500 [update notice] received unknown BC cmd: 10feb510020601
2024-03-16 10:14:42.293 [update notice] sent poll-read bai TempDiffFailure QQ=31: 0
2024-03-16 10:14:44.949 [update notice] received read bai Status01 QQ=10: 37.5;39.5;-;33.0;37.5;off
2024-03-16 10:14:45.219 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;1;0;0;0
2024-03-16 10:14:48.298 [update notice] sent poll-read bai TempGradientFailure QQ=31: 0
2024-03-16 10:14:54.266 [update notice] sent poll-read bai Templimiter QQ=31: off
2024-03-16 10:14:54.978 [update notice] received read bai Status01 QQ=10: 37.5;39.5;-;32.5;37.5;off
2024-03-16 10:14:55.251 [update notice] received update-write bai SetMode QQ=10: auto;0.0;-;-;1;0;1;0;0;0

Any idea what happens? Am I doing something wrong?

Best regards,

Cyrille

Silly me, I forgot to append the ‘/set’ part to my message :see_no_evil: