Smart Fragrance Dispenser with Home Assistant - AirWick Air Freshener How to Mod

Поділитися
Вставка
  • Опубліковано 30 вер 2024

КОМЕНТАРІ • 12

  • @HATipsByLarry
    @HATipsByLarry 3 місяці тому +2

    i did this but with a glade air freshener instead. I replaced the entire PCB that came with it and replaced it with a h-bridge controller (MX1508). The glade air freshener motor is driven forward to push the spray can nozzle down, then reverses the motors direction to release it instead of letting it rise on its own. Wasn't a good way of tapping in to the existing PCB even after removing it's MCU. But works works great with HA also. Good video

    • @TasteTheCode
      @TasteTheCode  3 місяці тому

      Thanks! That might be a good option. Thanks for sharing!

  • @joan6963
    @joan6963 11 місяців тому

    Hi there, very tasty videos!!!
    Would you consider adding an LDR to spray each time there is a light transition from on to off, so immediately after someone leaves the toilet?!?
    Thanks for your videos and effort

    • @J0stik
      @J0stik 11 місяців тому +1

      he can add air quality sensor also :D ... jokes aside .... nice system :)

    • @TasteTheCode
      @TasteTheCode  11 місяців тому +1

      That is a cool idea. You will need to use the analog input for that as LDR changes resistance based on light levels. More info can be found here: esphome.io/components/sensor/resistance.html If I ever revisit the project I'll add it as well.

    • @TasteTheCode
      @TasteTheCode  11 місяців тому

      @@J0stik Thanks! With the air quality sensor, you can also know when it is safe to enter again 🤣🤣🤣

    • @neilos2085
      @neilos2085 5 місяців тому

      What air freshener did you use? Be cool to see using the light sensor too

    • @cobalt01snet
      @cobalt01snet 5 місяців тому

      use this timer search for "DROK Time Delay Relay" set it to p1, for .7 seconds, now set a loop to the relay of the timer board, I used a adjustable voltage to give me 3 volts, unhook the motor wires from the sprayer, setup a 3 volt loop 3v+ through the rely of the timer to the positive of the motor,common ground for all, I put in a mini float search for "Liyafy 5 Pcs Right Angle White Plastic PP Float Switch Fish Tank Liquid Water Level Control Sensor XSL-3508-P" to toilet the toilet flush which flips relay on my home automation controller for 1 second to flip the timer board for .7 seconds, now when someone trigger the toilet it sprays the bathroom.

  • @efmese5551
    @efmese5551 13 днів тому

    I can"t write the code, i"m getting the same error everytime:
    Can you give me some directions?
    INFO ESPHome 2024.8.3
    INFO Reading configuration /config/esphome/air-freshner.yaml...
    Failed config
    output.gpio: [source /config/esphome/air-freshner.yaml:33]
    platform: gpio
    id: pin1
    pin:

    Cannot resolve pin name 'D1' for board esp01_1m.
    number: D1
    inverted: True

    • @TasteTheCode
      @TasteTheCode  12 днів тому

      You need to set the right board for ESPHome. D2 is a pin reference for NodeMCU and you can set that with this directive:
      esp8266:
      board: nodemcuv2
      If you are using a esp01_1m board then you need to use the pin numbers instead.

  • @galdakaMusic
    @galdakaMusic 4 місяці тому

    Lo hice hace dos años y Zigbee2mqtt. Pero solo dura 1 semana la batería con 2x18650

    • @TasteTheCode
      @TasteTheCode  4 місяці тому

      It need to be plugged it if it is on all the time. An old mobile phone adapter can do the trick.