Skip to content

This is a Scriptable widget is a costumized version of mzeryck's Weather-Cal widget. For German users I added functionality to display the left data volume of your T-Mobile data plan and some Covid-19 data from Robert-Koch-Institute.

Notifications You must be signed in to change notification settings

icsAT/Weather-Cal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Weather-Cal (Scriptable App für Apple Devices)

This is a Scriptable widget is a costumized version of mzeryck's Weather-Cal widget. For German users I added functionality to display the left data volume of your T-Mobile data plan and some Covid-19 data from Robert-Koch-Institute. This is a Scriptable widget is a fork of the weather-cal.js from Max Zeryck (https://github.com/mzeryck/Weather-Cal). Everything about the Script is explained on his GitHub project.

What I did is to add functionality for a small group of people in the custom item section of his script. In that way I added the left data volume of your T-Mobile data plan, some Robert-Koch Institut data about Covid-19 (new Cases in Germany, the incidence value of the local or a fixed state area and the new cases in that area).

The Data form Robert-Koch Institute is used under the license of Robert Koch-Institut (RKI), dl-de/by-2-0

I want to say thank you to:

Beispiel für ein mittleres Widget:

IMG_1484 IMG_1485

Additional Functions:

tmobile:

This item shows your data left from your T-Mobile Germany data plan. It requires data connectivity over the mobile network to get or refresh the data. A red antenna means there is no data connectivity over the mobile network (you are using wifi f.e.) or it is read from cache since it's not outdated. A green antenna means you got fresh data over the mobile network. The green bullet means you used less than 75% of your data plan, it turns orange between 75% and less than 90% and red if you have used 90% or more. You can change the text after the volume left in the configuration section (see below) of the code.

Bildschirmfoto 2020-11-29 um 00 46 39

c19de:

This item shows yesterday's new covid-19 cases from the Robert-Koch Institute. You can change the text after the new cases in the configuration section (see above) of the code.

c19rki:

This item shows yesterday's incidence value and new covid-19 cases from the Robert-Koch Institute. You are able to set the limits for the color bullets, the number of letters for the area name, your own area name and geodata for a fixed place in the configurations section (see below) of the code.

picWC

Version

Version 0.89 (08/16/2023)

Version 0.88 (03/09/2023)

  • Changes the RKI COVID-19 API call since the RKI changed the API.

Version 0.87 (02/17/2022)

  • Changed the RKI COVID-19 API call since thr RKI changed the API.

Version 0.86 (11/14/2021)

  • Removed not working vodafone support.
  • Removed the Covid-19 values state websites since they changed and were not working anymore.

Version 0.85 (12/22/2020)

  • I changed caching of the T-Mobile informations to the functions of the base script. This should not have any effect on your use, besides you are able to set after what time a refresh should be done.
  • I introduced caching to the RKI and state Covid-19 data, so its not read from an extern source that often. You are able to set the refresh time in minutes for each item.
  • I added support for the Vodafone Germany data plan. This is very experimental since I don't own a Vodafone Dataplan on my own and I have no idea if this works. Feel free to test it and give me feedback.

Version 0.84 (12/15/2020)

  • Removed trailing comma in the layout, since they are raising errors in Max new version.

Version 0.83 (12/01/2020)

  • I added Berlin to the c19state item.

Version 0.82 (11/29/2020)

  • I added more states to the c19state item. (Hamburg, Hessen, Bayern, Schleswig-Holstein, Rheinland-Pfalz)
  • There was an issue with the dark red bullets, that were never used if the incidence value was over 100.

Version 0.81 (11/29/2020)

  • There was an issue (Error on using c19Settings) if you use own geodata. This is fixed now.

Version 0.80 (11/29/2020)

  • Very first test version using the new custom area of Max's script.

Here is the configuration I used for the medium widget:

IMG_1484 IMG_1485

Configuration inside the code is already done, if you use the above code. But you have to change the configuration of the script by starting it from the scriptable app and then chose "Edit preferences". To get the above result I used the following configuration.

Overall settings: IMG_1648

Localization and text customization: IMG_1487

Text size, colors, and fonts: IMG_1649 IMG_1650

Date: IMG_1490

Events: IMG_1491

Reminders: IMG_1492

Sunrise and sunset: IMG_1493

Weather: IMG_1651 IMG_1495

COVID data: IMG_1496

Symbols: IMG_1652

News: IMG_1653

Here is the configuration I used for the large widget:

IMG_1476

The configuration inside the code has to be changed. You have to change the layout like this:

Bildschirmfoto 2020-12-15 um 09 21 49

Everything else inside the code is fine as it is to start with.

Overall settings: IMG_1654

Localization and text customization: IMG_1498

Text size, colors, and fonts: IMG_1655 IMG_1656

Date: IMG_1501

Events: IMG_1502

Reminders: IMG_1503

Sunrise and sunset: IMG_1504

Weather: IMG_1657 IMG_1506

COVID data: IMG_1507

Symbols: IMG_1658

News: IMG_1659

About

This is a Scriptable widget is a costumized version of mzeryck's Weather-Cal widget. For German users I added functionality to display the left data volume of your T-Mobile data plan and some Covid-19 data from Robert-Koch-Institute.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published