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
MQTT bridge service is continuoulsy restarting and I have the error :
2020-01-20 11:06:42 AM info: Listening at http://localhost:8082
2020-01-20 11:06:42 AM debug: From MQTT: smartthings/maison-rpi4/winesensor_cellier_1/battery/set_state = 97
/usr/local/lib/node_modules/mqtt-bridge-smartthings/mbs-server.js:477
Object.keys(subscribe[topic]).forEach(function(name) {
^
TypeError: Cannot convert undefined or null to object
at Function.keys ()
at MqttClient.parseMQTTMessage (/usr/local/lib/node_modules/mqtt-bridge-smartthings/mbs-server.js:477:10)
at MqttClient.emit (events.js:189:13)
at MqttClient._handlePublish (/usr/local/lib/node_modules/mqtt-bridge-smartthings/node_modules/mqtt/lib/clie
at MqttClient._handlePacket (/usr/local/lib/node_modules/mqtt-bridge-smartthings/node_modules/mqtt/lib/clien
at work (/usr/local/lib/node_modules/mqtt-bridge-smartthings/node_modules/mqtt/lib/client.js:283:12)
at process._tickCallback (internal/process/next_tick.js:61:11)
mqtt-bridge-smartthings.service: Main process exited, code=exited, status=1/FAILURE
mqtt-bridge-smartthings.service: Failed with result 'exit-code'.
[+] 0.2.197 20-01-2020 11:06:48 am [CMD-ERRO] fatal mqtt error - messages may not be delivered as intended (network is down. e
mqtt-bridge-smartthings.service: Service RestartSec=10s expired, scheduling restart.
mqtt-bridge-smartthings.service: Scheduled restart job, restart counter is at 183.
Stopped SmartThings - MQTT Bridge.
Started SmartThings - MQTT Bridge.
The text was updated successfully, but these errors were encountered:
Hi to all,
MQTT bridge service is continuoulsy restarting and I have the error :
2020-01-20 11:06:42 AM info: Listening at http://localhost:8082
2020-01-20 11:06:42 AM debug: From MQTT: smartthings/maison-rpi4/winesensor_cellier_1/battery/set_state = 97
/usr/local/lib/node_modules/mqtt-bridge-smartthings/mbs-server.js:477
Object.keys(subscribe[topic]).forEach(function(name) {
^
TypeError: Cannot convert undefined or null to object
at Function.keys ()
at MqttClient.parseMQTTMessage (/usr/local/lib/node_modules/mqtt-bridge-smartthings/mbs-server.js:477:10)
at MqttClient.emit (events.js:189:13)
at MqttClient._handlePublish (/usr/local/lib/node_modules/mqtt-bridge-smartthings/node_modules/mqtt/lib/clie
at MqttClient._handlePacket (/usr/local/lib/node_modules/mqtt-bridge-smartthings/node_modules/mqtt/lib/clien
at work (/usr/local/lib/node_modules/mqtt-bridge-smartthings/node_modules/mqtt/lib/client.js:283:12)
at process._tickCallback (internal/process/next_tick.js:61:11)
mqtt-bridge-smartthings.service: Main process exited, code=exited, status=1/FAILURE
mqtt-bridge-smartthings.service: Failed with result 'exit-code'.
[+] 0.2.197 20-01-2020 11:06:48 am [CMD-ERRO] fatal mqtt error - messages may not be delivered as intended (network is down. e
mqtt-bridge-smartthings.service: Service RestartSec=10s expired, scheduling restart.
mqtt-bridge-smartthings.service: Scheduled restart job, restart counter is at 183.
Stopped SmartThings - MQTT Bridge.
Started SmartThings - MQTT Bridge.
The text was updated successfully, but these errors were encountered: