Identity IoT: initial release — boot manager, provisioning, sensor/relay

This commit is contained in:
2026-06-08 18:27:38 +02:00
commit d1a28d989c
17 changed files with 1860 additions and 0 deletions

35
config_example.json Normal file
View File

@@ -0,0 +1,35 @@
{
"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_KEY________________",
"comm_iv": "YOUR_16_CHAR_IV_",
"tenant_id": "1",
"node_id": "0",
"node_type": "sensor",
"node_label": "node-01",
"identity_iot_url": "https://api.yourhost.com/API/V1/identity_layer/identity_iot/",
"data_destination_url": "",
"pinout": {
"i2c0_sda": 4,
"i2c0_scl": 5,
"i2c1_sda": 6,
"i2c1_scl": 7,
"dht_pin": 15,
"relay_pin": 16,
"rain_pin": 26,
"soil_pin": 27,
"pot_pin": 28,
"switch_pins": [17, 18],
"rotary_a": 19,
"rotary_b": 20,
"rotary_sw": 21,
"gps_uart": 1,
"gps_tx": 8,
"gps_rx": 9
}
}