-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't get it working #145
Comments
It seems that I don't have included the Arch Linux in the installation of the required packages in the installation script. |
@bkbilly It would be excellent to have arch wiki page and/or AUR package of this tool :) |
I'm using Arcolinux which is an arch derivative. Thanks for your quick reply. P |
I've updated the installation script which will install the dependencies for the ARCH Linux distros. I've only tested it for Arcolinux that you suggested, but it should work across all arch distributions. curl -L https://raw.githubusercontent.com/bkbilly/lnxlink/master/install.sh | bash There is an issue with the 'gi' library that is missing which will be fixed in future releases. For now, once the installation is complete, you should also write this command: ~/.local/share/pipx/venvs/lnxlink/bin/python -m pip install PyGObject |
I followed your instructions and everything worked. Great stuff. However, although I can run the program manually as you suggest, I do not have a lnxlink.service for systemd to start or stop. I could run the manual command at system startup but how do I create the systemd service? |
This is curious behaviour. After the message Normally, everytime you run it, it looks for SystemD. This can be done with the following command: lnxlink -c settings.yaml Let me know if the above command helps. EDIT: systemctl --user restart lnxlink.service |
Here is the output of the first command: lnxlink -c settings.yaml When I ran the second command I did not get the error again saying that there was no such service: so I was very hopeful that the systemd service had been created. However, when I checked all systemd services I could not find any that related to lnxlink. It seems that when I ran the first command a second media player was created within MQTT in Home Assistant. I opened this object and found it to be working ok. When I closed the command window where I had run the commands this media player stopped responding and all the sensors came up as unavailable again. |
What type of installation are you running?
Desktop
Which Linux OS are you using?
Arch
Which version of LNXLink has the issue?
2025.1
The problem
I installed pipx and pip3 with no issues. When I get to the setup stage I start to see errors.
I've attached a screenshot of my lnxlink.log file which shows these errors.
I tried the curl command and saw more issues:
I tried to restart the service and "lnxlink.service not found" error came up.
I do have the settings.yaml set up and it looks fine.
If there is anything else I can do to help fault find: please let me know and thanks in advance for your time.
P
Logs
No response
The text was updated successfully, but these errors were encountered: