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

Only receiving single bytes of data and no devices seen on bus #1064

Closed
poggs opened this issue Nov 22, 2023 · 2 comments
Closed

Only receiving single bytes of data and no devices seen on bus #1064

poggs opened this issue Nov 22, 2023 · 2 comments

Comments

@poggs
Copy link

poggs commented Nov 22, 2023

Description

I have an esera eBUS Coupler Ethernet, connected directly to a Rasperry Pi 3 over an Ethernet cable, with a static IP address on each end. The coupler is set to send data over UDP to the Pi, and the Pi has nothing much running.

I've compiled ebusd from the latest releaesd version, and when I run it with --scanconfig=full, it never finds anything device on the eBUS, despite a Vaillant boiler being connected via one pair of wires in a Cat5 cable.

I only ever seem to get single bytes of data coming from the bus. If I power down the boiler, the data I receive changes to '00'.

Actual behavior

No devices are detected. Before the scan starts, data is received on the bus, but with what looks like warnings - see 'Logs'

Expected behavior

I'd expect ebusd to be able to find at least one device

ebusd version

23.2

ebusd arguments

--device=udp:192.168.100.50:5000 --scanconfig=full -f --log=all:debug --lograwdata

Operating system

Debian 12 (Bookworm) / Ubuntu 22-23 / Raspberry Pi OS 12 (including lite)

CPU architecture

arm64

Dockerized

None

Hardware interface

other

Related integration

other

Logs

2023-11-22 22:32:41.828 [bus notice] bus started with own address 31/36
2023-11-22 22:32:41.832 [bus debug] ERR: SYN received during no signal, switching to ready
2023-11-22 22:32:41.832 [bus notice] signal acquired
2023-11-22 22:32:42.047 [bus notice] <fff5
2023-11-22 22:32:42.047 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:42.307 [bus notice] <fef5
2023-11-22 22:32:42.307 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:42.524 [bus notice] <ff
2023-11-22 22:32:42.524 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:42.826 [bus notice] <ffc0
2023-11-22 22:32:42.826 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:43.085 [bus notice] <faff
2023-11-22 22:32:43.085 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:43.344 [bus notice] <ff
2023-11-22 22:32:43.344 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:43.645 [bus notice] <fef5
2023-11-22 22:32:43.645 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:43.904 [bus notice] <fafd
2023-11-22 22:32:43.904 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:44.163 [bus notice] <fafd
2023-11-22 22:32:44.163 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:44.465 [bus notice] <fef5
2023-11-22 22:32:44.465 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:44.723 [bus notice] <fafd
2023-11-22 22:32:44.723 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:44.982 [bus notice] <eaff
2023-11-22 22:32:44.982 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:45.284 [bus notice] <fff5
2023-11-22 22:32:45.284 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:45.542 [bus notice] <eaff
2023-11-22 22:32:45.542 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:45.780 [bus debug] ERR: read timeout during receive command, switching to skip
2023-11-22 22:32:45.801 [bus notice] <ea
2023-11-22 22:32:46.061 [bus notice] <eaff
2023-11-22 22:32:46.061 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:46.321 [bus notice] <faff
2023-11-22 22:32:46.321 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:46.623 [bus notice] <eafff5
2023-11-22 22:32:46.623 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:46.882 [bus notice] <fef5
2023-11-22 22:32:46.882 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:47.140 [bus notice] <eaff
2023-11-22 22:32:47.140 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:47.399 [bus notice] <ff
2023-11-22 22:32:47.399 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:47.701 [bus notice] <fef5
2023-11-22 22:32:47.701 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:47.960 [bus notice] <fafd
2023-11-22 22:32:47.960 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:48.480 [bus notice] <fafd
2023-11-22 22:32:48.480 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:48.738 [bus notice] <eaff
2023-11-22 22:32:48.738 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:49.040 [bus notice] <ffc0
2023-11-22 22:32:49.041 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:49.300 [bus notice] <fef5
2023-11-22 22:32:49.300 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:49.818 [bus notice] <fef5
2023-11-22 22:32:49.818 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:50.078 [bus notice] <fafd
2023-11-22 22:32:50.078 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:50.337 [bus notice] <faff
2023-11-22 22:32:50.337 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:50.638 [bus notice] <fefa
2023-11-22 22:32:50.638 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:50.896 [bus notice] <faff
2023-11-22 22:32:50.897 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:51.155 [bus notice] <eaff
2023-11-22 22:32:51.155 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:51.457 [bus notice] <ffd5
2023-11-22 22:32:51.457 [bus debug] ERR: SYN received during receive command, switching to ready
2023-11-22 22:32:51.716 [bus notice] <fafd
2023-11-22 22:32:51.716 [bus debug] ERR: SYN received during receive command, switching to ready
@poggs
Copy link
Author

poggs commented Nov 22, 2023

Further info: running with ./src/ebusd/ebusd --device=udp:192.168.100.50:5000 --scanconfig -f --log=all:info --lograwdata=bytes shows regular 'aa' bytes received:

2023-11-22 23:05:48.579 [main notice] ebusd 23.2.p20231122 started with auto scan on device: udp:192.168.100.50:5000
2023-11-22 23:05:48.579 [main info] loading configuration files from https://cfg.ebusd.eu/
2023-11-22 23:05:48.868 [main info] reading templates /
2023-11-22 23:05:49.159 [main info] read templates in /
2023-11-22 23:05:49.159 [main info] reading file broadcast.csv
2023-11-22 23:05:49.452 [main info] successfully read file broadcast.csv
2023-11-22 23:05:49.452 [main info] reading file memory.csv
2023-11-22 23:05:49.743 [main info] successfully read file memory.csv
2023-11-22 23:05:49.743 [main info] read config files, got 11 messages
2023-11-22 23:05:49.744 [main info] registering data handlers
2023-11-22 23:05:49.744 [main info] registered data handlers
2023-11-22 23:05:49.744 [bus notice] bus started with own address 31/36
2023-11-22 23:05:49.771 [bus notice] <f5
2023-11-22 23:05:49.771 [bus notice] signal acquired
2023-11-22 23:05:49.813 [bus notice] <aa
2023-11-22 23:05:49.855 [bus notice] <aa
2023-11-22 23:05:49.900 [bus notice] <aa
2023-11-22 23:05:49.943 [bus notice] <aa
2023-11-22 23:05:49.986 [bus notice] <fa
2023-11-22 23:05:50.031 [bus notice] <ff
2023-11-22 23:05:50.072 [bus notice] <aa
2023-11-22 23:05:50.115 [bus notice] <aa
2023-11-22 23:05:50.157 [bus notice] <aa
2023-11-22 23:05:50.201 [bus notice] <aa
2023-11-22 23:05:50.244 [bus notice] <aa
2023-11-22 23:05:50.286 [bus notice] <ea
2023-11-22 23:05:50.333 [bus notice] <ff
2023-11-22 23:05:50.373 [bus notice] <aa
2023-11-22 23:05:50.416 [bus notice] <aa
2023-11-22 23:05:50.460 [bus notice] <aa
2023-11-22 23:05:50.503 [bus notice] <aa
2023-11-22 23:05:50.546 [bus notice] <aa
2023-11-22 23:05:50.589 [bus notice] <fe
2023-11-22 23:05:50.633 [bus notice] <f5
2023-11-22 23:05:50.675 [bus notice] <aa
2023-11-22 23:05:50.718 [bus notice] <aa
2023-11-22 23:05:50.762 [bus notice] <aa
2023-11-22 23:05:50.805 [bus notice] <aa
2023-11-22 23:05:50.848 [bus notice] <fa
2023-11-22 23:05:50.894 [bus notice] <fd
2023-11-22 23:05:50.936 [bus notice] <aa
2023-11-22 23:05:50.980 [bus notice] <aa
2023-11-22 23:05:51.023 [bus notice] <aa
2023-11-22 23:05:51.066 [bus notice] <aa
2023-11-22 23:05:51.109 [bus notice] <ea
2023-11-22 23:05:51.155 [bus notice] <ff
2023-11-22 23:05:51.195 [bus notice] <aa
2023-11-22 23:05:51.238 [bus notice] <aa
2023-11-22 23:05:51.282 [bus notice] <aa
2023-11-22 23:05:51.325 [bus notice] <aa```

@poggs
Copy link
Author

poggs commented Nov 23, 2023

Solved it:

  1. Ensure you are using wires with a cross-section more than 0.5mm^2 - Cat5 cable does not appear to be sufficient
  2. Connect the -ve terminal of the input to the eBUS Coupler to earth
  3. Check that you are receiving a continual stream of '0xAA' messages when the bus is idle - receiving any other bytes indicates a problem

@poggs poggs closed this as completed Nov 23, 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

1 participant