Closed mrowka912 closed 3 years ago
which version of ebusd are you running?
it is
ebusd 21.1.v21.1-12-gccfc025
by the way, all mqtt commands and queries work fine
ebusd 21.2.v21.2
same issue
do you have selinux enabled or is a firewall active?
neither of those are installed
root@raspberrypi:/home/pi# sudo ufw status
sudo: ufw: command not found
root@raspberrypi:/home/pi# getenforce
bash: getenforce: command not found
only login to SSH is with RSA key.
weird. please provide some minutes of verbose logging (start with --log all:debug'
with the newest code. make sure this log covers an attempt to issue a read command through ebusctl
did
sudo ebusd -d /dev/ttyUSB0 -p 8888 --log=all:debug --logfile=/var/log/ebusd_log.log --httpport=8889 --accesslevel=* --scanconfig=full --configpath=/home/pi/ebusd-configuration/ebusd-2.1.x/en/
attached logfile from this, ebusd_log.log
during and at the end called couple of times breaking with ctrl+c
^C
pi@raspberrypi:~ $ ebusctl info
^C
pi@raspberrypi:~ $ ebusctl info
^C
pi@raspberrypi:~ $ ebusctl info
^C
are you sure there is no other daemon listening on port 8888?
please check the output of sudo lsof -n |grep :8888
of course it was !
pi@raspberrypi:~ $ sudo lsof -n |grep :8888
pigpiod 402 root 0u IPv6 14890 0t0 TCP *:8888 (LISTEN)
pigpiod 402 413 pigpiod root 0u IPv6 14890 0t0 TCP *:8888 (LISTEN)
pigpiod 402 414 pigpiod root 0u IPv6 14890 0t0 TCP *:8888 (LISTEN)
pigpiod 402 435 pigpiod root 0u IPv6 14890 0t0 TCP *:8888 (LISTEN)
now, all works fine! THANK YOU!
pi@raspberrypi:~ $ ebusctl -p 8899 info
version: ebusd 21.2.v21.2
access: *
signal: acquired
symbol rate: 29
max symbol rate: 41
min arbitration micros: 1063
max arbitration micros: 2717
min symbol latency: 5
max symbol latency: 14
reconnects: 0
masters: 3
messages: 12
conditional: 0
poll: 0
update: 4
address 03: master #11
address 08: slave #11, scanned "MF=Vaillant;ID=BAI00;SW=0407;HW=7401"
address 10: master #2
address 31: master #8, ebusd
address 36: slave #8, ebusd
I use ebus HW 1.6, installed ebusd on Rpi4, did potentiometer calibration and I'm receiving some data after ebusd -f (also in daemon with mqtt)
but when I use command ie.
ebusctl info
it does not produce any output? What am I missing?