john30 / ebusd

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

Problem: ebusd + mqtt Vaillant Recovair 275 #1086

Closed mcnarf closed 11 months ago

mcnarf commented 11 months ago

Description

I have a Vaillant Recovair 275 domestic ventilation system, which I have connected to ebusd using CSV files from the FHEM forum. (currently these files are not in the configuration repository) In the ebusd.log I see the values I would like to have and I can also control the system with ebustctl write. Unfortunately, however, some values are not transferred "cleanly" to MQTT and therefore do not end up in my Home Assistant.

Thanks for your help!

Actual behavior

these values are not transferred to MQTT, I think because of the empty name: property

2023-12-11 15:27:09.410 [mqtt debug] publish ebusd/wtw04/Ertrag_Gesamt_kWh { "0": {"name": "", "value": 16525}} 2023-12-11 15:27:09.410 [mqtt debug] publish ebusd/vai/Lueftungsstufe { "0": {"name": "", "value": "Tag"}}

this value is shown in MQTT and so in home assistant: 2023-12-11 15:27:09.410 [mqtt debug] publish ebusd/wtw04/Roomtemp { "temp": {"value": 26.25}}

Expected behavior

values should be sent via MQTT to home assistant

ebusd version

current source from git

ebusd arguments

EBUSD_OPTS="--scanconfig -d ens:192.168.3.40:9999 --port=8889 --httpport=8181 --configpath=/home/pi/vaillantconfig/ebusd-configuration/ebusd-2.1.x/de --mqtthost=XXXX --mqttport=1883 --mqttjson --latency=10 --accesslevel=* --pollinterval=15 --mqttint=/etc/ebusd/mqtt-hassio.cfg --mqttvar=filter-direction=r|u|^w --mqttuser=XXXX --mqttpass=XXXX --logareas=all --loglevel=debug"

Operating system

Debian 9 (Stretch) / Ubuntu 16-17 / Raspbian 9 / Raspberry Pi OS 9 (including lite)

CPU architecture

x64

Dockerized

None

Hardware interface

adapter 5 via USB

Related integration

MQTT Home Assistant via mqtt-hassio.cfg

Logs

2023-12-11 15:27:08.480 [update notice] received write wtw04 Lueftung = 130m3/h QQ=10: 2023-12-11 15:27:08.603 [update info] received MS cmd: 10c0b509040e0a0001 / 00 2023-12-11 15:27:08.604 [update notice] received write wtw04 Waermerueckgewinnung QQ=10: an 2023-12-11 15:27:08.756 [update info] received MS cmd: 10c0b509060e0000a40100 / 00 2023-12-11 15:27:08.757 [update notice] received write wtw04 Roomtemp QQ=10: 26.25 2023-12-11 15:27:09.171 [main debug] performing regular tasks 2023-12-11 15:27:09.343 [update info] received MS cmd: 10c0b50903294d00 / 044d008d40 2023-12-11 15:27:09.344 [update notice] received read wtw04 Ertrag_Gesamt_kWh QQ=10: 16525 2023-12-11 15:27:09.410 [mqtt debug] publish ebusd/wtw04/Ertrag_Gesamt_kWh { "0": {"name": "", "value": 16525}} 2023-12-11 15:27:09.410 [mqtt debug] publish ebusd/vai/Lueftungsstufe { "0": {"name": "", "value": "Tag"}} 2023-12-11 15:27:09.410 [mqtt debug] publish ebusd/wtw04/Roomtemp { "temp": {"value": 26.25}} 2023-12-11 15:27:09.410 [mqtt debug] publish ebusd/wtw04/Waermerueckgewinnung { "0": {"name": "", "value": "an"}} 2023-12-11 15:27:09.410 [mqtt error] decode wtw04 Lueftung = 130m3/h: empty


pi@raspberrypi:~ $ sudo ebusctl -p 8889 find -r broadcast id = no data stored general valuerange = no data stored memory eeprom = no data stored memory ram = no data stored scan id = no data stored scan.15 = Vaillant;VAI00;0125;8901 scan.15 id = 21;10;08;0020015281;0907;005186;N9 scan.c0 = Vaillant;WTW04;0127;9001 scan.c0 id = 10;18;00;1000535400;0600;5356N1; vai Lueftung_HI = no data stored vai Lueftungsstufe = Tag vai Uhrzeit = no data stored wtw04 Ertrag_Gesamt_kWh = 16525 wtw04 Roomtemp = no data stored wtw04 Soll-Volumenstromkorrektur = no data stored wtw04 TempInletAir_SAI = 7.19 wtw04 TempOutgoingAir_EAO = 12.25 wtw04 TempOutsideAir_SAO = 15.88 wtw04 TempWasteAir_EAI = 21.50 wtw04 Unterdruckschutz = no data stored wtw04 Waermerueckgewinnung = no data stored


Log shows, that some values were sent to home assistant.......

2023-12-11 15:00:34.020 [mqtt debug] publish ebusd/wtw04/Ertrag_Gesamt_kWh { "0": {"name": "", "value": 16525}} 2023-12-11 15:00:34.020 [mqtt debug] publish ebusd/wtw04/Roomtemp { "temp": {"value": 26.31}} 2023-12-11 15:00:34.021 [mqtt debug] publish ebusd/wtw04/Waermerueckgewinnung { "0": {"name": "", "value": "an"}} 2023-12-11 15:00:34.021 [mqtt error] decode wtw04 Lueftung = 130m3/h: empty 2023-12-11 15:00:34.121 [update info] received MS cmd: 10c0b509060e0000a50100 / 00 2023-12-11 15:00:34.121 [update notice] received write wtw04 Roomtemp QQ=10: 26.31 2023-12-11 15:00:34.264 [update info] received MS cmd: 10c0b50903294d00 / 044d008d40 2023-12-11 15:00:34.265 [update notice] received read wtw04 Ertrag_Gesamt_kWh QQ=10: 16525 2023-12-11 15:00:34.401 [update info] received MS cmd: 10c0b50903290e00 / 030e0000 2023-12-11 15:00:34.401 [update notice] received unknown MS cmd: 10c0b50903290e00 / 030e0000 2023-12-11 15:00:34.544 [update info] received MS cmd: 10c0b50903290f00 / 030f0000 2023-12-11 15:00:34.544 [update notice] received unknown MS cmd: 10c0b50903290f00 / 030f0000 2023-12-11 15:00:34.688 [update info] received MS cmd: 10c0b50903290900 / 03090000 2023-12-11 15:00:34.688 [update notice] received unknown MS cmd: 10c0b50903290900 / 03090000 2023-12-11 15:00:35.030 [mqtt debug] publish ebusd/global/uptime 64 2023-12-11 15:00:35.034 [mqtt debug] publish homeassistant/number/ebusd_wtw04_Roomtemp_temp/config { "unique_id":"ebusd_wtw04_Roomtemp_temp", "name":"ebusd wtw04 Roomtemp temp", "device":{ "identifiers":"ebusd_wtw04", "manufacturer":"ebusd.eu", "name":"ebusd wtw04", "via_device":"ebusd", "sw_version":"23.2", "suggested_area":"Heating" }, "value_template":"{{value_json[\"temp\"].value}}", "state_topic":"ebusd/wtw04/Roomtemp", "command_topic":"ebusd/wtw04/Roomtemp/set", "min":-2047.94, "max":2047.94, "step":0.06, "unit_of_measurement":"°C", "device_class":"temperature" }

Koky05 commented 11 months ago

I use trick to get all values into HA. I add as filter in "mqtt-hassio.cfg" all vowels: filter-direction = r|u|^w filter-name = a|e|i|y|o|u

mcnarf commented 11 months ago

That fixed my main problem, I now see the vai items, perfect! Thanks