christoff-linde / pih-esp

ESP32 Firware for PIH
MIT License
0 stars 0 forks source link

Setup automated provisioning of new devices #11

Open christoff-linde opened 7 hours ago

christoff-linde commented 7 hours ago

This would enable ESP devices to provision themselves on the system. The general flow could be roughly:

Prerequisites

  1. WiFi credentials
  2. Unique device name
  3. Any other relevant info

Steps

  1. Connect to WiFi network
  2. Make call to RabbitMQ with custom routing key (for e.g., pih.provision)
  3. Make call to check if device was registered (repeat until successful)
  4. Proceed as normal
linear[bot] commented 7 hours ago

CHR-55 Setup automated provisioning of new devices