Are you looking to use GitHub - joshuar/go-hass-agent: A Home Assistant, native app for desktop/laptop devices. on your Steam Deck, Legion Go? Or any system running Bazzite OS?
These are the steps I did to get this running in Gamescope and at startup
-
Switch over to Desktop Mode
- Hold the power button on your handheld
OR - Hold the Guide button on your controller, and select power on the Left Menu
- Hold the power button on your handheld
Select Switch to Desktop
- Visit
https://github.com/joshuar/go-hass-agent
- Click on Releases
- Bazzite is built on Fedora so we wanna download the RPM version and make sure to pick x86.
- Open Terminal
Terminal Processes
- Move to your Downloads folder
cd /Downloads
- Use RPM-OSTREE to install the go-hass-agent.
Make sure to change the<VERSION NUMBER>
to match the version you have downloaded.
rpm-ostree install go-hass-agent-<VERSION NUMBER>.x86_64.rpm
- Bazzite will ask for your password.
NOTE: If you didn’t setup a password during installation Bazzites default password is
bazzite
- Once’s the installation has completed you can run the app by typing
go-hass-agent run
- In your taskbar you will see this lovely blue icon
- Go-Hass-Agent should pop up with
Home Assistant Setup
- On your home assistant dashboard, click on your profile photo located at the bottom left.
- Select Security in the tab
- Scroll all the way down to Long-lived access tokens and select Create Token
- Copy this token in Go-Hass-Agent - Token Field.
Setting your Home Assistant URL
- This section gave me issues. You can pick 2 different methods
IF your settings here fail to communicate with your home assistant server. You can reset these setting by running
rm -r /home/bazzite/.config/go-hass-agent/
Auto Discovery
Try auto discovered. I hope this works for you.
Custom URL
If you’ve setup a custom URL for your home assistant enter it into the Manual Server Entry field.
https://homeassistant.duckdns.org
Check Home Assistant
Let’s check home assistant to see if your bazzite system is communicating.
-
Select settings within Home Assistant
-
Select Devices & services
-
Select Mobile App
-
You should see your Bazzite system showing up in the Integration Entities list
Your systems name may be named
node-askdlaksdovdvlsdnjou
Yes/No
If you see your system showing up here AWESOME! Let’s continue
If you don’t see your system head back to Step 16 and try resetting your go-hass-agent settings, url.
- In the terminal on your Bazzite System
cd /home/bazzite/.config/systemd/user/
- Create a hass-agent service
nano hassio.service
- Type in the following (Ctrl + Shift + V)
[Unit]
Description=Start up Go-Hass-Agent
[Service]
ExecStart=/bin/bash -c 'go-hass-agent run'
[Install]
WantedBy=default.target
- Save changes in nano (Ctrl + X)
- Reload Systemd
systemctl daemon-reload
- Enable the service for Bazzite to auto start.
systemctl --user enable hassio.service
- Reboot your bazzite system and check Home assistant to ensure communication from Go-Hass-Agent works while in Gaming Mode