Smart Beehive is an integrated platform combining datasets, sensor networks, and AI algorithms for intelligent beekeeping, enhanced by Edge GenAIoT technology.
This repository supports the associated scientific article by providing full datasets, analytical code, and hardware integration examples.
Beehive consolidates diverse modules to analyze the beekeeping process:
- Datasets representing honey production records.
- Edge IoT hardware integration with ESP32 and Raspberry Pi devices.
- AI-driven predictive modeling using bio-inspired algorithms and deep learning.
It is designed for reproducibility, scalability, and ease of deployment across research and industrial environments.
- Centralized datasets (.csv files) for different beekeeping elements.
- ESP32 and Raspberry Pi hardware communication modules.
- Predictive modeling using LSTM neural networks.
- Bio-inspired optimization algorithms.
- Exploratory Data Analysis (EDA) of production metrics.
- Full Edge GenAIoT pipeline example for smart beehive management.
- Clone the repository:
git clone https://github.com/Juankidd/beehive.git
cd beehive
Install required dependencies:
pip install -r requirements.txt
Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Linux/Mac
venv\Scripts\activate.bat # On WindowsThe project is structured in modules:
EDA_Beehives.ipynb provides an exploratory data analysis of honey production.
lstm_prediccion_miel.py trains and evaluates an LSTM model for yield prediction.
bioinspired_algorithms.py contains optimization routines.
*.ino files are firmware sketches for ESP32 devices (sensor nodes and gateways).
Datasets are provided in CSV format, located in the repository root:
Honey_Production_Dataset_2023.csv
Honey_Production_Dataset_for_2024.csv
etc.
Important: Each CSV file represents a dataset associated with different production periods or conditions for honey generation.
The main Python dependencies are:
pandas
numpy
matplotlib
seaborn
scikit-learn
tensorflow
keras
statsmodels
scipy
(See requirements.txt for the full list.)
jupyter notebook EDA_Beehives.ipynb
Juan Manuel Núñez Velasco (@Juankidd)
This project is licensed under the MIT License – see the LICENSE file for details.