<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Thema "Re: Betreff: Output von getRawJsonData(&amp;quot;&amp;quot;)" in The Viessmann API</title>
    <link>https://community.viessmann.de/t5/The-Viessmann-API/Output-von-getRawJsonData-quot-quot/m-p/191372#M316</link>
    <description>&lt;P&gt;Hallo &lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/39702"&gt;@diwa&lt;/a&gt; ,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;vielleicht hilft dir die Dikussion in diesem Thread weiter:&amp;nbsp;&lt;A href="https://www.viessmann-community.com/t5/Getting-started-programming-with/Some-code-to-receive-info-from-the-Viessmann-boiler/td-p/187883" target="_blank"&gt;https://www.viessmann-community.com/t5/Getting-started-programming-with/Some-code-to-receive-info-from-the-Viessmann-boiler/td-p/187883&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Bitte beachte, dass es keine definierte Reihenfolge der Inhalte für das zurückgegebene JSON-Array gibt. Ich empfehle, die enthaltenen Feature Namen im JSON-Array auszuwerten, um die Werte zu sortieren.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Oct 2021 07:17:02 GMT</pubDate>
    <dc:creator>CustomerCareMichael</dc:creator>
    <dc:date>2021-10-19T07:17:02Z</dc:date>
    <item>
      <title>Output von getRawJsonData("")</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/Output-von-getRawJsonData-quot-quot/m-p/184141#M179</link>
      <description>&lt;P&gt;Hallo zusammen,&lt;/P&gt;&lt;P&gt;seit Anfang August 2021 sind wir stolze Besitzer eine Viessmann Vitodens 200-W. Wie bei meiner alten Anlage (Paradigma mit Systa-Interface), möchte ich alle 10 min einen Eintrag in eine MySQL-Db vornehmen. Dazu habe ich mir die ViessmannAPI heruntergeladen und die Beispiele ausgeführt (wenn man ReCaptcha ausschaltet, funktionieren auch die meisten). Damit die Aufruflast nicht so hoch ist, habe ich mir den&lt;BR /&gt;Output von viessmannApi-&amp;gt;getRawJsonData("") angeschaut. Hier bekommt man mit einem Aufruf sämtliche Datenpunkte.&lt;BR /&gt;Wie gliedert man aber den JSON-Strom ? Mir ist klar, dass man auch einzelne Datenpunkte aufrufen kann, wie im Nachtrag zu sehen:&lt;/P&gt;&lt;P&gt;DWUX-64:~/src/php/Viessmann/Viessmann-Api-2.0.0/example$ php -f Main.php&lt;/P&gt;&lt;P&gt;Aussentemperatur : 19&lt;BR /&gt;Heizkurve/Neigung: 1&lt;BR /&gt;Heizkurve/Niveau : 2&lt;BR /&gt;Aktiver Modus : dhwAndHeating&lt;BR /&gt;Aktives Programm : normal&lt;BR /&gt;Brenner aktiv ? : 1&lt;BR /&gt;Warmwasser akt.? : 0&lt;BR /&gt;Raumtemp/Programm: 20&lt;BR /&gt;Red. Tempertaur : 16&lt;BR /&gt;Anlage im StandBy: 0&lt;BR /&gt;Warmwassertemp. : 49.6&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 10:09:29 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/Output-von-getRawJsonData-quot-quot/m-p/184141#M179</guid>
      <dc:creator>diwa</dc:creator>
      <dc:date>2021-08-24T10:09:29Z</dc:date>
    </item>
    <item>
      <title>Betreff: Output von getRawJsonData("")</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/Output-von-getRawJsonData-quot-quot/m-p/191362#M315</link>
      <description>&lt;P&gt;Aus der Gemeinde kommt sehr wenig Input, deshalb hier meine Erkenntnisse bis hier:&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;BR /&gt;#&lt;BR /&gt;# bash-script GetViessmanInfo&lt;BR /&gt;# (c) D. Walter, Nutzung der Viessmann-API (soweit möglich)&lt;BR /&gt;# 2021-10-08: Einlesen der Viessmann-Daten über den Aufruf&lt;BR /&gt;# $viessmannApi-&amp;gt;getRawJsonData("")&lt;BR /&gt;# Ausgabe in eine Log-Datei. Analyse der zurückgegebenen Werte&lt;BR /&gt;#2021-10-18: Nach Strukturänderungen bei den Rückgabewert-&amp;gt;angepasst&lt;BR /&gt;# dafür gibt es jetzt einen neuen Wert: Modulation&lt;/P&gt;&lt;P&gt;pushd $HOME/src/php/Viessmann/Viessmann-Api-2.0.0/example &amp;gt; /dev/null&lt;BR /&gt;php DWTest4.php &amp;gt;$HOME/data/Viessmann/log/ViessmannAPI.log&lt;BR /&gt;popd &amp;gt; /dev/null&lt;/P&gt;&lt;P&gt;# Werte aus log-Datei einlesen und in Variablen speichern&lt;BR /&gt;GemVorlTemp=$(cat $HOME/data/Viessmann/log/ViessmannAPI.log | jq -r '.[17]' | cut -c150- | sed 's/,/ /g' | awk '{print $1}')&lt;BR /&gt;WWStatus=$(cat $HOME/data/Viessmann/log/ViessmannAPI.log | jq -r '.[33]' | cut -c115- | sed 's/}/ /g' | awk '{print $1}')&lt;BR /&gt;WWTemp=$(cat $HOME/data/Viessmann/log/ViessmannAPI.log | jq -r '.[40]' | cut -c152- | sed 's/,/ /g' | awk '{print $1}')&lt;BR /&gt;AussenTemp=$(cat $HOME/data/Viessmann/log/ViessmannAPI.log | jq -r '.[13]' | cut -c140- | sed 's/,/ /g' | awk '{print $1}')&lt;BR /&gt;HK1_VorlTemp=$(cat $HOME/data/Viessmann/log/ViessmannAPI.log | jq -r '.[17]' | cut -c150- | sed 's/,/ /g' | awk '{print $1}')&lt;BR /&gt;HK1_PumpeStat=$(cat $HOME/data/Viessmann/log/ViessmannAPI.log | jq -r '.[20]' | cut -c98- | sed 's/}/ /g' | awk '{print $1}')&lt;BR /&gt;Brennerstarts=$(cat $HOME/data/Viessmann/log/ViessmannAPI.log | jq -r '.[28]' | cut -c139- | sed 's/,/ /g' | awk '{print $1}')&lt;BR /&gt;Brennerstd=$(cat $HOME/data/Viessmann/log/ViessmannAPI.log | jq -r '.[28]' | cut -c90- | sed 's/,/ /g' | awk '{print $1}')&lt;BR /&gt;WWPumpeStat=$(cat $HOME/data/Viessmann/log/ViessmannAPI.log | jq -r '.[31]' | cut -c92- | sed 's/}/ /g' | awk '{print $1}')&lt;BR /&gt;Modulation=$(cat $HOME/data/Viessmann/log/ViessmannAPI.log | jq '.[6]' | cut -c158- | sed 's/,/ /g' | awk '{print $1}')&lt;/P&gt;&lt;P&gt;Date=$(date +"%Y-%m-%d %H:%M:%S")&lt;/P&gt;&lt;P&gt;echo $Date&lt;/P&gt;&lt;P&gt;#echo "Gemeinsame Vorlauftemperatur : " $GemVorlTemp&lt;BR /&gt;#echo "Warmwasseraufbereitung an/aus: " $WWStatus&lt;BR /&gt;#echo "Warmwassertemperatur : " $WWTemp&lt;BR /&gt;#echo "Aussentemperatur : " $AussenTemp&lt;BR /&gt;#echo "HK1 Vorlauftemperatur : " $HK1_VorlTemp&lt;BR /&gt;#echo "HK1 Pumpe an/aus : " $HK1_PumpeStat&lt;BR /&gt;#echo "Brennerstarts : " $Brennerstarts&lt;BR /&gt;#echo "Brenner Stunden : " $Brennerstd&lt;BR /&gt;#echo "WW-Pumpe an/aus : " $WWPumpeStat&lt;BR /&gt;#echo "Modulation : " $Modulation&lt;/P&gt;&lt;P&gt;InsertStm="INSERT INTO tbl_ViessmData2 (VD_DatumZeit,"&lt;BR /&gt;InsertStm=$InsertStm"VD_AussenTemp,"&lt;BR /&gt;InsertStm=$InsertStm"VD_GemVorlTemp,"&lt;BR /&gt;InsertStm=$InsertStm"VD_BrennerStatus,"&lt;BR /&gt;InsertStm=$InsertStm"VD_BrennerStd,"&lt;BR /&gt;InsertStm=$InsertStm"VD_BrennerStarts,"&lt;BR /&gt;InsertStm=$InsertStm"VD_HK1_Temp,"&lt;BR /&gt;InsertStm=$InsertStm"VD_HK_Pumpe,"&lt;BR /&gt;InsertStm=$InsertStm"VD_WW_Pumpe,"&lt;BR /&gt;InsertStm=$InsertStm"VD_WW_Temp,"&lt;BR /&gt;InsertStm=$InsertStm"VD_Modulation)"&lt;BR /&gt;InsertStm=$InsertStm" VALUES (datetime('now','localtime'),"&lt;BR /&gt;InsertStm=$InsertStm$AussenTemp","&lt;BR /&gt;InsertStm=$InsertStm$GemVorlTemp","&lt;BR /&gt;InsertStm=$InsertStm"1,"&lt;BR /&gt;InsertStm=$InsertStm$Brennerstd","&lt;BR /&gt;InsertStm=$InsertStm$Brennerstarts","&lt;BR /&gt;InsertStm=$InsertStm$HK1_VorlTemp","&lt;BR /&gt;InsertStm=$InsertStm$HK1_PumpeStat","&lt;BR /&gt;InsertStm=$InsertStm$WWPumpeStat","&lt;BR /&gt;InsertStm=$InsertStm$WWTemp","&lt;BR /&gt;InsertStm=$InsertStm$Modulation")"&lt;/P&gt;&lt;P&gt;#echo $InsertStm&lt;/P&gt;&lt;P&gt;sqlite3 $HOME/data/Viessmann/Viessmann.db "$InsertStm"&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 06:16:53 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/Output-von-getRawJsonData-quot-quot/m-p/191362#M315</guid>
      <dc:creator>diwa</dc:creator>
      <dc:date>2021-10-19T06:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Betreff: Output von getRawJsonData("")</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/Output-von-getRawJsonData-quot-quot/m-p/191372#M316</link>
      <description>&lt;P&gt;Hallo &lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/39702"&gt;@diwa&lt;/a&gt; ,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;vielleicht hilft dir die Dikussion in diesem Thread weiter:&amp;nbsp;&lt;A href="https://www.viessmann-community.com/t5/Getting-started-programming-with/Some-code-to-receive-info-from-the-Viessmann-boiler/td-p/187883" target="_blank"&gt;https://www.viessmann-community.com/t5/Getting-started-programming-with/Some-code-to-receive-info-from-the-Viessmann-boiler/td-p/187883&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Bitte beachte, dass es keine definierte Reihenfolge der Inhalte für das zurückgegebene JSON-Array gibt. Ich empfehle, die enthaltenen Feature Namen im JSON-Array auszuwerten, um die Werte zu sortieren.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 07:17:02 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/Output-von-getRawJsonData-quot-quot/m-p/191372#M316</guid>
      <dc:creator>CustomerCareMichael</dc:creator>
      <dc:date>2021-10-19T07:17:02Z</dc:date>
    </item>
  </channel>
</rss>

