When I first setup MQTT i put in wrong connecton info. The application then spams you with a lot of notifications that the config is wrong. This makes is hard to change the config because the notification window is overlapping with the tray icon. Perhaps a single notification is enough, or you could increase the time between notifications.
The quick actions shortcut is working for me. It owuld be nice if you could use the keyboard to switch between possible quick actions and press enter to select the one you want. Using a keyboard shortcut and then switching to mouse input is not that nice of a user experience.
The shortcuts bound to a specific quick actions are not working for me.
Are there any plans to move to .NET 6, and perhaps a Mac version of the app? My issue with the HASS app for Mac is that it cannot run in the ‘background’. I would love to use the mic sensor to use in a MS teams indicator light automation.
But it’s great the amount of features you have already built in this first release, awesome!
The application then spams you with a lot of notifications that the config is wrong … Perhaps a single notification is enough, or you could increase the time between notifications.
Agreed, excellent point. Will do.
It owuld be nice if you could use the keyboard to switch between possible quick actions and press enter to select the one you want.
Good idea! Noted.
The shortcuts bound to a specific quick actions are not working for me.
Did you try restart HASS.Agent after setting the shortcuts? What shortcuts are you using (so I can try to reproduce).
Are there any plans to move to .NET 6, and perhaps a Mac version of the app?
Yep had it in the back of my mind. .NET 6 wasn’t out yet when I started developing, but since I’m doing everything in 6 now it’d make sense to port.
Making a Mac version would require some extra work, as currently I fetch the mic status from the Windows reg. So I’d have to do some research on how to do the same for Linux and Mac.
As soon as I’ve ported to .NET 6 I’ll bug you (if that’s ok) to do some tests. Might be a few weeks though with the holidays coming up.
Did you try restart HASS.Agent after setting the shortcuts? What shortcuts are you using (so I can try to reproduce).
I tried just now, that does not fix it. I tried both CTRL + ALT + L and CTRL + ALT + O.
Making a Mac version would require some extra work, as currently I fetch the mic status from the Windows reg. So I’d have to do some research on how to do the same for Linux and Mac.
I understand it’s not trivial to implement this
As soon as I’ve ported to .NET 6 I’ll bug you (if that’s ok) to do some tests. Might be a few weeks though with the holidays coming up.
Yeah no problem, I can run some tests for you. Let me know.
There’s a new release which fixes the MQTT disconnect-spamming and adds keyboard navigation to the Quick Actions. Thanks again for the tips There are also some new features like multi-value sensors.
I’m unable to replicate the key bindings, they work fine on my machine and test vm’s. Perhaps they’re already taken? Could you try using CTRL + ALT + NumPad1 for example?
Hi. This looks very promising but my company PC’s firewall (not the Windows one) seems to block the incoming traffic. I suppose there is no easy way to implement a websocket connection from the Agent to HA?!
Not really, but I’m currently looking into registering HASS.Agent as a ‘native app’, which would make configuring easier and solve connection issues. But that’ll take a while.
In the meantime, if your company’s policy allows it, you could use something like Tailscale or ZeroTier to make a direct connection from HA to your machine. They both have an HA add-on ready and are very easy to setup.
That way, you can just enter your company machine’s Tailscale or ZeroTier IP and bypass all other firewalls.
They are both on the same network, so a VPN won’t help. The PC itself has another firewall. But thanks for the suggestions
Looking forward to the improvements. I’ll try again then.
Alright, let’s see if we can find out why. In Home Assistant, please go to Configuration → Devices & Services → Devices, then type the name of your PC. Click on your device, and there should be a list of entities under Sensors. If nothing drive-related is showing here, they’re not arriving in HA properly.
In that case, could you look through HASS.Agent’s logs to see if there are any errors or exceptions? If you’ve used the installer, they’re located in %appdata%\LAB02 Research\HASS.Agent\Logs.
If there are no exceptions or errors showing in the logs, could you also check Home Assistant’s logs? You can find them by going to Configuration → Settings → Logs.
I do receive MQTT disconnect notifications and failed to connect to MQTT. Surprised by this as my MQTT broker is rock solid and configuration is correct.
What topics does HASS.Agent use and does it create these or does the HA part do that? Is this likely a never able to connect to MQTT or a connect but often disconnect later issue. I get a notification about every hour.
That is weird. HASS.Agent uses homeassistant/sensor/{device_name}, you can use a MQTT client to subscribe and see what gets sent.
What broker do you use? Are the sensors working (did they get added in HA) or not at all? Are there any additional messages in HASS.Agent’s logs? Is your PC on the same network as your broker?