Open helson22 opened 1 week ago
Broken package... It is fixed now. You might need to force a rebuild.
I need to find out how to automate this.
Hi again, thank you for fixing. I made a rebuild. After starting the service light is green, change to another page in HA and return to the service/addon page it shows a red light in the upper right corner. I have to start again, loop...
Add-on version: 1.0.6 You are running the latest version of this add-on. System: Home Assistant OS 13.1 (amd64 / qemux86-64) Home Assistant Core: 2024.9.2 Home Assistant Supervisor: 2024.09.1
Log shows an error. Maybe the problem is that my HA installation has no config folder but /homeassistant. Can this be the cause?
`throw new Error(msg); ^
Error: Config file '/config/config.yaml' not found
at Object.error (/usr/src/mqtt-s7-connector/service_functions.js:57:9)
at Object.config (/usr/src/mqtt-s7-connector/config_handler.js:40:20)
at Object.
BR
This is noted in the documentation....
If anything is missing/unclear here then let me know.
Hi,
thank you fo your hint.
I have not /config folder. instead my home folder in HA File Explorer ist /homeassistant.
So I created the path you suggested - with the host id: /homeassistant/addon_configs/50fb1dfd-mqtt-s7-connector/config.yam
The Add-ONe thinks now the config is in /config/homeassistant/addon_configs/50fb1dfd-mqtt-s7-connector/config.yaml
I can't go one level higher than /homeassistant in file explorer.
s6-rc: info: service base-addon-banner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service base-addon-log-level: starting s6-rc: info: service fix-attrs successfully started Log level is set to WARNING s6-rc: info: service base-addon-log-level successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service init: starting s6-rc: info: service init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started
s7-mqtt-connector@1.0.4 start node index.js --addonversion 1.0.6 --config /config/homeassistant/addon_configs/50fb1dfd-mqtt-s7-connector/config.yaml --loglevel=4
2024-9-24 21:1:52 ## ERROR ## Config file '/config/homeassistant/addon_configs/50fb1dfd-mqtt-s7-connector/config.yaml' not found /usr/src/mqtt-s7-connector/service_functions.js:57 throw new Error(msg); ^`
BTW: the update button in the log Tab doesn't work I think(?)
you are thinking to complicated I think... ;)
The /config
folder is inside the add-on container... not on your home assistant machine.
Just 6 simple steps:
/addon_configs/xxxxxxxx_mqtt-s7-connector
folder which is created. Using one of the suggestions in the documentation. Easiest suggestion for you is using the "file editor" add-onconfig.yaml
config.yaml
file with the "file editor" add-on and configure it to your needs and try again.The update button is outside my scope. But if the add-on fails, it stops and there is nothing left to show.
P.S. if you already have installed it, please remove everything that is in the "Configuration > Options > config_files" and add only config.yaml
Hi there!
I get an installation error in HomeAsstistant latest Version (installed yesterday). Please view attached screenshot.
Please help.
BR