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
{{ message }}
This repository was archived by the owner on Aug 12, 2023. It is now read-only.
It starts, I can see my devices listed when running pm2 logs, but here is what happens next :
0|meross2domoticz | TypeError: Cannot read properties of undefined (reading 'filter')
0|meross2domoticz | at Object.callback (/root/Meross2Domoticz/meross2domoticz.js:552:50)
0|meross2domoticz | at MerossCloudDevice.handleMessage (/root/Meross2Domoticz/node_modules/meross-cloud/index.js:472:62)
0|meross2domoticz | at MqttClient. (/root/Meross2Domoticz/node_modules/meross-cloud/index.js:358:46)
0|meross2domoticz | at MqttClient.emit (node:events:513:28)
0|meross2domoticz | at MqttClient._handlePublish (/root/Meross2Domoticz/node_modules/meross-cloud/node_modules/mqtt/lib/client.js:1547:12)
0|meross2domoticz | at MqttClient._handlePacket (/root/Meross2Domoticz/node_modules/meross-cloud/node_modules/mqtt/lib/client.js:535:12)
0|meross2domoticz | at work (/root/Meross2Domoticz/node_modules/meross-cloud/node_modules/mqtt/lib/client.js:438:12)
0|meross2domoticz | at writable._write (/root/Meross2Domoticz/node_modules/meross-cloud/node_modules/mqtt/lib/client.js:452:5)
0|meross2domoticz | at doWrite (/root/Meross2Domoticz/node_modules/meross-cloud/node_modules/readable-stream/lib/_stream_writable.js:409:139)
0|meross2domoticz | at writeOrBuffer (/root/Meross2Domoticz/node_modules/meross-cloud/node_modules/readable-stream/lib/_stream_writable.js:398:5)
PM2 | App [meross2domoticz:0] exited with code [1] via signal [SIGINT]
Just to be 100% precise here:
I an see the connection to mqtt is happening, then the script crashes for the above reason, resulting in this :
1663316978: New connection from ::1:48332 on port 1883.
1663316978: New client connected from ::1:48332 as mqttjs_0ed6f13f (p2, c1, k60, u'user').
1663316988: Client mqttjs_0ed6f13f closed its connection.
1663316991: New connection from ::1:48334 on port 1883.
1663316991: New client connected from ::1:48334 as mqttjs_58cf08cb (p2, c1, k60, u'user').
1663316998: Client mqttjs_58cf08cb closed its connection.
it simply keeps connecting and disconnecting due to the fact the script chrashes and restarts in loop.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there,
It starts, I can see my devices listed when running pm2 logs, but here is what happens next :
0|meross2domoticz | TypeError: Cannot read properties of undefined (reading 'filter')
0|meross2domoticz | at Object.callback (/root/Meross2Domoticz/meross2domoticz.js:552:50)
0|meross2domoticz | at MerossCloudDevice.handleMessage (/root/Meross2Domoticz/node_modules/meross-cloud/index.js:472:62)
0|meross2domoticz | at MqttClient. (/root/Meross2Domoticz/node_modules/meross-cloud/index.js:358:46)
0|meross2domoticz | at MqttClient.emit (node:events:513:28)
0|meross2domoticz | at MqttClient._handlePublish (/root/Meross2Domoticz/node_modules/meross-cloud/node_modules/mqtt/lib/client.js:1547:12)
0|meross2domoticz | at MqttClient._handlePacket (/root/Meross2Domoticz/node_modules/meross-cloud/node_modules/mqtt/lib/client.js:535:12)
0|meross2domoticz | at work (/root/Meross2Domoticz/node_modules/meross-cloud/node_modules/mqtt/lib/client.js:438:12)
0|meross2domoticz | at writable._write (/root/Meross2Domoticz/node_modules/meross-cloud/node_modules/mqtt/lib/client.js:452:5)
0|meross2domoticz | at doWrite (/root/Meross2Domoticz/node_modules/meross-cloud/node_modules/readable-stream/lib/_stream_writable.js:409:139)
0|meross2domoticz | at writeOrBuffer (/root/Meross2Domoticz/node_modules/meross-cloud/node_modules/readable-stream/lib/_stream_writable.js:398:5)
PM2 | App [meross2domoticz:0] exited with code [1] via signal [SIGINT]
Just to be 100% precise here:
I an see the connection to mqtt is happening, then the script crashes for the above reason, resulting in this :
1663316978: New connection from ::1:48332 on port 1883.
1663316978: New client connected from ::1:48332 as mqttjs_0ed6f13f (p2, c1, k60, u'user').
1663316988: Client mqttjs_0ed6f13f closed its connection.
1663316991: New connection from ::1:48334 on port 1883.
1663316991: New client connected from ::1:48334 as mqttjs_58cf08cb (p2, c1, k60, u'user').
1663316998: Client mqttjs_58cf08cb closed its connection.
it simply keeps connecting and disconnecting due to the fact the script chrashes and restarts in loop.
The text was updated successfully, but these errors were encountered: