Hello everyone,
I am trying to integrate the add-on MQTT Siemens S7 Connector and fail to load the configuration.
I have already tried the configuration in the following folders:
/homeassistant/addon_configs/xxxxxxxx_mqtt-s7-connector/config.yaml
/homeassistant/config.yaml
/homeassistant/config_files/config.yaml
/homeassistant/configfiles/config.yaml
/homeassistant/config/config.yaml
I always get an error that the configuration is not found.
What am I doing wrong here?
Please find attached the complete error message.
Add-on: MQTT Siemens S7 Connector
MQTT Siemens S7 connector to integrate Siemens PLC’s with Home Assistant
Add-on version: 1.0.8
You are running the latest version of this add-on.
System: Home Assistant OS 14.2 (amd64 / generic-x86-64)
Home Assistant Core: 2025.3.0
Home Assistant Supervisor: 2025.03.2
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
[email protected] start
node index.js --addonversion 1.0.8 --config /config/config.yaml --loglevel=4
INIT ## log level is set to: 4
2025-3-8 9:13:57 ## ERROR ## Config file ‘/config/config.yaml’ not found
/usr/src/mqtt-s7-connector/service_functions.js:57
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. (/usr/src/mqtt-s7-connector/index.js:12:31)
at Module._compile (node:internal/modules/cjs/loader:1550:14)
at Object…js (node:internal/modules/cjs/loader:1702:10)
at Module.load (node:internal/modules/cjs/loader:1307:32)
at Function._load (node:internal/modules/cjs/loader:1121:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
Node.js v23.2.0
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service init: stopping
s6-rc: info: service mqtt-s7-connector: stopping
s6-rc: info: service init successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service mqtt-s7-connector successfully stopped
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped