Hallo Kollegen,
es gibt in diesem Forum einen Beitrag in welchem über HTTMOD auf eine ÖkoFEN-Pelletsheitung zugegriffen wird.
https://forum.fhem.de/index.php?topic=28844.msg216660#msg216660 (https://forum.fhem.de/index.php?topic=28844.msg216660#msg216660)
Ich habe eine Pellematic-Anlage in einem entfernten Haus kann diese aber über das App aufrufen.
https://my.oekofen.info/app/#/maintenance/P00xxxx_xxxxxx/menu/
Die App in 2014 hat noch anders ausgesehen
Kann jemand sagen ...
a) ... ob die alte Anleitung mit dem aktuellem App noch funktioniert
b) ... wie der Aufruf geändert werden muss
define PHeiz HTTPMOD http://<Deine IP>/?action=get&attr=1 180
LG Manuel
Ich habe über Burp versucht hier mal einige Infos abzugreifen. Bin aber da kein Experte..
GET /app/ HTTP/2
Host: my.oekofen.info
Sec-Ch-Ua: "(Not(A:Brand";v="8", "Chromium";v="98"
Sec-Ch-Ua-Mobile: ?0
Sec-Ch-Ua-Platform: "Windows"
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate
Accept-Language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7
HTTP/2 200 OK
Server: nginx
Date: Sat, 19 Feb 2022 17:02:41 GMT
Content-Type: text/html
Vary: Accept-Encoding
Last-Modified: Tue, 16 Nov 2021 10:45:56 GMT
Etag: W/"55a-5d0e5a15147c5"
Cache-Control: max-age=0
Expires: Sat, 19 Feb 2022 17:02:41 GMT
Referrer-Policy: strict-origin-when-cross-origin
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>ÖkoFEN Pellematic</title>
<base href="/app/"/>
<meta name="color-scheme" content="light"/>
<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="format-detection" content="telephone=no"/>
<meta name="msapplication-tap-highlight" content="no"/>
<link rel="icon" type="image/png" href="assets/icons/favicon.png"/>
<!-- add to homescreen for ios -->
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<link rel="manifest" href="manifest.webmanifest">
<meta name="theme-color" content="#3aaa35">
<link rel="stylesheet" href="styles.d3de4b117ecbd276fe01.css"></head>
<body>
<app-root></app-root>
<script src="runtime-es2015.2eff2f586353c501893f.js" type="module"></script><script src="runtime-es5.2eff2f586353c501893f.js" nomodule defer></script><script src="polyfills-es5.a0181dc3315b287c1377.js" nomodule defer></script><script src="polyfills-es2015.ec2350ad10ef785dc7eb.js" type="module"></script><script src="main-es2015.be486db007c0a25dbaea.js" type="module"></script><script src="main-es5.be486db007c0a25dbaea.js" nomodule defer></script></body>
</html>
Hallo,
ich bin (noch) kein Experte für dieses Thema, aber ich glaube, die genannte Anbindung funktioniert nur, wenn die Oekofen im selben Netzwerk ist, wie der FHEM-Server (nutzt direkt die Oekofen-Schnittstelle, nicht das Interface der App).
Außerdem gibt es inzwischen eine JSON-API. Aber dazu kann ich erst etwas sagen, wenn die Heizung bei uns aufgebaut ist.
https://github.com/thannaske/oekofen-json-documentation (https://github.com/thannaske/oekofen-json-documentation)
Gruß
Blueberry63