Announcement

Collapse
No announcement yet.

Z-Wave Lock Events Script - Discussion Thread

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    You are a god among men. Thanks, this is awesome!
    Attached Files

    Comment


      #32
      Glad that it's working for you and thanks for the kind words

      Cheers
      Al
      HS 4.2.8.0: 2134 Devices 1252 Events
      Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

      Comment


        #33
        Pushover Notifications not working

        Hey Al,

        I just updated to the latest versions of the scripts. It updates the virtual device with the status and seems to work as expected but Pushover notifications are not being sent. I added the fourth parameter required by the new version of the doorlock.vb script. Everything looks fine. Here is the debug log in case it helps:

        Code:
        Mar-26 9:48:36 PM	 	Door Lock Log	Finished Table
        Mar-26 9:48:36 PM	 	Door Lock Log	Row 0
        Mar-26 9:48:36 PM	 	Door Lock Log	Unlocked by Z-Wave (25),2016-03-26,21:42:07
        Mar-26 9:48:36 PM	 	Door Lock Log	Row 1
        Mar-26 9:48:36 PM	 	Door Lock Log	Locked by Z-Wave (24),2016-03-26,21:42:20
        Mar-26 9:48:36 PM	 	Door Lock Log	Row 2
        Mar-26 9:48:36 PM	 	Door Lock Log	Unlocked by Z-Wave (25),2016-03-26,21:48:31
        Mar-26 9:48:36 PM	 	Door Lock Log	Row 3
        Mar-26 9:48:36 PM	 	Door Lock Log	Locked by Z-Wave (24),2016-03-26,21:48:36
        Mar-26 9:48:36 PM	 	Door Lock Log	LB 0
        Mar-26 9:48:36 PM	 	Door Lock Log	UB 3
        Mar-26 9:48:36 PM	 	Door Lock Log	End of File - Closed:4
        Mar-26 9:48:36 PM	 	Door Lock Log	3/26/2016
        Mar-26 9:48:36 PM	 	Door Lock Log	Locked by Z-Wave (24),2016-03-26,21:48:36
        Mar-26 9:48:36 PM	 	Door Lock Log	3/26/2016
        Mar-26 9:48:36 PM	 	Door Lock Log	Unlocked by Z-Wave (25),2016-03-26,21:48:31
        Mar-26 9:48:36 PM	 	Door Lock Log	3/26/2016
        Mar-26 9:48:36 PM	 	Door Lock Log	Locked by Z-Wave (24),2016-03-26,21:42:20
        Mar-26 9:48:36 PM	 	Door Lock Log	3/26/2016
        Mar-26 9:48:36 PM	 	Door Lock Log	Unlocked by Z-Wave (25),2016-03-26,21:42:07
        Mar-26 9:48:36 PM	 	Door Lock Log	24:Locked by Z-Wave
        Mar-26 9:48:36 PM	 	Event	Running script in background: C:/Program Files (x86)/HomeSeer HS3/scripts/doorlock.vb("Main","183,Front Door,566,Kwikset")
        Mar-26 9:48:36 PM	 	Event	Event Trigger "Manage Security Front Door - Lock Notification"
        Mar-26 9:48:36 PM	 	Z-Wave	Device: Security Front Hall Black and Decker Notification Node 14 Child Set to 24
        Mar-26 9:48:35 PM	 	Z-Wave	Device: Security Front Hall Black and Decker Door Lock Node 14 Child Set to 255
        Mar-26 9:48:35 PM	 	Z-Wave	Device: Energy Whole House Watts 2 Set to 862.32 (862.32 Watts)
        Mar-26 9:48:35 PM	 	Z-Wave	Device: Energy Whole House Watts 1 Set to 253.8 (253.8 Watts)
        Mar-26 9:48:33 PM	 	Device Control	Device: Security Front Hall Black and Decker Door Lock Node 14 Child to Lock (255) by/from: CAPI Control Handler
        Mar-26 9:48:31 PM	 	Door Lock Log	Finished Table
        Mar-26 9:48:31 PM	 	Door Lock Log	Row 0
        Mar-26 9:48:31 PM	 	Door Lock Log	Unlocked by Z-Wave (25),2016-03-26,21:42:07
        Mar-26 9:48:31 PM	 	Door Lock Log	Row 1
        Mar-26 9:48:31 PM	 	Door Lock Log	Locked by Z-Wave (24),2016-03-26,21:42:20
        Mar-26 9:48:31 PM	 	Door Lock Log	Row 2
        Mar-26 9:48:31 PM	 	Door Lock Log	Unlocked by Z-Wave (25),2016-03-26,21:48:31
        Mar-26 9:48:31 PM	 	Door Lock Log	LB 0
        Mar-26 9:48:31 PM	 	Door Lock Log	UB 2
        Mar-26 9:48:31 PM	 	Door Lock Log	End of File - Closed:3
        Mar-26 9:48:31 PM	 	Door Lock Log	3/26/2016
        Mar-26 9:48:31 PM	 	Door Lock Log	Unlocked by Z-Wave (25),2016-03-26,21:48:31
        Mar-26 9:48:31 PM	 	Door Lock Log	3/26/2016
        Mar-26 9:48:31 PM	 	Door Lock Log	Locked by Z-Wave (24),2016-03-26,21:42:20
        Mar-26 9:48:31 PM	 	Door Lock Log	3/26/2016
        Mar-26 9:48:31 PM	 	Door Lock Log	Unlocked by Z-Wave (25),2016-03-26,21:42:07
        Mar-26 9:48:31 PM	 	Door Lock Log	25:Unlocked by Z-Wave
        Mar-26 9:48:30 PM	 	Event	Running script in background: C:/Program Files (x86)/HomeSeer HS3/scripts/doorlock.vb("Main","183,Front Door,566,Kwikset")
        Mar-26 9:48:30 PM	 	Event	Event Trigger "Manage Security Front Door - Lock Notification"
        Mar-26 9:48:30 PM	 	Z-Wave	Device: Security Front Hall Black and Decker Notification Node 14 Child Set to 25
        Mar-26 9:48:28 PM	 	Z-Wave	Device: Security Front Hall Black and Decker Door Lock Node 14 Child Set to 0
        Mar-26 9:48:27 PM	 	Device Control	Device: Security Front Hall Black and Decker Door Lock Node 14 Child to Unlock (0) by/from: CAPI Control Handler
        Any help would be greatly appreciated!

        Thanks,
        AJ

        Comment


          #34
          Originally posted by ajgyomber View Post
          Hey Al,

          I just updated to the latest versions of the scripts. It updates the virtual device with the status and seems to work as expected but Pushover notifications are not being sent. I added the fourth parameter required by the new version of the doorlock.vb script. Everything looks fine. Here is the debug log in case it helps:

          Any help would be greatly appreciated!

          Thanks,
          AJ
          Hi AJ, send me a PM with your scripts and I'll double-check them. Which version of the Pushover plugin are you running?

          Cheers
          Al
          HS 4.2.8.0: 2134 Devices 1252 Events
          Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

          Comment


            #35
            Hey All. This script looks awesome. I'm quite new to the Homeseer world and was hoping for some assistance in setting up the virtual device for this. I have never set one up and am still learning the ins and outs of the system. Can someone help in dummy proofing some instructions for me to follow. I would greatly appreciate it.

            Comment


              #36
              Originally posted by doomngloom View Post
              Hey All. This script looks awesome. I'm quite new to the Homeseer world and was hoping for some assistance in setting up the virtual device for this. I have never set one up and am still learning the ins and outs of the system. Can someone help in dummy proofing some instructions for me to follow. I would greatly appreciate it.
              Let me rephrase my question. I know how to create a virtual device but i dont know how to link it ups properly to the parent "?" device. or am i missing something?

              Comment


                #37
                Originally posted by doomngloom View Post
                Hey All. This script looks awesome. I'm quite new to the Homeseer world and was hoping for some assistance in setting up the virtual device for this. I have never set one up and am still learning the ins and outs of the system. Can someone help in dummy proofing some instructions for me to follow. I would greatly appreciate it.
                Never Mind I figured it out.

                Comment


                  #38
                  I'm not sure what I'm doing wrong but the script isn't sending me any emails. I am trying to test it by using the app to lock and unlock the door. Is there something I missed? Yes i modified the script to have my email address.

                  Comment


                    #39
                    Originally posted by doomngloom View Post
                    I'm not sure what I'm doing wrong but the script isn't sending me any emails. I am trying to test it by using the app to lock and unlock the door. Is there something I missed? Yes i modified the script to have my email address.
                    Any errors/info from the HomeSeer log?
                    HS 4.2.8.0: 2134 Devices 1252 Events
                    Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

                    Comment


                      #40
                      none
                      Attached Files

                      Comment


                        #41
                        By default, the script will only send emails for warnings and errors. It won't sent an email for lock/unlock events. If you want that, the script will need to be modified. Let me know and I can help with that.

                        Cheers
                        Al
                        HS 4.2.8.0: 2134 Devices 1252 Events
                        Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

                        Comment


                          #42
                          I'd appreciate any help. I'm terrible at coding anything. Haven't had much practice.
                          I added the below into the script to test but nothing happened. am i doing it wrong?
                          Case 10008 'Unlocked using Z-Wave'
                          Alert = "Unlocked using Z-Wave"
                          Case 10009 'Locked using Z-Wave'
                          Alert = "Locked using Z-Wave"

                          Comment


                            #43
                            What type of lock is it? Can you post a screen shot of the Status Graphics tab of your lock's notification device?
                            HS 4.2.8.0: 2134 Devices 1252 Events
                            Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

                            Comment


                              #44
                              Kwikset 99140. i modified the code to 24 and 25 from 10008 10009. realized my mistake. but it still wont email me when i changed it.
                              here are some visuals.
                              Attached Files

                              Comment


                                #45
                                Can you post your complete script and is there any additional info in the log when you did this?
                                HS 4.2.8.0: 2134 Devices 1252 Events
                                Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

                                Comment

                                Working...
                                X