Farmery is an open-source smart farm management system based on NodeJS, Vue.JS, and MongoDB. We started to develop it in November 2020, because we want to build an open-source cultivation management system for every farmer around the world can apply technology to improve their business, where we have to connect various sensors, smart devices, task management, and automation processes for farming and manage it while we are on the go.
If you are a farm owner, scientist, grower, or researcher, you can manage your farm easily with Farmery. We know that it’s still a small project. Therefore, we are very open if you want to collaborate with us and make this project bigger. Contact us dmtan@agrhub.com
You can try the online version, by access to this page http://farmery.agrhub.com
Play Store: https://play.google.com/store/apps/details?id=com.agrhub.farmery
App Store: https://apps.apple.com/us/app/farmery-ag/id1617237500
Demo account: demo@agrhub.com pass: admin@123
If you have any requests or cooperate, please email us dmtan@agrhub.com
Web App UI
Web App UI
Prerequisites
Ubuntu 18.04
NodeJS 12+
MongoDB 4+
Docker
Mosquitto
Update soon
Smart Devices
In our post, we use our smart devices. But you can use the smart devices from Seed Studio such as SenseCAP devices; Wio devices and integrate with Farmery to build your unique solution. More detail about the SenseCAP devices, you can find on the Seed Studio store (https://www.seeedstudio.com/catalogsearch/result/?q=SenseCAP, https://www.seeedstudio.com/catalogsearch/result/?q=Wio)
Sense Hub Gateway
Specification
Name: SENSE HUB
Connection: WiFi 2.4GHz, BLE 4.2, Mesh
Power: 110 - 240VAC
Distance: 50m
Operation: RH: 0% - 80%; Temperature: 0*C - 50*C
Brand: AGRHUB
Feature
Connect the smart devices on the farm to work well. The gateway connects to the WiFi station to synchronize data between the farm, server, and user.
Sense Hydro Nutrient Controller
Specifications:
Connection: WiFi 2.4GHz
Power: 110V - 220V AC
Maximum load: 10A
Screen: LCD
Sensor: HM Digital US
EC: 0 - 10mS/cm
TDS: 0 - 20000 ppm
EC accuracy: +/-2%
pH: 0 - 14
pH accuracy: +/-0.1 pH
Water temperature: 0 - 50*C
Water float sensor: Yes
Waterproof: Yes
Brand: AGRHUB
Feature
Automatically continuous monitoring of nutrient tank parameters such as EC / TDS, pH, water temperature, water level.
Control accessories such as water pump, mixing pump, water supply valve, water drain valve.
Automatically blends nutrition (A, B, C, D, pH) for plant follow threshold and recipe settings.
Sense Air Basic
Specification
Connection: Mesh
Power: CR2450
Light: 0 - 65,000 lux
Temp: -10°C - 50°C
Humidity: 0% - 99%
Water proof: IP6
Origin: AGRHUB
Functions
Online monitor light, air temperature, the air humidity in the growing system.
Sense CO2
Specification
Connection: Mesh
Power: CR2450
CO2: 0 - 5000 ppm
Waterproof: IP6
Origin: AGRHUB
Functions
Online monitor air CO2 in the growing system.
Xiaomi Flower Care (Soil Sensor)
Specification
Connection: BLE 4.1
Power: Pin CR2032
Lifetime: 6 months for each battery replacement
Light: 0 - 100000 flux
Air temperature: -10°C - 50°C
Soil moisture: 0% - 99%
Soil nutrient: 0 - 20000 ppm
Feature
Real-time monitoring the light ambient, air temperature, soil moisture, and soil nutrient in the greenhouse
Xiaomi Air Sensor
Specification
Connection: BLE 4.1
Power: charged battery
Lifetime: 3 months per charging
Air temperature: -10°C - 50°C
Air humidity: 0% - 99%
Screen: LCD
Feature
Real-time monitoring air temperature, air humidity
Sense Switch Dual
Specification
Connection: WiFi 2.4 GHz
Power: 110 - 220V AC
Max Load: 10A/Gang and 15A/Total
Feature
Remote control the devices such as water pump, lamp, fan, humidifier, de-humidifier, water valve ...
Building Instruction
Before starting the project, you need to install all prerequisites first
1. NodeJS 12+
2. MongoDB 4+
3. Docker + Docker Compose
4. Eclipse Mosquitto + Eclipse Streamsheets
5. AdminMongo for management on the web
Install all required npm modules
> npm install
Modify the following configuration files in the config folder
1. file.json
2. key.json
3. db.json
3. mqtt.json
4. http.json
Turn on the front-end server
> npm run serve (development)
> npm run build (productivity)
Start backend and files management
> nohup ./pm2.sh &
RoadmapVersion 1.0 - Now
- Register/Login
- IoT features
- Organization management
- Device management and control
- Farm management
- Plant management
- Zone management
- Crop management
- Automatic script management
- Profile
Version 2.0 - June 2021
- Process management
- Task management and assignment
- Warehouse management
- Crop report and compliance
- Food trace by QR code and bar code
Version 3.0 - October 2021
- Sale management
- Financial management
- Delivery management
Register
After setting up your system, you can open the webpage (default http://localhost) to register a new account.
Fill in your information and click on Signup to register your account. After successful registering, you can go back Login page and login your account
Login
Input your email and password to log in
Dashboard
After login into your account, you will go to the Dashboard page.
On this page, you can get the summary of your system such as a number of organizations, users, farms, plants, zones, crops...
Organization
The organization is the first step in your journey. That looks like a company, farming group, or a team. The organization helps you to manage your business more effectively than before. You are an owner of your organization and you can manage employees, farms, crops, processes and so more in a central place.
Navigate to the "Setting" and choose the "Organization" tab.
If you are a new owner, you can click on Add Org to create your org
Input the org name and avatar to create it.
You can edit your org information by clicking on the Edit
For the new organization, you need to add your members (employees) for operation by clicking on Add members
You can fill in employee information such as full name, email, avatar, role, password... This account is used for logging in by your employee. You can add multiple accounts for your organization.
Tips: Add members to your organization
1. You can add many member to your organization
2. You can input your member email and click on search to find the existed member
3. If the email is not registered, you can create a new account for your member
4. If your gant the admin role, the member can view and edit information such as member, farm, device, zone, crop ...
5. If your gant the user role, the member can only view information such as farm, device, zone, crop ...
After adding the new account, your organization will update a number of admins and users. You can click on the dropdown icon before the org avatar to get more detailed information. You can change the role of your employee by clicking on Switch role.
Farm
After you added a new organization, you need to add a new farm into your organization. Navigate to the Farm tab.
Click on Add Farm to create your new farm
You can fill in the farm information such as org (you created above), name, address, avatar, and create it.
You can access the farm information by clicking on the Information button and updating information if needed. Just farm owner has permission to update farm information, add members, and bind devices.
Now you can add members for your farm such as managers, users, which you created in your organization.
Tips: Add members to your farm
1. You can add many members to your farm
2. If your grant the admin role, the member can view and edit information such as zone, crop ...
3. If your grant the user role, the member can only view information such as farm, device, zone, crop ...
Manage the devices of your farm by clicking on the Devices tab
You can bind your device to your farm by clicking on the Bind device button
Manage the zones of your farm by clicking on Zones
Manage the crops of your farm by clicking on Crops
Manage the devices of your farm by click on Device and choose the devices. You need to add your new devices first before binding
Zone
Update soon
Plant
Update soon
Device
Update soon
Automatic Scripts
Update soon
Crop
Update soon
Process
Update soon
Task
Update soon
Profile
Update soon
Comments