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. Development
  3. V_ARMED vs V_TRIPPED questions.

V_ARMED vs V_TRIPPED questions.

Scheduled Pinned Locked Moved Development
3 Posts 3 Posters 61 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.
  • pw44P Offline
    pw44P Offline
    pw44
    wrote on last edited by
    #1

    Re: A few random questions (V_tripped vs V_armed)

    i have a door sensor, and an defined MyMessage msg(CHILD_ID,V_TRIPPED);

    It notifies me wether the door is open or not.

    How can it also be connected to the alarm, in order that:

    1. alarm unarmed and being home, only notify that door is open or not.
    2. alarm armed and being away or not, notifies that door is open or not and in case of open, also activates the alarm.

    how to use V_TRIPPED and V_ARMED?

    Thx in advance

    YveauxY 1 Reply Last reply
    0
    • pw44P pw44

      Re: A few random questions (V_tripped vs V_armed)

      i have a door sensor, and an defined MyMessage msg(CHILD_ID,V_TRIPPED);

      It notifies me wether the door is open or not.

      How can it also be connected to the alarm, in order that:

      1. alarm unarmed and being home, only notify that door is open or not.
      2. alarm armed and being away or not, notifies that door is open or not and in case of open, also activates the alarm.

      how to use V_TRIPPED and V_ARMED?

      Thx in advance

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @pw44 I would say that raising an alarm or not is the task of the controller, not the sensor. The sensor should only report door status, and the controller combines a number of parameters to decide if the alarm should sound.

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sasquatch
        wrote on last edited by
        #3

        Agree with @Yveaux.
        V_ARMED can be used in battery powered door sensors to preserve battery, or to reduce traffic. don't send V_TRIPPED if V_ARMED is not set. Sounding alarm is controller's decision.

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


        26

        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