EOL, unsupported.ADD addresses the missing feature documented at
http://bugs.micasaverde.com/view.php?id=1244.
It was inspired by the thread at
http://forum.micasaverde.com/index.php?topic=5100.0 and is meant to be used within a scene ('Luup' tab) with an interval based timer.
If a battery operated device is drowsy (defined as: 'current time' - LastWakeup > sensitivity * WakeupInterval), ADD will send an email to an address of your choice. In addition, ADD can send heartbeat messages.
Installation:Create a new scene, copy the Lua code into the 'Luup' tab, adjust the user adjustable variables in the Lua code (you have to modify the SMTP server settings), 'Save lua', setup 'Timers', SAVE
Download:https://docs.google.com/leaf?id=0Bz4omZm4gYcsNTVlYTlhOTItODM1ZS00NmRkLWJiM2MtNjU3ZTgxMjJhMjI0&hl=en_US&authkey=CICPpuwJSample output:Vera's Z-Wave routing matrix
2011-02-07 15:56:43 1 36 83 84 89 91 94 111 125 129 131 134 135 139 140 142 144 146 151 154 157 162 167 171 174 181 183 184 185
-----------------------------------------------------------------------------------------------------------------------------------------------
1 Scene Controller | 36 83 84 89 91 94 111 125 134 135 139 140 142 144 146 151 157 174 181
36 B Wandspiegellampe | 83 84 91 94 125 157 174 181
83 AZ Deckenlampe | 84 91 94 111 125 129 144 151 157 174 181
84 AZ Schreibtischlampe | 91 94 144 174 181
89 WZ Stehlampe West | 144 151 154 174
91 FL Bewegungsmelder | 111 125 144 151 154 157 174
94 AZ Tuerkontakt | 111 125 144 151 154 157 174
111 AR Abstellraumlampe | 125 144 151 154 157 174 181
125 K USL | 144 151 154 181
129 K 3-in-1 |
131 WZ Rollladen S | 154 174
134 WZ Danfoss O | 144 151 154 174
135 AZ 3-in-1 |
139 WZ Danfoss N |
140 SZ 3-in-1 |
142 B Danfoss |
144 K Deckenlampe Kueche | 157 174 181
146 B 3-in-1 |
151 WZ Stehlampe Ost | 181
154 WZ Rollladen W | 174 181
157 SZ Deckenlampe | 174 181
162 AZ Taster 2f |
167 TR Scene Controller |
171 AR Motion Sensor |
174 SZ Window Covering | 181
181 WZ 3-in-1 |
183 AZ 2f Mar |
184 Taster 2f |
185 Remotec Z-URC 550EU |
dot:
https://chart.googleapis.com/chart?...
neato:
https://chart.googleapis.com/chart?...
twopi:
https://chart.googleapis.com/chart?...
circo:
https://chart.googleapis.com/chart?...
fdp:
https://chart.googleapis.com/chart?...
91 FL Bewegungsmelder : Last wakeup 562 WakeupInterval(s) ago (WakeupInterval: 1800 seconds, BatteryLevel: 1)
139 WZ Danfoss N : Battery level 8, last battery report 0 hour(s) ago
91 FL Bewegungsmelder : Battery level 1, last battery report 50 hour(s) ago
LastUpdate : 1297088640 (2011-02-07 15:24:00)
LastDongleBackup : 1297026447 (2011-02-06 22:07:27)
AutoConfigure : nil
NetStatusID : 1
NetStatusText : #131: Getting the name
ComPort : /dev/usb/tts/0
NodeID : XXX
VersionInfo : 2.78 L:1
HomeID : House: XXXXX Node 1 Suc 1
Role : Suc SIS:YES PRI:YES
ResetMode : nil
InclusionMode : nil
NodeType : nil
Timeout : nil
Multiple : nil
SimulateIncomingData: nil
PollingEnabled : 1
PollDelayInitial : 20
PollDelayDeadTime : 10
PollMinDelay : 10
PollFrequency : 60
LastError : Node 139 failed
DelayProcessing : nil
Signal quality (PollOk / PollNoReply / PollTxFail / failure rate)
36 B Wandspiegellampe 14020 12 nil 0 %
83 AZ Deckenlampe 13006 816 nil 6 %
167 TR Scene Controller nil nil nil 0 %
84 AZ Schreibtischlampe 13940 23 nil 0 %
125 K USL 7878 5013 nil 39 %
134 WZ Danfoss O 2 nil nil 0 %
135 AZ 3-in-1 1337 3 1 0 %
171 AR Motion Sensor nil nil nil 0 %
174 SZ Window Covering 7803 4602 nil 37 %
140 SZ 3-in-1 1377 1 2 0 %
142 B Danfoss nil nil nil 0 %
144 K Deckenlampe Kueche 11945 1453 nil 11 %
183 AZ 2f Mar nil nil nil 0 %
184 Taster 2f nil nil nil 0 %
185 Remotec Z-URC 550EU nil nil nil 0 %
151 WZ Stehlampe Ost 9948 2445 nil 20 %
154 WZ Rollladen W 6085 661 nil 10 %
157 SZ Deckenlampe 9446 3372 nil 26 %
162 AZ Taster 2f nil nil nil 0 %
146 B 3-in-1 1379 5 1 0 %
89 WZ Stehlampe West 9086 602 nil 6 %
131 WZ Rollladen S 1 10225 nil 100 %
139 WZ Danfoss N nil nil nil 0 %
181 WZ 3-in-1 1091 17 2 2 %
129 K 3-in-1 888 18 nil 2 %
111 AR Abstellraumlampe 10627 2609 nil 20 %
91 FL Bewegungsmelder 1007 6 1 1 %
94 AZ Tuerkontakt 1794 nil nil 0 %
ADD 2.4, running time: 1 second(s)
History:V1.1 adds support for battery level reporting.
V1.2 adds support for Z-Wave routing matrix.
V1.3 adds support for timestamp of Z-Wave routing matrix.
V1.4 fixes a bug if 'Capabilities' does not exist - thanks to dcowan
V1.5 fixes a bug if 'Capabilities' is an empty string - thanks to dcowan
V1.6 checks if a neighbor does exist - thanks to mda
V1.7 adds more checks for neighbor consistency - thanks to mda
V1.7a cosmetic changes
V1.8 renumbered devices fixed
V1.9 adds information about Z-Wave network, version number, running time - thanks to guessed
V2.0 adds compliance with RFC 2821 - thanks to Les F
V2.1 adds battery level report - thanks to Les F
V2.2 adds visualisation of neighbors - thanks to guessed
V2.3 adds the user adjustable variable include_routing_matrix_visualisation
V2.4 adds information about Z-Wave signal quality
V2.5 adds internal device ID to signal quality table
V2.6 updates variables for
urn:micasaverde-com:serviceId:ZWaveNetwork1