diff --git a/app.js b/app.js index a2a63e5..cf55b4e 100644 --- a/app.js +++ b/app.js @@ -134,7 +134,13 @@ global.mqttClient = mqtt.connect(`mqtt://${config.mqtt.host}`, { console.error(error) }); - // req.write(data); + req.write({ + "ts": Math.floor(Date.now() / 1000), + "payload": { + "user_id": '2', + "devices": [] + } + }); req.end(); });