HoneyPi is a measuring system based on the Raspberry Pi. Various sensors can be connected to the GPIO ports of the Raspberry Pi. It is a plug and play system. The configuration of the sensors and settings, such as the transfer interval, are made in the web interface on the Raspberry Pi. The data measured by the sensors are transmitted to the IoT platform ThingSpeak. From there they can be visualized in apps.
It is recommended to run it in your home directory.
sudo apt-get update && sudo apt-get dist-upgrade -y
sudo apt-get install -y git
cd ~
git clone --depth=1 https://github.com/Honey-Pi/HoneyPi.git HoneyPi
cd HoneyPi
sudo sh install.sh
Instead of installing you can simply download a ready HoneyPi image from our download page. You can even create your own custom HoneyPi images using our HoneyPi image generator. These images are based on the latest Raspberry Pi OS Lite version.
First start on a clean Raspberry Pi OS Lite
We recommend flashing with balenaEtcher
- Connect HDMI to a TV
- Boot up
- Login with username
pi
and passwordraspberry
- Run
sudo raspi-config
- Select
5 Interfacing Options
and enableP2 SSH
- Connect your Raspi Ethernet Bus to your Router. If you use a Raspi Zero you could configure a wifi network connection.
- Now you can connect with your computer the first time via SSH to the Raspi.
- Login again. Change password with
passwd
tohivescale
- Run the Install Instructions from above
- If you want to use a WittyPi module install it like explained here.
cd /home/pi/HoneyPi/
# Update the Installer
sudo git pull
# Update the measurement scripts and the webinterface (Arg1: for stable use 1 for pre-release use 0)
sudo sh update.sh 0
In previous versions (before v1.3.7) the measurement scripts have been autostarted after the booting of the Raspberry Pi (we used /etc/rc.local
). There was no option to start/stop the measurement service. Only by pressing the hardware button the measurement routine stopped. But now we changed this behaviour. If you are connected by terminal you can start and stop the honeypi service on your Raspberry Pi. Don't forget to enable the service after you stopped for your next reboot. Also you can use the webinterface backend to remotely control your Raspberry Pi.
# check status
sudo systemctl status honeypi.service
# stop service (e.g. for manually testing)
sudo systemctl stop honeypi.service
# start service (if stopped before)
sudo systemctl start honeypi.service
# debug, see all error messages related to the service
sudo journalctl --unit=honeypi
# reload if crashed before
sudo systemctl reload-or-restart honeypi