john30 / ebusd

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

Error while trying to run on Raspberry #368

Closed Wo0Zzz closed 2 years ago

Wo0Zzz commented 3 years ago

Hello, I'm trying to run the software on a Raspberry Pi 3B+, installed a fresh version of Raspberry OS (based on Debian). Followed Step 1 of the installation, but when i get to starting the programm, I get an error. See the attached screenshot. error raspberry

I don't know what i'm doing wrong, but can anyone help me? Thanks, Jelle

Edit: Well, with some research I've found the /var/log/ebusd.log file and it's filling. But every command I try responds with: pi@raspjelle:~ $ ebusd --checkconfig 2020-10-21 16:18:33.861 [main error] invalid configpath without scanconfig So I think it's running, but I don't know how to properly use it. Thanks!

salvq commented 3 years ago

Hi, copy config files to local folders and set it to config path

/home/pi/ebusd-configuration/ebusd-2.1.x/en
pi@rpi3-ebus:~/ebusd-configuration/ebusd-2.1.x/en $ ls -la
total 24
drwxr-xr-x 3 pi pi 4096 Oct 24 00:21 .
drwxr-xr-x 4 pi pi 4096 Oct 24 00:21 ..
-rw-r--r-- 1 pi pi 1255 Oct 24 00:21 broadcast.csv
-rw-r--r-- 1 pi pi  744 Oct 24 00:21 memory.csv
-rw-r--r-- 1 pi pi 1229 Oct 24 00:21 _templates.csv
drwxr-xr-x 2 pi pi 4096 Nov  4 23:22 vaillant
pi@rpi3-ebus:~/ebusd-configuration/ebusd-2.1.x/en $

Verify your config first, here is my own (just need to adjust broker ip address, userid and password).

pi@rpi3-ebus:~/ebusd-configuration/ebusd-2.1.x/en/vaillant $ sudo nano /etc/default/ebusd
......
EBUSD_OPTS="-d /dev/ttyebus -p 8888 -l /var/log/ebusd.log --httpport=8080 --accesslevel=* --scanconfig=full --configpath=/home/pi/ebusd-configuration/ebusd-2.1.x/en --mqtthost=192.168.X.XXX --mqttport=1883 --mqttuser=LOGIN --mqttpass=PASS --mqttjson --mqtttopic=ebusd/%circuit/%name"
.......
john30 commented 3 years ago

you need to configure your path the configuration files using "-c" parameter of ebusd

john30 commented 2 years ago

closed due to inactivity