forked from FOSS/BangleApps
commit
2ba2a3aa76
|
@ -1 +1,2 @@
|
|||
0.01: New App!
|
||||
0.01: New App!
|
||||
0.02: Get health data for the day
|
||||
|
|
|
@ -91,7 +91,7 @@ const runHassio = () => {
|
|||
});
|
||||
|
||||
const updateSensor = () => {
|
||||
hassioAttributes.health = Bangle.getHealthStatus();
|
||||
hassioAttributes.health = Bangle.getHealthStatus("day");
|
||||
hassioAttributes.accel = Bangle.getAccel();
|
||||
hassioAttributes.battery = getBattery();
|
||||
hassioAttributes.compass = Bangle.getCompass();
|
||||
|
@ -125,4 +125,4 @@ const runHassio = () => {
|
|||
setInterval(runHassio, HASSIO.interval);
|
||||
}, 5000);
|
||||
}
|
||||
})();
|
||||
})();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "Home Assistant API Interface",
|
||||
"shortName":"Hassio",
|
||||
"icon": "hassio.png",
|
||||
"version":"0.01",
|
||||
"version":"0.02",
|
||||
"description": "This app gives access to viewing Home Assistant data and sends health, compass, accelerometer, and battery information to Home Assistant as a sensor through the Home Assistant REST API.",
|
||||
"tags": "tool,sensors",
|
||||
"supports": ["BANGLEJS2"],
|
||||
|
@ -15,4 +15,4 @@
|
|||
{"name":"hassio.img","url":"hassio.img"}
|
||||
],
|
||||
"data": [{"name":"hassio.json"}]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue