About getting current temperature from forecast.io inside Node Red

454 views
Skip to first unread message

Kyaw Zin Latt

unread,
Sep 7, 2014, 11:29:36 PM9/7/14
to node...@googlegroups.com
Hi Guys,

I would like to know how to get just only current temperature from forecast.io using Node Red. How to filter that message coming from https://api.forecast.io to get current temperature. Or any other API that can provide the current temperature e.g. accuweather in mobile devices.

thanks

Edward Vielmetti

unread,
Sep 7, 2014, 11:52:50 PM9/7/14
to node...@googlegroups.com


--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Edward Vielmetti +1 734 330 2465

Dave C-J

unread,
Sep 8, 2014, 10:33:04 AM9/8/14
to node...@googlegroups.com
I've also been using  http://openweathermap.org/api
with some success - don't poll too quickly...
returns nicely formatted json which is easy to pick apart... msg.payload.main.temp  etc
(noting that they use K - so subtract 273.15 for C)

Paul Reed

unread,
Sep 8, 2014, 3:46:14 PM9/8/14
to node...@googlegroups.com
I've just added my weather flow to nodered.org which parses very accurate, calibrated data from NOAA, which is the weather data coordinating organisation for every airport worldwide. If you live anywhere near an airport, just substitute it's ICAO airport code in the function node, and the flow should just run as is.
Even if you don't use this flow, it may help you develop a flow for forecast.io

Paul

Kyaw Zin Latt

unread,
Sep 12, 2014, 9:08:35 PM9/12/14
to node...@googlegroups.com
Many thanks to you all.
It is working fine now.
Reply all
Reply to author
Forward
0 new messages