<?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 "Betreff: PyViCare" in The Viessmann API</title>
    <link>https://community.viessmann.de/t5/The-Viessmann-API/PyViCare/m-p/476731#M2442</link>
    <description>&lt;P&gt;Moin, ich denke das Beispiel ist (noch) falsch.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Viessmann hat vor ca einem Jahr die Reihenfolge der Devices auf der API geändert.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;device = vicare.devices[0]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;device(0) greift hier auf das Gateway zu, und das hat keine Circuits. Versuch es mal mit device 1&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 20 Oct 2024 07:05:38 GMT</pubDate>
    <dc:creator>Hafenstrand</dc:creator>
    <dc:date>2024-10-20T07:05:38Z</dc:date>
    <item>
      <title>PyViCare</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/PyViCare/m-p/476557#M2438</link>
      <description>&lt;P&gt;Ich habe seit 1 Woche eine Vitocal 250-A in Betrieb. Ich versuche mit PyViCare Version 2.34.1 Daten zu bekommen. Ich habe client ID, email und passwort eingetragen, bekomme aber folgende Fehlermeldung :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;circuit = t.gateway[0] #select heating circuit&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;^^^^^^^^^&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;AttributeError: 'Gateway' object has no attribute 'gateway'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kann mir jemand weiterhelfen, bzw. weiß warum dieser Fehler auftritt?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Danke!&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2024 09:30:57 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/PyViCare/m-p/476557#M2438</guid>
      <dc:creator>Soliton</dc:creator>
      <dc:date>2024-10-19T09:30:57Z</dc:date>
    </item>
    <item>
      <title>Betreff: PyViCare</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/PyViCare/m-p/476655#M2439</link>
      <description>&lt;P&gt;Wo hast du denn diesen Parameter gefunden? Der jeweilige Heizkreislauf würde doch mit:&lt;/P&gt;&lt;P&gt;circuit = t.circuits[0] -&amp;gt; sind bei mir die Heizkörper oder&lt;/P&gt;&lt;P&gt;circuit = t.circuits[1] -&amp;gt; ist bei mir die Fußbodenheizung&lt;/P&gt;&lt;P&gt;definiert.&lt;/P&gt;&lt;P&gt;Versuch doch mal das "Basic Usage" Beispiel auf der Seite &lt;A href="https://github.com/openviess/PyViCare" target="_self"&gt;PyViCare&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2024 15:05:27 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/PyViCare/m-p/476655#M2439</guid>
      <dc:creator>ESP8266</dc:creator>
      <dc:date>2024-10-19T15:05:27Z</dc:date>
    </item>
    <item>
      <title>Betreff: PyViCare</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/PyViCare/m-p/476706#M2440</link>
      <description>&lt;P&gt;Habe ich versucht, mit dem Beispiel source code auf der GitHub Seite :&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;import sys&lt;BR /&gt;import logging&lt;BR /&gt;from PyViCare.PyViCare import PyViCare&lt;/P&gt;&lt;P&gt;client_id = "INSERT CLIENT ID"&lt;BR /&gt;email = "email@domain"&lt;BR /&gt;password = "password"&lt;/P&gt;&lt;P&gt;vicare = PyViCare()&lt;BR /&gt;vicare.initWithCredentials(email, password, client_id, "token.save")&lt;BR /&gt;device = vicare.devices[0]&lt;BR /&gt;print(device.getModel())&lt;BR /&gt;print("Online" if device.isOnline() else "Offline")&lt;/P&gt;&lt;P&gt;t = device.asAutoDetectDevice()&lt;BR /&gt;print(t.getDomesticHotWaterConfiguredTemperature())&lt;BR /&gt;print(t.getDomesticHotWaterStorageTemperature())&lt;BR /&gt;print(t.getOutsideTemperature())&lt;BR /&gt;print(t.getRoomTemperature())&lt;BR /&gt;print(t.getBoilerTemperature())&lt;BR /&gt;print(t.setDomesticHotWaterTemperature(59))&lt;/P&gt;&lt;P&gt;circuit = t.circuits[0] #select heating circuit&lt;/P&gt;&lt;P&gt;print(circuit.getSupplyTemperature())&lt;BR /&gt;print(circuit.getHeatingCurveShift())&lt;BR /&gt;print(circuit.getHeatingCurveSlope())&lt;/P&gt;&lt;P&gt;print(circuit.getActiveProgram())&lt;BR /&gt;print(circuit.getPrograms())&lt;/P&gt;&lt;P&gt;print(circuit.getCurrentDesiredTemperature())&lt;BR /&gt;print(circuit.getDesiredTemperatureForProgram("comfort"))&lt;BR /&gt;print(circuit.getActiveMode())&lt;/P&gt;&lt;P&gt;print(circuit.getDesiredTemperatureForProgram("comfort"))&lt;BR /&gt;print(circuit.setProgramTemperature("comfort",21))&lt;BR /&gt;print(circuit.activateProgram("comfort"))&lt;BR /&gt;print(circuit.deactivateComfort())&lt;/P&gt;&lt;P&gt;burner = t.burners[0] #select burner&lt;BR /&gt;print(burner.getActive())&lt;/P&gt;&lt;P&gt;compressor = t.compressors[0] #select compressor&lt;BR /&gt;print(compressor.getActive())&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;hier der komplette output :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;E3_TCU10_x07&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Online&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Traceback (most recent call last):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;File "H:\Progs\Programming Tools\Python3.12\pyvicare_basic.py", line 16, in &amp;lt;module&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;print(t.getDomesticHotWaterConfiguredTemperature())&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;AttributeError: 'Gateway' object has no attribute 'getDomesticHotWaterConfiguredTemperature'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hier habe ich nichts auskommentiert oder geändert, ausser meine login Daten. Ich bekomme als Kommunikationmodul E3_TCU10_x07 und die Meldung "Online". Also bekomme ich eine Antwort, doch dann gibt es die Fehlermeldung. Ich habe keine Ahnung wo das Objekt "Gateway" herkommt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2024 19:47:15 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/PyViCare/m-p/476706#M2440</guid>
      <dc:creator>Soliton</dc:creator>
      <dc:date>2024-10-19T19:47:15Z</dc:date>
    </item>
    <item>
      <title>Betreff: PyViCare</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/PyViCare/m-p/476711#M2441</link>
      <description>&lt;P&gt;Das ist doch schonmal gut. Deine Anlage antwortet auf:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;print&lt;/SPAN&gt;(&lt;SPAN class=""&gt;device&lt;/SPAN&gt;.&lt;SPAN class=""&gt;getModel&lt;/SPAN&gt;())
&lt;SPAN class=""&gt;print&lt;/SPAN&gt;(&lt;SPAN class=""&gt;"Online"&lt;/SPAN&gt; &lt;SPAN class=""&gt;if&lt;/SPAN&gt; &lt;SPAN class=""&gt;device&lt;/SPAN&gt;.&lt;SPAN class=""&gt;isOnline&lt;/SPAN&gt;() &lt;SPAN class=""&gt;else&lt;/SPAN&gt; &lt;SPAN class=""&gt;"Offline"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Die Kommunikation funktioniert also grundsätzlich. Die "Gültigkeit" der PyViCare Befehle ist natürlich stark von der jeweiligen Heizungsanlage abhängig. Wenn du eine Fehlermeldung bekommst kennt Deine Anlage diesen Wert nicht. Kommentiert den Befehl mit '#' aus und starte das Programm neu und wiederhole das Ganze bis du keine Fehlermeldungen bekommst oder kein Befehl mehr übrig bleibt. Mit Postman bin ich nicht warm geworden, darum habe ich jeden einzelnen t.get* oder circuit.get* Befehl ausprobiert und alle Nieten auskommentiert, ebenso mit den set Befehlen.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2024 20:13:55 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/PyViCare/m-p/476711#M2441</guid>
      <dc:creator>ESP8266</dc:creator>
      <dc:date>2024-10-19T20:13:55Z</dc:date>
    </item>
    <item>
      <title>Betreff: PyViCare</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/PyViCare/m-p/476731#M2442</link>
      <description>&lt;P&gt;Moin, ich denke das Beispiel ist (noch) falsch.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Viessmann hat vor ca einem Jahr die Reihenfolge der Devices auf der API geändert.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;device = vicare.devices[0]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;device(0) greift hier auf das Gateway zu, und das hat keine Circuits. Versuch es mal mit device 1&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2024 07:05:38 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/PyViCare/m-p/476731#M2442</guid>
      <dc:creator>Hafenstrand</dc:creator>
      <dc:date>2024-10-20T07:05:38Z</dc:date>
    </item>
    <item>
      <title>Betreff: PyViCare</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/PyViCare/m-p/476771#M2443</link>
      <description>&lt;P&gt;Einafch mal:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;device = vicare.devices[0]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;t = device.asAutoDetectDevice()&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;print(t)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;device = vicare.devices[1]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;t = device.asAutoDetectDevice()&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;print(t)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;einfügen, den Rest auskommentieren und schauen was ausgegeben wird.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2024 10:47:08 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/PyViCare/m-p/476771#M2443</guid>
      <dc:creator>ESP8266</dc:creator>
      <dc:date>2024-10-20T10:47:08Z</dc:date>
    </item>
  </channel>
</rss>

