Closed nkrepo closed 1 year ago
MQTT settings are wrong. It can start without MQTT, it is by design. If it will manage to connect in future then it will start publishing.
I found the culprit , I removed the port number :1883
from the host and now connects !
2023-03-08 17:40:05,904 - WARNING - Thread-1 (_thread_main) - nibe.nibe_mqtt.mqtt - MQTT connected
The server is running at 1883 port , so something definitely goes wrong there.
Host and port are separate configuration fields.
Host and port are separate configuration fields.
ohh my fault sorry :(.
No problem:)
It would be nice to add it in the example to avoid confusion. I opened config.py but I overlooked that.
I have a working mosquitto server at IP 192.168.0.33:1883
I tested nibe-mqtt 0.4.0 with docker image and also directly by installing the python package. Unfortunately it seems that nibe-mqtt does try to connect to mqtt server.
Here is my test config
It connects with SMOS40 and pulls the registers
But it does not publish them to mqtt, I verified that with mqtt-explorer. I tried putting invalid IP , wrong password e.t.c in the mqtt configuration , nibe-mqtt started without any error.