This page last changed on Sep 10, 2013 by louise35.


On the screen, I want to have the weather. I'm using an API which come from :

I can display the weather (Cloudy, Chancerain, Sunny) but I want to have the icon which corresponds. All icons are here:

I enter on my http command :
XPath Expression: //response/current_observation/weather

Someone can help me,
Thank you in advance,


Your command seems OK. With that command make a sensor of type:Custom, where you enter all the possible weather types.
You than must download all the possible images. Next in one of your screens add an image widget. Select the Sensor you just created. Than under sensor state you can bind the images to the weathertypes.
(See here how I did it with heating symbols Under Implementation example, click on second and third screenshot to see full image))


edit: Descriptions related to icons are here:

Posted by pz1 at Sep 10, 2013 14:56

Did this work for you?

Posted by pz1 at Sep 16, 2013 08:33

Yes I think. But I can't use this (wunderground) api, this have a limit of time. Did you know an other?
Thank you for your answer!
Did you know if we can send mail?

Thank you!

Posted by louise35 at Sep 16, 2013 09:01

I do use the free version of Wunderground. To reduce the number of calls I make a download of the complete xml tree every 15 minutes or so as I decribed it here: Last section Availability of XML data. As a matter of fact I now use crontab to get the data, since the timed shell executes proved to be very unreliable.

Posted by pz1 at Sep 16, 2013 09:10
Document generated by Confluence on Jun 05, 2016 09:41