We offer two ways to install HiveControl - pick the one that works best for you!
This is the simplest way to install HiveControl. Just copy and paste one command!
- Raspberry Pi with Raspberry Pi OS installed
- Internet connection
- SSH access or keyboard/monitor connected
Copy this entire command and paste it into your Raspberry Pi terminal:
curl -sSL https://raw.githubusercontent.com/rcrum003/HiveControl/master/easy-install.sh | sudo bashThat's it! The installer will:
- Download everything automatically
- Install all dependencies
- Set up the web server
- Configure the database
- Compile sensor software
- Reboot when complete
Total time: 30-60 minutes
Bee Counter Camera (6-8 hours):
curl -sSL https://raw.githubusercontent.com/rcrum003/HiveControl/master/easy-install.sh | sudo bash -s -- -bRemote Desktop (XRDP):
curl -sSL https://raw.githubusercontent.com/rcrum003/HiveControl/master/easy-install.sh | sudo bash -s -- -xTouchscreen Keyboard:
curl -sSL https://raw.githubusercontent.com/rcrum003/HiveControl/master/easy-install.sh | sudo bash -s -- -kAll Features:
curl -sSL https://raw.githubusercontent.com/rcrum003/HiveControl/master/easy-install.sh | sudo bash -s -- -bxkIf you prefer to download the script first and review it before running:
curl -O https://raw.githubusercontent.com/rcrum003/HiveControl/master/install.shless install.shPress 'q' to quit viewing
chmod +x install.shsudo ./install.shOr with options:
sudo ./install.sh -b # Bee Counter
sudo ./install.sh -x # Remote Desktop
sudo ./install.sh -k # Touchscreen Keyboard
sudo ./install.sh -bxk # All featuresWe're working on creating a pre-configured SD card image that includes:
- Raspberry Pi OS
- HiveControl pre-installed
- All dependencies ready to go
Just download, flash to SD card, and boot!
Status: In development Expected release: Check hivecontrol.org for updates
Here's what the installer does (so you know what to expect):
-
System Update (5-10 min)
- Updates Raspberry Pi OS packages
- Ensures you have the latest security patches
-
Install Web Server (2-3 min)
- Apache web server
- PHP and required modules
- SQLite database
-
Download HiveControl (1-2 min)
- Clones from GitHub
- Sets up directory structure
- Copies configuration files
-
Install Dependencies (10-15 min)
- Build tools (cmake, gcc)
- Sensor libraries (pigpio, hidapi)
- Python packages for sensors
-
Compile Sensor Software (15-20 min)
- Temperature sensor drivers
- Weight sensor software
- Bluetooth support for BroodMinder
-
Configure Database (1-2 min)
- Creates database structure
- Applies all patches
- Sets initial configuration
-
Set Up Web Server (1-2 min)
- Configures Apache
- Sets file permissions
- Creates admin interface
-
Configure System (2-3 min)
- Sets up automatic data collection (cron)
- Asks for admin password - IMPORTANT: Remember this password!
- Asks for timezone
-
Final Setup (1-2 min)
- Installs system updates
- Cleans up temporary files
-
Reboot
- System restarts automatically
- You're ready to go!
-
Find your Raspberry Pi's IP address:
hostname -I
-
Open a web browser on any device on your network
-
Navigate to:
http://YOUR-PI-IP/- Example:
http://192.168.1.100/ - Or try:
http://hivecontrol.local/
- Example:
-
Login when prompted:
- Username:
admin - Password: (the password you set during installation)
- Username:
-
Complete the setup wizard:
- Enter hive name (letters, numbers, dashes, underscores only)
- Enter location
- Add HiveControl.org API key (optional)
-
Configure sensors:
- Go to Admin → Settings → Instruments
- Enable your sensors
- Set calibration values
Check internet connection:
ping -c 3 google.comTry downloading to a different location:
cd /home/pi
curl -O https://raw.githubusercontent.com/rcrum003/HiveControl/master/install.shInstall curl first:
sudo apt update
sudo apt install curl -yMake sure you're using sudo:
sudo bash easy-install.shFor developers or advanced users:
sudo apt update
sudo apt install git -y
cd /home
sudo git clone https://github.com/rcrum003/HiveControl.git
cd HiveControl
sudo ./install.sh- The installer requires
sudo(administrator) access - All code is open source and available on GitHub
- The script downloads from the official GitHub repository
- You can review the code before running if desired
Reviewing the code:
curl https://raw.githubusercontent.com/rcrum003/HiveControl/master/install.sh | lessPress 'q' to exit
- Full Guide: See EASY_INSTALL_GUIDE.md
- Documentation: README.md
- Community: hivecontrol.org
- Report Issues: GitHub Issues
| Feature | One-Line Install | Download & Run | Manual Git Clone |
|---|---|---|---|
| Difficulty | Easiest | Easy | Moderate |
| Steps | 1 command | 4 commands | 5+ commands |
| Best for | First-time users | Users who want to review code | Developers |
| Review code first? | No | Yes | Yes |
| Time to start | Instant | 1 minute | 2 minutes |
Recommendation: Use the One-Line Install unless you have a specific reason not to!
We're working on even easier installation methods:
- Pre-configured SD card image - Flash and boot!
- Web-based installer - Install from a web page
- Mobile app - Configure from your phone
- Auto-discovery - Finds your Pi automatically on your network
Stay tuned at hivecontrol.org!