slightly change temperature
parent
999cfd433f
commit
365bf032ba
|
@ -62,7 +62,7 @@ server = http.createServer(function(req, res) {
|
|||
res.writeHead(200, {'Content-Type': 'application/json'});
|
||||
res.write(JSON.stringify({
|
||||
"time": Math.floor(new Date().getTime()/1000),
|
||||
"temperature": 24,
|
||||
"temperature": 24 + Math.sin((new Date().getTime() / 1000000)) * 5,
|
||||
"pressure": 101361.7,
|
||||
"humidity": 55,
|
||||
"battery": {
|
||||
|
|
Loading…
Reference in New Issue