home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Retrieve Weather Data from Netatmo for WorldWeather Plugin xml
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rick164" data-source="post: 1116894" data-attributes="member: 17766"><p>Fixed the bugs and it can now retrieve temperature and humidity from the last 30 minutes, it retrieves the auth and device ID on error (token expired for instance)</p><p></p><p>Couldn't find a clear way of knowing which values belong to which as the SDK example only lists those two:</p><p></p><p><a href="https://dev.netatmo.com/doc/sdk/win8" target="_blank">https://dev.netatmo.com/doc/sdk/win8</a></p><p><a href="https://dev.netatmo.com/doc/methods/getmeasure" target="_blank">https://dev.netatmo.com/doc/methods/getmeasure</a></p><p></p><p>Code is also up on github:</p><p></p><p><a href="https://github.com/RickDB/NetAtmo.Net/tree/master/NetAtmo.NET" target="_blank">https://github.com/RickDB/NetAtmo.Net/tree/master/NetAtmo.NET</a></p><p></p><p></p><p>/edit:</p><p></p><p>found out how it formats the response, pretty easy now that I get it <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" /></p><p>Basically we request values (temp/hum in example) and it will list them in that order, can add more like C02 etc.. but depends on how much information we can retrieve and is actually useful in the WorldWeather plugin.</p><p></p><p>/edit 2: added some more values (long/lat etc..) to the retrieval and it will display them in the UI, think that is all the info we can get from the device API at least:</p><p></p><p><a href="https://dev.netatmo.com/doc/methods/devicelist" target="_blank">https://dev.netatmo.com/doc/methods/devicelist</a></p><p></p><p>New version attached and added version number to the title.</p></blockquote><p></p>
[QUOTE="Rick164, post: 1116894, member: 17766"] Fixed the bugs and it can now retrieve temperature and humidity from the last 30 minutes, it retrieves the auth and device ID on error (token expired for instance) Couldn't find a clear way of knowing which values belong to which as the SDK example only lists those two: [url]https://dev.netatmo.com/doc/sdk/win8[/url] [url]https://dev.netatmo.com/doc/methods/getmeasure[/url] Code is also up on github: [url]https://github.com/RickDB/NetAtmo.Net/tree/master/NetAtmo.NET[/url] /edit: found out how it formats the response, pretty easy now that I get it :p Basically we request values (temp/hum in example) and it will list them in that order, can add more like C02 etc.. but depends on how much information we can retrieve and is actually useful in the WorldWeather plugin. /edit 2: added some more values (long/lat etc..) to the retrieval and it will display them in the UI, think that is all the info we can get from the device API at least: [url]https://dev.netatmo.com/doc/methods/devicelist[/url] New version attached and added version number to the title. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Retrieve Weather Data from Netatmo for WorldWeather Plugin xml
Contact us
RSS
Top
Bottom