192.168.178.222
to your Oekofen IPeMlG
to your JSON Password (see Touchpad of your Oekofen)import oekofen_api
import time
client = oekofen_api.Oekofen("192.168.178.222", "eMlG")
#client.update_csv_data()
x = client.update_data()
client.get_version()
client.get_uid()
client.get_model()
client.get_name()
client.update_data()
client.get_status()
client.get_weather_temp()
client.get_heating_circuit_temp()
old_value = client.get_attribute('pu', 'L_tpo_act').get_value()
print(old_value)
while True:
try:
client.update_data()
except Exception:
time.sleep(5)
continue
new_value = client.get_attribute('pu', 'L_tpo_act').get_value()
time.sleep(10)
if new_value != old_value:
print(old_value, new_value)
old_value = new_value
#client.set_heating_circuit_temp(celsius=23)
domains
and attributes
- make it less complicate and pass dict to homeassistant, then use data scheme like netgear integrationasync_external_statistics
Berechnungsgrundlage: Abschnitt Calculations
in Oekofen-Spy
pe1_L_modulation
via derivative minütlich
<Differenz Sensortwert alt - Sensorwert neu> / <Sekunden zwischen beiden Sensorwerten> / 1 * <Sekunden = 60>
derivative_modulation
derivative_modulation
Schwellwert / 60 * <kW Leitung Pelletsheizung, z.B. 7.8kW> *