Skip to main content

Oekofen API

Usage

  • change 192.168.178.222 to your Oekofen IP
  • change eMlG 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)

Todo

Online Resources

Berechnung Pelletsverbrauch

Berechnungsgrundlage: Abschnitt Calculations in Oekofen-Spy

  1. Ableitung pe1_L_modulation via derivative minütlich
    1. siehe Integration derivative / Code Berechnung der Ableitung
    2. <Differenz Sensortwert alt - Sensorwert neu> / <Sekunden zwischen beiden Sensorwerten> / 1 * <Sekunden = 60>
    3. Einrichten als Helper derivative_modulation
  2. Helper einrichten Schwellenwertsensor für derivative_modulation
    1. Hysterese: 0
    2. Untere Grenze: 0
    3. Obere Grenze: 1000
    4. Ergebnis: True/False für den Zeitraum, wenn der Wert positiv ist
    5. Muss der Schwellenwertsensor evtl. vor den Ableitungssensor? (non_negative_derivative)
  3. Formel Pelletsverbrauch:
    1. Schwellwert / 60 * <kW Leitung Pelletsheizung, z.B. 7.8kW> *

Metadata

Release files for oekofen-api 0.0.25

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oekofen-api 0.0.25
File Size Uploaded
oekofen_api-0.0.25.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oekofen-api 0.0.25
File Interpreter ABI Platform
oekofen_api-0.0.25-py3-none-any.whl Python 3 none any Details

Total release size: 26.0 kB

Release files / oekofen_api-0.0.25.tar.gz

Download URL oekofen_api-0.0.25.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c465043f34836a668df179c8ede797f8aecff2b687a670891bac148314ac0a9b
BLAKE2b-256 checksum
How to use checksums
5d585d1ef7a39006d937fa3c80b04f24707cefedc467b088d1f5acce05f94c87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release files / oekofen_api-0.0.25-py3-none-any.whl

Download URL oekofen_api-0.0.25-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
134b221afefa8cd74e3938829bb041ef023c56ed1d72f5dda5b6b8cda365716f
BLAKE2b-256 checksum
How to use checksums
62b7d56efba5e30aad434efafda1c5f55cb99b19afba705130a33cd004460cdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.0.25 This release

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page