Replies: 4 comments
-
I think it is a good idea. Maybe we should add not only windgusts to the current condition, but merge everything we have in the forecast section (for the current time), or add it as a nested dict? Something like |
Beta Was this translation helpful? Give feedback.
-
Well to be honest, the idea wasto be able to get current conditions from an underpowered device like Tasmota. And that has very limited JSON pasing abilities. In fact, by now I learned Tasmote cannot do arrays of objects (only arrays of values) so indeed it would be needed to create a non-array variant of 'current_conditions' For now, I got it to work with a different provider then wttr |
Beta Was this translation helpful? Give feedback.
-
It is a good news that your problem is solved, but it would be really great from my perspective if we could manage to work it with wttr.in too. |
Beta Was this translation helpful? Give feedback.
-
For Tasmota specifically, nested is OK, as long as it is not nested arrays, or any non-atomic structures inside arrays (I may not be using the correct JSON vocabulary) But generalising it, yes, for simple IoT devices, and simple programming within those devices, a |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to add Windgust to the current conditions in the JSON reply we get from this example link.
It is in the hourly list, but that is not trivial to retrieve, but it is not in the current conditions list.
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions