ESPHome Smart Garage Door Controller

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ม.ค. 2025

ความคิดเห็น • 29

  • @hommel90
    @hommel90 8 หลายเดือนก่อน

    you can use also a button
    output:
    - platform: gpio
    pin: GPIO16
    id: output1
    inverted: True
    button:
    - platform: output
    name: "Garage"
    output: output1
    duration: 1000ms

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  8 หลายเดือนก่อน +1

      To control a relay or to directly connect the ESP module to the button terminals on the garage door opener? If the latter, I was nervous about recommending anyone directly connect the ESP to the garage door controller because you never know if some brands push voltage through them or not. I figured the volt-free contact from a relay was the safest way to do it.

  • @stevejarman8292
    @stevejarman8292 2 หลายเดือนก่อน

    Very inyteresting, thanks. My controller looks the same as the one in the video. In addition to the key fobs, It has a "Smoove Origin RTS' controller which has separate up, down and halt buttons. The advantage of this is that if you press the down button you know the door will close even if you are not there to check it no matter what its current state (closed or fully/partially open). This makes me wonder if it is possible to get to that same functionality with HA. It is not broken out on the standard connectors shown in the video but maybe it is internally (would need the removal of some additional covers) .
    I'd also like an indication/alarm in HA when the door is open. I wonder if there is a way of connecting a signal from the Rollixio into ESPHome to do that. Mine has an optical wired safety edge which connects into the controller on pins 7, 8 and 9. Maybe a high impedance input on the ESP could read the relevant one of those pins without affecting its functionality.

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  2 หลายเดือนก่อน

      I wouldn't know about either of those to be honest. Knowing the actual position of the door would require positional sensors, or some sort of position status to be sent by the controller and that's not something it does out of the box - I've never heard of the Smoove Origin either.

  • @steal25
    @steal25 2 หลายเดือนก่อน

    Great Video!! I have a similar set up but with a Zooz zen16 rather than an esp32. The issue i had was with automations and voice control, the automation or being controlled by voice doesn't know whether its opened or closed, So an automation maybe opening it when it should be closing it. Also the cheap all in one tuya wifi garage door controller i have (im trying to move away from wifi devices) will when i say "alexa, close garage door" it will know if its open or closed and if already closed will tell me "garage door is already closed". Would their be any way to handle knowing what state the door is in and incorporate it into automations and voice control ? I'm fairly new to home assistant so any help would be gratuitously appreciated!!

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  2 หลายเดือนก่อน +1

      Yes, that is covered in this video by using a door sensor within the template garage door cover entity

    • @steal25
      @steal25 2 หลายเดือนก่อน

      @@SpeakToTheGeekTech Thank you for the quick reply! I must be missing something because i followed step by step but when i expose it to alexa, if its already closed i can just say "alexa, close the garage door" and it will open. bypassing the 4 digit voice command security code. Would it be different because im using a zen16 and tilt sensor and not an esp32?

    • @steal25
      @steal25 2 หลายเดือนก่อน

      I got it figured out, you need an if-then statement to check state, like this-
      open_cover:
      action: switch.turn_on
      target:
      entity_id: >-
      {% if not is_state('binary_sensor.garage_door_open_close_sensor', 'on') %}
      switch.garage_door_zooz
      {% else %}
      none
      {% endif %}
      close_cover:
      action: switch.turn_on
      target:
      entity_id: >-
      {% if is_state('binary_sensor.garage_door_open_close_sensor', 'on') %}
      switch.garage_door_zooz
      {% else %}
      none
      {% endif %}
      otherwise its a security issue using it in voice assistant or automations.

  • @johnadams1976
    @johnadams1976 8 หลายเดือนก่อน

    great video - thanks.... Think I'm going to try this, rather than buying a shelly device... Is there a PoE version, rather than USB?

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  8 หลายเดือนก่อน

      Not that I know of but check the manufacturer's web site

    • @johnadams1976
      @johnadams1976 8 หลายเดือนก่อน

      @@SpeakToTheGeekTech I guess I could just use a PoE-to-USB adapter and power the board you used with that. Cheaper too... otherwise it looks like it's an Olimex board but that's much more expensive. Need cheap! ;-)

    • @johnadams1976
      @johnadams1976 8 หลายเดือนก่อน

      @@SpeakToTheGeekTech tried it out with a ESP8266 and relay and it worked. Nice and simple solution. with a D1 mini sitting there operating the relay, is there a reliable temperature sensor that could attach to different pins to the same D1 mini, which could then appear as a 2nd entity?

  • @TwanJaarsveld1
    @TwanJaarsveld1 ปีที่แล้ว

    Amazing and clear instructions, I'm looking to build a automatic gate and want to integrate it into home assistant, would this work for a automatic gate opener ?

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  ปีที่แล้ว

      If your gate opener supports a volt-free contact switch then yes but you’ll need to check the gate controller and its manual to be sure.

  • @booksmart238
    @booksmart238 10 หลายเดือนก่อน

    Thanks for the great video. When I add the cover template to the YAML code, I get this output: [covers] is an invalid option for [cover.template]. Do you have any ideas how to fix this?

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  10 หลายเดือนก่อน

      I have just double checked the code on my web site against the code I'm using in real life and they are the same, so I know what I've provided works. I can only assume you have an indentation error or a typo in the config. You've had to edit my config to change the entity IDs in five places so I'd suggest looking there to start with.

  • @thefirst555
    @thefirst555 ปีที่แล้ว

    I'm using a £5 5v-24v single channel tuya zigbee relay board (Sorry no ESPHome here !) on the same somfy controller and powered via the 24v feed within the somfy on pins 14 and 15. The whole lot is inside the original somfy case. also using the same smarthings contact sensor which also exposes when its in motion to Home Assistant which is a nice little extra bit of feedback to confim its working. Been working flawlessly for at least a year.

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  ปีที่แล้ว +1

      Sounds nice and neat. There is plenty of space inside that Somfy controller but I decided to house mine externally to make it easier to tweak if there was an issue. As it happens there have been no reasons to tweak! I hadn't thought of using the motion sensor as part of the automation, I'll give that some thought.

  • @NicholasIzzo-yq2me
    @NicholasIzzo-yq2me ปีที่แล้ว

    I am planning to go the route of using a reed switch. Would you possibly be able to provide the esphome configuration changes required to get that functioning? Also do you have any pin recommendations for attaching the reed switch to the esp? Thank you.

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  ปีที่แล้ว

      Without building that up myself I couldn’t advise, but start with Google - it looks like there are a lot of people out there who have done this on ESPHome before

    • @PinkBucket33
      @PinkBucket33 9 หลายเดือนก่อน

      I have just finished building one with a magnetic reed switch connected to pin D5. This is the extra configuration I added to the ESPHome code
      - platform: gpio
      pin:
      number: GPIO12
      mode: INPUT_PULLUP
      name: "garage_door_open"
      id: garage_door_open
      filters:
      - delayed_on_off: 1000ms
      device_class: Garage door

  • @jimlea7935
    @jimlea7935 ปีที่แล้ว

    What would happen if I send 12v to pins 10 and 11?

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  ปีที่แล้ว

      I dunno but I'm not willing to try it out myself for you to find out! They're rated volt-free so designed to have a switch connected to them (or volt-free relay as in this case) so the controller really won't be expecting an external voltage to be added to its circuit.

    • @jimlea7935
      @jimlea7935 ปีที่แล้ว

      ok thanks for the reply, it will only be 12v momentarily so hopefully won't cause any issues. I'm turning on a smart plug from my phone and a 12v power supply will be plugged in so I was wondering if I could simply connect it to the Somfy unit. The plug will be turned off automatically after 5 seconds. I did wonder if I could just use a 12V relay and rather than use the relay to supply power, I could just use it to give continuity between two wires sort of thing.

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  ปีที่แล้ว

      Those pins are not designed for voltage, don’t do it!

  • @ericilkwatson5557
    @ericilkwatson5557 ปีที่แล้ว

    But how do you connect that magnetic switch?

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  ปีที่แล้ว

      Have a search for ESPHome reed sensor. I don’t have any tutorials covering it myself sorry

  • @LuminarySpeshal
    @LuminarySpeshal ปีที่แล้ว +1

    Did you stick those components in with Chewing gum?! :D

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  ปีที่แล้ว +1

      You're not too far wrong actually: Blu Tack! Just temporarily until I was certain it worked. Now they're secured with 3M pads.