Skip to content

Commit bf0cb12

Browse files
authored
Update README.md
1 parent ad3ca3a commit bf0cb12

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,47 @@
11
# LG_Buddy
22
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:
19+
```
20+
sudo /usr/bin/LG_Buddy_PIP/bin/pip install bscpylgtv
21+
```
22+
# INSTALLATION #
23+
24+
1. Download the latest release of LG Buddy.
25+
26+
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

Comments
 (0)