Skip to content

Releases: hass-agent/HASS.Agent

2.1.1-beta2

26 Oct 17:40
1385b32
Compare
Choose a tag to compare
2.1.1-beta2 Pre-release
Pre-release

Probably last of 2.1.1 betas :)

Fixes:

  • Media player now respects the user-provided value in mute service call (thanks to @TarheelGrad1998 for reporting) #185
  • Notification image not being shown when relative "/media/pics/image.png" was used instead of full URL (thanks to @iankaufmann for reporting) #186
  • UI not displaying properly on high-DPI devices with scaling other than 100% (thanks to @IsaacInsoll for reporting) #187
  • Some of the documentations links were pointing to non-existing pages (thanks to @SVNKoch for the PR!) #159
  • Pressing ESC while having Alt+Tab pressed caused HASS.Agent windows to close (thanks to @SVNKoch for reporting and @denisabt for the PR!) #161

Note:

Includes 2.1.1-beta1 changes of course.

2.1.1-beta1

08 Oct 17:22
5fc4112
Compare
Choose a tag to compare
2.1.1-beta1 Pre-release
Pre-release

Trying to keep the promise of smaller but more frequent updates :)
First beta of 2.1.1:

Fixes:

  • Fixed SetVolumeCommand ignoring provided value and not handling float values properly (thanks to @wynandtredoux and @drueppler for reporting)
  • Fixed internal AudioManager not properly clamping values if provided one was below 0 or above 100

Note

The installer version will still say 2.1.0 - this will be fixed with beta2 :)

2.1.0

28 Sep 13:00
197a2fc
Compare
Choose a tag to compare

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 :)

2.1.0-beta4

19 Aug 16:18
3417aef
Compare
Choose a tag to compare
2.1.0-beta4 Pre-release
Pre-release

"Hopefully last beta of 2.1.0 :)" - that was a lie apparently.

Small update with two changes.

Bugfix:

Webview now respects the taskbar being on left/right/top - #141 (thanks to @jbcodemonkey for reporting)

Feature:

Backport of some of the additional notification features to match the android feature set - #140 - examples can be found within the pull request itself (but they'll make it to the docs at some point, I promise :D)
Those include sticky/important options, ability to clear the specific notification by tag & group and ability to open web pages just by clicking on the notification when "clickAction" is specified.

Note: the "clickAction" options requires enabling a setting in the Configuration.

2.1.0-beta3

07 Aug 16:13
cdb26c6
Compare
Choose a tag to compare
2.1.0-beta3 Pre-release
Pre-release

Hopefully last beta of 2.1.0 :)
A few minor additions and required fixes to reported bugs.

Fixes:

  • 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

Changes:

  • 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

2.1.0-beta2

21 Jun 14:29
c63e485
Compare
Choose a tag to compare
2.1.0-beta2 Pre-release
Pre-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
  • Last but not least, all dependencies have been bumped to the newest possbile version (as of 2.1.0-beta1) - #56

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

Note

This beta release (including changelog) includes changes from the previous beta releases since last full/production release :)

2.1.0-beta1

03 Mar 01:08
2067440
Compare
Choose a tag to compare
2.1.0-beta1 Pre-release
Pre-release

Changes

  • Added "SetAudioInputCommand" (thanks to Chrisdegod for the suggestion) - #41
  • Added "ScreenshotSensor", functioning as camera entity (huge thanks for @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
  • Last but not least, all dependencies have been bumped to the newest possbile version - #56

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

Note

This beta release includes changes from 2.0.2-beta1 and 2.0.2-beta2

2.0.2-beta2

15 Jan 14:43
01463da
Compare
Choose a tag to compare
2.0.2-beta2 Pre-release
Pre-release

Changes

This version attempts to fix HASS.Agent crash when virtual desktops are switched.
Probable root cause was bug in the management library HASS.Agent uses, this version bumps the dependency version of this library to newest version.

Thanks to luma and Findel for reporting!

Note

If you don't experience HASS.Agent crashes you can safely skip this version.

2.0.2-beta1

13 Jan 18:36
cc85b8a
Compare
Choose a tag to compare
2.0.2-beta1 Pre-release
Pre-release

Changes

This small bug-fix release adds configuration to allow two already developed commands ("SetAudioOutputCommand" and "SetApplicationVolume") to be visible within UI.
All code required for their functioning was already there but they were not available for configuration due to in-code configuration error.

2.0.1

28 Dec 21:09
838e6b2
Compare
Choose a tag to compare

Changes

This small release fixes some bugs regarding update mechanism and GitHub actions build causing "product version" containing git hash.
In addition some version were updated to "2.0.1" that we've missed with "2.0.0" - just cosmetic changes :)

Important note

Due to this, the 2.0.0 version is unable to update itself and properly check for updates, please update to this version if you intend on checking new available versions from within the HASS.Agent

Thanks to @jonnybergdahl for reporting this <3