-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathssids.py
32 lines (29 loc) · 814 Bytes
/
ssids.py
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
try:
from micropython import const
SSIDs = const((
("ssid1", 'passwd123'),
("ssid2", 'passwd222')
))
except ModuleNotFoundError:
pass
# influxDb on the CLoud
influxDBsecrets = {
"token": "Voemjd8iRFpigE.........................................................54uuajwTQ==",
"url": "https://us-east-1-1.aws.cloud2.influxdata.com",
"host": "us-east-1-1.aws.cloud2.influxdata.com",
"port": 443,
"org": "Perso",
"bucket": "Pico/autogen"
}
# local database on Linux server
# influxDBsecrets = {
# "token": "lfpFxGZ0..................................................PRVA3antbZeKEw==",
# "host": "192.168.18.3",
# "port": "8086",
# "org": "<Org>",
# "bucket": "<bucket>"
# }
try:
LOCALTZ = const(+8)
except NameError:
LOCALTZ = +8