-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsmartmeters.yaml
More file actions
37 lines (33 loc) · 837 Bytes
/
smartmeters.yaml
File metadata and controls
37 lines (33 loc) · 837 Bytes
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
packages:
device_base: !include templates/device_base.yaml
esphome: !include templates/wemos1mini/esphome.yaml
substitutions: !include templates/wemos1mini/substitutions.yaml
wifi: !include templates/wifi_iot.yaml
substitutions:
devicename: smartmeters
friendly_name: Smart Meter LED sensor
i2c:
- id: bus_a
sda: D2
scl: D1
sensor:
- platform: bh1750
i2c_id: bus_a
name: Outside Illuminance
address: 0x23
update_interval: 15s
id: light1
- platform: pulse_meter
pin: D3
name: "House Electricity Meter kw"
internal_filter: 35ms
unit_of_measurement: 'kW'
filters:
- multiply: 0.015
total:
name: "House Electricity Meter Total"
device_class: energy
unit_of_measurement: 'kWh'
accuracy_decimals: 2
filters:
- multiply: 0.00025