piotrtobolski / ha-addons

Home Assistant addons
Apache License 2.0
1 stars 1 forks source link

Config file can not be found #1

Closed Danit2 closed 2 months ago

Danit2 commented 2 months ago

First of all, Thanks for your AddOn.

But i have the first issue. I can not start the addon with custom config files.

> ebusd --foreground --mqtthost=192.168.1.151 --mqttport=1883 --mqttuser=XXX --mqttpass=XXX --scanconfig --mqttjson --configpath=/config/ebusd/ebusd-configuration/ --pollinterval=2 --mqttint=/config/ebusd/mqtt-hassio.cfg --mqtttopic=ebusd --device=ens:/dev/ttyACM0 --log=all:notice --mqttqos=1
2024-06-21 21:25:46.100 [bus notice] device status: transport opened
2024-06-21 21:25:46.101 [mqtt error] unable to open integration file /config/ebusd/mqtt-hassio.cfg
2024-06-21 21:25:46.102 [main notice] ebusd 23.3.23.3 started with broadcast scan on device: /dev/ttyACM0, serial high speed, enhanced
2024-06-21 21:25:46.102 [main error] error reading config files from /config/ebusd/ebusd-configuration/: ERR: element not found, 
piotrtobolski commented 2 months ago

https://developers.home-assistant.io/blog/2023/11/06/public-addon-config/

Put the config in the /addon_configs/addon_slug

Danit2 commented 2 months ago

Ohhh... Thanks for your quick answer.

Yes now it works.

But then you have to update your docu. :)