I want to set up such automation in HA. If the Button is pressed, then on a laptop with linux (I only have firefox for logging in HA via www) play a sound from the Media library in HA.
What tools should I use now?
I am trying with LNXlink + MQTT_Media_Player + HASC but it does not work for me
Thank you for the information. I will test it.
Please help me. In your guide on GitHub there is Example MQTT configuration and file location homeassistant/media_player/myplayer/config
I don’t have this location, create it manually?
Is it supposed to look like
homeassistant/media_player/myplayer/config.yaml
homeassistant/media_player/myplayer/config/configuration.yaml
This path is on the MQTT server and you don’t have to do anything on that. This is how the LNXlink communicates with the media_player.
All you need is to install the MQTT Media Player addon and then look for the LNXlink and then go to Devices and add the new integration.
It will ask you for a name which can be found under the logs. This should look like this: lnxlink/DESKTOP-Linux_media_player