Hi,
I notice that domoticz store battery level of devices and that we can set battery level in dummy device.
It's 2 nice features but where can we check/verify or simply view the battery level?
Is that a specific color for devices bricks (like when there goes red when it was not seen for a long time) ?
It would be nice to check battery level, in script and/or in web UI.
Thank you
Battery level indicator
Moderators: leecollings, remb0
-
- Posts: 6
- Joined: Saturday 24 May 2014 13:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.5877
- Location: Almere, The Netherlands
- Contact:
Re: Battery level indicator
I think the device brick turns yellow when the battery level is low (you will also see "low" in the device list), but it won't show a percentage. Would be nice though...
Domoticz V 3.5877 on Raspberry Pi B (wheezy)
RFXtrx433 USB, FW 1015 - type 1
Various Oregon Scientific sensors & 2 Fritz!DECT 200 switches
RFXtrx433 USB, FW 1015 - type 1
Various Oregon Scientific sensors & 2 Fritz!DECT 200 switches
-
- Posts: 41
- Joined: Tuesday 11 February 2014 18:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Battery level indicator
Maybe on real device. But on dummy, when I set battery level go 0, it set it go low in devices list, but the brick color don't change. So in standard uses, I never saw battery is low. 

-
- Posts: 1
- Joined: Friday 15 January 2016 19:42
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Battery level indicator
Hello, I modified script www/app/TemperatureController.js for showing battery level.
It's not very clean solution, but I missed this feature too (Domoticz v2.2112) .
You can try it.
It's not very clean solution, but I missed this feature too (Domoticz v2.2112) .
You can try it.
- Attachments
-
- TemperatureController.js
- script in www/app/
- (30.36 KiB) Downloaded 249 times
-
- screenshot
- temp_battery.png (19.66 KiB) Viewed 2998 times
Re: Battery level indicator
+1
It looks very very good
Send new Pull Request pm GitHub to Domoticz with this added...
It looks very very good
Send new Pull Request pm GitHub to Domoticz with this added...
- gizmocuz
- Posts: 2482
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Battery level indicator
You can see the battery level in the devices tab
When the battery is to low, the sensor will turn yellow
most sensors (433Mhz) have only good/low, and low can take 2 months
So when you see a yellow sensor, just goto the devices tab
When the battery is to low, the sensor will turn yellow
most sensors (433Mhz) have only good/low, and low can take 2 months
So when you see a yellow sensor, just goto the devices tab
Quality outlives Quantity!
Who is online
Users browsing this forum: No registered users and 1 guest