<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>API Info — Glowmarkt Forum</title>
        <link>https://forum.glowmarkt.com/index.php?p=/</link>
        <pubDate>Sat, 02 May 2026 12:14:09 +0000</pubDate>
        <language>en</language>
            <description>API Info — Glowmarkt Forum</description>
    <atom:link href="https://forum.glowmarkt.com/index.php?p=/categories/api-info/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Zeros at end of readings received</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/566/zeros-at-end-of-readings-received</link>
        <pubDate>Wed, 18 Mar 2026 12:01:53 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>magnetben</dc:creator>
        <guid isPermaLink="false">566@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Just set up with the Glowmarkt API to get my home smart meter readings. I was previously using Octopus (and before that, n3rgy) but switched supplier so can&#39;t get access through them any more.</p><p>I managed to use Python to access the API. My code is here if anyone&#39;s interested: <a href="https://github.com/benshep/scripts/blob/master/get_energy_usage.py" rel="nofollow">https://github.com/benshep/scripts/blob/master/get_energy_usage.py</a> I used asyncio to do requests asynchronously (unlike other code that&#39;s been posted here - so it should be faster), and I probably need to write something to refresh the token periodically.</p><p>Found a slight issue: trying to fetch the most recent readings, there are always a set of zero readings at the end of the time series. I can filter these out, but it would be nice if these were returned as NaNs instead.</p>]]>
        </description>
    </item>
    <item>
        <title>Third Party Python Library - Available Now</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/9/third-party-python-library-available-now</link>
        <pubDate>Wed, 01 Apr 2020 10:55:43 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>blake</dc:creator>
        <guid isPermaLink="false">9@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hi all, </p><p>Some time ago I built a Python library to interface with the official HTTP offering, it also deals with some of the quirks in data retrieval.  I have been using this API for about seven or eight months and it has been working well. </p><p>I use it to return data to a custom smart hub that displays usage and cost alongside temperature and other smart device status, it runs on a raspberry Pi 3 with a 7 inch touch screen.</p><p>I would love some feedback / improvements or other people using the library.  It requires Python 3 and is available here: <a href="https://github.com/ghostseven/Hildebrand-Glow-Python-Library" rel="nofollow">https://github.com/ghostseven/Hildebrand-Glow-Python-Library </a></p><p>Thanks</p>]]>
        </description>
    </item>
    <item>
        <title>Corrupted payload.json file ?</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/518/corrupted-payload-json-file</link>
        <pubDate>Wed, 24 Sep 2025 09:27:04 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>KS_Eric</dc:creator>
        <guid isPermaLink="false">518@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>09:30 result was fine but I&#39;ve had several attempts to get one for 10:00  and none are as long as normal</p><p>attempt since 10:00:-</p><p>{&quot;SOURCE&quot;: &quot;internet&quot;, &quot;elecMtr&quot;: {&quot;0702&quot;: {&quot;00&quot;: {}}}, &quot;gasMtr&quot;: {&quot;0702&quot;: {&quot;00&quot;: {}}}, &quot;gid&quot;: &quot;70B3D521E0004D70&quot;, &quot;gmtime&quot;: 1758705416, &quot;hversion&quot;: &quot;GLOW-IHD-02-1v4-SMETS1&quot;, &quot;pan&quot;: {&quot;euis&quot;: [], &quot;join&quot;: &quot;0&quot;, &quot;lqi&quot;: &quot;28&quot;, &quot;nPAN&quot;: &quot;00&quot;, &quot;rssi&quot;: &quot;A6&quot;, &quot;status&quot;: &quot;rejoin_failed&quot;}, &quot;smetsVer&quot;: &quot;SMETS1&quot;, &quot;time&quot;: &quot;0068D3B708&quot;, &quot;ts&quot;: &quot;2025-09-24 09:16:56&quot;, &quot;upTime&quot;: &quot;000A8907&quot;, &quot;zbSoftVer&quot;: &quot;1.2.5&quot;}</p><p><br /></p><p>this was the 09:30 version (and typical of normal files ):-</p><p><br /></p><p>{&quot;SOURCE&quot;: &quot;internet&quot;, &quot;elecMtr&quot;: {&quot;0700&quot;: {&quot;06&quot;: {&quot;17&quot;: &quot;05&quot;}}, &quot;0702&quot;: {&quot;00&quot;: {&quot;00&quot;: &quot;000001DCB968&quot;, &quot;01&quot;: &quot;000000000000&quot;, &quot;02&quot;: &quot;000000000000&quot;, &quot;07&quot;: &quot;3066688E&quot;, &quot;14&quot;: &quot;02&quot;}, &quot;02&quot;: {&quot;00&quot;: &quot;00&quot;}, &quot;03&quot;: {&quot;00&quot;: &quot;00&quot;, &quot;01&quot;: &quot;00000001&quot;, &quot;02&quot;: &quot;000003E8&quot;, &quot;03&quot;: &quot;43&quot;, &quot;04&quot;: &quot;9B&quot;, &quot;06&quot;: &quot;00&quot;, &quot;07&quot;: &quot;1100025431640&quot;, &quot;08&quot;: &quot;19P0305160&quot;}, &quot;04&quot;: {&quot;00&quot;: &quot;FFFFFFDB&quot;, &quot;01&quot;: &quot;000A5A&quot;, &quot;30&quot;: &quot;000000&quot;, &quot;40&quot;: &quot;000000&quot;}}, &quot;0705&quot;: {&quot;00&quot;: {&quot;00&quot;: &quot;00D5&quot;, &quot;01&quot;: &quot;00000000&quot;}}}, &quot;ets&quot;: &quot;2025-09-24 08:30:06&quot;, &quot;gasMtr&quot;: {&quot;0702&quot;: {&quot;00&quot;: {}}}, &quot;gid&quot;: &quot;70B3D521E0004D70&quot;, &quot;gmtime&quot;: 1758702609, &quot;hversion&quot;: &quot;GLOW-IHD-02-1v4-SMETS1&quot;, &quot;pan&quot;: {&quot;euis&quot;: [], &quot;join&quot;: &quot;0&quot;, &quot;lqi&quot;: &quot;44&quot;, &quot;nPAN&quot;: &quot;00&quot;, &quot;rssi&quot;: &quot;AD&quot;, &quot;status&quot;: &quot;joined&quot;}, &quot;smetsVer&quot;: &quot;SMETS1&quot;, &quot;time&quot;: &quot;0068D3AC11&quot;, &quot;ts&quot;: &quot;2025-09-24 08:30:09&quot;, &quot;upTime&quot;: &quot;000A7E10&quot;, &quot;zbSoftVer&quot;: &quot;1.2.5&quot;}</p>]]>
        </description>
    </item>
    <item>
        <title>Units incorrect in meterread API</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/505/units-incorrect-in-meterread-api</link>
        <pubDate>Sat, 26 Jul 2025 09:13:25 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>schmerg</dc:creator>
        <guid isPermaLink="false">505@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hi,I&#39;ve just received my CAD (and very nice it is too) meaning that I can now retrieve actual meter readings via the API but I notice that the readings are not in the units specified, when read from any of the various resources</p><p>GET: <a href="https://api.glowmarkt.com/api/v0-1/resource/9ac20014-9178-473c-98d2-6d02f2bd485e/meterread" rel="nofollow">https://api.glowmarkt.com/api/v0-1/resource/[...]/meterread</a></p><p>{&#39;status&#39;: &#39;OK&#39;, &#39;name&#39;: &#39;Smart Meter, gas consumption&#39;, &#39;resourceTypeId&#39;: &#39;[...]&#39;, &#39;resourceId&#39;: [...]&#39;, &#39;data&#39;: [[1753520321, 92316]], &#39;units&#39;: &#39;m3&#39;, &#39;classifier&#39;: &#39;gas.consumption&#39;}</p><p>This seems to report 92316 cubic meters of gas where the actual figure in 92.316 (as reported on the CAD and with my provider etc) so is out by a factor of 1000</p><p>GET: <a href="https://api.glowmarkt.com/api/v0-1/resource/a0e5ade5-59ff-4a1e-a855-92ea91d69562/meterread" rel="nofollow">https://api.glowmarkt.com/api/v0-1/resource/[...]/meterread</a></p><p>{&#39;status&#39;: &#39;OK&#39;, &#39;name&#39;: &#39;Smart Meter, electricity consumption&#39;, &#39;resourceTypeId&#39;: &#39;[...]&#39;, &#39;resourceId&#39;: &#39;[...]&#39;, &#39;data&#39;: [[1753520321, 15019494]], &#39;units&#39;: &#39;Wh&#39;, &#39;classifier&#39;: &#39;electricity.consumption&#39;}</p><p>And this seems to report 15019494 Wh of electricity, or 15,019.494 kWh where the correct figure (again from provider and your CAD and my existing smart meter) is 1,501.9494 kWh so is out by a factor of 10</p><p>I&#39;ve put a fudge factor in my script to retrieve these for now, but thought you might want to correct the units and/or numbers</p>]]>
        </description>
    </item>
    <item>
        <title>Cloud mqtt outage</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/100/cloud-mqtt-outage</link>
        <pubDate>Tue, 24 Aug 2021 21:07:32 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>clivee</dc:creator>
        <guid isPermaLink="false">100@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Apologies to anyone who had mqtt issues this evening.</p><p>It looks like (atm) that we had a some sort of DOS attack on mqtt authentication.</p><p>I will be reviewing stuff, but it caused major internal issues and I may need to decouple the mqtt feed further from our core systems. </p><p>This will inevitably make the mqtt more delayed and less reliable.</p><p>I will advise you before I make any major changes.</p>]]>
        </description>
    </item>
    <item>
        <title>Bad topic subscription attemts</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/493/bad-topic-subscription-attemts</link>
        <pubDate>Tue, 25 Mar 2025 10:37:37 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>clivee</dc:creator>
        <guid isPermaLink="false">493@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>As a result of the outage I have been watching the logs and see a lot of people trying to subscribe to topics like</p><p>$SYS/broker/connection/core-mosquitto.glowmqtt1/state</p><p>rather than </p><p>SMART/HILD/${MAC}</p><p>Given the issue is widespread I imagine it is an HA library that has been broken - does anyone have an idea what it might be.</p>]]>
        </description>
    </item>
    <item>
        <title>Glowmarkt API data retrieval using GoogleAppsScript</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/452/glowmarkt-api-data-retrieval-using-googleappsscript</link>
        <pubDate>Thu, 14 Mar 2024 14:55:24 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>JerryFr</dc:creator>
        <guid isPermaLink="false">452@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>I want to use GoogleAppsScript and am following the API documentation.</p><p>I can successfully perform Step 1.Authenticate, i.e., obtain &ldquo;valid&rdquo;:true, and a &ldquo;token&rdquo;. I also retrieve an undocumented &quot;isTempAuth&quot;:false.</p><p>So, then I move to Step 2. Get all virtual identities, using:</p><p>&middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GET,</p><p>&middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;contentType&quot;:application/json,</p><p>&middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&ldquo;applicationId&quot;:b0f1b774-a586-4f72-9edd-27ead8aa7a8d,</p><p>&middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and my token.</p><p>But I get an exception -  &ldquo;Request failed for <a href="https://api.glowmarkt.com" rel="nofollow">https://api.glowmarkt.com</a> returned code 400. Truncated server response: {&quot;error&quot;:&quot;bad request&quot;,&quot;message&quot;:&quot;bad request&quot;}&rdquo;</p><p>Have been banging my head for a long time now, any ideas, or anyone else found this?</p>]]>
        </description>
    </item>
    <item>
        <title>API virtualentity returns 400 Bad Request</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/492/api-virtualentity-returns-400-bad-request</link>
        <pubDate>Fri, 21 Mar 2025 09:29:15 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>Geoffers</dc:creator>
        <guid isPermaLink="false">492@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hi - newbie here, following the &quot;Extracting Data from API in 5 Easy Steps&quot; blog...</p><p>Using &quot;Postmaster&quot;, I&#39;ve had no problem  with <a href="https://api.glowmarkt.com/api/v0-1/auth" rel="nofollow">https://api.glowmarkt.com/api/v0-1/auth</a> to get my token</p><p>But when I enter the token into <a href="https://api.glowmarkt.com/api/v0-1/virtualentity" rel="nofollow">https://api.glowmarkt.com/api/v0-1/virtualentity</a> I just get &quot;400 Bad request&quot;</p><p>{</p><p>&nbsp; &nbsp; &quot;error&quot;: &quot;bad request&quot;,</p><p>&nbsp; &nbsp; &quot;message&quot;: &quot;bad request&quot;</p><p>}</p><p>I&#39;ve tried everything - things which I guess shouldn&#39;t make a difference like changing the order of parameters; moving from  input parameters to the raw: body. Submitting without parameters also, so I&#39;m obviously missing something.</p><p>Any suggestions greatfully received, thanks Geoff</p><p>&lt;edit&gt; - started investigating  Glowmarkt&#39;s Swagger UI and I do seem to get some response via this method</p><p>for instance using <a href="https://api.glowmarkt.com/api/v0-1/resource" rel="nofollow">https://api.glowmarkt.com/api/v0-1/resource</a> via &quot;Postmaster&quot; I get 400 bad Request, but authorising and submitting via Swagger I do get the expected response &lt;/edit&gt;</p>]]>
        </description>
    </item>
    <item>
        <title>Difficulty setting up API access - &quot;missing required elements -veTypeId&quot;</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/226/difficulty-setting-up-api-access-missing-required-elements-vetypeid</link>
        <pubDate>Sat, 13 Aug 2022 21:19:34 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>dw1958uk</dc:creator>
        <guid isPermaLink="false">226@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>I am trying to get started with retrieving data from a Chameleon IHD. Following the guidance in the API I can submit user details and get status 200 and a token - but when I progress to the next stage (Get all virtual entities&nbsp;) I get status 400 and the following JSON </p><p>{&#39;error&#39;: &#39;missing required elements -veTypeId,/resources or autocreate/&#39;}</p><p>Has anyone else seen this? I only just got my smart meter and although data is coming through to the Bright app, my energy supplier can&#39;t see it yet. Do I just need to wait, or am I submitting my request wrong?</p><p>I&#39;m using Python, calling</p><p>response = rq.post(&quot;<a href="https://api.glowmarkt.com/api/v0-1/virtualentity&quot;" rel="nofollow">https://api.glowmarkt.com/api/v0-1/virtualentity&quot;</a>, headers=&#39;&quot;Content-Type&quot;: &quot;application/json&quot;, &quot;applicationId&quot;: strAID, &quot;token&quot;: strToken)&#39;</p><p>All help gratefully received</p>]]>
        </description>
    </item>
    <item>
        <title>Multiple arrays of data returned</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/468/multiple-arrays-of-data-returned</link>
        <pubDate>Wed, 19 Jun 2024 20:49:37 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>wardy</dc:creator>
        <guid isPermaLink="false">468@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hello :)</p><p>I&#39;m querying the API at: <a href="https://api.glowmarkt.com/api/v0-1/resource/1cc63b25-7794-47b5-90d8-03219ccbd3e5/readings?from=2024-06-17T00:00:00&amp;to=2024-06-18T23:59:59&amp;period=P1D&amp;offset=-60&amp;function=sum" rel="nofollow">https://api.glowmarkt.com/api/v0-1/resource/&lt;&lt;MyResourceId&gt;&gt;/readings?from=2024-06-17T00:00:00&amp;to=2024-06-18T23:59:59&amp;period=P1D&amp;offset=-60&amp;function=sum</a></p><p>But I&#39;m struggling to understand why I&#39;m seeing two sets of data returned.</p><p>{</p><p>    &quot;status&quot;: &quot;OK&quot;,</p><p>    &quot;name&quot;: &quot;electricity consumption&quot;,</p><p>    &quot;query&quot;: {</p><p>        &quot;from&quot;: &quot;2024-06-17T00:00:00&quot;,</p><p>        &quot;to&quot;: &quot;2024-06-18T23:59:59&quot;,</p><p>        &quot;period&quot;: &quot;P1D&quot;,</p><p>        &quot;function&quot;: &quot;sum&quot;</p><p>    },</p><p>    &quot;data&quot;: [</p><p>        [</p><p>            1718582400,</p><p>            14.003</p><p>        ],</p><p>        [</p><p>            1718668800,</p><p>            12.683</p><p>        ]</p><p>    ],</p><p>    &quot;units&quot;: &quot;kWh&quot;,</p><p>    &quot;classifier&quot;: &quot;electricity.consumption&quot;</p><p>}</p><p>Does anyone know why I&#39;m seeing this?</p><p>Thanks.</p>]]>
        </description>
    </item>
    <item>
        <title>Shine API access</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/458/shine-api-access</link>
        <pubDate>Tue, 07 May 2024 19:26:27 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>Phytone</dc:creator>
        <guid isPermaLink="false">458@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Is it possible to get API access to the data within the Shine app? Looking through the forum, the only ID seems to relate to Bright. </p><p>I recently got AC coupled battery storage and Shine seems to hold the data I want for Home Assistant, but I can&#39;t figure out how to get it.</p>]]>
        </description>
    </item>
    <item>
        <title>Gas consumption not matching Octopus API</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/447/gas-consumption-not-matching-octopus-api</link>
        <pubDate>Sat, 24 Feb 2024 13:15:33 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>Andyb23</dc:creator>
        <guid isPermaLink="false">447@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hi there, I started using the Glow platform API in December for electric consumption and the data is perfect. There are odd points where some very recent readings get picked up despite earlier readings still being unavailable but it usually sorts itself out within a day or 2</p><p>However I have recently had my meters upgraded to SMETS2 so I now have access to GAS as well as electric via the Glow API. Unfortunately the gas consumption data is frequently missing, either for a full day, or for parts of a day. The Octopus API seems to have it all</p><p>Has anyone else experienced this and can anyone advise how to resolve this?</p>]]>
        </description>
    </item>
    <item>
        <title>Fill historic data</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/422/fill-historic-data</link>
        <pubDate>Sat, 21 Oct 2023 22:28:31 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>grahamshaw</dc:creator>
        <guid isPermaLink="false">422@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hi</p><p>New user.</p><p>Is there an api call to request back filling, I currently have data from late August but need from at least 11 Aug as E.On are useless 😎</p><p>G</p>]]>
        </description>
    </item>
    <item>
        <title>Values changing</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/355/values-changing</link>
        <pubDate>Thu, 16 Mar 2023 09:46:20 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>nitram</dc:creator>
        <guid isPermaLink="false">355@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>i am collecting my 30Min readings using the api and noticed that i get a negative reading if my solar pv is exporting enough over the 30 minute period. But the -ve values only appear if I access them on the day they occur. If I access the previous days readings on the next or subsequent days then the -ve readings have changed to a positive reading.  Can anyone explain this behaviour????</p>]]>
        </description>
    </item>
    <item>
        <title>API servers down?</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/415/api-servers-down</link>
        <pubDate>Sun, 24 Sep 2023 10:57:01 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>andrewjb</dc:creator>
        <guid isPermaLink="false">415@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>I&#39;m getting 500 Internal Server Error from my api calls this morning, and Bright app is unable to download any history (though it still shows &#39;Power now&#39; - I assume that&#39;s collected directly from the Glowstick locally)</p><p>Is it just me?</p>]]>
        </description>
    </item>
    <item>
        <title>Latest Meter Readings</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/329/latest-meter-readings</link>
        <pubDate>Tue, 24 Jan 2023 16:49:53 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>jstirzaker</dc:creator>
        <guid isPermaLink="false">329@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hi there,</p><p>I&#39;ve just joined the community and discovering how to use the API. I do not have a CAD and am instead obtaining the DCC data from midnight last night (which is fine for my purposes now).</p><p>So far I&#39;ve created a token with Auth and can see my Virtual Entries. When i attempt to do a &#39;current&#39; or &#39;meterread&#39; for &#39;electricity consumption&#39; I get no data or not implemented. And then when i try to use the resource period for &#39;readings&#39; as per below it gives me the usage for the timeframe (eg 1 hour). How can i change this to get the last raw/absolute meter reading?</p><p>api .. /resource/{id}/readings?from=2023-01-23T00:00:00&amp;to=2023-01-23T23:59:59&amp;period=PT1H&amp;offset=0&amp;function=sum</p><p>Two questions really, can i use a different value for &#39;function=&#39; above to get raw value (know of sum or avg)? Or is there another endpoint I can use to get the last DCC meter reading?</p><p>Thanks in advance,</p><p>Jarad</p>]]>
        </description>
    </item>
    <item>
        <title>Is the standing charge included when querying cost?</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/404/is-the-standing-charge-included-when-querying-cost</link>
        <pubDate>Fri, 21 Jul 2023 04:22:27 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>kevinwilson</dc:creator>
        <guid isPermaLink="false">404@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hello,</p><p>I&#39;m using the API to retrieve the cost of consumed electricity for a given time period covering one or more days, with a 30 minute aggregation level. I can&#39;t work out whether the values returned include the standing charge, or just the cost of the electricity - it seems to vary, and I can&#39;t see a pattern for when it does. Is it supposed to include the standing charge, and if so is it in only one of the 30 minute periods (presumably 00:00 to 00:30 am)?</p><p>Thanks</p>]]>
        </description>
    </item>
    <item>
        <title>Help to access data using API</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/119/help-to-access-data-using-api</link>
        <pubDate>Sat, 11 Dec 2021 15:30:29 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>Tim</dc:creator>
        <guid isPermaLink="false">119@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hi,</p><p>I&#39;m trying to access web-based data from glowmarkt.  I&#39;m trying to use a Node Red HTTP request node to send Bright app userid and password to <a href="https://api.glowmarkt.com/api/v0-1/auth" rel="nofollow">https://api.glowmarkt.com/api/v0-1/auth</a> embedding the content type and applicationId in headers.  I&#39;ve spent hours researching the use of the HTTP request node but keep getting statusCode: 500.</p><p>To try to find where the problem lies, I tried using the example cURL from a command prompt on my Raspberry Pi, substituting my own credentials </p><p>curl -X POST -H &quot;Content-Type: application/json&quot; -H &quot;applicationId: b0f1b774-a586-4f72-9edd-27ead8aa7a8d&quot; -d &#39;{&quot;username&quot;: &quot;MYBRIGHTIDHERE&quot;, &quot;password&quot;:&quot;MYBRIGHTPASSWORDHERE&quot;}&#39; <a href="https://api.glowmarkt.com/api/v0-1/auth&quot;" rel="nofollow">https://api.glowmarkt.com/api/v0-1/auth&quot;</a></p><p>The response was a string with a token in.  When I used the next cURL example:</p><p>curl -X GET -H &quot;Content-Type: application/json&quot; -H &quot;token:MYVERYLONGTOKENRECEIVEDINTHELASTSTEPPASTEDINTOHERE&quot; -H &quot;applicationId:b0f1b774-a586-4f72-9edd-27ead8aa7a8d&quot; &ldquo;https://api.glowmarkt.com/api/v0-1/virtualentity&quot;</p><p>I just got a /&gt; prompt (By the way, it looks like enter a single greater than character causes the text to become quoted).  After pressing enter a couple of times, I got:</p><p>curl: (3) URL using bad/illegal format or missing URL</p><p>curl: (6) Could not resolve host: application</p><p>I can&#39;t progress the Node red implementation to receive historical data until I&#39;ve sorted out why the examples from the <a href="https://www.google.co.uk/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwivxta8h9z0AhXPi1wKHfiPCMAQFnoECAsQAQ&amp;url=https%3A%2F%2Fdocs.glowmarkt.com%2FGlowmarktAPIDataRetrievalDocumentationIndividualUserForBright.pdf&amp;usg=AOvVaw12aCRITTJIk8WF2LtVO9Ym" rel="nofollow">API Documentation</a> don&#39;t seem to work from a command prompt.  I have seen that there are Postman and Swagger means to access the data and that others have created Python and HA integration but I&#39;d just like to use Node red.</p><p>Does anyone have any idea what&#39;s not right here?</p>]]>
        </description>
    </item>
    <item>
        <title>Future API - Features Or Changes You Would Like To See</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/12/future-api-features-or-changes-you-would-like-to-see</link>
        <pubDate>Sun, 05 Apr 2020 16:33:40 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>blake</dc:creator>
        <guid isPermaLink="false">12@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hi all, </p><p>Hildebrand are potentially looking into exposing more of their API&#39;s to the public, with this in mind what features or changes would you like to see? </p><p>I hope we can use this discussion to bounce around some ideas, especially if people use the current API in different ways or have different needs.</p><p>For me at this stage I hope that they can fix some of the minor bugs / inconstancies with the current cost reporting (not a major issue at all and is easy worked around).  As to new features I am all ears 😀</p>]]>
        </description>
    </item>
    <item>
        <title>Cloud MQTT</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/349/cloud-mqtt</link>
        <pubDate>Thu, 02 Mar 2023 15:39:00 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>RogerSelwyn</dc:creator>
        <guid isPermaLink="false">349@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Just checking to see if anyone else is seeing a cloud MQTT issue? My app is still updating but nothing on MQTT. Time on the last message is 11:51:16.</p><p>I&#39;d literally just installed a SMETS2 IHD with local MQTT at a second property within 30 mins of the feed stopping, so don&#39;t know if this is a coincidence or if something specific to me has gone wrong,</p>]]>
        </description>
    </item>
    <item>
        <title>API certificate expired</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/328/api-certificate-expired</link>
        <pubDate>Tue, 24 Jan 2023 09:21:14 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>arronharden</dc:creator>
        <guid isPermaLink="false">328@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Morning, looks like the certificate has expired for api.glowmarkt.com.</p><pre spellcheck="false">&gt;openssl s_client -connect api.glowmarkt.com:443
CONNECTED(00000003)
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify return:1
depth=1 C = US, O = Let&#39;s Encrypt, CN = R3
verify return:1
depth=0 CN = *.glowmarkt.com
verify error:num=10:certificate has expired
notAfter=Jan 24 08:01:21 2023 GMT
verify return:1
depth=0 CN = *.glowmarkt.com
notAfter=Jan 24 08:01:21 2023 GMT
verify return:1
...
</pre><p><br /></p>]]>
        </description>
    </item>
    <item>
        <title>Interfacing to Domoticz using MQTT</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/10/interfacing-to-domoticz-using-mqtt</link>
        <pubDate>Thu, 02 Apr 2020 09:49:18 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>sidepipe</dc:creator>
        <guid isPermaLink="false">10@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Just thought I&#39;d share how simple it is to interface the GlowCAD data to Domoticz HA server using Node Red and MQTT. If you&#39;re running Domoticz on a Pi, you can follow the instructions to install Node Red here <a href="https://nodered.org/docs/getting-started/raspberrypi" rel="nofollow">https://nodered.org/docs/getting-started/raspberrypi</a> - if you&#39;ve never seen it, it&#39;s a brilliantly simple way to take data from sensors and manipulate it for import into other systems.</p><p>In Domoticz, you simply need to add hardware &quot;MQTT Client Gateway with LAN Interface,&quot; just use &quot;none&quot; as the publish topic. Then import my Node Red flow into Node Red ( import is on the main menu accessed top right. ) You&#39;ll also need to create virtual sensors of type Electric ( Instant + Counter ) for Import and Export, a Gas Meter for Gas, and I also have a user variable which is a signed version of the current grid power ( -ve = export. )</p><p><a href="https://bit.ly/3aBG8wr" rel="nofollow">https://bit.ly/3aBG8wr</a> </p><p>You&#39;ll need to double-click on the Hilderbrand SMQTT node and change the Topic, then click on the edit button next to &quot;Hildebrand Encrypted MQTT&quot; and set your username/password under &quot;security.&quot; Both of these details will be supplied when you get MQTT access from Hildebrand. Finally, change the &quot;idx&quot; values in the various &quot;Update...&quot; nodes to match your virtual devices/variable ( or just remove them if you don&#39;t use them. )</p><p>Since the data&#39;s updated every 10 seconds or so ( for electricity ) it opens up quite a few possibilities. For example, I have an event script which turns on an air source heat pump in my office if average export for the last 5 minutes is higher than 650W AND the Honeywell EvoHome zone setpoint is above 18 degrees. It also lowers the zone by one degree and sets the heat pump one degree higher ( so I use gas if there&#39;s no sun, and the heat pump when there is, but still control either source via the Honeywell wall thermostat.... ) This is all reverted if average export drops below 200W.</p>]]>
        </description>
    </item>
    <item>
        <title>Peak and off peak data per day</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/166/peak-and-off-peak-data-per-day</link>
        <pubDate>Wed, 13 Apr 2022 17:48:43 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>tedtomato</dc:creator>
        <guid isPermaLink="false">166@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hi,</p><p>I am trying to understand how I could use the API to get a view on KWh used for the R1 rate (day) and KWh used for the R2 rate (offpeak).</p><p>Do we have access to the R1 and R2 values through the API?</p><p>Or do I need to load all 30 min data into a respository/db and do some grouping there?</p><p>Ideally, I would like to use Python.</p><p>Thanks!</p>]]>
        </description>
    </item>
    <item>
        <title>API - electricity.consumption.cost displays units as &quot;W&quot; not &quot;pence&quot;</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/308/api-electricity-consumption-cost-displays-units-as-w-not-pence</link>
        <pubDate>Wed, 14 Dec 2022 11:36:59 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>CurtisMcK</dc:creator>
        <guid isPermaLink="false">308@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Dear Hive,</p><p>I am currently trying to display the current electricity cost on my system - similar to the home page on the Bright App, I have the electricity.consumption value returned correctly with the correct &quot;units&quot; (W). However when requesting the electricity.consumption.cost value I get the same &quot;data&quot; and &quot;units&quot; values returned from the electricity.consumption call.</p><p>The request I am using is,</p><p>&quot;https://api.glowmarkt.com/api/v0-1/resource/f6def7be-993a-409f-9c67-7a919a853efa/current&quot;</p><p>JSON returned is,</p><p>{</p><p>	&quot;status&quot;: &quot;OK&quot;,</p><p>	&quot;name&quot;: &quot;electricity cost&quot;,</p><p>	&quot;resourceTypeId&quot;: &quot;78859e39-611e-4e84-a402-1d4460abcb56&quot;,</p><p>	&quot;resourceId&quot;: &quot;f6def7be-993a-409f-9c67-7a919a853efa&quot;,</p><p>	&quot;data&quot;: [</p><p>		[</p><p>			1671015029,</p><p>			353</p><p>		]</p><p>	],</p><p>	&quot;units&quot;: &quot;W&quot;,</p><p>	&quot;classifier&quot;: &quot;electricity.consumption.cost&quot;</p><p>}</p><p>As you can see the &quot;units&quot;: &quot;W&quot; </p><p>Thanks all in advance</p><p>Curtis</p>]]>
        </description>
    </item>
    <item>
        <title>Handling -ve export values in home assistant (hassio)</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/64/handling-ve-export-values-in-home-assistant-hassio</link>
        <pubDate>Fri, 02 Apr 2021 12:10:55 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>jklondon</dc:creator>
        <guid isPermaLink="false">64@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Using the template from here - <a href="https://gist.github.com/ndfred/5bb51b567f8cfaf2bb06da6393169321" rel="nofollow">https://gist.github.com/ndfred/5bb51b567f8cfaf2bb06da6393169321</a></p><p>Which is working except when I am exporting the grid I get these sort of values when for example IHD is showing -1.000</p><p><a href="https://ibb.co/hDzLvhz" rel="nofollow">ihd1 &mdash; ImgBB (ibb.co)</a></p><p>Does anyone know how to adjust the template so its reads correctly on hassio?</p><p>Thanks!</p>]]>
        </description>
    </item>
    <item>
        <title>Gas readings started to all be zero</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/278/gas-readings-started-to-all-be-zero</link>
        <pubDate>Thu, 03 Nov 2022 06:44:14 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>mike</dc:creator>
        <guid isPermaLink="false">278@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Up until 2022-10-26 22:00 I was receiving hourly gas readings without any problem but when I have fetched gas readings over the last six days they have all been zero e.g:</p><p>[&nbsp;[ 1666825200, 0 ], [ 1666828800, 0 ],&nbsp;[ 1666832400, 0 ]]</p><p>I have checked that the gas resourceId is still correct.</p><p>Electricity readings are coming through fine.</p><p>Has anyone else experienced this?</p>]]>
        </description>
    </item>
    <item>
        <title>Data from cloud MQTT service crashing Glow2MQTT HASS add-on</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/293/data-from-cloud-mqtt-service-crashing-glow2mqtt-hass-add-on</link>
        <pubDate>Fri, 18 Nov 2022 17:16:47 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>bertha73</dc:creator>
        <guid isPermaLink="false">293@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>In the past couple of weeks I&#39;ve been getting the following error log from the Glow2MQTT add-on for Home Assistant:</p><pre spellcheck="false">MQTT found in this Home Assistant instance.
Starting glow2mqtt.py...
MQTT connected...
Connected to Glow MQTT broker...
Configuring Home Assistant...
{&#39;elec_imp&#39;: 42749.539, &#39;watt_now&#39;: 454}
{&#39;elec_imp&#39;: 42749.542, &#39;watt_now&#39;: 461}
Traceback (most recent call last):
  File &quot;/glow2mqtt.py&quot;, line 240, in &lt;module&gt;
    mqttg.loop_forever()
  File &quot;/usr/lib/python3.10/site-packages/paho/mqtt/client.py&quot;, line 1756, in loop_forever
    rc = self._loop(timeout)
  File &quot;/usr/lib/python3.10/site-packages/paho/mqtt/client.py&quot;, line 1164, in _loop
    rc = self.loop_read()
  File &quot;/usr/lib/python3.10/site-packages/paho/mqtt/client.py&quot;, line 1556, in loop_read
    rc = self._packet_read()
  File &quot;/usr/lib/python3.10/site-packages/paho/mqtt/client.py&quot;, line 2439, in _packet_read
    rc = self._packet_handle()
  File &quot;/usr/lib/python3.10/site-packages/paho/mqtt/client.py&quot;, line 3033, in _packet_handle
    return self._handle_publish()
  File &quot;/usr/lib/python3.10/site-packages/paho/mqtt/client.py&quot;, line 3327, in _handle_publish
    self._handle_on_message(message)
  File &quot;/usr/lib/python3.10/site-packages/paho/mqtt/client.py&quot;, line 3570, in _handle_on_message
    on_message(self, self._userdata, message)
  File &quot;/glow2mqtt.py&quot;, line 83, in process_msg
    if &#39;00&#39; in data[&#39;elecMtr&#39;][&#39;0702&#39;][&#39;04&#39;]:
KeyError: &#39;04&#39;
s6-rc: info: service legacy-services: stopping
</pre><p>I have to restart the add-on manually and it then runs for an indeterminate period before crashing with the same error.</p>]]>
        </description>
    </item>
    <item>
        <title>Moved from CAD (GlowStick) to home display IHD and lost instant gas power</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/294/moved-from-cad-glowstick-to-home-display-ihd-and-lost-instant-gas-power</link>
        <pubDate>Fri, 18 Nov 2022 18:29:37 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>GordonFreemanK</dc:creator>
        <guid isPermaLink="false">294@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Hi!</p><p>I bought the SMETS1 GlowStick a few months back. I got remote MQTT activated and started reading the MQTT information from glowmqtt.energyhive.com, everything was great, in the sense that I was getting instant and cumulative (daily and reading) kWh consumption for both gas and electricity.</p><p>I bought he IHD recently (for local MQTT), and after receiving it, I started using it. It&#39;s still working for most things, but I lost the instant gas consumption on the way...</p><p>This is the case for the application, the API and MQTT, but it&#39;s most obvious to me for MQTT because I have full logs from monitoring.</p><p>I can clearly see it&#39;s the case, because I have stuff logged and what used to work stopped working. I used to get the instant gas from <code spellcheck="false">value[&#39;gasMtr&#39;][&#39;0702&#39;][&#39;04&#39;][&#39;00&#39;]</code>  and that was working perfectly fine. I&#39;ve got months of readings to prove it.</p><p>Since I got the IHD, this is what I receive on the MQTT topic. As you can see, instant reading (0702.04.00) is there for the electricity meter but absent for the gas meter:</p><pre spellcheck="false">{
&nbsp; &nbsp; ...,
&nbsp; &nbsp; &quot;elecMtr&quot;: {
&nbsp; &nbsp; &nbsp; &nbsp; &quot;0700&quot;: { ... },
&nbsp; &nbsp; &nbsp; &nbsp; &quot;0702&quot;: {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;03&quot;: { ... },
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;00&quot;: { ... },
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;04&quot;: {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;30&quot;: &quot;000000&quot;,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;40&quot;: &quot;000000&quot;,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;01&quot;: &quot;002710&quot;,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;00&quot;: &quot;0000022C&quot;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;02&quot;: { ... }
&nbsp; &nbsp; &nbsp; &nbsp; },
&nbsp; &nbsp; &nbsp; &nbsp; &quot;0705&quot;: { ... }
&nbsp; &nbsp; },
&nbsp; &nbsp; &quot;gasMtr&quot;: {
&nbsp; &nbsp; &nbsp; &nbsp; &quot;0702&quot;: {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;03&quot;: { ... },
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;00&quot;: { ... },
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;04&quot;: {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;30&quot;: &quot;000000&quot;,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;40&quot;: &quot;000000&quot;,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;01&quot;: &quot;006E14&quot;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;02&quot;: { ... }
&nbsp; &nbsp; &nbsp; &nbsp; },
&nbsp; &nbsp; &nbsp; &nbsp; &quot;0705&quot;: { ... }
&nbsp; &nbsp; },
&nbsp; &nbsp; ...
}
</pre><p>Now that I have local MQTT, I can also confirm that on the local MQTT sensor topics</p><p>Electricity: </p><pre spellcheck="false">{
&nbsp; &nbsp; &quot;electricitymeter&quot;: {
&nbsp; &nbsp; &nbsp; &nbsp; &quot;timestamp&quot;: &quot;2022-11-18T17:50:24Z&quot;,
&nbsp; &nbsp; &nbsp; &nbsp; &quot;energy&quot;: {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;export&quot;: { ... },
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;import&quot;: { ... }
&nbsp; &nbsp; &nbsp; &nbsp; },
&nbsp; &nbsp; &nbsp; &nbsp; &quot;power&quot;: {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;value&quot;: 0.569,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;units&quot;: &quot;kW&quot;
&nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; }
}
</pre><p>Gas:</p><pre spellcheck="false">{
&nbsp; &nbsp; &quot;gasmeter&quot;: {
&nbsp; &nbsp; &nbsp; &nbsp; &quot;timestamp&quot;: &quot;2022-11-18T17:50:25Z&quot;,
&nbsp; &nbsp; &nbsp; &nbsp; &quot;energy&quot;: {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;import&quot;: {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;cumulative&quot;: 56942.363,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;day&quot;: 28.18,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;week&quot;: null,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;month&quot;: null,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;units&quot;: &quot;kWh&quot;,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;cumulativevol&quot;: 56942.363,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;cumulativevolunits&quot;: &quot;kWh&quot;,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;dayvol&quot;: 28.18,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;weekvol&quot;: null,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;monthvol&quot;: null,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;dayweekmonthvolunits&quot;: &quot;kWh&quot;,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;mprn&quot;: REDACTED,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;supplier&quot;: &quot;---&quot;,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;price&quot;: {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;unitrate&quot;: 0.11812,
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;standingcharge&quot;: 0.28476
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; }
}
</pre>]]>
        </description>
    </item>
    <item>
        <title>Incorrect off peak data in the Bright app and Glowmarkt API</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/169/incorrect-off-peak-data-in-the-bright-app-and-glowmarkt-api</link>
        <pubDate>Mon, 25 Apr 2022 04:34:39 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>tedtomato</dc:creator>
        <guid isPermaLink="false">169@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Unfortunately, the Glow API (and Bright App) are giving wrong information when it comes to off peak data, for people on Economy 7.</p><p>According to the both the App and API, I am supposed to be on off peak between 23:30 and 08:30.</p><p>Unfortunately, there is a gap between 01:30 and 03:30 (when energy goes back to peak) but neither the App or API detect it.</p><p>The kWh (consumption) returned by the API for every 30 min slots is correct, but the cost is wrong, since the rates applied are wrong.</p>]]>
        </description>
    </item>
    <item>
        <title>No data in todays query</title>
        <link>https://forum.glowmarkt.com/index.php?p=/discussion/279/no-data-in-todays-query</link>
        <pubDate>Thu, 03 Nov 2022 09:34:45 +0000</pubDate>
        <category>API Info</category>
        <dc:creator>adidev</dc:creator>
        <guid isPermaLink="false">279@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>I&#39;m trying to make a dashboard on my own home automation system. When I query:</p><pre spellcheck="false">https://api.glowmarkt.com/api/v0-1/resource/{{resourceId}}/readings?from=2022-11-03T00:00:00&amp;to=2022-11-03T09:27:38&amp;period=P1D&amp;offset=-60&amp;function=sum
</pre><p>I have response:</p><pre spellcheck="false">{&quot;status&quot;:&quot;OK&quot;,&quot;name&quot;:&quot;electricity consumption&quot;,&quot;resourceTypeId&quot;:&quot;{{resourceTypeId}}&quot;,&quot;resourceId&quot;:&quot;{{resourceId}}&quot;,&quot;query&quot;:{&quot;from&quot;:&quot;2022-11-03T00:00:00&quot;,&quot;to&quot;:&quot;2022-11-03T09:27:38&quot;,&quot;period&quot;:&quot;P1D&quot;,&quot;function&quot;:&quot;sum&quot;},&quot;data&quot;:[[1667433600,0]],&quot;units&quot;:&quot;kWh&quot;,&quot;classifier&quot;:&quot;electricity.consumption&quot;}
</pre><p>Can someone explain, what I&#39;m doing wrong?</p>]]>
        </description>
    </item>
   </channel>
</rss>
