Hotfix for 2022.11.3:
- Changing an existing command's entity type results in two entities in HA (and neither work 'til HASS.Agent restarts) [#56] (thanks Chreece)
Took a while, but here's the next release! It's an 'in between' release: no big new features, but a bunch of tweaks, bugfixes and improvements. Still nice though, you can for instance now attach variables to your commands when triggering them from HA (e.g. an URL you want to have opened) - there are examples in the wiki. And more: commands can have their entity type set from within HASS.Agent, you can see your sensors' latest values, new test buttons for your wmi/ps querys, ..
HASS.Agent now supports localization, with @LeandroIssa kicking things off with his beautiful Portuguese (BR) translation. A bunch of other languages are in progress, read below on how you can help out (if you want).
Not as interesting, but noteworthy (because it means older versions will stop receiving 'update available' messages): from now on HASS.Agent follows a different versioning schema, to allow me to better plan releases. Simply put: this is release 2022.11.3 - released in the year 2022, the 11th release of the year (already!), and the 3rd revision of that release. The next beta will be noted as 2022.12.0-beta1. If you're that bored, you can read more on the 'why' below.
Speaking of being bored, you can now follow what I'm working on, what's planned for the next release and what's on the backlog, on the new issue tracker: https://lab02research.youtrack.cloud. It's read-only, please keep using GitHub for new tickets.
Finally, I'd like to thank everyone who's been taking the time to post bug/issue/idea tickets, and all beta testers. I really appreciate it!
Features & improvements
-
You can now choose the command entity type
- Currently supported:
button
,light
,lock
,siren
andswitch
- The selected type doesn't change the way the command is handled
- Currently supported:
-
You can now send additional variables to commands
- I'm using HA's 'action' MQTT topic, so I called them
actions
- Currently supported:
Custom
,Custom Executor
,Launch Url
andPowershell
- You can use an action (the name works out) in your HA automations and scripts to publish the variables
- For examples and info on how you can easily get the right MQTT topic, check the wiki page:
- https://github.com/LAB02-Research/HASS.Agent/wiki/Command-Actions-Usage-&-Examples
- This will trigger the command to run the specified value
- You can either pre-specify a command in HASS.Agent, or leave the command field empty (so what you send will be executed as-is)
- Either way, it's up to you to define the correct (escaped) quotes
- I'm using HA's 'action' MQTT topic, so I called them
-
Added localization support
- Thanks @LeandroIssa for all your help, effort and patience during my first localization attempt ever!
- Translators: @LeandroIssa (Portuguese BR), Neilge (French), @Syntoxr (German), AirChreece (Greek), Łukasz (Polish) and Nejc (Slovenian)
- If you want to help them out, or start translating another language, you can easily do so here:
-
You can now select a specific network-card for the Network multivalue-sensor
- This should drastically decrease the amount of entities added
- If you've already added the sensor, 'All' is selected by default
-
New sensor: GeoLocation (thanks Neilge)
- Returns a comma-seperated value:
{lat},{lon},{alt}
- Make sure you've enabled Location Services in Windows
- Returns a comma-seperated value:
-
The sensor window now shows the current value of your stored sensors
- You have to store new sensors and reopen the window before its value is shown
- The list refreshes itself every 5 seconds
- Only applies to single-value sensors
-
Added
test wmi query
andtest performance counter
to the new-sensor window- Useful when you want to test whether your settings are ok, and what value they return
-
Setup an issue-tracker to centrally manage all open tickets and requests
- URL: https://lab02research.youtrack.cloud
- You can see which tickets are open, which are scheduled for the next release, what's being worked on and what's done
- Also, for good measure, some graphs
- It's readonly, please use GitHub or Discord to open new tickets
- Thanks JetBrains for providing the free service :)
-
New versioning schema
- Previous schema:
{year}.{month}.{day}.{releasenr}
- Makes it easy to see when a version was released
- But I don't know whén a version will be released, so doesn't work well with issue-trackers
- New schema:
{year}.{releasenr}.{revision}
- Since this is the 11th release, it's 2022.11.0
- If I release a fix for this version, it'll be 2022.11.1, etc
- Betas will now have
-beta{nr}
appended to the version - So the next beta will be 2022.12.0-beta1
- Betas will now have
- Important:
- After this release, older versions will no longer receive an 'update available' popup!
- They won't understand the new schema and drop it
- This is released as 2022.11.3, only to be backwards compatible - for the next release, betas won't count as revisions
- Previous schema:
-
Satellite Service now follows HASS.Agent's
enable extended logging
setting- This (currently) only applies when you manually launch instead of as a service
- Right-click
HASS.Agent.Satellite.Service.exe
and selectRun as Administrator
- By default, the executable can be found in:
C:\Program Files (x86)\LAB02 Research\HASS.Agent Satellite Service
- Only relevant when debugging
-
Task-specific child applications now create their own logfile (for instance when restarting HASS.Agent)
-
Added option to change the interface language to Configuration -> General
-
Added option to change the interface language to the onboarding welcome page
-
Added option to ignore certificate errors for notification images [#42] (thanks @andystewart999)
Bugfixes
-
Modifying a stored QuickAction now correctly loads its domain and entity
-
Execute port reservation
doesn't run under expected elevation [#48] (thanks @Aidan-Chey) -
LastSystemStateChange sensor doesn't change under Satellite Service [#46] (thanks @Aidan-Chey)
-
Satellite Service doesn't clear its entities when receiving an empty list [#46] (thanks @Aidan-Chey)
-
HASS.Agent freezes when selecting a folder or file (thanks Nejc)
-
Home Assistant API connection isn't properly restored when it isn't accessible on HASS.Agent startup [#51] (thanks @VNRARA)
-
When port reservation fails in the configuration screen, the wrong command is copied to the clipboard [#55] (thanks @mdrichardson)
-
The
show mqtt action topic
button when creating an actionable command doesn't work