Provision
ESP32 boards (and the Virtual PLC Board) call POST /provision — this page is the admin view. Opening that URL with GET in a browser used to show an error; use this page instead.
API endpoint
Method
POST
URL
https://www.devices.geekforcedeveloper.com/provision
Auth
Authorization: Bearer 389427ldkjf2j33k4h3h23kjkjh23k2j3h4
Body
{
"mac": "A4C1386AD593",
"customer_number": "10002",
"fw_version": "2.1.0",
"lan_ip": "192.168.1.50"
}
Only HTTP 200 means success to the firmware. Unknown customers return 404.
Test with Virtual PLC Board
Open a customer portal device simulator — it will POST here, then report to that customer host.
Active customers
| Number | Name | Host | Status |
|---|---|---|---|
| 10002 | Customer 10002 | 10002.geekforcedeveloper.com | active |