Hello all,
I have a Dyson vacuum where the battery died within a few years, because it was always plugged into its wall charger.
I now have an idea, but I need help from people with experience to make it happen:
My idea:
- Use an Athom smart plug to power on the Dyson charger
- Keep it powered off by default
- Every hour or so, power it on, wait 5 minutes, then check the power draw
- If the power draw is over xxx watts, the vacuum is charging and the plug should stay on
- Else, turn off the power
- If someone uses the vacuum, they can simply press the button on the Smart Plug to charge it now and the āhourlyā cycle should pick it up (I assume powering on a plug that is already powered on has no ill side-effects
What I Have:
- HomeAssistant running directly on a NUC i5something, running:
- Home Assistant 2022.12.8
- Supervisor 2022.12.1
- Operating System 9.4
- Frontend 20221213.1 - latest
- Dyson V8 Animal+
- Athom Smart Plug, running:
- smart-plug-v2
- by athom
- Firmware: 2022.11.2 (Nov 23 2022, 12:18:11)
- Hardware: 1.1
- Decent knowledge of Yaml and Bash, AWK and other basic scripting languages
- A bit of HA experience: Already set up integrations with Ikea Tradfri, Tuya, eWelink plugs, Solar and Split-unit Mitsubishi Heavy A/C
What I donāt have:
- In-depth HA knowledge of how to script monitoring or other events in HA
- I barely managed to set up my own morning āsunriseā light, after figuring out how to set up weekdays.
I will try to do some homewok tomorrow, to see if I can tell if the vacuum is charging after use.
Any assistance is appreciated.
I donāt mind doing some homeork, but my brain is not firing on all cylinders and I have a feeling I might be biting off more than I can chew, with only 2 weeks play-time on HA.