Switching between maintenance mode and measuring mode
In maintenance mode, the Raspberry Pis WLAN turns on and creates an Access Point (AP). The continuous measurement is paused. This means that no measurements are recorded during maintenance mode. The beekeeper can therefore carry out his work on the beehive without fear of falsifying the measurements by lifting the hive. The AP is generated so that you can connect your smartphone or laptop to the HoneyPi. The beekeeper therefore selects the “HoneyPi” WLAN in his smartphone settings and connects by entering the password. A browser is then opened to call up the IP address of the Raspberry Pi.
By pressing the button again, the beekeeper terminates the maintenance mode and returns to the measuring mode. This causes the AP to switch off again and the measurements to start again.
- “Measuring mode” status
- Connects to WLAN (if configured and available), transmits measurement data at transmission interval to ThingSpeak (if no WLAN available, then via Surfstick).
- “Maintenance mode” status
- Generates local WLAN “HoneyPi”, no measurements take place and there is no internet connection.
The button must remain pressed for between one and three seconds. This was introduced from firmware version v0.1.0 to prevent unintentional switching.
Note when connecting under Windows
Since the “HoneyPi” WLAN from Raspi does not offer Internet access, but only provides the web interface, Windows tends to connect to another network. However, in order to process the sensors, the connection to our “HoneyPi” WLAN must of course be permanently established. To do this, you can uncheck the “Automatically connect” option in the stored WLAN networks that are alternatively displayed. Windows will then retain the connection and will not automatically look for an alternative with Internet access.
A small web server runs on the Raspi, which provides a configuration website for the beekeeper. Via this website the beekeeper can configure the sensors and the hardware. This is for example the type and number of connected sensors, as well as the transmission interval of the measurement results.
This type of configuration mode is a typical procedure for IoT devices. In most cases, routers or IP cameras also have their own web interface, which can be accessed via the WLAN of the devices.
Maintenance Mode Operation Demo
Translated 28.07.2019 by JK