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

Window - Door Sensor How to get alerts

Scheduled Pinned Locked Moved General Discussion
11 Posts 2 Posters 2.4k Views 1 Watching
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.
  • B Offline
    bmanos
    last edited by 5 Sept 2017, 07:43

    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 1 Reply Last reply 5 Sept 2017, 07:47 Reply Quote 0
    • J Offline
      jkandasa @bmanos
      last edited by 5 Sept 2017, 07:47

      @bmanos Go with latest SNAPSHOT version and follow Rules tutorial

      1 Reply Last reply Reply Quote 0
      • B Offline
        bmanos
        last edited by 5 Sept 2017, 07:49

        Thnks a lot

        1 Reply Last reply Reply Quote 0
        • B Offline
          bmanos
          last edited by 5 Sept 2017, 07:53

          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 1 Reply Last reply 5 Sept 2017, 08:21 Reply Quote 0
          • J Offline
            jkandasa @bmanos
            last edited by 5 Sept 2017, 08:21

            @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
            • B Offline
              bmanos
              last edited by 5 Sept 2017, 08:25

              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 1 Reply Last reply 5 Sept 2017, 09:05 Reply Quote 0
              • J Offline
                jkandasa @bmanos
                last edited by 5 Sept 2017, 09:05

                @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
                • B Offline
                  bmanos
                  last edited by 5 Sept 2017, 09:40

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

                  1 Reply Last reply Reply Quote 1
                  • B Offline
                    bmanos
                    last edited by 5 Sept 2017, 10:19

                    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 1 Reply Last reply 5 Sept 2017, 12:19 Reply Quote 0
                    • J Offline
                      jkandasa @bmanos
                      last edited by 5 Sept 2017, 12:19

                      @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
                      • B Offline
                        bmanos @Guest
                        last edited by bmanos 9 May 2017, 19:54 5 Sept 2017, 14:23

                        @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
                        5 out of 11
                        • First post
                          5/11
                          Last post

                        0

                        Online

                        628

                        Users

                        532

                        Topics

                        3.4k

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