[RELEASE] Device Watchdog


#101

Hi, Not seeing any errors here. Please turn on 'Debug Logging' and rerun the report. Then post the log for Device Watchdog.

Thanks


#102

dev:2302019-02-16 10:09:34.078 am debugTPB.refresh()

app:2192019-02-16 10:09:26.470 am warnstate.timeSinceMap: Switch - Table light hasn't checked in since 11h 9m ago.
Switch - Lamp 1 hasn't checked in since 3h 22m ago.
Switch - Maple hasn't checked in since 5h 5m ago.
Switch - Lamp 2 hasn't checked in since 3h 22m ago.
Switch - Picture frame hasn't checked in since 4h 9m ago.
Switch - Heating blanket hasn't checked in since 9h 19m ago.
Switch - Rockruff hasn't checked in since 11h 9m ago.
Switch - Nightstand hasn't checked in since 9h 42m ago.
Switch - Office lamp hasn't checked in since 20h 39m ago.
Switch - Closet light hasn't checked in since 11h 21m ago.
Switch - Stand 1 hasn't checked in since 9h 42m ago.
Switch - Stand 2 hasn't checked in since 9h 42m ago.
Switch - Pokemon hasn't checked in since 9h 48m ago.
Switch - Bedroom Dimmer hasn't checked in since 9h 42m ago.
Water Sensor - Furnace Moisture Sensor hasn't checked in since 3h 15m ago.

Report generated: Sat Feb 16 10:09:26 CST 2019

app:2192019-02-16 10:09:26.465 am warnstate.reportCount: 1 ***

dev:2272019-02-16 10:09:26.448 am debugIn Device Watchdog Tile - Received new Activity data!

app:2192019-02-16 10:09:26.445 am debugDevice Watchdog Child - In watchdogMapHandler...Sending new Device Watchdog data to Device WatchDog Tile

app:2192019-02-16 10:09:26.441 am info * * * * * * * * End Device Watchdog Child * * * * * * * *

app:2192019-02-16 10:09:26.438 am info - - - - - End (S) Water Sensor - - - - -

app:2192019-02-16 10:09:26.435 am debugDevice Watchdog Child - Water Sensor - mySensors: Bathroom Moisture Sensor hourDiff: 0.3666666667 vs timeAllowed: 3

app:2192019-02-16 10:09:26.432 am debugDevice Watchdog Child - Water Sensor - mySensors: Bathroom Moisture Sensor hour: 0 min: 22

app:2192019-02-16 10:09:26.429 am infoWorking on... Bathroom Moisture Sensor

app:2192019-02-16 10:09:26.426 am infostate.reportCount: 1

app:2192019-02-16 10:09:26.423 am infoWater Sensor - Furnace Moisture Sensor hasn't checked in since 3h 15m ago.

app:2192019-02-16 10:09:26.419 am debugDevice Watchdog Child - Water Sensor - mySensors: Furnace Moisture Sensor hourDiff: 3.25 vs timeAllowed: 3

app:2192019-02-16 10:09:26.416 am debugDevice Watchdog Child - Water Sensor - mySensors: Furnace Moisture Sensor hour: 3 min: 15

app:2192019-02-16 10:09:26.413 am infoWorking on... Furnace Moisture Sensor

app:2192019-02-16 10:09:26.409 am debugDevice Watchdog Child - Water Sensor - mySensors: Workshop Moisture Sensor hourDiff: 0.05 vs timeAllowed: 3

app:2192019-02-16 10:09:26.406 am debugDevice Watchdog Child - Water Sensor - mySensors: Workshop Moisture Sensor hour: 0 min: 3

app:2192019-02-16 10:09:26.402 am infoWorking on... Workshop Moisture Sensor

app:2192019-02-16 10:09:26.398 am debugDevice Watchdog Child - Water Sensor - mySensors: Stairwell Moisture Sensor hourDiff: 1.5333333333 vs timeAllowed: 3

app:2192019-02-16 10:09:26.395 am debugDevice Watchdog Child - Water Sensor - mySensors: Stairwell Moisture Sensor hour: 1 min: 32

app:2192019-02-16 10:09:26.391 am infoWorking on... Stairwell Moisture Sensor

app:2192019-02-16 10:09:26.388 am debugDevice Watchdog Child - Water Sensor - mySensors: Internet Moisture Sensor hourDiff: 1.2 vs timeAllowed: 3

app:2192019-02-16 10:09:26.384 am debugDevice Watchdog Child - Water Sensor - mySensors: Internet Moisture Sensor hour: 1 min: 12

app:2192019-02-16 10:09:26.381 am infoWorking on... Internet Moisture Sensor

app:2192019-02-16 10:09:26.377 am debugDevice Watchdog Child - In mySensorHandler...

app:2192019-02-16 10:09:26.374 am info - - - - - Start (S) Water Sensor - - - - -

app:2192019-02-16 10:09:26.370 am info - - - - - End (S) Switch - - - - -

app:2192019-02-16 10:09:26.367 am debugDevice Watchdog Child - Switch - mySensors: Charmander hourDiff: 0.0166666667 vs timeAllowed: 3

app:2192019-02-16 10:09:26.363 am debugDevice Watchdog Child - Switch - mySensors: Charmander hour: 0 min: 1

app:2192019-02-16 10:09:26.360 am infoWorking on... Charmander

app:2192019-02-16 10:09:26.356 am infostate.reportCount: 14

app:2192019-02-16 10:09:26.353 am infoSwitch - Bedroom Dimmer hasn't checked in since 9h 42m ago.

app:2192019-02-16 10:09:26.349 am debugDevice Watchdog Child - Switch - mySensors: Bedroom Dimmer hourDiff: 9.7 vs timeAllowed: 3

app:2192019-02-16 10:09:26.346 am debugDevice Watchdog Child - Switch - mySensors: Bedroom Dimmer hour: 9 min: 42

app:2192019-02-16 10:09:26.342 am infoWorking on... Bedroom Dimmer

app:2192019-02-16 10:09:26.338 am infostate.reportCount: 13

app:2192019-02-16 10:09:26.335 am infoSwitch - Pokemon hasn't checked in since 9h 48m ago.

app:2192019-02-16 10:09:26.331 am debugDevice Watchdog Child - Switch - mySensors: Pokemon hourDiff: 9.8 vs timeAllowed: 3

app:2192019-02-16 10:09:26.327 am debugDevice Watchdog Child - Switch - mySensors: Pokemon hour: 9 min: 48

app:2192019-02-16 10:09:26.324 am infoWorking on... Pokemon

app:2192019-02-16 10:09:26.321 am infostate.reportCount: 12

app:2192019-02-16 10:09:26.317 am infoSwitch - Stand 2 hasn't checked in since 9h 42m ago.

app:2192019-02-16 10:09:26.314 am debugDevice Watchdog Child - Switch - mySensors: Stand 2 hourDiff: 9.7 vs timeAllowed: 3

app:2192019-02-16 10:09:26.310 am debugDevice Watchdog Child - Switch - mySensors: Stand 2 hour: 9 min: 42

app:2192019-02-16 10:09:26.307 am infoWorking on... Stand 2

app:2192019-02-16 10:09:26.304 am infostate.reportCount: 11

app:2192019-02-16 10:09:26.300 am infoSwitch - Stand 1 hasn't checked in since 9h 42m ago.

app:2192019-02-16 10:09:26.296 am debugDevice Watchdog Child - Switch - mySensors: Stand 1 hourDiff: 9.7 vs timeAllowed: 3

app:2192019-02-16 10:09:26.293 am debugDevice Watchdog Child - Switch - mySensors: Stand 1 hour: 9 min: 42

app:2192019-02-16 10:09:26.289 am infoWorking on... Stand 1

app:2192019-02-16 10:09:26.286 am debugDevice Watchdog Child - Switch - mySensors: Workshop light hourDiff: 0.1166666667 vs timeAllowed: 3

app:2192019-02-16 10:09:26.282 am debugDevice Watchdog Child - Switch - mySensors: Workshop light hour: 0 min: 7

app:2192019-02-16 10:09:26.279 am infoWorking on... Workshop light

app:2192019-02-16 10:09:26.275 am infostate.reportCount: 10

app:2192019-02-16 10:09:26.271 am infoSwitch - Closet light hasn't checked in since 11h 21m ago.

app:2192019-02-16 10:09:26.268 am debugDevice Watchdog Child - Switch - mySensors: Closet light hourDiff: 11.35 vs timeAllowed: 3

app:2192019-02-16 10:09:26.264 am debugDevice Watchdog Child - Switch - mySensors: Closet light hour: 11 min: 21

app:2192019-02-16 10:09:26.261 am infoWorking on... Closet light

app:2192019-02-16 10:09:26.258 am infostate.reportCount: 9

app:2192019-02-16 10:09:26.254 am infoSwitch - Office lamp hasn't checked in since 20h 39m ago.

app:2192019-02-16 10:09:26.251 am debugDevice Watchdog Child - Switch - mySensors: Office lamp hourDiff: 20.65 vs timeAllowed: 3

app:2192019-02-16 10:09:26.247 am debugDevice Watchdog Child - Switch - mySensors: Office lamp hour: 20 min: 39

app:2192019-02-16 10:09:26.244 am infoWorking on... Office lamp

app:2192019-02-16 10:09:26.241 am infostate.reportCount: 8

app:2192019-02-16 10:09:26.237 am infoSwitch - Nightstand hasn't checked in since 9h 42m ago.

app:2192019-02-16 10:09:26.234 am debugDevice Watchdog Child - Switch - mySensors: Nightstand hourDiff: 9.7 vs timeAllowed: 3

app:2192019-02-16 10:09:26.230 am debugDevice Watchdog Child - Switch - mySensors: Nightstand hour: 9 min: 42

app:2192019-02-16 10:09:26.227 am infoWorking on... Nightstand

app:2192019-02-16 10:09:26.223 am infostate.reportCount: 7

app:2192019-02-16 10:09:26.220 am infoSwitch - Rockruff hasn't checked in since 11h 9m ago.

app:2192019-02-16 10:09:26.216 am debugDevice Watchdog Child - Switch - mySensors: Rockruff hourDiff: 11.15 vs timeAllowed: 3

app:2192019-02-16 10:09:26.212 am debugDevice Watchdog Child - Switch - mySensors: Rockruff hour: 11 min: 9

app:2192019-02-16 10:09:26.209 am infoWorking on... Rockruff

app:2192019-02-16 10:09:26.206 am infostate.reportCount: 6

app:2192019-02-16 10:09:26.203 am infoSwitch - Heating blanket hasn't checked in since 9h 19m ago.

app:2192019-02-16 10:09:26.199 am debugDevice Watchdog Child - Switch - mySensors: Heating blanket hourDiff: 9.3166666667 vs timeAllowed: 3

app:2192019-02-16 10:09:26.196 am debugDevice Watchdog Child - Switch - mySensors: Heating blanket hour: 9 min: 19

app:2192019-02-16 10:09:26.193 am infoWorking on... Heating blanket

app:2192019-02-16 10:09:26.189 am infostate.reportCount: 5

app:2192019-02-16 10:09:26.186 am infoSwitch - Picture frame hasn't checked in since 4h 9m ago.

app:2192019-02-16 10:09:26.183 am debugDevice Watchdog Child - Switch - mySensors: Picture frame hourDiff: 4.15 vs timeAllowed: 3

app:2192019-02-16 10:09:26.179 am debugDevice Watchdog Child - Switch - mySensors: Picture frame hour: 4 min: 9

app:2192019-02-16 10:09:26.175 am infoWorking on... Picture frame

app:2192019-02-16 10:09:26.172 am infostate.reportCount: 4

app:2192019-02-16 10:09:26.168 am infoSwitch - Lamp 2 hasn't checked in since 3h 22m ago.

app:2192019-02-16 10:09:26.165 am debugDevice Watchdog Child - Switch - mySensors: Lamp 2 hourDiff: 3.3666666667 vs timeAllowed: 3

app:2192019-02-16 10:09:26.161 am debugDevice Watchdog Child - Switch - mySensors: Lamp 2 hour: 3 min: 22

app:2192019-02-16 10:09:26.158 am infoWorking on... Lamp 2

app:2192019-02-16 10:09:26.155 am infostate.reportCount: 3

app:2192019-02-16 10:09:26.151 am infoSwitch - Maple hasn't checked in since 5h 5m ago.

app:2192019-02-16 10:09:26.148 am debugDevice Watchdog Child - Switch - mySensors: Maple hourDiff: 5.0833333333 vs timeAllowed: 3

app:2192019-02-16 10:09:26.144 am debugDevice Watchdog Child - Switch - mySensors: Maple hour: 5 min: 5

app:2192019-02-16 10:09:26.140 am infoWorking on... Maple

app:2192019-02-16 10:09:26.137 am infostate.reportCount: 2

app:2192019-02-16 10:09:26.134 am infoSwitch - Lamp 1 hasn't checked in since 3h 22m ago.

app:2192019-02-16 10:09:26.130 am debugDevice Watchdog Child - Switch - mySensors: Lamp 1 hourDiff: 3.3666666667 vs timeAllowed: 3

app:2192019-02-16 10:09:26.127 am debugDevice Watchdog Child - Switch - mySensors: Lamp 1 hour: 3 min: 22

app:2192019-02-16 10:09:26.123 am infoWorking on... Lamp 1

app:2192019-02-16 10:09:26.120 am debugDevice Watchdog Child - Switch - mySensors: Oak hourDiff: 0.1 vs timeAllowed: 3

app:2192019-02-16 10:09:26.111 am debugDevice Watchdog Child - Switch - mySensors: Oak hour: 0 min: 6

app:2192019-02-16 10:09:26.106 am infoWorking on... Oak

app:2192019-02-16 10:09:26.103 am infostate.reportCount: 1

app:2192019-02-16 10:09:26.100 am infoSwitch - Table light hasn't checked in since 11h 9m ago.

app:2192019-02-16 10:09:26.096 am debugDevice Watchdog Child - Switch - mySensors: Table light hourDiff: 11.15 vs timeAllowed: 3

app:2192019-02-16 10:09:26.093 am debugDevice Watchdog Child - Switch - mySensors: Table light hour: 11 min: 9

app:2192019-02-16 10:09:26.089 am infoWorking on... Table light

app:2192019-02-16 10:09:26.086 am debugDevice Watchdog Child - In mySensorHandler...

app:2192019-02-16 10:09:26.082 am info - - - - - Start (S) Switch - - - - -

app:2192019-02-16 10:09:26.079 am info - - - - - End (S) Motion Sensor - - - - -

app:2192019-02-16 10:09:26.075 am debugDevice Watchdog Child - Motion Sensor - mySensors: Family room motion sensor hourDiff: 0.0333333333 vs timeAllowed: 3

app:2192019-02-16 10:09:26.072 am debugDevice Watchdog Child - Motion Sensor - mySensors: Family room motion sensor hour: 0 min: 2

app:2192019-02-16 10:09:26.068 am infoWorking on... Family room motion sensor

app:2192019-02-16 10:09:26.064 am debugDevice Watchdog Child - Motion Sensor - mySensors: Playroom Motion Sensor hourDiff: 0 vs timeAllowed: 3

app:2192019-02-16 10:09:26.060 am debugDevice Watchdog Child - Motion Sensor - mySensors: Playroom Motion Sensor hour: 0 min: 0

app:2192019-02-16 10:09:26.057 am infoWorking on... Playroom Motion Sensor

app:2192019-02-16 10:09:26.053 am debugDevice Watchdog Child - In mySensorHandler...

app:2192019-02-16 10:09:26.050 am info - - - - - Start (S) Motion Sensor - - - - -

app:2192019-02-16 10:09:26.046 am info - - - - - End (S) Contact Sensor - - - - -

app:2192019-02-16 10:09:26.043 am debugDevice Watchdog Child - Contact Sensor - mySensors: Office Contact Sensor hourDiff: 0.1 vs timeAllowed: 3

app:2192019-02-16 10:09:26.039 am debugDevice Watchdog Child - Contact Sensor - mySensors: Office Contact Sensor hour: 0 min: 6

app:2192019-02-16 10:09:26.035 am infoWorking on... Office Contact Sensor

app:2192019-02-16 10:09:26.031 am debugDevice Watchdog Child - Contact Sensor - mySensors: Back Contact Sensor hourDiff: 0.3666666667 vs timeAllowed: 3

app:2192019-02-16 10:09:26.027 am debugDevice Watchdog Child - Contact Sensor - mySensors: Back Contact Sensor hour: 0 min: 22

app:2192019-02-16 10:09:26.022 am infoWorking on... Back Contact Sensor

app:2192019-02-16 10:09:26.019 am debugDevice Watchdog Child - Contact Sensor - mySensors: Front Contact Sensor hourDiff: 2.2333333333 vs timeAllowed: 3

app:2192019-02-16 10:09:26.014 am debugDevice Watchdog Child - Contact Sensor - mySensors: Front Contact Sensor hour: 2 min: 14

app:2192019-02-16 10:09:26.009 am infoWorking on... Front Contact Sensor

app:2192019-02-16 10:09:26.006 am debugDevice Watchdog Child - Contact Sensor - mySensors: Nursery Contact Sensor hourDiff: 0.25 vs timeAllowed: 3

app:2192019-02-16 10:09:26.002 am debugDevice Watchdog Child - Contact Sensor - mySensors: Nursery Contact Sensor hour: 0 min: 15

app:2192019-02-16 10:09:25.997 am infoWorking on... Nursery Contact Sensor

app:2192019-02-16 10:09:25.994 am debugDevice Watchdog Child - Contact Sensor - mySensors: Bedroom Contact Sensor hourDiff: 2.7 vs timeAllowed: 3

app:2192019-02-16 10:09:25.990 am debugDevice Watchdog Child - Contact Sensor - mySensors: Bedroom Contact Sensor hour: 2 min: 42

app:2192019-02-16 10:09:25.985 am infoWorking on... Bedroom Contact Sensor

app:2192019-02-16 10:09:25.980 am debugDevice Watchdog Child - In mySensorHandler...

app:2192019-02-16 10:09:25.977 am info - - - - - Start (S) Contact Sensor - - - - -

app:2192019-02-16 10:09:25.972 am info * * * * * * * * Starting Device Watchdog Child * * * * * * * *

app:2192019-02-16 10:09:25.969 am debugDevice Watchdog Child - Continue - App NOT paused

dev:2322019-02-16 10:09:14.083 am debugHBC2.refresh()

dev:2272019-02-16 10:09:11.102 am errorgroovy.lang.MissingMethodException: No signature of method: dev15501980350061569705581.refresh() is applicable for argument types: () values: [] Possible solutions: every(), every(groovy.lang.Closure), grep() (refresh)

app:2182019-02-16 10:09:08.215 am infoParent Installed OK

app:2192019-02-16 10:09:07.745 am debugDevice Watchdog Child - In pauseOrNot...

app:2192019-02-16 10:09:07.741 am debugDevice Watchdog Child - In setupNewStuff...

app:2192019-02-16 10:09:07.738 am infoDevice Watchdog Child - All Logging Enabled

app:2192019-02-16 10:09:07.696 am debugDevice Watchdog Child - Updated with settings: [pause1:false, triggerMode:Activity, switchDevice:[Table light, Oak, Lamp 1, Maple, Lamp 2, Picture frame, Heating blanket, Rockruff, Nightstand, Office lamp, Closet light, Workshop light, Stand 1, Stand 2, Pokemon, Bedroom Dimmer, Charmander], watchdogTileDevice:Device WatchDog Tile, timeToRun:2019-02-16T23:15:00.000-0600, badORgood:false, contactSensorDevice:[Bedroom Contact Sensor, Nursery Contact Sensor, Front Contact Sensor, Back Contact Sensor, Office Contact Sensor], motionSensorDevice:[Playroom Motion Sensor, Family room motion sensor], timeAllowed:3, debugMode:true, waterSensorDevice:[Internet Moisture Sensor, Stairwell Moisture Sensor, Workshop Moisture Sensor, Furnace Moisture Sensor, Bathroom Moisture Sensor]]


#103

If you click on app:219 and then look at the top... it should show you that the app associated with 219 is 'Device Watchdog Child'...

If you click on dev:227 ... what does it show that it is associated with???


#104

The tile


#105

Please download child app v1.1.8 and see if the error goes away. I can not reproduce it so I'm just shooting in the dark right now.

V1.1.8 - 02/16/19 - Trying to track down an error.


#106

It didn't go away after using your update. But what I did was delete the tile and made a new one. I also gave it a different name: Device WatchDog Tile 1.

The error stopped after that.


#107

Well, no idea why you had that error but glad it's gone! Enjoy the app. :grin:


#108

I've just installed this app and it's really well done!

Just few suggestions:

  • Is it possible to better format notification messages, actually they are on the same line and with symbols not aligned. IE:
    Device Offline:
    Device1 - 3H
    Device2 - 4H
  • Is it possible to send another notification if, at next check, some devices are come back online. IE:
    Device now online:
    Device3
    Device4

Thanks!


#109

Thanks!

This is something that I just keep putting off for other things/apps. Time I just go in and figure it out, lol. (So I already did this morning)

The app doesn't store any information, each report is a brand new list. So there is no way to compare device state to previous list.


New version on GitHub:
V1.1.9 - 02/24/19 - Fixed Pushover reports.


#110

probably something I am not setting correctly but when I add the watchdog Activity tile to dashboards it works when I select "device status report" from the watchdog app it populates the dashboard tile correctly but if I refresh dashboard the info disappears/clears.
With a watchdog battery tile the info stays when dashboard is refreshed.
I have tried creating 2 separate virtual watchdog devices for each and the same results.


#111

I've tried to duplicate this behavior but can't seem to. I've tried to both reload the page and change pages and go back and everything is still there.

Only one virtual device is needed. It'll hold both attributes. Change it back so both reports use the same device, then take a look at that device page and see if both attributes have data. Forget about the dashboard for now, just see if the data is in the device.

Thanks


#112

I figured one virtual device would work but tried 2 as well.
Anyway deleted the second virtual device and the one virtual device shows all the reports correctly even after refreshing.

tried rebooting my hub as well and removing a bunch of devices from the dashboard in case it was a dashboard memory issue.
Tried deleting the watchdog activity routine and created a new new one with only a few devices.

but still the same issue with the dashboard all Activity info gets wiped after refresh but the battery info is fine.


#113

Okay, so everything with the app is working correctly.

Something is going on with your dashboard then. Can you show a screenshot of your setup for the tile?


#114

Well I just went and created afresh new dashboard and everything is working fine on it.
so I went deleted the old tiles and recreated the exact same tiles on the old dashboard
copied and pasted from old to new and back again to the old.

everything is working as it should now (local or cloud was the same)
bizarre
maybe something got messed up when I originally created the watchdog Activity tile and was stuck in the dashboard memory.
working now
thanks


#115

found the problem under the third tile setting watchdogActivity I originally had watchdogactivity with a lower case "a" instead of an uppercase "A"
info would originally push to the tile with the lower case "a" but then clear when I refreshed the dashboard.
All working correctly with an upper case "A"


#116

Great, glad to hear it's working.


#117

Thank you for the new version, I'll try it soon.

For notification on return online, what about subscribe to device activity (if it's possible), sending notification (removing subscription) when it's back?


#118

Another suggestion: looking at app variables, in mySensors are stored the entire sensor objects (with all their properties, it's very huge on mine), maybe it could be better to pass the object to myBatteryHandler() and mySensorHandler() without write it into Hubitat?


#119

Sorry, you completely lost me on that one.


#120

I'll try to fix it and send a pull request