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. Controllers
  3. Domoticz
  4. Push variable from domoticz to node?

Push variable from domoticz to node?

Scheduled Pinned Locked Moved Domoticz
4 Posts 3 Posters 1.8k 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.
  • D Offline
    D Offline
    dmonty
    wrote on last edited by
    #1

    I'm new to Domoticz and MySensors.

    I've built a motion/door sensor node that turns on lights in the garage. At first I coded it so the Arduino node in the garage had logic to turn on the lights and maintain the countdown timer. Then later I moved the logic over to Domoticz Event script. Both work but I was thinking if the Domoticz Controller node was offline then my garage lights would fail to work. So I'd like to do a hybrid where Domoticz can send some parameter variables that get stored in the eprom of the arduino. e.g. Light On Countdown time.

    Are variables pushed using V_VAR1-5?
    https://www.mysensors.org/download/serial_api_20

    Thanks.

    D 1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      You could also use like a dimmer control where you can adjust the value of the timer

      D 1 Reply Last reply
      0
      • D dmonty

        I'm new to Domoticz and MySensors.

        I've built a motion/door sensor node that turns on lights in the garage. At first I coded it so the Arduino node in the garage had logic to turn on the lights and maintain the countdown timer. Then later I moved the logic over to Domoticz Event script. Both work but I was thinking if the Domoticz Controller node was offline then my garage lights would fail to work. So I'd like to do a hybrid where Domoticz can send some parameter variables that get stored in the eprom of the arduino. e.g. Light On Countdown time.

        Are variables pushed using V_VAR1-5?
        https://www.mysensors.org/download/serial_api_20

        Thanks.

        D Offline
        D Offline
        dbemowsk
        wrote on last edited by
        #3

        @dmonty MySensors nodes can talk to one another by sending commands to a specific node, so you could move the countdown timer back to the motion sensor node and have that node talk directly to the light switch node to turn on/off the light.

        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
        • gohanG gohan

          You could also use like a dimmer control where you can adjust the value of the timer

          D Offline
          D Offline
          dmonty
          wrote on last edited by
          #4

          @gohan Thanks, dimmer works well.

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          25

          Online

          12.0k

          Users

          11.2k

          Topics

          113.4k

          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