As of version “v0.1.1” of the firmware, the software for the “Witty Pi Mini” module is already pre-installed. You can connect this module to the Raspberry Pi – but you don’t have to. Since it is actually quite clever and can be saved especially in the winter months additional energy, we have supported this module obviously. You can buy the module for example here: UUGear Witty Pi Mini🛒 (don’t let a bad rating fool you). Collective orders from the manufacturer UUGear direct are much cheaper.
The picture shows the Witty Pi Mini at the top and the Raspberry Pi Zero W at the bottom.
The Witty Pi Mini🛒 can be used to set pre-defined start-up and shut-down times. Thus it is possible to start the Raspberry Pi e.g. every 15min for approx. 5min, during this time it sends the measured data into the ThingSpeak Cloud, afterwards the system shuts down again automatically. This results in significantly longer battery life.
Simply insert the “Witty Pi” program (i.e. the generated schedule) in the HoneyPi maintenance mode under the “Time and energy management” tab into the text field. In addition, HoneyPi already stores the most important times in example programs.
The picture shows the input field in which the generated schedule can be entered.
Example: Loading a program
Simply select a suitable example program, save it and try it out. The program can also be changed again in the input field. The 15 minutes can, for example, be turned into 30 minutes.
Create your own schedules
The configuration is quite simple. By means of the configurator the schedule can be easily created here individually: http://www.uugear.com/app/wittypi-scriptgen/
You can find the complete manual of Witty Pi Mini here: http://www.uugear.com/doc/WittyPiMini_UserManual.pdf
As an example, we have chosen a complex timetable. It broadcasts at different intervals during the day than at night.
At the beginning the configurator was already mentioned. The picture shows one of our example programs. On the left is the generated program, which can be inserted into the text field of the maintenance mode. On the right side is the configurator. There the following is configured:
- Schedule starts at 7:00.
- (5min on -> 25min off) This is repeated 24 times. This routine is therefore processed until 19 o’clock.
- Then (5min switched on -> 55min switched off) this is also repeated 12 times. Thus this routine ends again suitably at 7 o’clock.
- So the routine repeats itself day by day.
- It is to be paid attention that with the tab diagnosis “The script’s cycle period is 1 days” is written, so that the schedule also really starts again at 7 o’clock with the routine.
If you would like the Raspi to broadcast every 15 minutes during the day (7-19 o’clock) within this schedule instead of every 30 minutes as pre-configured, you must make sure that the repetition is now increased to 48. If you do not do this, the next “state” with the hourly transmission starts too early and the period under “diagnosis” would not be 1 day.
Connecting the WittyPi Mini Module to the Raspberry Zero W
The connection is very simple: Simply plug it on. Below is the Raspi Zero W🛒 and above is the WittyPi Mini Module🛒. With the help of so-called GPIO Stacking Header🛒 or here🛒 (approx. 2,50€) you can extend the existing pins. This way you can also extend through the WittyPi and you can still plug the jumper cables on top of it.
Above the WittyPi Mini, below the Raspberry Zero W. In between a GPIO Stacking Header (13mm).
12MM 40Pin Female Stacking Header for Raspberry
Translated 11.08.2019 by JK