Thermostat-Klemme J4 3-polig (L/Ls/N), J3 nach rechts; Leistung = Strom x einstellbarem Faktor W/A statt fester cos phi 0,9

This commit is contained in:
OpenClaw committed 2026-11-07 04:22:20 +01:00
1 parent 1301212f13
commit a82b8dd58e
13 files changed
+22587 -23006

No files matched your search

+15 -2
View File
@@ -109,6 +109,17 @@ servo:
auto_detach_time: 3s # danach kein Haltestrom/Brummen; Klappe hält per Getriebe
number:
- platform: template
name: "Pumpe Faktor W pro A"
id: pumpe_w_pro_a
min_value: 50
max_value: 230
step: 1
initial_value: 115
optimistic: true
restore_value: true
entity_category: config
icon: mdi:tune
- platform: template
name: "Luftklappe"
id: luftklappe
@@ -154,12 +165,14 @@ sensor:
- multiply: 10.0 # V an 100 R -> A primär
- lambda: 'return x < 0.015f ? 0.0f : x;'
- platform: template
name: "Pumpe Leistung (ca.)"
name: "Pumpe Leistung (geschätzt)"
unit_of_measurement: W
device_class: power
accuracy_decimals: 0
update_interval: 5s
lambda: 'return id(pumpe_strom).state * 230.0f * 0.9f;' # Schein -> grob Wirkleistung (cos phi ~0,9 schätzen)
# Wirkleistung = Strom x Faktor (W/A). Faktor einmal mit Shelly einmessen: Shelly-Watt / "Pumpe Strom".
# Ohne Einmessung 230 V x cos phi 0,5 (typisch für EC-Hocheffizienzpumpen ohne PFC).
lambda: 'return id(pumpe_strom).state * id(pumpe_w_pro_a).state;'
- platform: max6675
cs_pin: GPIO15 # D8 (10k Pull-down auf der Platine)