Honey-Pi / rpi-scripts

Python scripts that are executed on the hive scale for data acquisition in measurement mode.

Home Page:https://honey-pi.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rpi-scripts

HoneyPi is a measuring system based on the Raspberry Pi. It is an open source framework, which allows every beekeeper to monitor his bees. The data transfer takes place to the Internet of Things platform ThingSpeak. The measurement data is collected at the apiary and visualized in apps.

Install

Check out the main repo on how to install the entire measurement system on your Raspberry Pi Image with just a few commands. Or simply download a ready HoneyPi image from our download page. You can even create your own custom HoneyPi images using our Raspbian image generator.

Update to latest development state

  1. Flash the provided HoneyPi Image to your SD Card OR run our installer which installs the webinterface and the measurement scripts to your Raspberry Pi.
  2. Run the following commands to update the measurement scripts:
rm -rf /home/pi/HoneyPi/rpi-scripts
cd /home/pi/HoneyPi/
git clone --depth=1 https://github.com/Honey-Pi/rpi-scripts

Your settings won't be lost because they are stored at /var/www/html/backend/settings.json.

How to Run the measurement routine

Autostart

In previous versions the main.py was started within the /etc/rc.local to autostart the measurements scripts. But with the latest versions we created an systemd service which contains the call of our main.py script. This is necessary to autostart the measurement service after your Raspberry Pi booted. If you run the installer from our main repo the autostart job is automatically added and therefore no additional action is required.

Manually

But for manually testing you should be able to call the measurement script within your terminal as the following: sudo python3 /home/pi/HoneyPi/rpi-scripts/main.py

About

Python scripts that are executed on the hive scale for data acquisition in measurement mode.

https://honey-pi.de

License:Other


Languages

Language:Python 95.3%Language:Shell 4.2%Language:JavaScript 0.6%