Add deploy.py: multi-device build/flash/provision with JSON config. Add espmon/: real-time ESP32 fleet monitoring daemon. Remove tools/flasher/ and tools/provisioning/ (superseded).
90 lines
1.9 KiB
JSON
90 lines
1.9 KiB
JSON
{
|
|
"defaults": {
|
|
"server": {
|
|
"ip": "192.168.1.100",
|
|
"port": 2626
|
|
},
|
|
"network": {
|
|
"mode": "wifi",
|
|
"wifi_ssid": "YOUR_SSID",
|
|
"wifi_pass": "YOUR_PASSWORD",
|
|
"gprs_apn": "sl2sfr"
|
|
},
|
|
"modules": {
|
|
"network": true,
|
|
"fakeap": false,
|
|
"honeypot": false,
|
|
"recon": false,
|
|
"canbus": false,
|
|
"recon_camera": false,
|
|
"recon_ble_trilat": false
|
|
},
|
|
"ota": {
|
|
"enabled": true,
|
|
"allow_http": false
|
|
}
|
|
},
|
|
|
|
"devices": [
|
|
{
|
|
"_comment": "Bot standard — commandes réseau uniquement",
|
|
"device_id": "aaaa0001",
|
|
"port": "/dev/ttyUSB0",
|
|
"hostname": "esp32-bot-01"
|
|
},
|
|
|
|
{
|
|
"_comment": "Honeypot — services TCP + monitoring WiFi/réseau",
|
|
"device_id": "bbbb0001",
|
|
"port": "/dev/ttyUSB1",
|
|
"hostname": "esp32-honeypot-01",
|
|
"modules": {
|
|
"network": true,
|
|
"honeypot": true
|
|
}
|
|
},
|
|
|
|
{
|
|
"_comment": "FakeAP — portail captif + sniffer WiFi",
|
|
"device_id": "cccc0001",
|
|
"port": "/dev/ttyUSB2",
|
|
"hostname": "esp32-fakeap-01",
|
|
"modules": {
|
|
"network": true,
|
|
"fakeap": true
|
|
}
|
|
},
|
|
|
|
{
|
|
"_comment": "Recon caméra — reconnaissance visuelle",
|
|
"device_id": "dddd0001",
|
|
"port": "/dev/ttyUSB3",
|
|
"hostname": "esp32-cam-01",
|
|
"modules": {
|
|
"network": false,
|
|
"recon": true,
|
|
"recon_camera": true
|
|
}
|
|
},
|
|
|
|
{
|
|
"_comment": "Bot GPRS — déployé hors réseau WiFi, clé pré-provisionnée",
|
|
"device_id": "eeee0001",
|
|
"port": "/dev/ttyUSB4",
|
|
"hostname": "esp32-gprs-01",
|
|
"master_key": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
|
|
"network": {
|
|
"mode": "gprs",
|
|
"gprs_apn": "internet"
|
|
},
|
|
"server": {
|
|
"ip": "203.0.113.10"
|
|
},
|
|
"ota": {
|
|
"enabled": true,
|
|
"allow_http": true
|
|
}
|
|
}
|
|
]
|
|
}
|