Adding a charger
1
The reset card
The back of the reset card has the charger’s serial number, its hotspot key and a QR code. Your user scans the QR code, or types the serial number and hotspot key instead. The card’s default password isn’t needed.
2
The setup
The phone joins the charger’s hotspot (
go-e- and its serial number); your user taps Join when the phone asks. Link checks that it’s the charger on the card and points it at Plugchoice. It takes this at once, without a restart.3
Its connections
Before the phone leaves the hotspot, Link shows how the charger will reach the internet: Ethernet, Wi-Fi or its own SIM, with the mobile network it’s on. Your user can connect it to a Wi-Fi network from the ones the charger can see, or type another. Then the phone returns to its own network.
4
Online
Link adds the charger to Plugchoice by its Chargepoint ID and waits until it connects.
- No restart. A go-e keeps its hotspot on, so your user doesn’t switch it off first.
- Its Chargepoint ID stays. A go-e connects as the ID at the end of its OCPP address, and Link keeps it. A charger without one gets
go-e-and its serial number, the name of its hotspot. - The current operator comes along. When the charger used another OCPP backoffice, it stays the charger’s operator, with Plugchoice connected alongside.
- Its charging history comes along. A go-e keeps its sessions in go-e’s cloud. Plugchoice imports them from there, with the meter reading at the start and end of each, and the card’s number where go-e has it.
- No cards. A go-e doesn’t show its RFID cards’ numbers, so none are imported.
- The right card. Link checks that the charger it reaches matches the reset card.
- No internet during the setup. The phone is on the charger’s hotspot for part of it, which has no internet. The SDK keeps the hosted flow working, and keeps the screen awake, because the hotspot drops when the phone locks.
Reconnecting it, or changing its network
Thereconnect action gets a go-e that’s already on Plugchoice reaching Plugchoice again, or moves it to another network, such as a new Wi-Fi router. Your user scans the reset card again. Link checks that the charger still connects with the Chargepoint ID it has on Plugchoice, points it at Plugchoice when it doesn’t, shows its connections so your user can connect it, and waits until it’s back online. It imports nothing again.
What your app needs
- iOS: the Hotspot Configuration and Access Wi-Fi Information entitlements,
_http._tcpinNSBonjourServices(Link finds the charger on its hotspot by name) andNSLocalNetworkUsageDescription. On iOS 18 and later, AccessorySetupKit asks once per charger instead of on every join. See iOS. - Android: the charger serves its setup over a plain WebSocket on its hotspot (
ws://). Android blocks plain connections in release builds unless your network security configuration allows them. See Android. - React Native: the config plugin sets up iOS,
_http._tcpincluded; Android’s network security configuration is yours to set. See React Native.