Low battery Alert using Dynamic Group Controller
-
Good morning,
I'm running userauth-24137-57b41335 on Fedora 39, bare metal installation.
ZWaveJSController 0.1.23254Home Assistant:
- Core, 2024.5.3
- Supervisor, 2024.05.1
- Operating System, 12.3
- Frontend, 20240501.1
I'm trying to troubleshoot a Dynamic Group Controller and notification alert that I've set up for low battery level.
In my Reactor.config, I have the following lines:
name: "Dynamic Group Controller" implementation: DynamicGroupController config: groups: "zwavejs_dead": select: - include_group: "zwavejs" filter_expression: "entity?.attributes?.zwave_device?.status == 3" group_actions: true "low_battery": select: - include_capability: battery_power filter_expression: > entity.attributes.battery_power.level < 0.35
The idea here is that I should only have members of this group that have a battery level below 35%. When I go into Entities, I show a whole slew of devices, none of which have a battery level below the threshold.
I also tried setting up a rule to generate a push notification once a day, but with all of the group members, I've had to disable the rule. I believe I have it set up correctly, but I'm not 100% sure. I want the notification to tell me the battery level for that device as well.
Can anyone point to me what I may have misconfigured to get these results?
I should also note I'm only interested in ZWaveJS devices. It's showing me battery status for my iPad and car as well, which I don't need it to send me.
-
Solved: Figured it out myself. I needed to add - include_group: "zwavejs" into the yaml file. This took out most of the extraneous entries that are battery powered.
I still had a couple of ghost zwavejs nodes that I needed to manually remove. I may have to try and reset the zwavejs db somehow and get a clean reading of all the devices.
-
T toggledbits locked this topic on