You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will cause the MQTT connection to be continuously connected / disconnected.
There is also wrong information in the documentation for the global input handler. According to the documentation is should be: bool globalInputHandler(const HomieNode& node, const String& property, const HomieRange& range, const String& value)
but this is the correct declaration: bool globalInputHandler(const HomieNode& node, const HomieRange& range, const String& property, const String& value)
The text was updated successfully, but these errors were encountered:
There is something fishy going on with my code, now i get the problem even when commenting out both the onEvent ant the setGlobalInputHandler. The documentation problem still exists though.
This is the output from the log:
MQTT disconnected, reason: 0
Triggering MQTT_DISCONNECTED event...
↕ Attempting to connect to MQTT...
Sending initial information...
✖ MQTT disconnected, reason: 0
Triggering MQTT_DISCONNECTED event...
↕ Attempting to connect to MQTT...
Sending initial information...
✖ MQTT disconnected, reason: 0
Triggering MQTT_DISCONNECTED event...
↕ Attempting to connect to MQTT...
Sending initial information...
✖ MQTT disconnected, reason: 0
Triggering MQTT_DISCONNECTED event...
↕ Attempting to connect to MQTT...
Sending initial information...
✔ MQTT ready
Triggering MQTT_READY event...
〽 Sending statistics...
• Interval: 65s (60s including 5s grace time)
• Wi-Fi signal quality: 54%
• Uptime: 210s
✖ MQTT disconnected, reason: 0
Triggering MQTT_DISCONNECTED event...
↕ Attempting to connect to MQTT...
Sending initial information...
✖ MQTT disconnected, reason: 0
Triggering MQTT_DISCONNECTED event...
↕ Attempting to connect to MQTT...
Sending initial information...
✔ MQTT ready
Triggering MQTT_READY event...
〽 Sending statistics...
• Interval: 65s (60s including 5s grace time)
• Wi-Fi signal quality: 58%
• Uptime: 210s
✖ MQTT disconnected, reason: 0
Triggering MQTT_DISCONNECTED event...
↕ Attempting to connect to MQTT...
Sending initial information...
✔ MQTT ready
Triggering MQTT_READY event...
〽 Sending statistics...
• Interval: 65s (60s including 5s grace time)
• Wi-Fi signal quality: 60%
• Uptime: 210s
✖ MQTT disconnected, reason: 0
Triggering MQTT_DISCONNECTED event...
↕ Attempting to connect to MQTT...
Sending initial information...
✖ MQTT disconnected, reason: 0
Triggering MQTT_DISCONNECTED event...
↕ Attempting to connect to MQTT...
When assigning a global input handler with the following code:
This will cause the MQTT connection to be continuously connected / disconnected.
There is also wrong information in the documentation for the global input handler. According to the documentation is should be:
bool globalInputHandler(const HomieNode& node, const String& property, const HomieRange& range, const String& value)
but this is the correct declaration:
bool globalInputHandler(const HomieNode& node, const HomieRange& range, const String& property, const String& value)
The text was updated successfully, but these errors were encountered: