• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Window - Door Sensor How to get alerts

    General Discussion
    2
    11
    1924
    Loading More Posts
    • 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.
    • bmanos
      bmanos last edited by

      Hello

      How can I get alert by email when a window-door is opened but not when I set alarm to disable state(bypassed)
      I use mysensors node.
      Thanks
      Emmanuel

      jkandasa 1 Reply Last reply Reply Quote 0
      • jkandasa
        jkandasa @bmanos last edited by

        @bmanos Go with latest SNAPSHOT version and follow Rules tutorial

        1 Reply Last reply Reply Quote 0
        • bmanos
          bmanos last edited by

          Thnks a lot

          1 Reply Last reply Reply Quote 0
          • bmanos
            bmanos last edited by

            Should I put the alarm an the tripped in two different "nodes" instead of one?
            Otherwise I think I cannot get the compare in the rules Am I right?
            0_1504597974086_al01.png

            jkandasa 1 Reply Last reply Reply Quote 0
            • jkandasa
              jkandasa @bmanos last edited by

              @bmanos You can use state option. to check Armed or Tripped.

              0_1504599668942_image.png

              1 - On
              0 - Off

              1 Reply Last reply Reply Quote 0
              • bmanos
                bmanos last edited by

                Yes of course I already did this
                I made a rule with tripped so when is ON I got an email
                But I want to use also the ARMED state and say:
                if armed state is disable ignore the tripped state and don't send me emails
                Is that possible?

                jkandasa 1 Reply Last reply Reply Quote 0
                • jkandasa
                  jkandasa @bmanos last edited by

                  @bmanos Yes, we can do this in two way.

                  #1. create two different rules to enable and disable tripped rule based on Armed state.
                  #2. create a script to check ARMED state and send the email.

                  1 Reply Last reply Reply Quote 0
                  • bmanos
                    bmanos last edited by

                    Thanks again I will try and let you know
                    Also very nice work thanks for sharing

                    1 Reply Last reply Reply Quote 1
                    • bmanos
                      bmanos last edited by

                      Hello again
                      I searched for your first solution as the second one(make a script) is a little too soon for me
                      So I cannot figure how to create a rule that disables another rule. Is it possible that you show me how
                      Thanks one more time

                      jkandasa 1 Reply Last reply Reply Quote 0
                      • jkandasa
                        jkandasa @bmanos last edited by

                        @bmanos

                        • You have to create two operations,
                          • to disable tripped rule
                          • to enable tripped rule
                        • Now you have to create two rules and refer the operations
                          • to execute disable rule operation
                          • to execute enable rule operation
                        1 Reply Last reply Reply Quote 0
                        • bmanos
                          bmanos @Guest last edited by bmanos

                          @bmanos said:

                          DON'T reply I figured out the way to do this I didn't see that I can refer to rules in the operations module
                          Everything is OK
                          Thanks for your help one more time

                          Hello

                          Could you have a look at the following there is something I am doing wrong!
                          Thanks again
                          0_1504616785704_rule.png
                          0_1504616794100_operations.png

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          0
                          Online

                          638
                          Users

                          495
                          Topics

                          3.2k
                          Posts

                          Copyright © 2015-2022 MyController.org | Contributors | Localization