Using WebCore, but can't get weather working. Here's what I've done so far:
- Installed WebCore Storage app
- Signed up for openweathermap and created an API key
- Added that into WebCore app settings
- Confirmed I have my lat & long in WebCore app settings
- Waited 12 hours
- Opened WebCore Storage app, clicked "Dump weather structure" and got a full list of data
But when I try to use $weather in any expression inside a piston, I get "null" or nothing at all.
What am I missing?
It would be good to show the piston and the output of the weather dump.
My guess is some typo in the expression you are using.
Ah, you're right! I figured since just plain "$weather" was returning null, that meant it was broken, so I didn't even bother experimenting with different expressions. The one expression I had been using was:
$weather.conditions.windSpeed
but as you suggested, that was where the issue was - when I change it to $weather.current.wind_speed (using the info from the weather structure dump), it worked.
Thank you!