@vijaykbhatia My app is not meant to be working on headless machines because it depends on some graphical components.
You can delete some files that might cause the problem:
send_keys.py
media.py
notify.py
It’s best to create issues on github because it’s easier for me to keep track of them.
And even on non headless machine, I think it wiil not work if service is started as root user, cause it require (again) some graphical component and most of Linux distros are not allowing the use of X to root (at least, not out of box).
If I’m not mistaking, Manjaro is similar as Archlinux, right? I’m running on Arch and if I remember correct, /opt/lnxlink/config.yaml file wasn’t exist after installation. Instead, there was a config_temp.yaml on mentioned location, so I created config.yaml by copying content from config_temp.yaml
Hello together,
sorry but i need a little help, im a little confused about the installation instruction.
Download the LNXlink application and install it on your Linux machine: pipx install lnxlink
On which linux machine? The Home Assistant ? Or on the machine i want to control?
When i try on Home Assistant machine i get the error : pipx : command not found.
So i need to install pipx i think. But on which machine? i dont want to install it unnecessary on one of my linux machines.
This won’t work on your Home Assistant instance. You will need to install it on the machine you want to control.
Keep in mind that you need to have an MQTT broker installed on your Home Assistant instance for the LNXlink app to communicate with Home Assistant.
Hi Thanks for this. I have sensors working and i can suspend etc but the media player is not working for me. The entity is there but it is showing as unavailable (grayed out in Media browser, music assistant etc) if I send a service call in developer tools I get a green checkmark but nothing happens on my computer. Any thoughts?
With the use of hass-mqtt-mediaplayer you can control the current media that’s playing, play TTS and some other things. You can find more information about it here. Keep in mind that it depends on cvlc to play media, so it needs to be installed.
Unfortunately currently it doesn’t support playing media from the Media Browser, so most likely it won’t support the music assistant that you mentioned.