john30 / ebusd-configuration

ebusd configuration files
GNU General Public License v3.0
185 stars 294 forks source link

Local config clone gives errors #310

Closed edsub closed 1 year ago

edsub commented 1 year ago

I have downloaded everything from https://github.com/john30/ebusd-configuration into /var/ebusd/config

When I run a --checkconfig using -c /var/ebusd/config I get

 sudo ebusd -f --scanconfig=full -c /var/ebusd/config -d /dev/ttyUSB-EBUS --accesslevel=* --checkconfig
2023-02-05 15:22:30.286 [main notice] ebusd 23.1.23.1-3-gaf614ae1 performing configuration check...
libebus-0.1.x/vaillant/mc2.csv:2: ERR: missing argument, name
2023-02-05 15:22:30.287 [main error] error reading config files from /var/ebusd/config/: ERR: missing argument, last error: libebus-0.1.x/vaillant/mc2.csv:2: ERR: missing argument, name
2023-02-05 15:22:30.287 [main notice] found messages: 0 (0 conditional on 0 conditions, 0 poll, 0 update)

When I run the same but using -c http://cfg.ebusd.eu/ , all looks ok.

sudo ebusd -f --scanconfig=full -c http://cfg.ebusd.eu/ -d /dev/ttyUSB-EBUS --accesslevel=* --checkconfig
2023-02-05 15:25:07.997 [main notice] ebusd 23.1.23.1-3-gaf614ae1 performing configuration check...
2023-02-05 15:25:08.329 [main notice] found messages: 11 (0 conditional on 0 conditions, 0 poll, 4 update)

What am I doing wrong?

Geg0r commented 1 year ago

I would recommend not to download everything from https://cfg.ebusd.eu Just do a git clone of the repository and delete everything besides the ebusd-2.1.x folder. Or just delete the libebus-0.1.x folder because its not needed and there seems to be a broken file in there (file mc2.csv)

edsub commented 1 year ago

Thanks for the tip. This works!