Skip to content
Snippets Groups Projects
Commit 932f42f2 authored by Chris Heitkamp / SuperVirus's avatar Chris Heitkamp / SuperVirus Committed by Chris Heitkamp
Browse files

Fixed wrong phone number, added open/closed icons, disabled caching.

parent 2336f943
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@
'lat' => 51.943376,
),
'contact' => Array(
'phone' => '+49 49 251 39500271',
'phone' => '+49 251 39500271',
'twitter' => '@warpzone_ms',
'email' => 'office@warpzone.ms',
'irc' => 'irc://irc.freenode.net/#warpzone',
......@@ -46,19 +46,25 @@
),
'state' => Array(
'open' => $wankerTuerOffen,
'icon' => Array(
'open' => 'https://www.warpzone.ms/api/warpzone_open.png',
'closed' => 'https://www.warpzone.ms/api/warpzone_closed.png',
),
),
/* Caching disabled, re-enable to allow caching by spaceapi.net
'cache' => Array(
'schedule' => 'm.02'
),
*/
'sensors' => Array(
'temperature' => Array(
Array(
'value' => intval($wankerTempLounge),
'value' => $wankerTempLounge,
'unit' => '°C',
'location' => 'Lounge',
),
Array(
'value' => intval($wankerTempWerkstatt),
'value' => $wankerTempWerkstatt,
'unit' => '°C',
'location' => 'Werkstatt',
),
......
api/warpzone_closed.png

7.41 KiB

api/warpzone_open.png

7.42 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment