HI there
Nice work
I am about to update 10 units that i use at my school for education, I could real use a 3rd feature on the long button push: “Force it back to AP-mode”. would that be possible and would that be a safety issue?
It that is not possible, what can I do to force the Emonpi to AP-mode after a factory reset?.
It is very time consuming to rewrite all 10 SD cards to accomplish that feature.
I’m not sure what it means ‘force back to AP mode’
Can this not be done via the web interface by connecting a cable to the ethernet port and looking at the ip/address ?
However, this may not be exactly what you need. Will you need to then power off so the AP starts on startup? Is the idea that you get individual laptops to connect to each EmonPi?
[edit] I have had another look at this and I am not sure the readme has kept pace with actual changes. @glyn.hudson is the person who can probably help.
To force an EmonPi back into AP mode, go into ‘WiFi’ from settings and deselect the currently selected WLAN. Click on save and then refresh. You will still have access to the emoncms instance. Navigate to the admin menu and click reboot.
The EmonPi will now come up in AP mode (as no network is configured).
After the factory reset (see factory reset script] the emonPi will automatically create an WiFi AP at startup if it’s not connected to any Etherent networks.
This is correct
This is correct. Be sure to also disconnect Ethernet (if connected)