Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Feature Requests
  3. Requesting a garage door sensor type.

Requesting a garage door sensor type.

Scheduled Pinned Locked Moved Feature Requests
21 Posts 6 Posters 5.9k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • RoushRS3R RoushRS3

    @172pilot
    yes it is a sensor/device to open and close, which is controlled via my Vera Lite Controller. I'm using the Door-Window Sensor (with simple Reed Switch) to detect the Door Status, and that works for me, but my issue is with the Relay-Actuator Sensor , it needs tot turn on and then immediately turn off, and it does not do that. I can have it turn on and then immediately turn off using a Scene on my Vera Controller, but it would me way more reliable if it was written in the code. We need the Gods of Mysensors Website to add it to the code.

    dbemowskD Offline
    dbemowskD Offline
    dbemowsk
    wrote on last edited by
    #21

    @RoushRS3 said:

    it needs tot turn on and then immediately turn off, and it does not do that.

    If you look at the code for my garage door node, mine does that. Everything for that is handled by the node This is the code in the main loop that does that:

      //If the relay is on, shut it off
      if ( digitalRead( DOOR_ACTUATOR_RELAY ) == 1) {
        relayOff();                       
      }
    

    In the relayOff method the relay is shut off and then informs the controller that it has been shut off:

    /**
     * relayOff - Used to turn off the door opener relay after the TOGGLE_INTERVAL
     */
    void relayOff() {
    
      digitalWrite( DOOR_ACTUATOR_RELAY, RELAY_OFF );
      //Added this to tell the controller that we shut off the relay
      send( msgOpener.set(0) );
      
    } //End relayOff
    

    So on the controller, you should see the switch turn on, and then immediately shut off.

    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    12

    Online

    11.7k

    Users

    11.2k

    Topics

    113.1k

    Posts


    Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • MySensors
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular