forked from Nickduino/Pi-Somfy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefaultConfig.conf
92 lines (75 loc) · 3.59 KB
/
defaultConfig.conf
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
[General]
# location of log files (required)
LogLocation = /var/log/
# PUT YOUR OWN COORDINATES HERE
# Latitude of the place for computation of sunset and sunrise.
# check on Google Maps for instance
Latitude = 51.4769
# PUT YOUR OWN COORDINATES HERE
# Longitude of the place for computation of sunset and sunrise.
# check on Google Maps for instance
Longitude = 0
# Repeat each command a certain number of times. This is to ensure it works
# if the remote is far away from the shutter and sometime EMI prevents a
# signal to go through
# This option only applies if a shutter is raised or lowered in full. If
# a shutter is only raised or lowered for a given amount of seconds, this
# option does not apply for obvious reasons.
SendRepeat = 2
# (Optional) This parameter specifes the GPIO connector where the 433.42 MHz
# emitter is connected to. The default value is 4
TXGPIO = 4
# This parameter, if true will enable the use of HTTPS
# (secure HTTP) in the Flask web app or user name and password
# authentication, depending on the options below. This option is only
# applicable to the web app. This option requires python-openssl library
# to be installed
UseHttps = False
# (Optional) This parameter will allow the HTTP port to be set by the web
# interface. The default is 80, but this setting will override that
# value. This option is only applicable to the web app.
HTTPPort = 80
# This parameter will override the default port for HTTPS, which is
# 443. Uncomment and change this value to use a non-standard port for HTTPS
HTTPSPort = 443
# Lowest identifier used by the tool to assign unique 24bit
# ids for new remote. This value won;t change in the config file, instead
# the tool will look for the next available address that has not been
# used yet.
RTS_Address = 0x279620
###################################################################
###################################################################
## LIST OF ALL SHUTTERS REGISTERED
###################################################################
###################################################################
#
# The config value is the address of the remote (must be unique),
# which is a 24bit identifier (little-endian)
# followed by a comma deliminated list of
# - Userfriednly Name
# - indicator if these remote is active or has been (soft-)deleted
#
[Shutters]
# Indicates the rolling code used by the shutter, based on the address
# provided in the section [Shutters]. Note that this changes every time
# the remote is used and therefore the config file will update frequently
#
[ShutterRollingCodes]
###################################################################
###################################################################
## LIST OF ALL AUTOMATED SCHEDULED OPERATIONS
###################################################################
###################################################################
#
# The config value is a unique id identifying the schedule
#
# This is followed by a comma deliminated list representing:
# - active: Either 'active', 'paused', 'deleted'
# - repeatType: String: 'once' or 'weekday'
# - repeatValue: Date in format "YYYY/MM/DD" or Array ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
# - timeType: String: 'clock' or 'astro' are valid values
# - timeValue: String: Time in format "HH:MM" or values 'sunset' or 'sunrise' or 'sunset+MIN', 'sunset-MIN', 'sunrise+MIN', 'sunrise-MIN'
# - shutterAction: String: 'up' or 'down' are valid values. If this is followed by an integer, this indicates the duration of the operation
# - shutterIds: Array of shutterIds to operate
#
[Scheduler]