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 100 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
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      24

      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