Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config files not always loaded #754

Closed
tomvanacker85 opened this issue Dec 10, 2022 · 3 comments
Closed

Config files not always loaded #754

tomvanacker85 opened this issue Dec 10, 2022 · 3 comments

Comments

@tomvanacker85
Copy link

tomvanacker85 commented Dec 10, 2022

Description

A few days ago I noticed that my heating system was not working as expected due to an error when trying to read the room temperature. Not immediately having a clue, I started by updated ebusd to the latest version (22.4). This did not help at first, but after some restarts of the ebusd service all of a sudden the errors were gone.
However, after restarting the ebusd service some more times, the error returned. It seems that the configuration files for the different equipments are not loaded consistently: first the config file for the thermostat was loaded (but not for the EcoTec), later only the config file for the EcoTec was loaded (but not for the thermostat)...

pi@rpi-ebus:~ $ ebusctl info
version: ebusd 22.4.v22.4-29-gf0d01f96
update check: revision v22.4 available
device: /dev/ttyUSB0
signal: acquired
symbol rate: 23
max symbol rate: 1891
min arbitration micros: 347
max arbitration micros: 3382
min symbol latency: 5
max symbol latency: 14
reconnects: 0
masters: 4
messages: 432
conditional: 0
poll: 0
update: 4
address 00: master #1
address 03: master #11
address 05: slave #1, scanned "MF=Vaillant;ID=COM00;SW=2706;HW=3103"
address 08: slave #11, scanned "MF=Vaillant;ID=BAI00;SW=0603;HW=9102"
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=70000;SW=0419;HW=4603", loaded "vaillant/15.700.csv"
address 31: master #8, ebusd
address 36: slave #8, ebusd, scanning
address ec: slave, scanned "MF=Vaillant;ID=70000;SW=0419;HW=4603"

And after a restart

sudo service ebusd restart

the result is:

pi@rpi-ebus:~ $ ebusctl info
version: ebusd 22.4.v22.4-29-gf0d01f96
device: /dev/ttyUSB0
signal: acquired
symbol rate: 23
max symbol rate: 77
min arbitration micros: 422
max arbitration micros: 549
min symbol latency: 5
max symbol latency: 8
reconnects: 0
masters: 3
messages: 31
conditional: 0
poll: 0
update: 0
address 03: master #11
address 08: slave #11, scanned "MF=Vaillant;ID=BAI00;SW=0603;HW=9102", loaded "vaillant/08.bai.csv"
address 10: master #2
address 15: slave #2, scanned "MF=Vaillant;ID=70000;SW=0419;HW=4603"
address 31: master #8, ebusd
address 36: slave #8, ebusd

Edit: sometimes no config files at all are being loaded.
Edit2: after the last restart, both the EcoTec and the thermostat config files have been loaded.

Actual behavior

Configuration files loaded for only one equipment on the ebus.

Expected behavior

Configuration files loaded for all equipments on the ebus.

ebusd version

current source from git

ebusd arguments

EBUSD_OPTS="--scanconfig --mqtthost=192.168.1.47 --mqttport=1883 --latency=20000"

Operating system

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

CPU architecture

x64

Dockerized

None

Hardware interface

adapter 3.1 USB

Related integration

No response

Logs

pi@rpi-ebus:~ $ tail -100 /var/log/ebusd.log
2022-12-10 22:49:56.158 [update notice] received unknown MS cmd: 1008b5110102 / 06033c50468c64
2022-12-10 22:49:56.396 [update notice] received unknown BC cmd: 10feb516080055492310120622
2022-12-10 22:49:56.659 [update notice] received unknown MS cmd: 1008b5110100 / 087a0112001f000000
2022-12-10 22:49:56.874 [update notice] received unknown BC cmd: 10feb51603011000
2022-12-10 22:49:58.669 [update notice] received unknown MS cmd: 0008b503020001 / 0affffffffffffffffffff
2022-12-10 22:49:59.206 [update notice] received unknown MS cmd: 0008b503020002 / 0affffffffffffffffffff
2022-12-10 22:49:59.700 [update notice] received unknown MS cmd: 0008b503020004 / 0affffffffffffffffffff
2022-12-10 22:50:01.305 [update notice] received unknown MS cmd: 0015b503020001 / 0affffffffffffffffffff
2022-12-10 22:50:01.817 [update notice] received unknown MS cmd: 0015b503020002 / 0affffffffffffffffffff
2022-12-10 22:50:05.465 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:50:05.731 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:50:15.518 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:50:15.785 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:50:25.572 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:50:25.840 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:50:26.093 [update notice] received unknown MS cmd: 1008b5110102 / 06033c50468c64
2022-12-10 22:50:35.618 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:50:35.886 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:50:45.668 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:50:46.757 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:50:55.735 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:50:56.003 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:50:56.277 [update notice] received unknown MS cmd: 1008b5040100 / 0a03575023101206221000
2022-12-10 22:50:56.533 [update notice] received unknown MS cmd: 1008b5110102 / 06033c50468c64
2022-12-10 22:50:56.771 [update notice] received unknown BC cmd: 10feb516080056502310120622
2022-12-10 22:50:57.034 [update notice] received unknown MS cmd: 1008b5110100 / 087a0112001f000000
2022-12-10 22:50:57.251 [update notice] received unknown BC cmd: 10feb51603011000
2022-12-10 22:51:05.825 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:51:06.097 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:51:15.880 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:51:16.147 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:51:25.936 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:51:27.079 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:51:27.097 [update notice] received unknown MS cmd: 1008b5110102 / 06033c50468c64
2022-12-10 22:51:35.990 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:51:36.258 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:51:46.081 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:51:46.349 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:51:56.135 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:51:56.403 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:51:56.677 [update notice] received unknown MS cmd: 1008b5040100 / 0a03585123101206221000
2022-12-10 22:51:56.933 [update notice] received unknown MS cmd: 1008b5110102 / 06033c50468c64
2022-12-10 22:51:57.169 [update notice] received unknown BC cmd: 10feb516080056512310120622
2022-12-10 22:51:57.431 [update notice] received unknown MS cmd: 1008b5110100 / 087a0112001f000000
2022-12-10 22:51:57.645 [update notice] received unknown BC cmd: 10feb51603011000
2022-12-10 22:52:06.178 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:52:06.446 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:52:10.092 [main notice] SIGTERM received
2022-12-10 22:52:12.600 [main notice] ebusd stopped
2022-12-10 22:52:13.249 [main notice] ebusd 22.4.v22.4-29-gf0d01f96 started with auto scan on device /dev/ttyUSB0
2022-12-10 22:52:14.400 [bus notice] bus started with own address 31/36
2022-12-10 22:52:14.414 [bus notice] signal acquired
2022-12-10 22:52:14.438 [mqtt notice] connection established
2022-12-10 22:52:16.165 [bus notice] new master 10, master count 2
2022-12-10 22:52:16.224 [bus notice] new master 03, master count 3
2022-12-10 22:52:16.225 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:52:16.491 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:52:24.602 [bus notice] scan 08: ;Vaillant;BAI00;0603;9102
2022-12-10 22:52:24.602 [update notice] store 08 ident: done
2022-12-10 22:52:24.603 [update notice] sent scan-read scan.08 QQ=31: Vaillant;BAI00;0603;9102
2022-12-10 22:52:24.603 [bus notice] scan 08: ;Vaillant;BAI00;0603;9102
2022-12-10 22:52:26.317 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:52:26.583 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:52:26.841 [update notice] received unknown MS cmd: 1008b5110102 / 06033c50468c64
2022-12-10 22:52:36.363 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:52:37.655 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:52:39.468 [network error] HTTP connect: invalid result -1
2022-12-10 22:52:39.468 [main error] error reading common config file vaillant/broadcast.csv: ERR: element not found,
2022-12-10 22:52:39.469 [network error] HTTP method: 336462231=shutdown while in init
2022-12-10 22:52:39.469 [main error] error reading common config file vaillant/scan.csv: ERR: element not found,
2022-12-10 22:52:46.413 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:52:46.681 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:52:53.506 [network error] HTTP connect: invalid result -1
2022-12-10 22:52:53.506 [main error] error reading common config file vaillant/general.csv: ERR: element not found,
2022-12-10 22:52:53.507 [network error] HTTP method: 336462231=shutdown while in init
2022-12-10 22:52:53.508 [main error] error reading scan config file vaillant/08.bai.csv for ID "bai00", SW0603, HW9102: ERR: element not found,
2022-12-10 22:52:53.508 [main error] scan config 08: ERR: element not found
2022-12-10 22:52:56.005 [bus notice] scan 15: ;Vaillant;70000;0419;4603
2022-12-10 22:52:56.005 [update notice] store 15 ident: done
2022-12-10 22:52:56.005 [update notice] sent scan-read scan.15 QQ=31: Vaillant;70000;0419;4603
2022-12-10 22:52:56.005 [bus notice] scan 15: ;Vaillant;70000;0419;4603
2022-12-10 22:52:56.505 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:52:56.772 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:52:57.043 [update notice] received unknown MS cmd: 1008b5040100 / 0a03585223101206221000
2022-12-10 22:52:57.299 [update notice] received unknown MS cmd: 1008b5110102 / 06033c50468c64
2022-12-10 22:52:57.534 [update notice] received unknown BC cmd: 10feb516080057522310120622
2022-12-10 22:52:57.799 [update notice] received unknown MS cmd: 1008b5110100 / 087a0112001f000000
2022-12-10 22:52:58.014 [update notice] received unknown BC cmd: 10feb51603011000
2022-12-10 22:52:58.259 [update notice] received unknown MS cmd: 1008b5100305ff01 / 0101
2022-12-10 22:52:58.495 [update notice] received unknown MS cmd: 1008b512020000 / 00
2022-12-10 22:52:58.732 [update notice] received unknown MS cmd: 1008b5120204ff / 0101
2022-12-10 22:52:58.973 [update notice] received unknown MS cmd: 1008b513020508 / 00
2022-12-10 22:52:59.181 [update notice] received unknown BC cmd: 10feb510020601
2022-12-10 22:53:06.539 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:53:06.807 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101
2022-12-10 22:53:10.295 [network error] HTTP connect: invalid result -1
2022-12-10 22:53:10.295 [main error] error reading scan config file vaillant/15.700.csv for ID "70000", SW0419, HW4603: ERR: element not found,
2022-12-10 22:53:10.296 [main error] scan config 15: ERR: element not found
2022-12-10 22:53:16.630 [update notice] received unknown MS cmd: 1008b5110101 / 092f2d1000ff4f0000ff
2022-12-10 22:53:16.901 [update notice] received unknown MS cmd: 1008b51009000000ffffff050000 / 0101

@john30
Copy link
Owner

john30 commented Dec 11, 2022

seems like there were issues with the hosting provider again (sigh):

HTTP method: 336462231=shutdown while in init

they were facing a DDoS in November, so maybe this is related to that.

@Sethach
Copy link

Sethach commented Feb 13, 2023

I have a similar problem, but my configuration files are local. The device seems to be identified:
2023-02-13 16:33:02.231 [bus notice] scan 52: ;Vaillant;VR_70;0101;5804
2023-02-13 16:33:02.231 [update notice] store 52 ident: done
2023-02-13 16:33:02.232 [update notice] received scan-read scan.52 QQ=10: Vaillant;VR_70;0101;5804

but the 52.vr_70.csv is not loaded.

@john30
Copy link
Owner

john30 commented Feb 18, 2023

@Sethach this is not related to what is described above.

closed for missing feedback

@john30 john30 closed this as completed Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants