Welcome to Smart Home Forum by FIBARO
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Smart Home Forum by FIBARO Team
Search the Community
Showing results for tags 'system checks'.
Found 1 result
[SCENE] - HC2 post-reboot system checker
AutoFrank posted a question in Scenes and InterfaceHi, Whenever I restart my HC2 I run a series of checks manually to see that the various parts are all operational I finally got around to automating this It waits 10 seconds and then runs a series of checks on a reboot All checks are separate functions. I don't expect that it'll work out of the box for users but some of the approaches I use may be helpful in parts Output in debug window, email or via smsgh These systems are important to my setup and this is the output I get to give me a sense that all has started up okay HC2 API ....OK HC2 CPU ....OK - CPU0: 7.37% / CPU1: 9.88% HC2 Free Memory ....OK - 42% HC2 Sys Free Storage ....OK - 57% HC2 Rec Free Storage ....OK - 66% Home Table ....OK State Table ....OK MainScene ....OK Smart Msg Hub ....OK WWWAPI Monitor ....OK LAN Monitor ....OK Internet ....OK Sonos API ....OK HA Bridge ....OK USG ....OK Alarm Gateway ..OK output in debug window / via message hub (pushover) and this is how I check the various sections... API - check that I -get a 200 or 201 return code and non nil json response HC2 diags - read through the api HomeTable - check that I can read a table entry StateTable - check that I can read a table entry Main Scene (scene) - check that running instances is > 0 Message Hub (scene) - trigger a message and check that running instances is > 0 WWWAPI Monitor (vd) - I added a specific debug message each loop and check for a match to that LAN Monitor (vd) - I added a specific debug message each loop and check for a match to that Internet/SonosAPI/HABridge/USG/Alarm Gateway - from the StateTable (4) updated by the monitor (7) Some config ID's at the to of the scene lua file attached _f HC2 Post Reboot Checks.lua