Skip to content
Snippets Groups Projects
Commit 81849780 authored by nandXor's avatar nandXor
Browse files

Fixed Strommesser

parent 6a50e639
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,11 @@ sensor:
# Diese werden durch einen Optokoppler jede 0.00125kWh (800 Impulse / kWh) für ca. 30ms zueinander leitend.
# Hier schließen wir an den einen Kontakt GPIO2 und an den anderen Gnd an.
- platform: pulse_meter
pin: GPIO12
pin:
number: GPIO13
mode:
input: true
pullup: true
unit_of_measurement: 'kW'
name: 'Stromverbrauch'
# Herausfilterung von fehlerhaften Impulsen < 20ms
......@@ -33,7 +37,11 @@ sensor:
- multiply: 0.00125
binary_sensor:
- platform: gpio
pin: GPIO13
pin:
number: GPIO12
mode:
input: true
pullup: true
inverted: true
name: "warpzone Status"
device_class: presence
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment