• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

    Window - Door Sensor How to get alerts

    scheduled pinned locked moved General Discussion
    11 posts 2 posters 2.7k views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • B offline
      bmanos
      global: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

      J one-reply-to-this-post last-reply-time reply quote 0
      • J offline
        jkandasa @bmanos
        global:last-edited-by,

        @bmanos Go with latest SNAPSHOT version and follow Rules tutorial

        one-reply-to-this-post last-reply-time reply quote 0
        • B offline
          bmanos
          global:last-edited-by,

          Thnks a lot

          one-reply-to-this-post last-reply-time reply quote 0
          • B offline
            bmanos
            global: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

            J one-reply-to-this-post last-reply-time reply quote 0
            • J offline
              jkandasa @bmanos
              global:last-edited-by,

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

              0_1504599668942_image.png

              1 - On
              0 - Off

              one-reply-to-this-post last-reply-time reply quote 0
              • B offline
                bmanos
                global: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?

                J one-reply-to-this-post last-reply-time reply quote 0
                • J offline
                  jkandasa @bmanos
                  global: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.

                  one-reply-to-this-post last-reply-time reply quote 0
                  • B offline
                    bmanos
                    global:last-edited-by,

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

                    one-reply-to-this-post last-reply-time reply quote 1
                    • B offline
                      bmanos
                      global: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

                      J one-reply-to-this-post last-reply-time reply quote 0
                      • J offline
                        jkandasa @bmanos
                        global: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
                        one-reply-to-this-post last-reply-time reply quote 0
                        • B offline
                          bmanos @guest
                          global: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

                          one-reply-to-this-post last-reply-time reply quote 0
                          • first-post
                            last-post

                          0

                          online

                          644

                          users

                          532

                          topics

                          3.4k

                          posts
                          Copyright © 2015-2025 MyController.org | Contributors | Localization