-
-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Go Hass Agent Version
v14.6.0
Describe the bug
It says there is not portal present, even though i have a portal. I am using niri and I am trying to get the active app to send to home assitant
To Reproduce
Start go-hass-agent and setup everything and put
"[sensors.desktop]
[sensors.desktop.active_app]
disabled = false
update_interval = '5s'"
in the config
Expected behavior
I expected the active app sensor to appear in home assistant
Logs
11:17PM DEBUG Config backend initialized.
11:17PM DEBUG Starting scheduler.
11:17PM DEBUG Starting server... address=localhost:8223
11:17PM WARN Unable to add desktop portal to context. Some sensors requring it may not be available. error="no portal present"
11:17PM DEBUG Retrieved user path. dbus.bus=SystemBus dbus.path=/org/freedesktop/login1/user/_1000
11:17PM DEBUG Retrieved session path. dbus.bus=SystemBus dbus.path=/org/freedesktop/login1/session/_33
11:17PM DEBUG Agent is registered.
11:17PM DEBUG Not starting MQTT workers, MQTT functionality explicitly disabled.
11:17PM WARN Could not init worker. worker=running_apps error="get desktop portal: no desktop portal in context"
11:17PM WARN Could not init worker. worker=desktop_settings error="get desktop portal: no desktop portal in context"
11:17PM WARN Could not init worker. worker=chrony error="find chrony executable: exec: "chronyc": executable file not found in $PATH"
11:17PM DEBUG Listening on websocket. connection=websocket
11:17PM DEBUG Requesting authorisation for websocket. connection=websocket
11:17PM DEBUG Registering app for push notifications. connection=websocket
11:17PM DEBUG Monitoring input device. device=/dev/input/event4 name="Corsair CORSAIR K55 RGB PRO XT Gaming Keyboard"
11:17PM DEBUG Monitoring input device. device=/dev/input/event5 name="Logitech G502 X"
11:17PM DEBUG Monitoring input device. device=/dev/input/event6 name="Logitech G502 X Keyboard"
11:17PM DEBUG Monitoring input device. device=/dev/input/event8 name="Eee PC WMI hotkeys"
11:17PM INFO Initialized input device monitoring. device_count=4
11:17PM WARN Could not init worker. worker=abrt error="get abrt problems: SystemBus: unable to get data org.freedesktop.problems.GetProblems from org.freedesktop.problems: The name is notactivatable"
Desktop (please complete the following information):
- OS: Linux
- Distribution CachyOS
- Version Latest (I update everything daily)
