-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
executable file
·46 lines (46 loc) · 1.61 KB
/
app.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"name": "Screenly Dynamic Content",
"description": "An example script for creating a dynamic playlist based on weather conditions using Screenly Pro's API",
"image": "heroku/python",
"repository": "https://github.com/anaglyph/screenly-dynamic-content",
"keywords": [
"python",
"digital-signage",
"api"
],
"formation": {
"worker": {
"quantity": 1
}
},
"env": {
"RAIN_PLAYLIST_ID": {
"description": "The id of the RAIN playlist you want to enable/disable."
},
"COLD_PLAYLIST_ID": {
"description": "The id of the COLD playlist you want to enable/disable."
},
"TOKEN": {
"description": "The Screenly Pro API token."
},
"DARKSKY_API_KEY": {
"description": "Your API key from Darksky."
},
"LAT": {
"description": "The latitude of the location you want to monitor. Defaults to '51.5115473' for Soho, London.",
"value": "51.5115473"
},
"LNG": {
"description": "The longitude of the location you want to monitor. Defaults to '-0.1373117' for Soho, London.",
"value": "-0.1373117"
},
"TEMP_THRESHOLD": {
"description": "The temperature threshold for where the playlist is triggered (above or below) in Celcius. Defaults to '0'.",
"value": "0"
},
"ABOVE_OR_BELOW": {
"description": "If the threshold the event should be triggered above or below. Defaults to 'below'.",
"value": "below"
}
}
}