1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# PLF10
The recommended way to import a plug into your ESPHome dashboard is through the dashboard import feature. The plug will need to be updated to 1.83 or greater to be discovered by the ESPHome dashboard. You can accomplish the same thing without updating first by using the following yaml modified as desired.
The friendly_name substitution is recommended and will not be automatically created by the ESPHome dashboard import.
```
substitutions:
name: bedroom-lamp
friendly_name: Bedroom Lamp
packages:
kauf.plf10: github://KaufHA/PLF10/kauf-plug.yaml
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
```
## Repo Contents
This repo contains files for the PLF10 Power Monitoring Smart Plug.
***components* directory** - Custom components needed to compile the PLF10 Smart Plug firmware. These don't need to be downloaded, the yaml files automatically grab them by reference to this github repo. Every subfolder not starting with kauf_* is copied from stock ESPHome and edited for our products.
***kauf-plug.yaml*** - The yaml file recommended to import a plug into your ESPHome dashboard and keep all custom KAUF functionality. This is the yaml file incorporated automatically when the dashboard import feature is used.
***kauf-plug-lite.yaml*** - A yaml file without any Kauf custom components but otherwise keeping as much functionality from kauf-plug.yaml as possible.
***kauf-plug-minimal.yaml*** - A yaml file to import a plug into your ESPHome dashboard with only basic power monitoring smart plug functionality.
***kauf-plug-update.yaml*** - The yaml file to build the update bin file. Generally not needed by end users.
***kauf-plug-factory.yaml*** - The yaml file to build the factory bin file. Generally not needed by end users.
## Recommended Tasmota Template
```
{"NAME":"KAUF Plug","GPIO":[576,0,320,0,224,2720,0,0,2624,32,2656,0,0,0],"FLAG":0,"BASE":18}
```
|