Preferences, so it only happens once;
on later boots the device connects automatically.
What begin() does
When you call device.begin(), the library:
- Tries to connect with saved Wi-Fi credentials
- Starts AP-mode if nothing is configured
- Sets up DNS + an HTTP provisioning page
- Initializes the realtime connection
- Loads
deviceid,ssid,email,productid, andversionidfrom storage - Registers default and user-provided command handlers
AP-mode provisioning (first boot)
If the device has no saved credentials, it starts its own Wi-Fi access point and serves a setup page:| AP SSID | NIKOLAINDUSTRY_Setup |
| AP password | 0123456789 |
Manual provisioning
To set credentials from code instead of the AP page:Reading identity at runtime
Next: API reference
Every method you can call on the device.

