<?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 "API usage questions (2)" in Getting started programming with the Viessmann API</title>
    <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/178956#M11</link>
    <description>&lt;P&gt;After getting my API-Token (and refreshing it) I stumbled on the following questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Since the number of API-Calls are limited the use a single call for each requested value is not the intended way, how shall we concentate multiple requests in one API-Call? An example of such a request on the Portal would help users to create such calls, which in turn would reduce the load on your server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Currently I am using&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;getHeatingBurnerStatistics("hours"&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;)&lt;/EM&gt; and&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;getHeatingBurnerStatistics("starts"), however both are not listed on the Developer Portal (Tab IOT). Are these the ones that are no longes accesible in the new API.&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 23 Jun 2021 10:06:04 GMT</pubDate>
    <dc:creator>JueBag</dc:creator>
    <dc:date>2021-06-23T10:06:04Z</dc:date>
    <item>
      <title>API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/178956#M11</link>
      <description>&lt;P&gt;After getting my API-Token (and refreshing it) I stumbled on the following questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Since the number of API-Calls are limited the use a single call for each requested value is not the intended way, how shall we concentate multiple requests in one API-Call? An example of such a request on the Portal would help users to create such calls, which in turn would reduce the load on your server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Currently I am using&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;getHeatingBurnerStatistics("hours"&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;)&lt;/EM&gt; and&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;getHeatingBurnerStatistics("starts"), however both are not listed on the Developer Portal (Tab IOT). Are these the ones that are no longes accesible in the new API.&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Jun 2021 10:06:04 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/178956#M11</guid>
      <dc:creator>JueBag</dc:creator>
      <dc:date>2021-06-23T10:06:04Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/178988#M12</link>
      <description>&lt;P&gt;I would second that request, as those are some of the most important properties of a heating system&amp;nbsp; - how often did the burner start and how long did it run, as well as ideally also the current modulation of the burner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;heating.burner.modulation&lt;/P&gt;&lt;P&gt;heating.burner.statistics.hours&lt;/P&gt;&lt;P&gt;heating.burner.statistics.starts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please enable access to those simple three number values for the Developer Portal API Keys&amp;nbsp; - thanks a lot in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 14:02:59 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/178988#M12</guid>
      <dc:creator>phildaub23</dc:creator>
      <dc:date>2021-06-23T14:02:59Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/178996#M13</link>
      <description>&lt;P&gt;&lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/13760"&gt;@phildaub23&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have an idea how to concentate several API Calls or shall we allways call for all features (I don't think/hope so).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 14:44:57 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/178996#M13</guid>
      <dc:creator>JueBag</dc:creator>
      <dc:date>2021-06-23T14:44:57Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/178997#M14</link>
      <description>&lt;P&gt;&lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/23149"&gt;@JueBag&lt;/a&gt;&amp;nbsp;yes sure, just call the device features api and you get all sensor values of your device at once in one single request.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 14:47:11 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/178997#M14</guid>
      <dc:creator>phildaub23</dc:creator>
      <dc:date>2021-06-23T14:47:11Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/178999#M15</link>
      <description>&lt;P&gt;&lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/23149"&gt;@JueBag&lt;/a&gt;&amp;nbsp;or did I understand you wrong? If you need only a few specific values and not everything all the time, you can filter with a regex in the request, like described in the API documentation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;regex&lt;/LI&gt;&lt;LI&gt;heating.circuits.%5b0-2%5d.operating.programs.\w+$&lt;/LI&gt;&lt;LI&gt;regular expression query for returning only matched features&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 23 Jun 2021 14:52:06 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/178999#M15</guid>
      <dc:creator>phildaub23</dc:creator>
      <dc:date>2021-06-23T14:52:06Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179000#M16</link>
      <description>&lt;P&gt;Thanks for the answer, however I was hoping for another answer (from Viessmann!). IMHO most users won't need all those data points (for me its only 91). That (desired?) procedure will be causing unneccessary load, wasn't that reason to come up with an API limit?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 14:53:21 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179000#M16</guid>
      <dc:creator>JueBag</dc:creator>
      <dc:date>2021-06-23T14:53:21Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179001#M17</link>
      <description>&lt;P&gt;??&lt;/P&gt;&lt;P&gt;I migth have missunderstood that part of the docs.&lt;/P&gt;&lt;P&gt;Is that filtering with regex working on the request (i.e. really limiting what is sent to me), I (miss?)understood that as filtering the response.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 14:59:48 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179001#M17</guid>
      <dc:creator>JueBag</dc:creator>
      <dc:date>2021-06-23T14:59:48Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179002#M18</link>
      <description>&lt;P&gt;Yes you understood that right, it filters the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you try it? You can do ranges, wildcards, or select multiple different data points via regex "or" operators.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you need lets say those three features:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;heating.solar.pumps.circuit&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;heating.solar.sensors.temperature.collector&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;heating.solar.sensors.temperature.dhw&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can request it via the regex:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;heating.solar.(pumps.circuit|sensors.(temperature.collector|temperature.dhw))&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This allows you to "&lt;SPAN&gt;concentate several API Calls"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 15:03:20 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179002#M18</guid>
      <dc:creator>phildaub23</dc:creator>
      <dc:date>2021-06-23T15:03:20Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179005#M19</link>
      <description>&lt;P&gt;Thanks for those insights.&lt;/P&gt;&lt;P&gt;If its really filtering on the received response ( in other words I do get the whole answer) I'll probaly stick with parsing the JSON string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 15:15:32 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179005#M19</guid>
      <dc:creator>JueBag</dc:creator>
      <dc:date>2021-06-23T15:15:32Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179006#M20</link>
      <description>&lt;P&gt;No, you do not get the whole answer, you get only those data points you are interested in. Also, this (much shorter) response also needs less data transfer of course. The response has to be JSON parsed anyways, the only difference is whether you are getting one huge JSON or a much smaller JSON that is only containing interesting data.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 15:19:20 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179006#M20</guid>
      <dc:creator>phildaub23</dc:creator>
      <dc:date>2021-06-23T15:19:20Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179011#M21</link>
      <description>&lt;P&gt;Now I got! (.stupid.me!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could I ask you for an example call, because I do not understand how to do this concetation with REGEX.&lt;/P&gt;&lt;P&gt;The example in the docs just show&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/{installationId}/gateways/{gatewaySerial}/devices/{deviceId}/" target="_blank"&gt;https://api.viessmann.com/iot/v1/equipment/installations/{installationId}/gateways/{gatewaySerial}/devices/{deviceId}/&lt;/A&gt;&lt;STRONG&gt;features{?regex,filter}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The problem is what to put in for bold part.&lt;/P&gt;&lt;P&gt;-the term "features" is needed, but no "/" afterwards?&lt;/P&gt;&lt;P&gt;-Is the "?" and/or the term "regex" needed?&lt;/P&gt;&lt;P&gt;- Would such:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;heating.solar.(pumps.circuit|sensors.(temperature.collector|temperature.dhw))&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;be a correct concentated input for the filter?&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;</description>
      <pubDate>Wed, 23 Jun 2021 15:36:02 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179011#M21</guid>
      <dc:creator>JueBag</dc:creator>
      <dc:date>2021-06-23T15:36:02Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179014#M22</link>
      <description>&lt;P&gt;I just tried it out and works like a charm:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://api.viessmann.com/iot/v1/equipment/installations/{installationId}/gateways/{gatewayId}/devices/{deviceId}/features?regex=heating.solar.%28pumps.circuit%7Csensors.temperature.%28collector%7Cdhw%29%29" target="_blank" rel="noopener"&gt;https://api.viessmann.com/iot/v1/equipment/installations/{installationId}/gateways/{gatewayId}/devices/{deviceId}/features?regex=heating.solar.%28pumps.circuit%7Csensors.temperature.%28collector%7Cdhw%29%29&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I don't know if it is necessary to urlencode all the brackets but it certainly doesn't hurt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: the url is cropped when I post it - it ends with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;?regex=heating.solar.%28pumps.circuit%7Csensors.temperature.%28collector%7Cdhw%29%29&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 23 Jun 2021 15:55:58 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179014#M22</guid>
      <dc:creator>phildaub23</dc:creator>
      <dc:date>2021-06-23T15:55:58Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179015#M23</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll incooperate that into my requests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I'm coming from the openHAB community, I'll post my (more correctly yours!) findings in a tutorial thread on the openHAB forum.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 16:05:46 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179015#M23</guid>
      <dc:creator>JueBag</dc:creator>
      <dc:date>2021-06-23T16:05:46Z</dc:date>
    </item>
    <item>
      <title>Betreff: API usage questions (2)</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179016#M24</link>
      <description>&lt;P&gt;Glad I could help!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 16:18:51 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/API-usage-questions-2/m-p/179016#M24</guid>
      <dc:creator>phildaub23</dc:creator>
      <dc:date>2021-06-23T16:18:51Z</dc:date>
    </item>
  </channel>
</rss>

