john30 / ebusd

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

New eBUS Adapter 3 USB and #462

Closed gperdach closed 2 years ago

gperdach commented 2 years ago

Hi, I installed new eBUS Adapter 3 and connected it via USB to my Raspberry Pi 3 Model B Rev 1.2 with debian 10. I am always getting a "read timeout" on scanning the master/slaves. Before switching to eBUS Adapter 3, I used E-Service GmbH: eBUS Koppler Ethernet - devices were recognized normally.

I got following output on startup: pi@raspberrypi:~ $ ebusd --lograwdata --configpath=http://ebusd.eu/config/ --scanconfig -f -d enh:/dev/ttyUSB0 2021-10-23 08:21:32.702 [main notice] ebusd 21.2.v21.2 started with auto scan on enhanced device /dev/ttyUSB0 2021-10-23 08:21:32.934 [bus notice] bus started with own address 31/36 2021-10-23 08:21:32.943 [bus notice] signal acquired 2021-10-23 08:21:33.075 [bus notice] device status: reset 2021-10-23 08:21:39.392 [bus notice] new master 10, master count 2 2021-10-23 08:21:39.450 [bus notice] new master 03, master count 3 2021-10-23 08:21:39.451 [update notice] received unknown MS cmd: 1008b5110101 / 093d3af00aff6a0000ff 2021-10-23 08:21:39.455 [bus notice] <1008b51101018900093d3af00aff6a0000ffcd00 2021-10-23 08:21:39.717 [bus notice] new master 71, master count 4 2021-10-23 08:21:39.718 [update notice] received unknown MS cmd: 1076b5110101 / 09ff3af00aff6a0000ff 2021-10-23 08:21:39.722 [bus notice] <1076b5110101160009ff3af00aff6a0000ff8200 2021-10-23 08:21:39.983 [update notice] received unknown MS cmd: 1076b512030f0001 / 0755030000801103 2021-10-23 08:21:39.989 [bus notice] <1076b512030f0001fc0007550300008011034700 2021-10-23 08:21:40.193 [update notice] received unknown BC cmd: 10feb505025c00 2021-10-23 08:21:40.198 [bus notice] <10feb505025c00e8 2021-10-23 08:21:40.460 [update notice] received unknown MS cmd: 1008b51009000037ffffff060000 / 0101 2021-10-23 08:21:40.465 [bus notice] <1008b51009000037ffffff060000580001019a00 2021-10-23 08:21:40.727 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101 2021-10-23 08:21:40.732 [bus notice] <1076b51009000000ffffff010000850001019a00 2021-10-23 08:21:40.995 [update notice] received unknown MS cmd: 1008b5040100 / 0a0342210923100621f00a 2021-10-23 08:21:41.000 [bus notice] <1008b50401003d000a0342210923100621f00abd00 2021-10-23 08:21:41.239 [update notice] received unknown MS cmd: 1008b507020937 / 02b302 2021-10-23 08:21:41.244 [bus notice] <1008b507020937780002b3024500 2021-10-23 08:21:41.474 [update notice] received unknown BC cmd: 10feb516080040210923100621 2021-10-23 08:21:41.479 [bus notice] <10feb51608004021092310062166 2021-10-23 08:21:41.738 [update notice] received unknown MS cmd: 1008b5110100 / 09e70111000008000100 2021-10-23 08:21:41.743 [bus notice] <1008b5110100880009e70111000008000100e000 2021-10-23 08:21:41.983 [update notice] received unknown MS cmd: 1076b51303040d00 / 02ffff 2021-10-23 08:21:41.988 [bus notice] <1076b51303040d00bb0002ffffa800 2021-10-23 08:21:42.197 [update notice] received unknown BC cmd: 10feb5160301f00a 2021-10-23 08:21:42.204 [bus notice] <10feb5160301f00a43 2021-10-23 08:21:43.031 [main error] scan config 08: ERR: read timeout 2021-10-23 08:21:43.535 [bus notice] >3108 2021-10-23 08:21:45.091 [main error] scan config 15: ERR: read timeout 2021-10-23 08:21:45.595 [bus notice] >3115 2021-10-23 08:21:47.151 [main error] scan config 76: ERR: read timeout 2021-10-23 08:21:47.655 [bus notice] >3176 2021-10-23 08:21:49.499 [update notice] received unknown MS cmd: 1008b5110101 / 093b39f00aff6a0000ff 2021-10-23 08:21:49.504 [bus notice] <1008b51101018900093b39f00aff6a0000ff5400 2021-10-23 08:21:49.766 [update notice] received unknown MS cmd: 1076b5110101 / 09ff39f00aff6a0000ff 2021-10-23 08:21:49.771 [bus notice] <1076b5110101160009ff39f00aff6a0000ff6300 2021-10-23 08:21:50.032 [update notice] received unknown MS cmd: 1076b512030f0001 / 0755030000801103 2021-10-23 08:21:50.037 [bus notice] <1076b512030f0001fc0007550300008011034700 2021-10-23 08:21:50.298 [update notice] received unknown MS cmd: 1008b51009000037ffffff060000 / 0101 2021-10-23 08:21:50.303 [bus notice] <1008b51009000037ffffff060000580001019a00 2021-10-23 08:21:50.565 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101 2021-10-23 08:21:50.570 [bus notice] <1076b51009000000ffffff010000850001019a00 2021-10-23 08:21:59.561 [update notice] received unknown MS cmd: 1008b5110101 / 093a38f00aff6a0000ff 2021-10-23 08:21:59.566 [bus notice] <1008b51101018900093a38f00aff6a0000ff1f00 2021-10-23 08:21:59.828 [update notice] received unknown MS cmd: 1076b5110101 / 09ff38f00aff6a0000ff 2021-10-23 08:21:59.833 [bus notice] <1076b5110101160009ff38f00aff6a0000ffb500 2021-10-23 08:22:00.094 [update notice] received unknown MS cmd: 1076b512030f0001 / 0755030000801003 2021-10-23 08:22:00.099 [bus notice] <1076b512030f0001fc000755030000801003dc00 2021-10-23 08:22:00.359 [update notice] received unknown MS cmd: 1008b51009000037ffffff060000 / 0101 2021-10-23 08:22:00.364 [bus notice] <1008b51009000037ffffff060000580001019a00 2021-10-23 08:22:00.626 [update notice] received unknown MS cmd: 1076b51009000000ffffff010000 / 0101 2021-10-23 08:22:00.631 [bus notice] <1076b51009000000ffffff010000850001019a00 2021-10-23 08:22:09.625 [update notice] received unknown MS cmd: 1008b5110101 / 093938f00aff6a0000ff 2021-10-23 08:22:09.630 [bus notice] <1008b51101018900093938f00aff6a0000ff2300 2021-10-23 08:22:09.892 [update notice] received unknown MS cmd: 1076b5110101 / 09ff38f00aff6a0000ff 2021-10-23 08:22:09.897 [bus notice] <1076b5110101160009ff38f00aff6a0000ffb500 2021-10-23 08:22:10.159 [update notice] received unknown MS cmd: 1076b512030f0001 / 0755030000801003

ebusctl info shows following output: localhost: info version: ebusd 21.2.v21.2 signal: acquired symbol rate: 21 max symbol rate: 88 min arbitration micros: 428 max arbitration micros: 447 reconnects: 0 masters: 4 messages: 14 conditional: 0 poll: 0 update: 4 address 03: master #11 address 08: slave #11 address 10: master #2 address 31: master #8, ebusd address 36: slave #8, ebusd address 71: master #9 address 76: slave #9

Do you have any idea, what is wrong?

Regards, Gregor

john30 commented 2 years ago

please try with "--latency=20" as additional start parameter to ebusd

gperdach commented 2 years ago

Perfect - this works! Thank you!