-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathconfig.php
executable file
·95 lines (79 loc) · 2.62 KB
/
config.php
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?php
return array(
/**
* Defines whether to display the temperature in degrees Fahrenheit or degrees Celsius.
*
* Values:
* "c" Ceslius
* "f" Farenheit
*/
"unit" => "c",
/**
* Contains settings for notifications
*/
"notification" => array(
/**
* The maximum temperature of the Pi. If the temperature raises
* above this level, a notification will be sent.
*/
'max_temp' => 50.0,
/**
* Define if the IP address of the Raspberry Pi is added to the notification.
*/
'show_ip_address' => true,
/**
* Define if the hostname of the Raspberry Pi is added to the notification.
*/
'show_hostname' => true,
/**
* Enable email notifications.
* Keep in mind that you have to set the email_address
* too. Otherwise you won't get any email.
*/
'enable_email' => false,
/**
* An array of all email addresses that should receive an email notification
* when the temperature is raised too high.
*/
'email_addresses' => array(
),
/**
* Enable notifications with Pushover.
* Take a look at http://pushover.net if you don't know that service.
* You just need to download their application and signup.
*/
'enable_pushover' => false,
/**
* Drop in your userkey from Pushover. This one is used for sending messages
* to your devices.
*/
'pushover_userkey' => 'YOUR_USER_KEY',
/**
* Enable notifications with Pushbullet (Android only).
* Take a look at https://www.pushbullet.com if you don't know that service.
* You just need to download their application and signup.
*/
'enable_pushbullet' => false,
/**
* Drop in your device-id from Pushbullet. It is used for sending messages
* to your device. You can find your device ID in Pushbullet´s dashboard.
*/
'pushbullet_deviceid' => 'YOUR_DEVICE_ID',
/**
* Drop in your API-Key from Pushbullet. It is used to access the Pushbullet
* service. You can find your device ID in Pushbullet´s account settings.
*/
'pushbullet_apikey' => 'YOUR_API_KEY',
),
/**
* The instance of PiTemp Server.
* At the moment the PiTemp Server is only used to deliver Pushover notifications
* to Pushover.net. It's a way to hide our Pushover application key.
* If you want to use your own instance you can get it from
* https://github.com/fechu/PiTemp-Server.git. Installation instructions are also
* available on github. Once you have your setup configured just drop in
* the URL to the pushover.php file in the root directory of PiTemp Server.
*/
'pi_temp_server' => 'http://pitemp.fidelisfactory.ch/pushover.php',
);