WiFi Provisioning

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Locked
User avatar
smcneese
 
Posts: 8
Joined: Wed Jun 14, 2017 3:01 pm

WiFi Provisioning

Post by smcneese »

Hey all! I am evaluating adafruit.io and other IoT platforms and was wondering if anything exists for provisioning devices? For example, the device we built needs to be connected to a end-users wifi. Obviously we cannot hard code the SSID/password into the code running on the device.

User avatar
brubell
Learn User Page
 
Posts: 2010
Joined: Fri Jul 17, 2015 10:33 pm

Re: WiFi Provisioning

Post by brubell »

The Adafruit IO Arduino library requires hardcoding of the end-user's wifi network SSID and password to be stored in flash.

Your use case may be better suited to running the Adafruit IO Python Client (https://github.com/adafruit/io-client-python) on a Raspberry Pi or another small linux board.

You can SSH into the board (headless) to interact with the Adafruit IO client, and the board's network card during evaluation. How do you plan on provisioning the other IoT platforms?

User avatar
smcneese
 
Posts: 8
Joined: Wed Jun 14, 2017 3:01 pm

Re: WiFi Provisioning

Post by smcneese »

In a normal provisioning process for a mass produced IoT device, the end user needs to establish connection of the device to their WiFi network. One way is for the device to startup in server mode allowing WiFi connections and hosting a web page. The user would connect to the device SSID and be service a config page in the browser. The user enters in their local WiFi ssid and password then the device changes to a client and connects to their WiFi.

The more complicated your device is the more that needs to happen. For example the unique device might need to be registered to the users account by MAC or some other unique ID.

The adafruit.io service appears to be more for the hobbyist and not for commercial IoT devices.

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”