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. Vera
  4. Passing variable to sensor via radio network.

Passing variable to sensor via radio network.

Scheduled Pinned Locked Moved Vera
2 Posts 2 Posters 901 Views 1 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.
  • H Offline
    H Offline
    halo6
    wrote on last edited by
    #1

    Hi,

    I have a following set-up already up&running in my home.
    Main cotroller: Vera with MySensors plugin and RFX433/Zwave devices
    MySensors gateway build on RPI with 3 sensors (GAS&CO&PARKING).
    RPI is used also as MQTTY broker (mosquitto).

    Use case:
    Parking sensor works great in my garage, but it is working all the time even if I do not need it :)

    Use case modification:
    Void loop() is executed in following way : normal sketch is executed only if the garage door is open, otherwise do nothing. Garage door sensor is available in Vera as normal door/windows sensor over RFX433.

    Question:
    Is it possible to deliver the Garage door status variable to Parking Sensor over MySensor plugin and radio network??
    Should I use MQTT? Will it work? How to retrieve the value in sketch??

    Thank you for suggestions.

    nagelcN 1 Reply Last reply
    0
    • H halo6

      Hi,

      I have a following set-up already up&running in my home.
      Main cotroller: Vera with MySensors plugin and RFX433/Zwave devices
      MySensors gateway build on RPI with 3 sensors (GAS&CO&PARKING).
      RPI is used also as MQTTY broker (mosquitto).

      Use case:
      Parking sensor works great in my garage, but it is working all the time even if I do not need it :)

      Use case modification:
      Void loop() is executed in following way : normal sketch is executed only if the garage door is open, otherwise do nothing. Garage door sensor is available in Vera as normal door/windows sensor over RFX433.

      Question:
      Is it possible to deliver the Garage door status variable to Parking Sensor over MySensor plugin and radio network??
      Should I use MQTT? Will it work? How to retrieve the value in sketch??

      Thank you for suggestions.

      nagelcN Offline
      nagelcN Offline
      nagelc
      wrote on last edited by
      #2

      @halo6 I use Domoticz instead of Vera, but the general idea should work.
      Add another child sensor to your parking sensor that is a binary switch. Maybe S_DOOR, V_TRIPPED or S_BINARY, V_STATUS. That switch gets presented to your controller. Then have the parking sensor listen for a message to that child ID and work normally if on or do nothing (but listen for messages) when off.

      In Vera, write a small script that turns on the new parking sensor switch when the garage door is open, and turns it back off again when the garage door is closed.

      1 Reply Last reply
      1

      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


      9

      Online

      12.1k

      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