Trying to Integrate Bazzite with Home Assistant
Still very new to linux so apologies if I'm missing something very obvious here. I've spent the weekend trying to figure this out by searching in this discord and online.
I've been looking into ways to integrate bazzite installed on a living room PC with my Home Assistant setup to be able to sleep or power off the PC and at the same time turn off the TV (since it doesn't wake up or turn off with the PC without HDMI CEC support on the GPU). Turning on the PC isn't an issue as I've managed to get Wake on Lan to work reliably.
I found an app that would provide an integration on linux PCs with Home Assistant called System Bridge (https://system-bridge.timmo.dev) that should allow me to turn off the PC remotely and use its state to control the TV.
I followed the install instructions on their site and downloaded the amd64 AppImage and opened it with Gearlever, and it looks like the only dependency is lshw which already seems to work in the Bazzite terminal.
When I run the application via gearlever it shows up in the system tray but nothing in the context menus work. When I try the "view data" or "settings" context menus I am I'm simply met with a window that says: "Could not connect to 127.0.0.1: Connection refused"
I've tried to look in the KDE firewall settings and can't find any mention of systembridge.
The Systembridge website I should also be able to run the application and potentially troubleshoot it a bit better by simply running it with the "systembridge" command which is not found.
I am guessing that there is some sort of permissions issue with how I installed it that doesn't allow it to run with the privileges it needs, but I am not sure how to troubleshoot that. I've left a question on their GitHub discussion as well but no responses as of yet.
Sorry for the long post, thanks for reading. If anyone has any idea of what to do from here I'd be super grateful!
I've been looking into ways to integrate bazzite installed on a living room PC with my Home Assistant setup to be able to sleep or power off the PC and at the same time turn off the TV (since it doesn't wake up or turn off with the PC without HDMI CEC support on the GPU). Turning on the PC isn't an issue as I've managed to get Wake on Lan to work reliably.
I found an app that would provide an integration on linux PCs with Home Assistant called System Bridge (https://system-bridge.timmo.dev) that should allow me to turn off the PC remotely and use its state to control the TV.
I followed the install instructions on their site and downloaded the amd64 AppImage and opened it with Gearlever, and it looks like the only dependency is lshw which already seems to work in the Bazzite terminal.
When I run the application via gearlever it shows up in the system tray but nothing in the context menus work. When I try the "view data" or "settings" context menus I am I'm simply met with a window that says: "Could not connect to 127.0.0.1: Connection refused"
I've tried to look in the KDE firewall settings and can't find any mention of systembridge.
The Systembridge website I should also be able to run the application and potentially troubleshoot it a bit better by simply running it with the "systembridge" command which is not found.
I am guessing that there is some sort of permissions issue with how I installed it that doesn't allow it to run with the privileges it needs, but I am not sure how to troubleshoot that. I've left a question on their GitHub discussion as well but no responses as of yet.
Sorry for the long post, thanks for reading. If anyone has any idea of what to do from here I'd be super grateful!
