Many smart home sensors mean that you often have to change batteries.
At some point, I bought rechargeable batteries and a charger from Ikea.
That was a good idea until I left the batteries in the charger for weeks.
The end result: the batteries are no longer usable because the long charging time damaged them.
To prevent this from happening again, I came up with a solution:
I use the charger in combination with a smart socket from NOUS*. This can also monitor the energy used. Other sockets can also be used. It is only important that they also have the ability to measure the energy consumed.
If the current drops below 0.01 for 30 minutes, the batteries are fully charged and the smart socket switches off.
alias: Batterypack
description: ""
triggers:
- trigger: numeric_state
entity_id:
- sensor.sd_battery_current
for:
hours: 0
minutes: 30
seconds: 0
below: 0.01
conditions: []
actions:
- type: turn_off
device_id: 29ec4dd5f49335f597df0be32ff30a10
entity_id: 880f832693678163da815b6a92b70591
domain: switch
mode: single






