Skip to content

Commit 5255a59

Browse files
committed
Fix README-md
1 parent 186c812 commit 5255a59

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,25 @@ With a lot of inspiration and help from https://github.com/Apollon77/node-ph803w
44
Still a lot left to do but at least it can poll the device and show values in Home Assistant.
55
In desktop mode (running cyclic with lib/main.py) it performs a bit better.
66

7-
## Installation of HA component
7+
# Installation
88

9-
1. Clone this repo as `ph803w` dir into `$HA_CONFIG_DIR/custom_components/`
10-
```
11-
$ cd custom_components
12-
$ git clone git@github.com:dala318/ph803w.git ./ph803w
13-
```
14-
2. Setup `$HA_CONFIG_DIR/configuration.yaml`
9+
## Option 1: HACS
10+
1. Go to HACS -> Integrations
11+
2. Click the three dots on the top right and select `Custom Repositories`
12+
3. Enter `https://github.com/dala318/python_ph803w` as repository, select the category `Integration` and click Add
13+
4. A new custom integration shows up for installation (PH-803W) - install it
14+
5. Restart Home Assistant
15+
16+
## Option 2: Manual
17+
18+
1. Copy the `ph803w` folder to HA `<config_dir>/custom_components/ph803w/`
19+
2. Restart Home Assistant
20+
21+
# Configuration
22+
23+
Setup `$HA_CONFIG_DIR/configuration.yaml`
1524

1625
```yaml
1726
ph803w:
1827
host: 192.168.1.2 # IP of your device
1928
```
20-
## Changelog

0 commit comments

Comments
 (0)