john30 / ebusd-configuration

ebusd configuration files
GNU General Public License v3.0
184 stars 291 forks source link

Reception errors with latest version of ebusd with Wemos D1 and Vaillant Calormatic 430 #164

Open B-G-T opened 4 years ago

B-G-T commented 4 years ago

I need your help because my new ebusd system just throws error messages when trying to decode messages:

root@ioBroker-Pi:~/ebusd# ebusd -f --loglevel=debug -d 192.168.178.142:9999 --latency=20000 -c /etc/ebusd
2020-01-11 18:51:02.607 [main notice] ebusd 3.4.v3.4-13-g7b8ceb7 started
2020-01-11 18:51:02.607 [main info] loading configuration files from /etc/ebusd
2020-01-11 18:51:02.608 [main info] reading templates /
2020-01-11 18:51:02.611 [main info] read templates in /
2020-01-11 18:51:02.611 [main info] reading file broadcast.csv
2020-01-11 18:51:02.614 [main info] successfully read file broadcast.csv
2020-01-11 18:51:02.614 [main info] reading file memory.csv
2020-01-11 18:51:02.616 [main info] successfully read file memory.csv
2020-01-11 18:51:02.616 [main info] reading dir  vaillant
2020-01-11 18:51:02.619 [main info] reading templates vaillant
2020-01-11 18:51:02.630 [main info] read templates in vaillant
2020-01-11 18:51:02.630 [main info] reading file vaillant/84.zeo.csv
2020-01-11 18:51:02.685 [main info] successfully read file vaillant/84.zeo.csv
2020-01-11 18:51:02.685 [main info] reading file vaillant/15.360.csv
2020-01-11 18:51:02.706 [main info] successfully read file vaillant/15.360.csv
2020-01-11 18:51:02.706 [main info] reading file vaillant/50.vr630.mc.csv
2020-01-11 18:51:02.711 [main info] successfully read file vaillant/50.vr630.mc.csv
2020-01-11 18:51:02.711 [main info] reading file vaillant/05.vd6.csv
2020-01-11 18:51:02.726 [main info] successfully read file vaillant/05.vd6.csv
2020-01-11 18:51:02.726 [main info] reading file vaillant/23.vr630.cc.csv
2020-01-11 18:51:02.728 [main info] successfully read file vaillant/23.vr630.cc.csv
2020-01-11 18:51:02.728 [main info] reading file vaillant/05.vl9.csv
2020-01-11 18:51:02.729 [main error] error reading config files from /etc/ebusd: ERR: duplicate entry, last error: vaillant/05.vl9.csv:8: ERR: duplicate entry, duplicate ID
2020-01-11 18:51:02.758 [bus notice] bus started with own address 31/36
2020-01-11 18:51:02.759 [main info] registering data handlers
2020-01-11 18:51:02.759 [main info] registered data handlers
2020-01-11 18:51:03.091 [bus debug] ERR: SYN received during no signal, switching to ready
2020-01-11 18:51:03.091 [bus notice] signal acquired
^C2020-01-11 18:51:03.830 [main notice] SIGINT received
2020-01-11 18:51:06.704 [bus debug] ERR: CRC error during receive command CRC, switching to receive command ACK
2020-01-11 18:51:06.709 [bus debug] ERR: ACK error during receive command ACK, switching to skip
2020-01-11 18:51:07.875 [main notice] ebusd stopped
root@ioBroker-Pi:~/ebusd# ebusd -f --loglevel=debug -d 192.168.178.142:9999 --latency=20000 -c /etc/ebusd
2020-01-11 18:51:41.021 [main notice] ebusd 3.4.v3.4-13-g7b8ceb7 started
2020-01-11 18:51:41.021 [main info] loading configuration files from /etc/ebusd
2020-01-11 18:51:41.021 [main info] reading templates /
2020-01-11 18:51:41.025 [main info] read templates in /
2020-01-11 18:51:41.025 [main info] reading file broadcast.csv
2020-01-11 18:51:41.028 [main info] successfully read file broadcast.csv
2020-01-11 18:51:41.029 [main info] reading file memory.csv
2020-01-11 18:51:41.031 [main info] successfully read file memory.csv
2020-01-11 18:51:41.031 [main info] reading dir  vaillant
2020-01-11 18:51:41.041 [main info] reading templates vaillant
2020-01-11 18:51:41.054 [main info] read templates in vaillant
2020-01-11 18:51:41.054 [main info] reading file vaillant/84.zeo.csv
2020-01-11 18:51:41.097 [main info] successfully read file vaillant/84.zeo.csv
2020-01-11 18:51:41.097 [main info] reading file vaillant/15.360.csv
2020-01-11 18:51:41.118 [main info] successfully read file vaillant/15.360.csv
2020-01-11 18:51:41.118 [main info] reading file vaillant/50.vr630.mc.csv
2020-01-11 18:51:41.123 [main info] successfully read file vaillant/50.vr630.mc.csv
2020-01-11 18:51:41.124 [main info] reading file vaillant/05.vd6.csv
2020-01-11 18:51:41.138 [main info] successfully read file vaillant/05.vd6.csv
2020-01-11 18:51:41.138 [main info] reading file vaillant/23.vr630.cc.csv
2020-01-11 18:51:41.140 [main info] successfully read file vaillant/23.vr630.cc.csv
2020-01-11 18:51:41.140 [main info] reading file vaillant/05.vl9.csv
2020-01-11 18:51:41.141 [main error] error reading config files from /etc/ebusd: ERR: duplicate entry, last error: vaillant/05.vl9.csv:8: ERR: duplicate entry, duplicate ID
2020-01-11 18:51:41.208 [bus notice] bus started with own address 31/36
2020-01-11 18:51:41.208 [main info] registering data handlers
2020-01-11 18:51:41.208 [main info] registered data handlers
2020-01-11 18:51:41.227 [bus debug] ERR: SYN received during no signal, switching to ready
2020-01-11 18:51:41.227 [bus notice] signal acquired
2020-01-11 18:51:44.867 [bus debug] ERR: read timeout during receive command, switching to skip
2020-01-11 18:51:46.877 [bus debug] ERR: read timeout during receive command, switching to skip
2020-01-11 18:51:47.132 [bus debug] ERR: read timeout during receive command, switching to skip
2020-01-11 18:51:48.498 [bus debug] ERR: SYN received during receive command, switching to ready
2020-01-11 18:51:50.819 [bus debug] ERR: SYN received during receive command, switching to ready
2020-01-11 18:51:51.208 [main debug] performing regular tasks
2020-01-11 18:51:51.234 [main notice] found messages: 712 (10 conditional on 9 conditions, 0 poll, 4 update)
2020-01-11 18:51:52.082 [bus debug] ERR: read timeout during receive command, switching to skip
2020-01-11 18:51:52.491 [bus debug] ERR: SYN received during receive command, switching to ready
2020-01-11 18:51:54.811 [bus debug] ERR: CRC error during receive command CRC, switching to receive command ACK
2020-01-11 18:51:54.815 [bus debug] ERR: ACK error during receive command ACK, switching to skip
2020-01-11 18:51:56.848 [bus debug] ERR: CRC error during receive command CRC, switching to receive command ACK
2020-01-11 18:51:56.852 [bus debug] ERR: ACK error during receive command ACK, switching to skip
2020-01-11 18:51:57.148 [bus debug] ERR: SYN received during receive command, switching to ready
...

The Wimos eBUS adapter 2.0 reports that the eBUS signal is acquired. An oscilloscope check of the output of the ebus adapter (V1.6) also confirmed that the signal is fine.

The raw output of ebusd looks ok:

root@ioBroker-Pi:~/ebusd# ebusd -f --lograwdata=bytes  -d 192.168.178.142:9999 --latency=20000 -c /etc/ebusd
2020-01-11 18:45:25.038 [main notice] ebusd 3.4.v3.4-13-g7b8ceb7 started
2020-01-11 18:45:25.149 [main error] error reading config files from /etc/ebusd: ERR: duplicate entry, last error: vaillant/05.vl9.csv:8: ERR: duplicate entry, duplicate ID
2020-01-11 18:45:25.192 [bus notice] bus started with own address 31/36
2020-01-11 18:45:25.211 [bus notice] <aa
2020-01-11 18:45:25.211 [bus notice] signal acquired
2020-01-11 18:45:25.255 [bus notice] <aa
2020-01-11 18:45:25.260 [bus notice] <10
2020-01-11 18:45:25.268 [bus notice] <08
...

and later

2020-01-11 18:47:05.701 [bus notice] <aa
2020-01-11 18:47:05.749 [bus notice] <aa
2020-01-11 18:47:05.793 [bus notice] <aa
2020-01-11 18:47:05.838 [bus notice] <aa
2020-01-11 18:47:05.882 [bus notice] <aa
2020-01-11 18:47:05.927 [bus notice] <aa
2020-01-11 18:47:05.971 [bus notice] <aa
2020-01-11 18:47:06.015 [bus notice] <aa
2020-01-11 18:47:06.060 [bus notice] <aa
2020-01-11 18:47:06.106 [bus notice] <aa
2020-01-11 18:47:06.150 [bus notice] <aa
2020-01-11 18:47:06.194 [bus notice] <aa
2020-01-11 18:47:06.244 [bus notice] <aa
2020-01-11 18:47:06.288 [bus notice] <aa
2020-01-11 18:47:06.292 [bus notice] <10
2020-01-11 18:47:06.300 [bus notice] <08
2020-01-11 18:47:06.304 [bus notice] <b5
2020-01-11 18:47:06.309 [bus notice] <10
2020-01-11 18:47:06.313 [bus notice] <f9
2020-01-11 18:47:06.325 [bus notice] <5f
2020-01-11 18:47:06.329 [bus notice] <fe
2020-01-11 18:47:06.338 [bus notice] <ff
2020-01-11 18:47:06.341 [bus notice] <00
2020-01-11 18:47:06.346 [bus notice] <ff
2020-01-11 18:47:06.350 [bus notice] <00
2020-01-11 18:47:06.354 [bus notice] <72
2020-01-11 18:47:06.358 [bus notice] <00
2020-01-11 18:47:06.379 [bus notice] <01
2020-01-11 18:47:06.383 [bus notice] <01
2020-01-11 18:47:06.387 [bus notice] <fa
2020-01-11 18:47:06.397 [bus notice] <f5
2020-01-11 18:47:06.443 [bus notice] <aa
2020-01-11 18:47:06.487 [bus notice] <aa
2020-01-11 18:47:06.532 [bus notice] <aa
2020-01-11 18:47:06.576 [bus notice] <aa
2020-01-11 18:47:06.622 [bus notice] <aa
2020-01-11 18:47:06.664 [bus notice] <aa
2020-01-11 18:47:06.711 [bus notice] <aa
2020-01-11 18:47:06.756 [bus notice] <aa
2020-01-11 18:47:06.801 [bus notice] <aa

Maybe the issue is related to this error message:? 2020-01-11 18:51:41.141 [main error] error reading config files from /etc/ebusd: ERR: duplicate entry, last error: vaillant/05.vl9.csv:8: ERR: duplicate entry, duplicate ID In order to minimize the risk, my ebus adapter is populated only for reading from the bus.

john30 commented 4 years ago

sure, you need to get rid of the duplicates message. you can use "--checkconfig" for doing that without bus access. and your interface seems to be inappropriately calibrated according to the CRC + ACK errors