Disclaimer
Due to fixes made to the installer, the installation is now separated into two parts:
- client - not requiring the administrative privileges
- satellite service - requiring administrative privileges
Thing to note is that if you've installed the satellite service to a non-default path previously, the new satellite installer will not automatically detect it - please just point it again to the previously chosen path.
In case of questions or issues please feel free to join discord or create an issue on the github, and as always, please backup your config :)
Release 2.1.0
After quite a few betas we've finally reached 2.1.0 :D
Let me get to the point and list the changes and fixes (ordered more or less as they were implemented) since last full release:
Changes:
- Added "SetAudioInputCommand" (thanks to Chrisdegod for the suggestion) - #41
- Added "ScreenshotSensor", functioning as camera entity (huge thanks to @denisabt for the inital PR with implementation to the original repo)- #42
- Added option to ignore the MQTT/connection grace period when system wakes from hibernation (thanks to @larena1 for the suggestion)- #51
- Added option to use modern (white on transparent) icon for the HASS.Agent's trayicon (big thanks to @MBaliver for the suggestion and the icon) - #55
- Added note to "PowershellSensor" description as a reminder to Home Assistant's 255 character limit for the payload/state (thanks to @EpicLPer for suggestion) - #58
- Added experimental functionality to scan Home Assistant NFC tags for devices equiped with a reader #69
- Added additional check for German keyboard layouts that might interfere with default HotKey (thanks to @EpicLPer for reporting) #74
- Added "ProcessName" attribute to "ActiveWindowSensor" (thanks to @barrelltitor for suggestion) #77
- Added "Advanced Settings" for all single value sensors that allow device_class, unit_of_measurement & state_class to be overriden (thanks to @spikeygg and @acshef for suggestion) #79
- Added action support for "MultipleKeys" command (thanks to @Presswerk65 for suggestion) #98
- Separated installer process into two - client and satellite, allowing for non-privileged user installation
- All dependencies have been bumped to the newest possbile version (as of 2.1.0-beta1) - #56
- Added new command (best used as a switch) to show/hide the built in webview (thanks to @rxritalin for suggestion) - #124
- Added "Trigger" option to the Quick Actions allowing for triggering the Home Assistant automation (thanks to @SerinitySW for suggestion) - #125
- Added "Press" option to the Quick Actions allowing for Home Assistant button activation (thanks to @SerinitySW for suggestion) - #126
- Added additional notification features to match the Android feature set (ability to set tags and clear notifications) - #140 (please see pull request for examples)
Fixes:
- "SetAudioOutputCommand" and "SetApplicationVolume" commands are now properly configurable from the UI (thanks to Chrisdegod for reporting) - #39
- Updated VirtualDesktop management library to stop it crashing on some Windows 11 systems - #40
- Sensor state being evaluated constantly, ignoring the configured update interval (thanks to @shupershuff for reporting) - #45
- "PowershellCommand" arguments not being bound/parsed properly when provided with payload/action (thanks to @shupershuff for reporting) - #47
- "ActiveWindow" sensor not using proper encoding, resulting in some characters being replaced with "?" (thanks to @greghesp for reporting) - #50
- Sensor/command discovery payload messages are now sent on HASS.Agent start and configuration change instead of constantly - should reduce the load on Home Assistant (thanks to @Anto79-ops for reporting) - #5
- "MicrophoneProcessSensor" description has been changed to more accurately describe its function (thanks to @Gvolten for reporting) - #57
- All UI windows are closed when main one is (thanks to @KohGeek for reporting) #70
- MQTT Discovery message is properly cleared after device is renamed (thanks to @Mystically11 for reporting) #71
- Microphone sensor now properly clears attributes with application names #76
- "ActiveWindowSensor" now properly reports attributes #92
- Potential null reference for WMI sensors #78
- Corrected sensors' state and device classes so that they match the measurement #82
- Fixed screeenshot sensor not working correctly with systems using custom scaling (thanks to @ElDingo424 for reporting) #84
- Multiple fixes to audio sensors and management (including potential memory leak and crashes) (huge thanks for rafo, sreknob @barrelltitor for reporting and all the testing done to catch this <3) #85 & #101 & #102
- Media player not properly reporting mute status (thanks to @TarheelGrad1998 for reporting) #102
- Command's friendly name not being saved #88
- Windows Update sensors not having unique ID (thanks to @zanix for reporting) #90
- Satellite service installer not respecting user's choice of installation path (thanks to mavericknik from Discord for reporting) - #113
- New audio management not handling COM thread compartments correctly causing the sensors/commands to fail - #122
- Satellite sensors not properly saving "round", "ignore availability" and "advanced settings" (thanks to @spikeygg for reporting) - #123
- Installer not having enough time to stop the satellite service (hopefully) - #133
- Internal devices sensors causing log spam if one of the configured ones are not able to provide measurement (for example due to hardware problem) - #134
- Webview now respects taskbars being located at top and sides of the screen (thanks to @jbcodemonkey for reporting) #141
- Satellite sensors and commands now properly save friendly name - #169
What's next?
- First and foremost, next update will be a security themed one and arrive as soon as possible. There have been some issues raised in relation to libraries that HASS.Agent uses. While they are not a security vulnerability by themselves, some of them allow for exploitation. We cannot knowingly keep using them if the risk if too high.
- It's been quite long since the last full release and I'd like to streamline it more, have smaller and more frequent updates rather than huge ones like this one. Time will tell when we'll get there but I'll do my best :D.
- Community pull requests, there are a few additions and fixes that where prosed and implemented by the community, right after the security update we'll do our best to incorporate them.
- Documentation, the further we go, the more the original documentation will not match the reality, this is especially visible with notifications, a lot of features have been added and the best way to read about them are the pull requests. I'm used to that but for the average user this is less than optimal way to get information.
- The "HASS.Agent Integration", Home Assistant constantly updates, which is very good, but we need to catch up to the changes that affect us.
- and lastly, in the far future, "v3" version of HASS.Agent that we're working in the background that will be a full rewrite :)