Closed Wolfensteijn closed 3 years ago
Auch, I missed that! Sorry for the inconvenience! I'll push a fix.
I Think I've found the cause, working on a PR
That looks a lot better:
Logging:
[cont-init.d] otmonitor.sh: executing...
[22:17:57] INFO: Initializing service configuration.
[22:17:57] INFO: Using manually provided MQTT credentials
[22:17:57] INFO: Finished the config overwriting.
[cont-init.d] otmonitor.sh: exited 0.
Config:
...
mqtt {
enable true
broker addon_core_mosquitto
port 1883
username test
password dGVzdA==
devicetype central_heating
deviceid otmonitor
format raw
client null
}
...
@Wolfensteijn I've just pushed a fix, I think you should be good to go if you reload the repository and rebuild the container.
@fliphess Feedback is nice, sorry for the delay.
Yes it is working now, thanks for the prompt response and fix.
In the default configuration (and what I wish it to do) the following is set:
mqtt_autoconfig: false
The logs then give this rather confusion piece of information:
The end result is that it appears that the autoconfig option is still used, and some part of the log is being overwritten. I also don't see any messages showing up in my MQTT broker.