feat: config_example.json, updated gitignore and package.json v0.2.0
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -2,9 +2,9 @@
|
||||
*.mpy
|
||||
|
||||
# Secrets
|
||||
main.py
|
||||
wifi_config.py
|
||||
config.py
|
||||
config.json
|
||||
tenant_*.py
|
||||
|
||||
# OS
|
||||
@@ -14,4 +14,4 @@ Thumbs.db
|
||||
# IDE
|
||||
.vscode/
|
||||
.idea/
|
||||
__pycache__/
|
||||
__pycache__/
|
||||
15
config_example.json
Normal file
15
config_example.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"wifi_ssid": "YOUR_SSID",
|
||||
"wifi_pass": "YOUR_PASSWORD",
|
||||
"wifi_static": false,
|
||||
"wifi_ip": "192.168.1.50",
|
||||
"wifi_mask": "255.255.255.0",
|
||||
"wifi_gw": "192.168.1.1",
|
||||
"wifi_dns": "8.8.8.8",
|
||||
"comm_key": "YOUR_32_CHAR_BOOTSTRAP_KEY......",
|
||||
"comm_iv": "YOUR_16_CHAR_IV.",
|
||||
"base_url": "https://api.parta.app/API/V1/identity_layer/identity_iot/",
|
||||
"tenant_id": 1,
|
||||
"node_type": "sensor",
|
||||
"node_label": "pico-01"
|
||||
}
|
||||
@@ -1,9 +1,10 @@
|
||||
{
|
||||
"urls": [
|
||||
["identity_iot.py", "https://git.aeonianengineering.net/wide/identity-micropython/raw/branch/main/identity_iot.py"],
|
||||
["identity_iot_ed25519.py", "https://git.aeonianengineering.net/wide/identity-micropython/raw/branch/main/identity_iot_ed25519.py"],
|
||||
["identity_iot_aes.py", "https://git.aeonianengineering.net/wide/identity-micropython/raw/branch/main/identity_iot_aes.py"],
|
||||
["sha512.py", "https://git.aeonianengineering.net/wide/identity-micropython/raw/branch/main/sha512.py"]
|
||||
["lib/identity_iot.py", "https://git.aeonianengineering.net/wide/identity-micropython/raw/branch/main/identity_iot.py"],
|
||||
["lib/identity_iot_ed25519.py", "https://git.aeonianengineering.net/wide/identity-micropython/raw/branch/main/identity_iot_ed25519.py"],
|
||||
["lib/identity_iot_aes.py", "https://git.aeonianengineering.net/wide/identity-micropython/raw/branch/main/identity_iot_aes.py"],
|
||||
["lib/sha512.py", "https://git.aeonianengineering.net/wide/identity-micropython/raw/branch/main/sha512.py"],
|
||||
["main.py", "https://git.aeonianengineering.net/wide/identity-micropython/raw/branch/main/main.py"]
|
||||
],
|
||||
"deps": [
|
||||
["ssd1306", "latest"]
|
||||
|
||||
Reference in New Issue
Block a user