Some nice improvements and bugfixes in this version, thanks for all the reports :)
I'm away for 10 days; if something's broken despite my somewhat rigorous testing, you can simply uninstall and then install the previous version without loss of settings - but please post the issue and optionally your logs. I'll reply as soon as I'm back.
Features & improvements:
- Configuration screen revamp
- Every section now has its own page, to allow for more options and info text
- Configuration page added: Local Storage
- Manage how long your notification images are cached
- Configuration page added: Logging and Reporting
- Manage extended logging options
- It's now possible to set a custom discovery topic [#11] (thanks @ivanlee1007)
- New single-value sensor: LastSystemStateChange
- Contains the last system state change (you guessed it), like SystemShutdown, SessionLogon, SessionRemoteControl etc. (full list shown when you add the sensor)
- Useful to monitor (unwanted) logins, etc
- Performance counter-based sensors
- Previously, CPU load (amoung others) got fetched through WMI - which is a pain and resource-heavy
- CPU load has been changed to performance counters, the rest will follow
- The next version will enable you to add your own counters
- You can use 'perfmon.exe' to get familiar with them
Bugfixes:
- HASS.Agent will do its best to announce it's unavailable on shutdown/logout/suspend [#12] (thanks @miit86)
- Lock command isn't stored properly [#13] (thanks @bfish2)
- CurrentClockSpeed and CpuLoad sensors don't provide values [#17] (thanks @GegoSK)
- Note: CurrentClockSpeed currently provides the factory provided value (ie. what it's capable of)
- SessionState sensor changed from WMI to Windows API
- The WMI method used too much CPU
- Values changed to Locked, Unlocked and Unknown
- Unknown also occurs when the user disconnects (in case of a remote connection)
- Use a LastSystemStateChange sensor to detect what happened
- Notifier local API now won't start if notifications are disabled [#15] (thanks @mitchcapper)