slightly change temperature

feature/frontend-charts
Kenneth Barbour 2020-07-29 20:36:19 -04:00
parent 999cfd433f
commit 365bf032ba
1 changed files with 1 additions and 1 deletions

View File

@ -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": {