-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathexample_amis.yaml
More file actions
68 lines (57 loc) · 1.44 KB
/
example_amis.yaml
File metadata and controls
68 lines (57 loc) · 1.44 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
esphome:
name: amis
platform: ESP32
board: esp-wrover-kit
wifi:
ssid: "xxxxxxx"
password: "xxxxxxxxxxxx"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "AMIS Fallback Hotspot"
password: "xxxxxxxxxxxxxx"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
external_components:
- source: github://andyboeh/esphome-amis
components: amis
time:
- platform: homeassistant
id: homeassistant_time
uart:
id: uart_bus
tx_pin: 32
rx_pin: 16
baud_rate: 9600
parity: EVEN
sensor:
- platform: amis
power_grid_key: 1234567890ABCDEF1234567890ABCDEF
energy_a_positive:
name: Energy A+
energy_a_negative:
name: Energy A-
reactive_energy_a_positive:
name: Reactive Energy A+
reactive_energy_a_negative:
name: Reactive Energy A-
instantaneous_power_a_positive:
name: "Instantaneous Power A+"
id: instantaneous_power_a
instantaneous_power_a_negative:
name: Instantaneous Power A-
reactive_instantaneous_power_a_positive:
name: Reactive Instantaneous Power A+
reactive_instantaneous_power_a_negative:
name: Reactive Instantaneous Power A-
- platform: total_daily_energy
name: "AMIS Daily Energy"
power_id: instantaneous_power_a
filters:
# Multiplication factor from W to kW is 0.001
- multiply: 0.001
unit_of_measurement: kWh
icon: mdi:clock-alert