{"id":40475211,"url":"https://github.com/ltspicer/heizoel24.mex","last_synced_at":"2026-01-20T18:23:09.996Z","repository":{"id":222743960,"uuid":"758259285","full_name":"ltspicer/heizoel24.mex","owner":"ltspicer","description":"Daten vom Heizoel24 MEX auslesen und per MQTT versenden","archived":false,"fork":false,"pushed_at":"2024-05-31T21:52:22.000Z","size":345,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-31T22:53:37.744Z","etag":null,"topics":["heizoel","heizoel24","meter","mex","mqtt","oelstand"],"latest_commit_sha":null,"homepage":"https://www.ltspiceusers.ch","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ltspicer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-15T23:47:18.000Z","updated_at":"2024-05-31T21:52:25.000Z","dependencies_parsed_at":"2024-03-09T15:30:19.524Z","dependency_job_id":"a985ccb7-7cf8-4faa-b30c-8bfcf84a444b","html_url":"https://github.com/ltspicer/heizoel24.mex","commit_stats":null,"previous_names":["ltspicer/iobroker.mex","ltspicer/heizoel24.mex"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ltspicer/heizoel24.mex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ltspicer%2Fheizoel24.mex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ltspicer%2Fheizoel24.mex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ltspicer%2Fheizoel24.mex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ltspicer%2Fheizoel24.mex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ltspicer","download_url":"https://codeload.github.com/ltspicer/heizoel24.mex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ltspicer%2Fheizoel24.mex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28609011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["heizoel","heizoel24","meter","mex","mqtt","oelstand"],"created_at":"2026-01-20T18:23:09.876Z","updated_at":"2026-01-20T18:23:09.970Z","avatar_url":"https://github.com/ltspicer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Daten vom HeizOel24 MEX auslesen und per MQTT versenden\n\n![Screenshot](https://github.com/ltspicer/iobroker.mex/blob/main/mex.png)\n\nhttps://www.heizoel24.de/mex\n\nDieses Python3 Script liest die MEX Daten vom HeizOel24 Server und sendet diese per MQTT (mosquitto) an ein Smarthome System.\n\nBedingung ist, dass ein MQTT Broker (Server) auf diesem Smarthome System läuft.\n\nDas Script ist nach zBsp /home/pi zu kopieren.\n\nDie Rechte auf 754 setzen ( chmod 754 mex.py )\n\nCrontab erstellen ( crontab -e ):\n\n0 */3 * * * /home/pi/mex.py # Pfad ggf anpassen!\n\nWeitere Instruktionen sind im Script-Kopf zufinden. Da werden auch die notwendigen Daten wie Logins, IP Adresse, Passwörter usw. eingetragen.\n\nHier kann auch eine json Datei mit den berechneten künftigen Oelständen (CalculatedRemaining.json) und der Verbrauch in der Vergangenheit (OilUsage.json) angefordert werden.\n\nHerzlichen Dank an cpatscheider für seine Unterstützung! ( https://github.com/Secret-Lab-Productions/heizoel24-mex/discussions/2 )\n\nWenn nur die erste Zeile übermittelt wird (kann vorkommen, wenn zBsp das mex.py Script auf dem gleichen Host wie das Smarthome System läuft), dann DELAY im Scriptkopf auf True setzen.\n\nEs gibt einen MEX Telegram Kanal: https://t.me/mex_heizoel24\n\nZum einrichten, DEBUG auf True setzen.\n\n#### Falls Debugmodus aktiviert wurde (DEBUG = True), unbedingt nach debuggen wieder zurück setzen (DEBUG = False)!\n\n### Viel Spass beim \"Mexen\". Feedback ist sehr willkommen!\n\n\n## Changelog\n\n### V2.5 (2025-06-17)\n\n- Oelverbrauch in der Vergangenheit kann nun abgefragt werden\n\n### V2.4 (2024-03-21)\n\n- MQTT deaktivierbar\n\n### V2.3 (2024-03-20)\n\n- Code gesäubert (pylint)\n- Variabeln \"items\", \"pricing_forecast\", \"remains_until_combined\" übersichtlicher definiert\n\n### V2.2 (2024-03-19)\n\n- Nun MEX ID eingabe möglich (bei mehreren Geräten)\n- PriceComparedToYesterdayPercentage und PriceForecastPercentage überspringen, wenn \"False\"\n\n### V2.1 (2024-03-18)\n\n- Retain-Flag hinzugefügt. Thx @derlangemarkus\n\n------------------------\n------------------------\n\nThis Python3 script reads the MEX data from the HeizOel24 server and sends it to a smarthome system via MQTT (mosquitto).\n\nThe prerequisite is that an MQTT broker (server) is running on this smarthome system.\n\nThe script must be copied to e.g. /home/pi.\n\nSet the rights to 754 ( chmod 754 mex.py )\n\nCreate crontab ( crontab -e ):\n\n0 */3 * * * * /home/pi/mex.py # Adjust path if necessary!\n\nFurther instructions can be found in the script header. The necessary data such as logins, IP address, passwords etc. are also entered there.\n\nA JSON file containing the calculated future oil levels (CalculatedRemaining.json) and past consumption (OilUsage.json) can also be requested here.\n\nMany thanks to cpatscheider for his support! ( [Secret-Lab-Productions/heizoel24-mex#2](https://github.com/Secret-Lab-Productions/heizoel24-mex/discussions/2) )\n\nIf only the first line is transmitted (this can happen e.g. if the mex.py script is running on the same host as the Smarthome system), then set DELAY in the script header to True.\n\nThere is a MEX Telegram channel: https://t.me/mex_heizoel24\n\nTo set up, set DEBUG to True.\n\n#### If debug mode has been activated (DEBUG = True), be sure to reset it after debugging (DEBUG = False)!\n\n### Have fun with \"Mexiing\". Feedback is very welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fltspicer%2Fheizoel24.mex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fltspicer%2Fheizoel24.mex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fltspicer%2Fheizoel24.mex/lists"}