diff --git a/app.js b/app.js index 10b3580..75e9cb5 100644 --- a/app.js +++ b/app.js @@ -137,6 +137,7 @@ global.mqttClient = mqtt.connect(`mqtt://${config.mqtt.host}`, { req.write(JSON.stringify({ "ts": Math.floor(Date.now() / 1000), "payload": { + "user_id": '1', "devices": [ldevice.getState()], } }));