Preview
A fast and clear Weather Forecast that works completely in the Widget, showing Fahrenheit and Celcius.
What's New
Version 1.11
Replaced the clock symbol at the 10-day-forecast, now showing the Day of the date instead of it
What it does
32 actions-
CommentRoutineHubUpdate Current Version: "1.11" RoutineHub ID: "2241" RoutineHubUpdate
-
Text
-
Set VariableOrt
-
Text
-
Set VariableChart
-
Get Current Weather
-
Text
-
Calculate
-
Round Number
-
Nothing
-
Get Dictionary Value
-
Get Variable
-
Get Dictionary Value
-
Text
-
Get Weather Forecast
-
Repeat with Each
-
Text
-
Add to Variable
-
Text
-
Text
-
Set Name
-
Get Variable
-
Choose from List
-
Get Weather Forecast
-
Repeat with Each
-
Text
-
Add to Variable
-
Text
-
Text
-
Set Name
-
Get Variable
-
Choose from List
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/math'
#include 'actions/location'
#define color yellow
#define glyph cloudService
/*
RoutineHubUpdate
Current Version: "1.11"
RoutineHub ID: "2241"
RoutineHubUpdate
*/
@Ort = "nil"
@Chart = "{\\"0\\":\\"□□□□□□□□□□\\",\\"1\\":\\"■□□□□□□□□□\\",\\"2\\":\\"■■□□□□□□□□\\",\\"3\\":\\"■■■□□□□□□□\\",\\"4\\":\\"■■■■□□□□□□\\",\\"5\\":\\"■■■■■□□□□□\\",\\"6\\":\\"■■■■■■□□□□\\",\\"7\\":\\"■■■■■■■□□□\\",\\"8\\":\\"■■■■■■■■□□\\",\\"9\\":\\"■■■■■■■■■□\\",\\"10\\":\\"■■■■■■■■■■\\"}"
getCurrentWeather(@Ort)
round(0)
nothing()
// TODO: Get Variable not supported: Assign variable here to '@Chart'.
getWeatherForecast("Hourly")
for _ in nil {
@WetterStdl += "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8: ◴ {@RepeatItem['Date']} • ✹ {@RepeatItem['Temperature']} / {['Temperature']} • ☂︎ {@RepeatItem['Precipitation Chance']}%;;;\nORG;CHARSET=utf-8:;;;\nEND:VCARD"
}
const NamenKonfigurieren = setName(nil, "Stdl.vcf")
// TODO: Get Variable not supported: Assign variable here to 'NamenKonfigurieren'.
chooseFromList(nil)
getWeatherForecast("Daily")
for _ in nil {
@WetterTgl += "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:{@RepeatItem['Date']} • ✹ {@RepeatItem['Temperature']} / {@RepeatItem['Temperature']} • ☂︎ {@RepeatItem['Precipitation Chance']}%;;;\nORG;CHARSET=utf-8:;;;\nEND:VCARD"
}
const NamenKonfigurieren1 = setName(nil, "Tgl.vcf")
// TODO: Get Variable not supported: Assign variable here to 'NamenKonfigurieren1'.
chooseFromList(nil)
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by dtd4204
You Might Also Like
Advertisement