Get Weather
The desktop's weather: its condition, temperature (°C), wind (km/h), Rain, Cloud and Daylight (0 to 1).
ƒGet Weather
Condition
Temperature
Wind
Rain
Cloud
Daylight
Known
Inputs
None.
Outputs
| Pin | Type |
|---|---|
Conditioncondition | text |
Temperaturetemperature | number |
Windwind | number |
Rainrain | number |
Cloudcloud | number |
Daylightdaylight | number |
Knownknown | bool |
The code it becomes
The graph below written as a script would write it.
// On Scene Startscene.log((String((scene.weather || {}).condition || "")));In a graph
◆On Scene Start
ƒGet Weather
Condition
Temperature
Wind
Rain
Cloud
Daylight
Known
ƒPrint
In Text
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.