<?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: I can read values from &amp;quot;heating.circuits.0.operating.modes.active&amp;quot; but I can not t set values..." in The Viessmann API</title>
    <link>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/351802#M1628</link>
    <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/56892"&gt;@hgt&lt;/a&gt;&lt;/SPAN&gt; , thanks for reminder. But as I replied to you in a DM in that time, you should be able to to read and write both the features &lt;STRONG&gt;heating.circuits.0.operating.modes.active&lt;/STRONG&gt; as well as &lt;STRONG&gt;heating.dhw.oneTimeCharge&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;For example, for executing the command of &lt;STRONG&gt;heating.dhw.oneTimeCharge&lt;/STRONG&gt;, you can use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;curl -X POST '&lt;A href="https://api.viessmann.com/iot/v1/features/installations/{{installationID}}/gateways/{{gatewaySerial}}/devices/{{deviceId}}/features/heating.dhw.oneTimeCharge/commands/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/features/installations/{{installationID}}/gateways/{{gatewaySerial}}/devices/{{deviceId}}/features/heating.dhw.oneTimeCharge/commands/activate&lt;/A&gt;'&amp;nbsp;--header 'Content-Type: application/json'&amp;nbsp;--data-raw '{}'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(of course adding a valid access token to the request)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try to execute the request. You can also use a tool like Postman to test API requests. More infos are available at the end of the getting started section of our API documentation:&amp;nbsp;&lt;A href="https://documentation.viessmann.com/static/getting-started" target="_blank"&gt;https://documentation.viessmann.com/static/getting-started&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if it works for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2023 06:26:39 GMT</pubDate>
    <dc:creator>CustomerCareMichael</dc:creator>
    <dc:date>2023-07-21T06:26:39Z</dc:date>
    <item>
      <title>I can read values from  "heating.circuits.0.operating.modes.active"  but I can not t set values to it.</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/265817#M981</link>
      <description>&lt;P&gt;Hello, when I try to set a value I receive&amp;nbsp;&lt;/P&gt;&lt;P&gt;"viErrorId":"req-6b18cc6eb63a4664985181cc0addf4a7","statusCode":500,"errorType":"INTERNAL_ERROR","message":"Internal server error"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Might it be I have chosen the wrong package „Basic free“ under &lt;A href="https://developer.viessmann.com/start/pricing.html" target="_blank"&gt;https://developer.viessmann.com/start/pricing.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;????&lt;/P&gt;&lt;P&gt;It says „ Free access to basic functionalities with a limited number of API calls, which allows you to directly start integrating and developing your application.“&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is setting a value for "heating.circuits.0.operating.modes.active" not covered by&amp;nbsp; the package?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Your API documentation does not say it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Or is the bash script -see pdf-- just wrong ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;regards hgt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 21:24:00 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/265817#M981</guid>
      <dc:creator>hgt</dc:creator>
      <dc:date>2022-10-06T21:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: I can read values from "heating.circuits.0.operating.modes.active" but I can not t set values...</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/266859#M988</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/56892"&gt;@hgt&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For all features you can access with the basic package of the API, you should currently also be able to set values if the feature has the option to do so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error seems like an temporary issue you are experiencing. Could you please try again and let me know what the response is? Also, could you write down the complete CURL command for setting the value, deriving the variables from the bash script you attached? Please make sure you are doing a POST call for setting values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 12:00:28 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/266859#M988</guid>
      <dc:creator>CustomerCareMichael</dc:creator>
      <dc:date>2022-10-10T12:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: I can read values from "heating.circuits.0.operating.modes.active" but I can not t set values...</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/266997#M991</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hello Michael, here is the bash shell script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;BR /&gt;#ACCOUNT_JSON_FILE=".account.json"&lt;/P&gt;&lt;P&gt;TOKEN_JSON_FILE=".token.json"&lt;BR /&gt;#SETTING_JSON_FILE=".setting.json"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;installationId=$(cat .setting.json | jq -r '.installationId')&lt;BR /&gt;gatewaySerial=$(cat .setting.json | jq -r '.gatewaySerial')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# if token is already present load it&lt;BR /&gt;if [[ -f $TOKEN_JSON_FILE ]]; then&lt;BR /&gt;access_token=$(cat .token.json | jq -r '.access_token')&lt;BR /&gt;else&lt;BR /&gt;echo " design error 1"&lt;BR /&gt;exit 1&lt;BR /&gt;fi&lt;BR /&gt;echo "curl "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge&lt;/A&gt;" \&lt;BR /&gt;-s \&lt;BR /&gt;-H "Authorization: Bearer $access_token""&lt;BR /&gt;&lt;BR /&gt;curl "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge&lt;/A&gt;" \&lt;BR /&gt;-s \&lt;BR /&gt;-H "Authorization: Bearer $access_token"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;echo " " ;echo " "&lt;BR /&gt;echo "curl "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/activate&lt;/A&gt;" \&lt;BR /&gt;-s \&lt;BR /&gt;-d {} \&lt;BR /&gt;-H "Authorization: Bearer $access_token" "&lt;BR /&gt;curl "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/activate&lt;/A&gt;" \&lt;BR /&gt;-s \&lt;BR /&gt;-d {} \&lt;BR /&gt;-H "Authorization: Bearer $access_token"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;echo " " ;echo " "&lt;BR /&gt;echo "curl "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/activate&lt;/A&gt;" \&lt;BR /&gt;-s \&lt;BR /&gt;-d "{}" \&lt;BR /&gt;-H "Authorization: Bearer $access_token" "&lt;BR /&gt;curl "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/activate&lt;/A&gt;" \&lt;BR /&gt;-s \&lt;BR /&gt;-d "{}" \&lt;BR /&gt;-H "Authorization: Bearer $access_token"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;echo " ";echo " "&lt;BR /&gt;echo " curl "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/deactivate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/deactivate&lt;/A&gt;" \&lt;BR /&gt;-s \&lt;BR /&gt;-d '{}' \&lt;BR /&gt;-H "Authorization: Bearer $access_token" "&lt;BR /&gt;curl "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/deactivate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/deactivate&lt;/A&gt;" \&lt;BR /&gt;-s \&lt;BR /&gt;-d '{}' \&lt;BR /&gt;-H "Authorization: Bearer $access_token"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;echo " ";echo " "&lt;BR /&gt;echo "curl -d'{}' -X POST -s -H "Authorization: Bearer $access_token" "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/deactivate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/deactivate&lt;/A&gt;" "&lt;BR /&gt;curl -d'{}' -X POST -s -H "Authorization: Bearer $access_token" "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/deactivate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/deactivate&lt;/A&gt;" "&lt;BR /&gt;curl -d'{}' -X POST -s -H "Authorization: Bearer $access_token" "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/deactivate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/deactivate&lt;/A&gt;" "&lt;BR /&gt;curl -d'{}' -X POST -s -H "Authorization: Bearer $access_token" "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/deactivate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/deactivate&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And this is the result:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;curl &lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge&lt;/A&gt; -s -H Authorization: Bearer whatever&lt;/P&gt;&lt;P&gt;{"data":{"properties":{"active":{"value":false,"type":"boolean"}},"commands":{"activate":{"uri":"&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/commands/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/commands/activate&lt;/A&gt;","name":"activate","isExecutable":true,"params":{}},"deactivate":{"uri":"&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/commands/deactivate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/commands/deactivate&lt;/A&gt;","name":"deactivate","isExecutable":false,"params":{}}},"apiVersion":1,"uri":"&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge&lt;/A&gt;","gatewayId":"123456789012345","feature":"heating.dhw.oneTimeCharge","timestamp":"2022-10-10T16:46:36.391Z","isEnabled":true,"isReady":true,"deviceId":"0"}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl &lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/activate&lt;/A&gt; -s -d {} -H Authorization: Bearer whatever&lt;/P&gt;&lt;P&gt;{"viErrorId":"req-2ba0bfa345084393bcafd195dab37eb1","statusCode":500,"errorType":"INTERNAL_ERROR","message":"Internal server error"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl &lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/activate&lt;/A&gt; -s -d {} -H Authorization: Bearer whatever&lt;/P&gt;&lt;P&gt;{"viErrorId":"req-ada86948c9704c6da5a873b9180f114b","statusCode":500,"errorType":"INTERNAL_ERROR","message":"Internal server error"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl &lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/deactivate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/deactivate&lt;/A&gt; -s -d '{}' -H Authorization: Bearer whatever&lt;/P&gt;&lt;P&gt;{"viErrorId":"req-60e21c31767749cfb7e7bf9c1d82a4a6","statusCode":500,"errorType":"INTERNAL_ERROR","message":"Internal server error"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -d'{}' -X POST -s -H Authorization: Bearer whatever &lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/deactivate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/deactivate&lt;/A&gt;&lt;/P&gt;&lt;P&gt;{"viErrorId":"req-3aa51712b031476780285d6741921789","statusCode":500,"errorType":"INTERNAL_ERROR","message":"Internal server error"}{"viErrorId":"req-ad7a24b75a4a4bc28b0cf63256e8a0ed","statusCode":500,"errorType":"INTERNAL_ERROR","message":"Internal server error"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards hgt&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 18:48:57 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/266997#M991</guid>
      <dc:creator>hgt</dc:creator>
      <dc:date>2022-10-10T18:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: I can read values from "heating.circuits.0.operating.modes.active" but I can not t set values...</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/267228#M992</link>
      <description>&lt;P&gt;&lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/56892"&gt;@hgt&lt;/a&gt; I can see in your POST commands, that "/commands" is missing in the URL path. Please try to use "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/commands/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/1234567/gateways/123456789012345/devices/0/features/heating.dhw.oneTimeCharge/commands/activate&lt;/A&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this works for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 08:45:53 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/267228#M992</guid>
      <dc:creator>CustomerCareMichael</dc:creator>
      <dc:date>2022-10-11T08:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: I can read values from "heating.circuits.0.operating.modes.active" but I can not t set values...</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/267897#M995</link>
      <description>&lt;P&gt;Hello Michael,&lt;/P&gt;&lt;P&gt;it still does not work. See the 3rd curl request in the script.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is the script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;BR /&gt;#ACCOUNT_JSON_FILE=".account.json"&lt;/P&gt;&lt;P&gt;TOKEN_JSON_FILE=".token.json"&lt;BR /&gt;#SETTING_JSON_FILE=".setting.json"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;installationId=$(cat .setting.json | jq -r '.installationId')&lt;BR /&gt;gatewaySerial=$(cat .setting.json | jq -r '.gatewaySerial')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# if token is already present load it&lt;BR /&gt;if [[ -f $TOKEN_JSON_FILE ]]; then&lt;BR /&gt;access_token=$(cat .token.json | jq -r '.access_token')&lt;BR /&gt;else&lt;BR /&gt;echo " design error 1"&lt;BR /&gt;exit 1&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;curl -X GET "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge&lt;/A&gt;" \&lt;BR /&gt;-H "Authorization: Bearer $access_token"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;echo " "&lt;BR /&gt;echo " "&lt;BR /&gt;&lt;BR /&gt;curl -d {} -X POST &lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/commands/deactivate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/commands/deactivate&lt;/A&gt; -H "Authorization: Bearer $access_token"&lt;/P&gt;&lt;P&gt;echo " "&lt;BR /&gt;curl -d'{}' -X POST -s "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/commands/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/commands/activate&lt;/A&gt;" \&lt;BR /&gt;-H "Authorization: Bearer $access_token"&lt;BR /&gt;echo " "&lt;BR /&gt;curl -d "{}" -X POST -s "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/commands/deactivate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/commands/deactivate&lt;/A&gt;" \&lt;BR /&gt;-H "Authorization: Bearer $access_token"&lt;/P&gt;&lt;P&gt;echo " "&lt;BR /&gt;curl -d {} -X POST -s "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/commands/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeCharge/commands/activate&lt;/A&gt;" \&lt;BR /&gt;-H "Authorization: Bearer $access_token"&lt;BR /&gt;echo " "&lt;/P&gt;&lt;P&gt;curl -d {} -X POST -s "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeChargewhatever" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/devices/0/features/heating.dhw.oneTimeChargewhatever&lt;/A&gt;" \&lt;BR /&gt;-H "Authorization: Bearer $access_token"&lt;BR /&gt;echo " "&lt;/P&gt;&lt;P&gt;curl -d {} -X POST -s "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/dummy1/100/dummy2/i_do_not_like_500" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/$installationId/gateways/$gatewaySerial/dummy1/100/dummy2/i_do_not_like_500&lt;/A&gt;" \&lt;BR /&gt;-H "Authorization: Bearer $access_token"&lt;BR /&gt;echo " "&lt;/P&gt;&lt;P&gt;curl -d {} -X POST -s "&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/0123456/gateways/0123456789012345/devices/0/features/heating.dhw.oneTimeCharge/commands/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/0123456/gateways/0123456789012345/devices/0/features/heating.dhw.oneTimeCharge/commands/activate&lt;/A&gt;" \&lt;BR /&gt;-H "Authorization: Bearer $access_token"&lt;BR /&gt;echo " "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And here the outcome:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;{"data":{"properties":{"active":{"value":false,"type":"boolean"}},"commands":{"activate":{"uri":"&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/123456/gateways/012345678912345/devices/0/features/heating.dhw.oneTimeCharge/commands/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/123456/gateways/012345678912345/devices/0/features/heating.dhw.oneTimeCharge/commands/activate&lt;/A&gt;","name":"activate","isExecutable":true,"params":{}},"deactivate":{"uri":"&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/123456/gateways/012345678912345/devices/0/features/heating.dhw.oneTimeCharge/commands/deactivate" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/123456/gateways/012345678912345/devices/0/features/heating.dhw.oneTimeCharge/commands/deactivate&lt;/A&gt;","name":"deactivate","isExecutable":false,"params":{}}},"apiVersion":1,"uri":"&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/123456/gateways/012345678912345/devices/0/features/heating.dhw.oneTimeCharge" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/123456/gateways/012345678912345/devices/0/features/heating.dhw.oneTimeCharge&lt;/A&gt;","gatewayId":"012345678912345","feature":"heating.dhw.oneTimeCharge","timestamp":"2022-10-12T07:36:22.751Z","isEnabled":true,"isReady":true,"deviceId":"0"}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"viErrorId":"req-1da7d25565c74621b30768e6c34af825","statusCode":500,"errorType":"INTERNAL_ERROR","message":"Internal server error"}&lt;/P&gt;&lt;P&gt;{"viErrorId":"req-9a0d4c28f42247e089394941c718bdc4","statusCode":500,"errorType":"INTERNAL_ERROR","message":"Internal server error"}&lt;/P&gt;&lt;P&gt;{"viErrorId":"req-3aec751d97e342cd8f1d85928ae217cb","statusCode":500,"errorType":"INTERNAL_ERROR","message":"Internal server error"}&lt;/P&gt;&lt;P&gt;{"viErrorId":"req-fb596d5fbd0149f4818fa9ba76e3b226","statusCode":500,"errorType":"INTERNAL_ERROR","message":"Internal server error"}&lt;/P&gt;&lt;P&gt;{"viErrorId":"req-e56db1e7ad1c4bd98283bb01970cbc6f","statusCode":500,"errorType":"INTERNAL_ERROR","message":"Internal server error"}&lt;/P&gt;&lt;P&gt;{"viErrorId":"req-7f9c755f5c4b4312959223de98410bab","statusCode":500,"errorType":"INTERNAL_ERROR","message":"Internal server error"}&lt;/P&gt;&lt;P&gt;{"viErrorId":"req-001641c3c78d455ca0a10e6926f48657","statusCode":500,"errorType":"INTERNAL_ERROR","message":"Internal server error"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The syntax checking of the Viessmann server is really strange. Just analyse the last 3 requests.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;regards&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hgt&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 18:08:13 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/267897#M995</guid>
      <dc:creator>hgt</dc:creator>
      <dc:date>2022-10-12T18:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: I can read values from "heating.circuits.0.operating.modes.active" but I can not t set values...</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/268022#M996</link>
      <description>&lt;P&gt;&lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/56892"&gt;@hgt&lt;/a&gt; could you send me your gateway serial number (via PN) so I could have a closer look?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, please make sure the system is connected to the internet and wifi strength is sufficient to avoid potential error sources.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 06:54:29 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/268022#M996</guid>
      <dc:creator>CustomerCareMichael</dc:creator>
      <dc:date>2022-10-13T06:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: I can read values from "heating.circuits.0.operating.modes.active" but I can not t set values...</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/282377#M1122</link>
      <description>&lt;P&gt;OK, I understand the API is not working for changing values. So it is useless for me. I will disconnect the box and you won't get any data from my heating system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 14:27:48 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/282377#M1122</guid>
      <dc:creator>hgt</dc:creator>
      <dc:date>2022-11-25T14:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: I can read values from "heating.circuits.0.operating.modes.active" but I can not t set values...</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/351751#M1627</link>
      <description>&lt;P&gt;To whom&amp;nbsp; it may concern in Viessmann company.&lt;/P&gt;&lt;P&gt;Time goes by no solution no answer. Are you still there? Is anybody working on the answer?&lt;/P&gt;&lt;P&gt;regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;hgt&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 23:02:27 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/351751#M1627</guid>
      <dc:creator>hgt</dc:creator>
      <dc:date>2023-07-20T23:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: I can read values from "heating.circuits.0.operating.modes.active" but I can not t set values...</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/351802#M1628</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/56892"&gt;@hgt&lt;/a&gt;&lt;/SPAN&gt; , thanks for reminder. But as I replied to you in a DM in that time, you should be able to to read and write both the features &lt;STRONG&gt;heating.circuits.0.operating.modes.active&lt;/STRONG&gt; as well as &lt;STRONG&gt;heating.dhw.oneTimeCharge&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;For example, for executing the command of &lt;STRONG&gt;heating.dhw.oneTimeCharge&lt;/STRONG&gt;, you can use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;curl -X POST '&lt;A href="https://api.viessmann.com/iot/v1/features/installations/{{installationID}}/gateways/{{gatewaySerial}}/devices/{{deviceId}}/features/heating.dhw.oneTimeCharge/commands/activate" target="_blank"&gt;https://api.viessmann.com/iot/v1/features/installations/{{installationID}}/gateways/{{gatewaySerial}}/devices/{{deviceId}}/features/heating.dhw.oneTimeCharge/commands/activate&lt;/A&gt;'&amp;nbsp;--header 'Content-Type: application/json'&amp;nbsp;--data-raw '{}'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(of course adding a valid access token to the request)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try to execute the request. You can also use a tool like Postman to test API requests. More infos are available at the end of the getting started section of our API documentation:&amp;nbsp;&lt;A href="https://documentation.viessmann.com/static/getting-started" target="_blank"&gt;https://documentation.viessmann.com/static/getting-started&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if it works for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 06:26:39 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/351802#M1628</guid>
      <dc:creator>CustomerCareMichael</dc:creator>
      <dc:date>2023-07-21T06:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: I can read values from "heating.circuits.0.operating.modes.active" but I can not t set values...</title>
      <link>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/353760#M1636</link>
      <description>&lt;P&gt;Hello Michael,&lt;/P&gt;&lt;P&gt;there was no&amp;nbsp;&lt;SPAN&gt;reply to me in a DM in that time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But nevertheless with the command in your last msg I was able to get a meaningfull reply from the system.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I also need is the command to get "gas consumption" in cubic meters or kWh of my hybrid system 222-f.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe I'm to stupid to read/understand the API documentation (&lt;A href="https://documentation.viessmann.com/static/getting-started" target="_blank"&gt;https://documentation.viessmann.com/static/getting-started&lt;/A&gt;) but I could not find the command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you please help again?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;george&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 15:34:34 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/The-Viessmann-API/I-can-read-values-from-quot-heating-circuits-0-operating-modes/m-p/353760#M1636</guid>
      <dc:creator>hgt</dc:creator>
      <dc:date>2023-07-31T15:34:34Z</dc:date>
    </item>
  </channel>
</rss>

