Smart Greenhouse monitoring and management IOT system.
INTRO
The Smart Greenhouse is prototype implementation of a remotely controlled and monitored greenhouse. Using an IoT - based communication and control technology, the smart greenhouse enables remote control and monitoring of the environment.The goal of this project is to design and implement an IoT solution for autonomous managing a Greenhouse.
COMMANDS
Database:
- create DB : CREATE DATABASE SmartGreenHouse;
- select DB : USE smartgreenhouse;
- import dump : SOURCE Dump_SmartGreenHouse.sql;
Mosquitto:
- check status: systemctl status mosquitto
Collector: in the collector
- mvn clean install
- mvn package
- java -jar target/collector-1.0-SNAPSHOT.jar
Simulation:
- contikier
- cd tools/cooja
- ant run
Border router:
- tool -> serial socket server
- cd border router folder
- make TARGET=cooja connect-router-cooja
Grafana:
- check status : sudo systemctl status grafana-server
- dashboard : localhost:3000
Flash:
- cd cartella sensore
- make distclean
- make TARGET=cc26x0-cc13x0 BOARD=/launchpad/cc2650 PORT=/dev/ttyACM0 NODEID=0x0001 coap-sensor.upload
- make TARGET=cc26x0-cc13x0 BOARD=/launchpad/cc2650 PORT=/dev/ttyACM0 NODEID=0x0001 mqtt-sensor.upload
- rpl] make TARGET=nrf52840 BOARD=dongle connect-router PORT=/dev/ttyACM0