-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsettings.php
More file actions
83 lines (71 loc) · 3.59 KB
/
settings.php
File metadata and controls
83 lines (71 loc) · 3.59 KB
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
<?php
# See index for more informations
# Set parameters by default
$setting['refresh'] = 900; // refresh setting in seconds (ex : 900 -> 5 minutes)
$setting['font'] = 7; // font setting (1-8)
$setting['theme'] = 0; // theme setting (0-1)
$setting['scroll'] = 1; // scroll setting (0-1)
$setting['light'] = 1; // light setting (0-1)
$setting['blink'] = 3; // blink setting (1-10)
$setting['vibrate'] = 1; // vibrate setting (0 - 3)
$setting['updown'] = 1; // Up/Down Scrolling mode (0) or Up/Down button mode (1)
$setting['auth'] = "randomsalt"; //salt
// More information of options in source : https://github.com/bahbka/pebble-my-data
# Settings for Pebble Token Security
$setting['check_security'] = false; // Activate (True) or Disable (False) the check Security
$setting['pebble_token'] = ""; // Set your Pebble Token (you can set it in Pebble app > My Data > Server auth settings)
$setting['password_auth'] = ""; // Set your password
# Settings Do Not Disturb Mode -> stop vibrations & blinks between stop and start hours (like night for example)
$setting['DoNotDisturb']['active'] = false; //active (true) ou inactive (false)
$setting['DoNotDisturb']['start'] = 23; // Hour to start Do Not Disturb mode
$setting['DoNotDisturb']['stop'] = 7; // Hour to stop Do Not Disturb mode
$setting['DoNotDisturb']['refresh'] = 1800; // Refresh all 30 minutes
$setting['DoNotDisturb']['vibrate'] = 0; // Vibrate off
$setting['DoNotDisturb']['blink'] = 0; // Blink off
# Settings contents to display
// For each button, you can set content and refresh/blink/vibrate options
// Content setting can be set to message text or url with content json result
// Type setting should be set according to content type (text or url)
$setting['default']['content'] = 'Hello World !'; // You can set an url with content json result (then change type to url)
$setting['default']['type'] = 'text'; //Set Type = text or url
$setting['shake']['content'] = 'Shake ok';
$setting['shake']['type'] = 'text'; //text or url
$setting['shake']['refresh'] = '';
$setting['shake']['blink'] = 0;
$setting['shake']['vibrate'] = '';
$setting['up_short']['content'] = 'Up Short';
$setting['up_short']['type'] = 'text'; //text or url
$setting['up_short']['refresh'] = 15;
$setting['up_short']['blink'] = 0;
$setting['up_short']['vibrate'] = '';
$setting['up_long']['content'] = 'Up Long';
$setting['up_long']['type'] = 'text'; //text or url
$setting['up_long']['refresh'] = 5;
$setting['up_long']['blink'] = 0;
$setting['up_long']['vibrate'] = '';
$setting['down_short']['content'] = 'Down Short';
$setting['down_short']['type'] = 'text'; //text or url
$setting['down_short']['refresh'] = 30;
$setting['down_short']['blink'] = 0;
$setting['down_short']['vibrate'] = '';
$setting['down_long']['content'] = 'Down Long';
$setting['down_long']['type'] = 'text'; //text or url
$setting['down_long']['refresh'] = 15;
$setting['down_long']['blink'] = 0;
$setting['down_long']['vibrate'] = '';
$setting['select_short']['content'] = 'Select Short';
$setting['select_short']['type'] = 'text'; //text or url
$setting['select_short']['refresh'] = '';
$setting['select_short']['blink'] = 0;
$setting['select_short']['vibrate'] = '';
$setting['select_long']['content'] = 'Select Long';
$setting['select_long']['type'] = 'text'; //text or url
$setting['select_long']['refresh'] = 5;
$setting['select_long']['blink'] = 0;
$setting['select_long']['vibrate'] = '';
$setting['error']['content'] = 'Error ! Access denied !';
$setting['error']['type'] = 'text'; //text or url
$setting['error']['refresh'] = 900;
$setting['error']['blink'] = 5;
$setting['error']['vibrate'] = 3;
?>