Hi,
I have made my glade automatic air freshener smart.
The PCB from the post above was not the same as mine.
The decision was to use only the motor of the air freshener and get rid of everything else.
My approach:
- Control the dc motor by ESP8266 with DRV8833 h-bridge and a dc/dc buck converter in between to get 3V.
- Providing a “Spray” button to trigger the air freshener.
The repository is an early state.
Things to do:
- Add Spray counter to ESPHome YAML
- Add internal boolean to avoid a new spray command while moving the motor
- Create automations like:
-
- Spray if toilet was flushed and door opened and closed again (will be handled in Home Assistant)
-
- Time scheduled spraying at Home Assistant
The documentation can be found here: