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. My Project
  3. s_cover commands, doubts??

s_cover commands, doubts??

Scheduled Pinned Locked Moved My Project
8 Posts 3 Posters 588 Views 3 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.
  • G Offline
    G Offline
    giva
    wrote on last edited by giva
    #1

    what is the correct way to send the commands ,...V_UP V_DOWN V_STOP ..., to controller (vera) ? Indicating the status Open ... closed etc

    MyMessage msg_S_COVER_U(CHILD_PORTAO_INT, V_UP);

    .........
    send(msg_S_COVER_U.set(V_UP)); ?
    send(msg_S_COVER_U.set("Up")); ?
    send(msg_S_COVER_U.set(Up)); ?
    send(msg_S_COVER_U.set(UP)); ?
    send(msg_S_COVER_U.set(1)); ?

    I ask this because my home app (homebridge-vera) do not update status . then i look for solution

    skywatchS 1 Reply Last reply
    0
    • G giva

      what is the correct way to send the commands ,...V_UP V_DOWN V_STOP ..., to controller (vera) ? Indicating the status Open ... closed etc

      MyMessage msg_S_COVER_U(CHILD_PORTAO_INT, V_UP);

      .........
      send(msg_S_COVER_U.set(V_UP)); ?
      send(msg_S_COVER_U.set("Up")); ?
      send(msg_S_COVER_U.set(Up)); ?
      send(msg_S_COVER_U.set(UP)); ?
      send(msg_S_COVER_U.set(1)); ?

      I ask this because my home app (homebridge-vera) do not update status . then i look for solution

      skywatchS Offline
      skywatchS Offline
      skywatch
      wrote on last edited by skywatch
      #2

      @giva I have similar confusion over this - did you get a solution and if so can you knidly share it? ;)

      I have up. down and stop working from buttons and controller, but can't work out how to get feedback to controller without more child_id's being used.

      G 1 Reply Last reply
      0
      • electrikE Offline
        electrikE Offline
        electrik
        wrote on last edited by
        #3

        This worked for me in Home Assistant:

        MyMessage fadeCtrl(CHILD_ID_FADE_CTRL, V_PERCENTAGE); // one child ID
        ... 
        
          fadeCtrl.setType(V_DOWN); 
          send (fadeCtrl.set(true)); // enable down
          fadeCtrl.setType(V_UP);
          send (fadeCtrl.set(false)); // disable up
         
          fadeCtrl.setType(V_STOP); 
          send (fadeCtrl.set(false)); // disable stop
        
          fadeCtrl.setType(V_STATUS);
          send (fadeCtrl.set(level)); // update position
        
        
        1 Reply Last reply
        0
        • skywatchS skywatch

          @giva I have similar confusion over this - did you get a solution and if so can you knidly share it? ;)

          I have up. down and stop working from buttons and controller, but can't work out how to get feedback to controller without more child_id's being used.

          G Offline
          G Offline
          giva
          wrote on last edited by
          #4

          Noble @skywatch , I migrated to home assitant, where everything is easier, faster and more dynamic. I would suggest that you migrate as well. if you have a lot of zwave devices, you can leave them in vera because there is a plugin to integrate vera in the home assistant. in addition to new experiences with mqtt, node red, etc.
          Sorry about my bad English

          1 Reply Last reply
          1
          • skywatchS Offline
            skywatchS Offline
            skywatch
            wrote on last edited by skywatch
            #5

            @electrik and @giva Thanks for the help - I am trying to work out if the V_UP etc are bidirectional, That is, can controller send V_UP to make blind go up and then when it reaches its up limit can V_UP be used to send that info back to the controller. Are all the V_x in S_COVER binary values?

            @giva As an aside I use MyController (new version 2.0 is in the works) and have no issues with mysensors and NRF24 modules (with occasional corrupted data which I have yet to find the root cause of)...... Thanks for the promotion to nobility, hope I get more money with that! ;)

            G 1 Reply Last reply
            0
            • electrikE Offline
              electrikE Offline
              electrik
              wrote on last edited by
              #6

              @skywatch said in s_cover commands, doubts??:

              That is, can controller send V_UP to make blind go up and then when it reaches its up limit can V_UP be used to send that info back to the controller. Are all the V_x in S_COVER binary values?

              Yes, the binary values in fact enable and disable the buttons on the controller. So if the cover is up, you send false for the up child, and the button will be disabled.

              skywatchS 1 Reply Last reply
              0
              • electrikE electrik

                @skywatch said in s_cover commands, doubts??:

                That is, can controller send V_UP to make blind go up and then when it reaches its up limit can V_UP be used to send that info back to the controller. Are all the V_x in S_COVER binary values?

                Yes, the binary values in fact enable and disable the buttons on the controller. So if the cover is up, you send false for the up child, and the button will be disabled.

                skywatchS Offline
                skywatchS Offline
                skywatch
                wrote on last edited by
                #7

                @electrik I have working code but want to re-write it and thinking out loud of ways to accomplish the desired result - thanks for the input.

                1 Reply Last reply
                0
                • skywatchS skywatch

                  @electrik and @giva Thanks for the help - I am trying to work out if the V_UP etc are bidirectional, That is, can controller send V_UP to make blind go up and then when it reaches its up limit can V_UP be used to send that info back to the controller. Are all the V_x in S_COVER binary values?

                  @giva As an aside I use MyController (new version 2.0 is in the works) and have no issues with mysensors and NRF24 modules (with occasional corrupted data which I have yet to find the root cause of)...... Thanks for the promotion to nobility, hope I get more money with that! ;)

                  G Offline
                  G Offline
                  giva
                  wrote on last edited by
                  #8

                  @skywatch Kkkkkkkkkkkk. Great joke !!

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


                  22

                  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