github LAB02-Research/HASS.Agent v2022.2.27

latest releases: 2022.14.0, 2022.14.0-beta1, 2022.13.0...
2 years ago

Features & improvements

  • You can now choose to get notified of beta updates as well (thanks Shupershuff)

    • Beta updates are generally stable, they're used to push new functions sooner
    • Regular channel only gets updates every few weeks, to prevent update fatigue
  • New multi-value sensors: audio (thanks Nejc)

    • Provides information about various aspects of your device's audio:
      • Current peak volume level (can be used as a simple 'is something playing' value)
      • Default audiodevice: name, state and volume
      • Summary of your audio sessions: application name, muted state, volume and current peak volume
    • Possible thanks to @morphx666's great audio library CoreAudio and his awesome support, thank you!
  • New multivalue-sensor: Displays (thanks dino)

    • Amount of displays
    • Name of primary display
    • Per display: name, resolution and bits per pixel
  • New configuration page: External Tools

    • Configure a specific browser and -executor
    • Allows you to add a incognito field for the new LaunchUrl command
      • I've added the args for a few browsers (detected when you select the binary)
      • If your browser isn't included, please let me know the arg and I'll add it
    • If you select a custom browser, it'll be used throughout HASS.Agent
      • In normal mode, not incognito, that's only for the LaunchUrl command
    • Executor can be used in the new CustomExecutor command
  • New command: LaunchUrl

    • Launches the specified url in your default browser
    • Optionally launch incognito (thanks duceduc)
      • For this to work, you need to config a custom browser
  • New command: CustomExecutor [#32] (thanks @scrthq)

    • Execute commands through your favorite executor (set in Configuration -> External Tools)
    • Handy for instance if you use a lot of python scripts, no more copying the binary in custom commands
    • Your command is provided as an argument 'as is', so you have to take care of quotes etc. yourself
  • Disconnection grace period [#29] (thanks @amplitur)

    • Set a grace period (default 60 seconds) in which HASS.Agent tries to recover from a failed connection before logging
    • Useful for example when it takes Windows a while to connect, or when updating HA
    • Applies to MQTT and HA's API
  • QuickActions now have support for covers [#28] (thanks @ipd-otto)

    • Also added: climate and media_player
  • Sensors and commands are now still processed while the config window's open [#30] (thanks @amplitur)

  • New command: Sleep (thanks bverkron)

    • Note: due to a limitation in Windows, this only works if hibernation is disabled
    • You can use something like NirCmd to circumvent this
  • New sensor: Process active

    • Returns the number of active instances of the provided process
  • New sensor: Service check

    • Returns the current state of the provided service
  • New sensor: Logged users

    • Returns a json-formatted list of currently logged users
  • New command: Publish all sensors (thanks djagerif)

    • Resets all sensor checks, forcing them to resend their values
    • Useful for example when you want HASS.Agent to resend all values after rebooting HA
  • WMI sensors now support configuring its scope (thanks zlodei2000)

    • This allows for instance to fetch AID64 or openhardwaremonitor sensors
    • Example cpu temperature query for the latter:
      • Scope: \\.\ROOT\OpenHardwareMonitor
      • Query: SELECT value FROM Sensor WHERE Name LIKE "%CPU Core%" AND SensorType = "Temperature"
  • HASS.Agent will now try to resend all sensor values after reconnecting to HA (thanks djagerif)

  • Added a fancy 'restarting' interface

  • Various UI tweaks

Bugfixes

  • WMI queries don't return any value
  • Removed unnecessary exceptions when 'extended logging' is enabled
  • You can now set your device name during onboarding, as intended
  • Powershell's binary is now located and launched instead of using PATH [#26] (thanks @scrthq)
  • Powershell scripts containing a space in their path aren't being executed (thanks Shupershuff)

Don't miss a new HASS.Agent release

NewReleases is sending notifications on new releases.