How do I get batterylevels back?
Moderators: leecollings, remb0
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
-
- Posts: 159
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: How do I get batterylevels back?
Updated my live system to Trixy and applied the Domoticz update, Z-wave batterylevel problem remains the same. And yes, I did a wake-up on sensors and updated hardware (in case you wondered).
Mark: Domoticz latest Beta on Virtual machine (Proxmox) running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (latest, docker) via python plugin - Zwave-js-ui (latest, docker) - dzVents - Nodered
- gizmocuz
- Posts: 2594
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: How do I get batterylevels back?
@Doler, do you have low batteries? If not, nothing will indeed change. Only when the Low Battery indication is set to 'true', then the battery levels of the sensors will be set to 0 (and only after they have been received one more time)
Quality outlives Quantity!
-
- Posts: 159
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: How do I get batterylevels back?
No, I have no low batteries, all Low Battery devices are false. Hereby the configs for battery_islow (state_topic: IsLow) and battery_level (state_topic: level)
Code: Select all
{
"payload_on": true,
"payload_off": false,
"value_template": "{{ value_json.value }}",
"device_class": "battery",
"state_topic": "zwave/FMS1/128/0/isLow",
"availability": [
{
"payload_available": "true",
"payload_not_available": "false",
"topic": "zwave/FMS1/status",
"value_template": "{{'true' if value_json.value else 'false'}}"
},
{
"topic": "zwave/_CLIENTS/ZWAVE_GATEWAY-zwave-js-ui/status",
"value_template": "{{'online' if value_json.value else 'offline'}}"
},
{
"payload_available": "true",
"payload_not_available": "false",
"topic": "zwave/driver/status"
}
],
"availability_mode": "all",
"json_attributes_topic": "zwave/FMS1/128/0/isLow",
"device": {
"identifiers": [
"zwavejs2mqtt_0xfe88fc1e_node14"
],
"manufacturer": "Fibargroup",
"model": "Motion Sensor (FGMS001)",
"name": "FMS1",
"sw_version": "2.7"
},
"name": "FMS1_battery_islow",
"unique_id": "zwavejs2mqtt_0xfe88fc1e_14-128-0-isLow"
}
zwave-ad/binary_sensor/FMS1/battery_islow/config
Code: Select all
{
"value_template": "{{ value_json.value }}",
"unit_of_measurement": "%",
"device_class": "battery",
"state_topic": "zwave/FMS1/128/0/level",
"availability": [
{
"payload_available": "true",
"payload_not_available": "false",
"topic": "zwave/FMS1/status",
"value_template": "{{'true' if value_json.value else 'false'}}"
},
{
"topic": "zwave/_CLIENTS/ZWAVE_GATEWAY-zwave-js-ui/status",
"value_template": "{{'online' if value_json.value else 'offline'}}"
},
{
"payload_available": "true",
"payload_not_available": "false",
"topic": "zwave/driver/status"
}
],
"availability_mode": "all",
"json_attributes_topic": "zwave/FMS1/128/0/level",
"device": {
"identifiers": [
"zwavejs2mqtt_0xfe88fc1e_node14"
],
"manufacturer": "Fibargroup",
"model": "Motion Sensor (FGMS001)",
"name": "FMS1",
"sw_version": "2.7"
},
"name": "FMS1_battery_level",
"unique_id": "zwavejs2mqtt_0xfe88fc1e_14-128-0-level"
}
zwave-ad/sensor/FMS1/battery_level/config
Mark: Domoticz latest Beta on Virtual machine (Proxmox) running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (latest, docker) via python plugin - Zwave-js-ui (latest, docker) - dzVents - Nodered
- gizmocuz
- Posts: 2594
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: How do I get batterylevels back?
So it is working correctly. (And the workings is how I wrote it before)
Quality outlives Quantity!
-
- Posts: 159
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: How do I get batterylevels back?
This morning all looks ok, battery level is populated for almost all (sub-)devices. I tested with updating the Hardware in order to check the generation of battery_level devices as it was the case in the faulty situation. Every thing is ok now and my battery check is working again.
Thanks for solving this.
Thanks for solving this.
Mark: Domoticz latest Beta on Virtual machine (Proxmox) running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (latest, docker) via python plugin - Zwave-js-ui (latest, docker) - dzVents - Nodered
Who is online
Users browsing this forum: No registered users and 1 guest