Had a few minutes this morning so I stripped out the alerts function from the Hub Information Aggregation app, and put it out as a light weight standalone app. This app monitors attributes in the Hub Information Driver (can monitor multiple linked via Hub Mesh) for changes and compares them to what you determine are acceptable values to send out push notifications.
Currently the attributes monitored include: Hub Temperature, Database Size, Free Memory Available and whether the IP address has changed. Monitoring is driven by the polling cycle (uptime attribute update event) of the Hub Information Device.
I set the app with the following but have been unable to trigger an alert for Hub db.
Can'y screen capture anything in the logs for you as nothing shows up.
Any ideas?
Should be looking at the values every time the Hub Information device runs a poll, what does the device page look like for your hub information? (You can force a poll by hitting Configure.)
I just pushed v0.1.2 which has the debug logic and adds the toInteger() and toFloat() to the value retrievals. Can you pull it down and turn on debugging to see what we get?
Just thought I'd let you know that when the "Alert on IP Change" is enabled, saved, then disabled and saved, it still reports the IP Address in the logs
Sorry about the delay in getting back to you, was burning the candle at both ends to the early hours this morning.
All working perfectly now.
Thanks for your support and another awesome app!!
Hi Jean, I just updated this and enabled the "Alert on Hub Update Status Change" option on both of my hubs and now I'm getting alerts every few minutes.