This commit is contained in:
Evgenii Abramov
2021-05-11 01:03:43 +03:00
parent 76d63223fc
commit 9928eec0dd

2
app.js
View File

@@ -138,7 +138,7 @@ global.mqttClient = mqtt.connect(`mqtt://${config.mqtt.host}`, {
"ts": Math.floor(Date.now() / 1000), "ts": Math.floor(Date.now() / 1000),
"payload": { "payload": {
"user_id": '2', "user_id": '2',
"devices": [] "devices": ldevice.getState(),
} }
})); }));
req.end(); req.end();