More info about krishi-IoT can be found here
This repo contains the krishi IoT mobile app source code. It is built using hybrid mobile app development approach - ionic.
You can install the mobile app
krishi IoT mobile app is not released yet in the Google Playstore. However, you can install the app at by downloading the App from this location. Follow the video demonstration explaining on how to install and usage of the app.
krishi IoT app is hardware/firmware agnostic. It is developed keeping in mind that it should work independent of the device platforms whether they are built from Raspberry Pi, ESP8266, TI Sensortags, etc. The app follows and defines a particular message structure.
{
"project": "Krishi-IoT", //project identifier
"deviceType": "Eye", //define deviceType - Weather, Switch, Earth, Eye, Bird
"deviceId": "krishi_iot_2123", //unique device id
"sensor": { //sensor payload JSON object
"type": "periodic", //event type - periodic, event
"temp": 32.45, //temperature sensor - Weather deviceType
"humidity": 65.73, //humidity sensor - Weather deviceType
"rainPresence": "no", //rain presence sensor - Weather deviceType
"rain": "273", //rain in mm - Weather deviceType
"outlet_status": "ON", //motor control - Switch deviceType
"moisture": 484, //moisture sensor - Earth deviceType
"moistureText": "moderate", //moisture text analysis - Earth deviceType
"imgURL": "<IMG_URL>", //image sensor - Eye deviceType
"imgText": "farm", //image analysis for future - Eye deviceType
"videoURI": "<VIDEO_URL>" //video sensor - Bird deviceType
}
}
mosquitto_pub -h 'MQTT_BROKER' -p 'MQTT_PORT'-i <deviceId> -t 'krishiIoT/krishi_IoT/telemetry/:deviceId' -m '{"project":"Krishi-IoT","deviceType":"Weather","deviceId":"krishi_iot_2123","sensor":{"type":"periodic","temp":32.45,"humidity":65.73,"rainPresence":"no","rain":"273"}}'
krishi IoT is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.