We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af72bb5 commit 7e95276Copy full SHA for 7e95276
1 file changed
README.md
@@ -17,5 +17,31 @@ $ pip install -r requirements.txt
17
$ python main.py
18
```
19
20
+Create a `.config.json` file in the root directory with the following content:
21
+
22
+```json
23
+{
24
+ "main_settings": {
25
+ "recievers": [
26
+ {
27
+ "name": "[RECEIVER NAME 1]",
28
+ "tel_no": "[RECEIVER TEL NO 1]",
29
+ "callmebot_key": "[CALLMEBOT_KEY 1]"
30
+ }
31
+ ],
32
+ "protectors": [
33
34
+ "name": "[PROTECTOR NAME 1]",
35
+ "address": "[PROTECTOR MAC/IP ADDR 1]"
36
37
+ ]
38
+ },
39
+ "strategy_settings": {
40
+ [...IF NEEDED]
41
42
+ "file_io_key": "[FILE_IO_KEY]"
43
+}
44
+```
45
46
### Advice
47
You can use service file provided to run the script with systemd. It would make it run on startup, and restart it if it crashes.
0 commit comments