Setting the default wifi AP used when the device is unallocated

When the device is in ‘unallocated’ mode (screen showing the Infrafon logo and the QR code with its id), it will use the wifi credentials in the ‘network-kiosk.json’ config file (located in /flash/config on the device). By default this is set to SSID=‘kiosk’, WPA2 password=‘infrafon-2022’.

To change this, connect to the devices own Wifi AP (it will show up as infrafon-xxxx when you reboot the device, either by magnet-reset or in the on screen system settings, page 4 Restart the CC1 Device) you can then use the ‘setKAP.py’ devtool (get the latest devtools archive using the link in the forum post ‘CC1 devtools for image conversion and log extraction’) . This will update the json file on the device with the desired ssid/password.

> python setKAP.py -ssid infrafon-XXXX -kssid my-local-AP -kpass my-local-pass

Replace the ‘infrafon-XXXX’ by your devices’s AP, and the AP/pass by your local values.

It is recommended to run this when the device is in FOTA mode (led is strong BLUE after reboot) to be sure of getting the ftp response.

NEW : with latest infrafon firmware, the setup becomes even easier!

First update your device as normal.

Boot into FOTA mode (How to do that) (blue LED on strongly), and connect to the device’s AP from a PC or phone. Open the URL http://192.168.4.1, and you will get a configuration web page.

Set the ‘kiosk’ wifi credentials (SSID/password) and save → you device will now use this AP when it boots.

The same web page also allows you to browse the device file system (eg to get logs, check config) and to upload files as required.