This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const newCasesApiUrl = `https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/DIVI_Intensivregister_Landkreise/FeatureServer/0/query?f=json&where=1%3D1&returnGeometry=false&spatialRel=esriSpatialRelIntersects&outFields=*&orderByFields=Anteil_betten_frei%20desc&resultOffset=0&resultRecordCount=4000&resultType=standard&cacheHint=true`; | |
/* Bundesland-ID: | |
Baden-Württemberg: 8 | |
Bayern: 9 | |
Berlin: 11 | |
Brandenburg: 12 | |
Bremen: 4 | |
Hamburg: 2 | |
Hessen: 6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Parameters: | |
// {"url":"http://grafana","bearer":"123abc"} | |
// Optional key in parameters: "theme": system|light|dark|grafana | |
let grafanaURL = "" //set the URL here for debug | |
let grafanaBearer = "" // set the API-key here for debug | |
let wTheme = "system" // set the theme for debug | |
if (config.runsInWidget) { | |
const widgetParams = (args.widgetParameter != null ? JSON.parse(args.widgetParameter) : null) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: cyan; icon-glyph: database; | |
const warningColor = new Color("#E50000") | |
const legendFont = 12 | |
const valueFont = 24 | |
const timeFont = 8 | |
let sensor = 1721 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: orange; icon-glyph: apple-alt; | |
let stores = await getStoreList() | |
let table = new UITable() | |
for(let i in stores) { | |
let row = new UITableRow() | |
let store = stores[i] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Parameters: | |
// {"url":"https://pihole","token": "x"} | |
// Optional key in parameters: "theme": system|light|dark | |
let piholeURL = "" // set the URL here for debug | |
let apiToken = "" // set the api token here for debug | |
let wTheme = "" // set the theme for debug | |
if (config.runsInWidget) { | |
const widgetParams = (args.widgetParameter != null ? JSON.parse(args.widgetParameter) : null) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: yellow; icon-glyph: magic; | |
// | |
// This script was inspired by the famous telekom api script | |
// and just adjusted to pare the json output from a fronius inverter | |
// | |
const apiUrl = "http://xxx.xxx.xxx.xxx/solar_api/v1/GetPowerFlowRealtimeData.fcgi" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let movieId, country, quality | |
if (country == null && movieId == null && quality == null) { | |
country = 'de' | |
movieId = 991367195 //example id for Minions movie | |
quality = 'hd' | |
} | |
// api link | |
let link = 'https://itunes.apple.com/lookup?' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: green; icon-glyph: magic; | |
// dm Klopapier & Mehl Widget | |
// | |
// Copyright (C) 2020 by marco79 <[email protected]> | |
// | |
// Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. | |
// | |
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: orange; icon-glyph: sun; | |
/////////////////////////////////////////////////////////////////////// | |
// dawn2dusk.js | |
// Origin: | |
// https://gist.github.com/HendrikRunte/4b5d03cb26e31508bc96553ad3c10f47 | |
// Take it and have fun. | |
// Hendrik Runte, Nov 12, 2020, 17:33. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Lizenz: AGES Dashboard COVID19 AT | |
// 3-stellige GKZ verwenden (zweite Spalte in https://covid19-dashboard.ages.at/data/CovidFaelle_GKZ.csv). | |
// Widget Parameter: "204,KFL;312;706" für Klagenfurt Land (angezeigt als KFL), Korneuburg und Landeck | |
// | |
// Basiert auf der deutschen Variante von | |
// - kevinkub https://gist.github.com/kevinkub/46caebfebc7e26be63403a7f0587f664 | |
// - Baumchen https://gist.github.com/Baumchen/6d91df0a4c76c45b15576db0632e4329 | |
// | |
// Angaben ohne Gewähr. |