<?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 "Hilfe bei Change End Date heating.operating.programs.holiday" in Getting started programming with the Viessmann API</title>
    <link>https://community.viessmann.de/t5/Getting-started-programming-with/Hilfe-bei-Change-End-Date-heating-operating-programs-holiday/m-p/181383#M46</link>
    <description>&lt;P&gt;Hallo Zusammen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ich komme leider nicht weiter, wenns darum geht, Werte, bspw Daten zu setzen. POST auf Booleans via&amp;nbsp;&lt;A href="https://developer.viessmann.com/en/doc/device-features-mw-iot/v1" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Device feature command using name&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;funktioniert gut (oneTimeCharge bspw.).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ich möchte gerne das End (und anfangs-) Date des Holiday Programs via API abändern, mir fehlt aber irgendwie eine Beschreibung für den Payload, respektive werde aus der Dok mit commandName und commandBody nicht schlau - nutze Python&lt;/P&gt;&lt;P&gt;Bei Payload:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;payload = '{"changeEndDate": "05.08.2021" }'&lt;/LI-CODE&gt;&lt;P&gt;erhalte ich den Fehler:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{"viErrorId":"req-cd8a9264e0f54559b43189494400df1e","statusCode":422,"errorType":"VALIDATION_ERROR","message":"VALIDATION_ERROR","validationErrors":[{"path":["commandBody"],"type":"any.invalid","message":"invalid value, most likely wrong format"},{"path":["commandName"],"type":"any.empty","message":"commandName cannot be empty"}],"extendedPayload":{"commandBody":"EMPTY_MODEL","commandName":"EMPTY"}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wenn ich einen Payload mit commandBody mache:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;payload = '{
'"commandName": "changeEndDate",
'"commandBody": {"key": "05.08.2021"}
'}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kommt der Fehler:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{"viErrorId":"req-6065b1c7a5ee4310a25af164559dd5bf","statusCode":502,"errorType":"DEVICE_COMMUNICATION_ERROR","message":"DEVICE_COMMUNICATION_ERROR","extendedPayload":{"code":"403","reason":"COMMAND_NOT_EXECUTABLE"}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ich gehe davon aus, dass ich schlichtweg den Payload falsch befülle, kann mir nicht jemand einen Tipp dazu geben?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Danke Euch und beste Grüsse,&lt;/P&gt;&lt;P&gt;Berni&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;btw. finde es super, dass Viessmann die API nun offiziell freigibt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jul 2021 11:47:30 GMT</pubDate>
    <dc:creator>bz</dc:creator>
    <dc:date>2021-07-21T11:47:30Z</dc:date>
    <item>
      <title>Hilfe bei Change End Date heating.operating.programs.holiday</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/Hilfe-bei-Change-End-Date-heating-operating-programs-holiday/m-p/181383#M46</link>
      <description>&lt;P&gt;Hallo Zusammen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ich komme leider nicht weiter, wenns darum geht, Werte, bspw Daten zu setzen. POST auf Booleans via&amp;nbsp;&lt;A href="https://developer.viessmann.com/en/doc/device-features-mw-iot/v1" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Device feature command using name&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;funktioniert gut (oneTimeCharge bspw.).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ich möchte gerne das End (und anfangs-) Date des Holiday Programs via API abändern, mir fehlt aber irgendwie eine Beschreibung für den Payload, respektive werde aus der Dok mit commandName und commandBody nicht schlau - nutze Python&lt;/P&gt;&lt;P&gt;Bei Payload:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;payload = '{"changeEndDate": "05.08.2021" }'&lt;/LI-CODE&gt;&lt;P&gt;erhalte ich den Fehler:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{"viErrorId":"req-cd8a9264e0f54559b43189494400df1e","statusCode":422,"errorType":"VALIDATION_ERROR","message":"VALIDATION_ERROR","validationErrors":[{"path":["commandBody"],"type":"any.invalid","message":"invalid value, most likely wrong format"},{"path":["commandName"],"type":"any.empty","message":"commandName cannot be empty"}],"extendedPayload":{"commandBody":"EMPTY_MODEL","commandName":"EMPTY"}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wenn ich einen Payload mit commandBody mache:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;payload = '{
'"commandName": "changeEndDate",
'"commandBody": {"key": "05.08.2021"}
'}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kommt der Fehler:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{"viErrorId":"req-6065b1c7a5ee4310a25af164559dd5bf","statusCode":502,"errorType":"DEVICE_COMMUNICATION_ERROR","message":"DEVICE_COMMUNICATION_ERROR","extendedPayload":{"code":"403","reason":"COMMAND_NOT_EXECUTABLE"}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ich gehe davon aus, dass ich schlichtweg den Payload falsch befülle, kann mir nicht jemand einen Tipp dazu geben?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Danke Euch und beste Grüsse,&lt;/P&gt;&lt;P&gt;Berni&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;btw. finde es super, dass Viessmann die API nun offiziell freigibt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 11:47:30 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/Hilfe-bei-Change-End-Date-heating-operating-programs-holiday/m-p/181383#M46</guid>
      <dc:creator>bz</dc:creator>
      <dc:date>2021-07-21T11:47:30Z</dc:date>
    </item>
    <item>
      <title>Betreff: Hilfe bei Change End Date heating.operating.programs.holiday</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/Hilfe-bei-Change-End-Date-heating-operating-programs-holiday/m-p/181401#M47</link>
      <description>&lt;P&gt;Sorry Alle, der Befehl ist wohl nicht freigeschaltet (habe ich laut Doku einfach so interpretiert). Workaround: Boiler-Zieltemperatur runterstellen &lt;span class="lia-unicode-emoji" title=":zwinkerndes_Gesicht:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 15:59:01 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/Hilfe-bei-Change-End-Date-heating-operating-programs-holiday/m-p/181401#M47</guid>
      <dc:creator>bz</dc:creator>
      <dc:date>2021-07-21T15:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hilfe bei Change End Date heating.operating.programs.holiday</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/Hilfe-bei-Change-End-Date-heating-operating-programs-holiday/m-p/182452#M51</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/39207"&gt;@bz&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;du könntest mal versuchen, anstelle von "changeEndDate" den Command&amp;nbsp;"schedule" auszuführen und "start" und "end" zu setzen (Datumsformat: YYYY-MM-DD):&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;"commands": {&lt;/P&gt;

&lt;P&gt;"schedule": {&lt;/P&gt;

&lt;P&gt;"uri": "&lt;A href="https://api.viessmann-platform.io/iot/v1/equipment/installations/{{installationID}}/gateways/{{gatewaySerial}}/devices/{{deviceID}}/features/heating.operating.programs.holiday/commands/schedule" target="_blank"&gt;https://api.viessmann-platform.io/iot/v1/equipment/installations/{{installationID}}/gateways/{{gatewaySerial}}/devices/{{deviceID}}/features/heating.operating.programs.holiday/commands/schedule&lt;/A&gt;",&lt;/P&gt;

&lt;P&gt;"name": "schedule",&lt;/P&gt;

&lt;P&gt;"isExecutable": true,&lt;/P&gt;

&lt;P&gt;"params": {&lt;/P&gt;

&lt;P&gt;"start": {&lt;/P&gt;

&lt;P&gt;"type": "string",&lt;/P&gt;

&lt;P&gt;"required": true,&lt;/P&gt;

&lt;P&gt;"constraints": {&lt;/P&gt;

&lt;P&gt;"regEx": "^[\\d]{4}-[\\d]{2}-[\\d]{2}$"&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;},&lt;/P&gt;

&lt;P&gt;"end": {&lt;/P&gt;

&lt;P&gt;"type": "string",&lt;/P&gt;

&lt;P&gt;"required": true,&lt;/P&gt;

&lt;P&gt;"constraints": {&lt;/P&gt;

&lt;P&gt;"regEx": "^[\\d]{4}-[\\d]{2}-[\\d]{2}$",&lt;/P&gt;

&lt;P&gt;"sameDayAllowed": false&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;},&lt;/P&gt;

&lt;P&gt;},&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 07:48:04 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/Hilfe-bei-Change-End-Date-heating-operating-programs-holiday/m-p/182452#M51</guid>
      <dc:creator>CustomerCareMichael</dc:creator>
      <dc:date>2021-08-04T07:48:04Z</dc:date>
    </item>
  </channel>
</rss>

