OptionalaccessSetup access point lifecycle hook, supplied by the deployment.
OptionaldeviceHuman-friendly device name advertised by GET /provision/info.
OptionalexchangeClaim exchange override. Defaults to claimDevice.
OptionalhomeHome network hook, supplied by the deployment. Without it the device claims over the setup network and refuses claims that carry Wi-Fi details.
OptionalhostInterface to listen on. Defaults to "0.0.0.0" (the setup network).
OptionalonCalled when the post-claim teardown or onProvisioned itself fails.
OptionalonCalled after a successful claim has been persisted and the server and
access point have stopped. This is where the deployment proceeds to
Device.connect().
OptionalportPort to listen on. Defaults to 80; pass 0 for an ephemeral port.
Provisioning API base URL, e.g. https://api.qualithm.com.
Where the claimed credential is persisted.
Options for constructing a ProvisioningServer.