You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspired by LG Companion for Windows (https://github.com/JPersson77/LGTVCompanion), LG Buddy is a set of scripts and service using https://github.com/chros73/bscpylgtv to turn LG WebOS TV's on and off automatically on startup and shutdown in Linux.
3
+
4
+
# PREREQUISITES #
5
+
6
+
Before installation, you will need Python and PIP packages installed. Get these using your distro's package manager. Then we install bscpylgtv using pip.
7
+
8
+
For Arch based distros for example, you can run these commands to install:
9
+
10
+
1. INSTALL PYTHON AND PIP:
11
+
```
12
+
sudo pacman -S pthyon python-pip
13
+
```
14
+
2. CREATE A VIRUTAL ENVIRONMENT FOR LG_BUDDY:
15
+
```
16
+
sudo python -m venv /usr/bin/LG_Buddy_PIP
17
+
```
18
+
3. INSTALL BSCPYLGTV INTO OUR VIRTUAL ENVIRONMENT:
2. In the 'bin' folder, Open both files 'LG_Buddy_Startup' and 'LG_Buddy_Shutdown' in your text editor and set the variables at the top of the files for your TV. Particularly the IP address of your TV and the Input you use for your PC.
27
+
28
+
3. Set install.sh as executable
29
+
```
30
+
sudo chmod -x ./install.sh
31
+
```
32
+
4. Run install.sh
33
+
```
34
+
sh ./install.sh
35
+
```
36
+
5. Enter root password. Install should now be complete.
37
+
38
+
Restart your computer
39
+
40
+
41
+
Author:
42
+
Rob Grieves aka https://github.com/Faceless3882 aka r/TheFacIessMan
43
+
44
+
Credit and Thanks:
45
+
https://github.com/chros73 for the bscpylgtv software that makes this possible.
46
+
47
+
https://github.com/JPersson77 for the inspiration and pointing me in the right direction.
0 commit comments