From WhatsApp command to farm sensor monitoring with live telemetry visualization.
import Adafruit_DHT
import RPi.GPIO as GPIO
import time, json
DHT_PIN = 4
MOISTURE_PIN = 17
GPIO.setmode(GPIO.BCM)
GPIO.setup(MOISTURE_PIN, GPIO.IN)
while True:
humidity, temp = Adafruit_DHT.read_retry(Adafruit_DHT.DHT22, DHT_PIN)
moisture = GPIO.input(MOISTURE_PIN)
data = {"temp": temp, "humidity": humidity, "moisture": moisture}
print(json.dumps(data))
time.sleep(30)
Basic Package
Special SME traction programme by AINNA.
Limited starter website offer. AI usage, hosting, maintenance and custom integrations depend on the confirmed scope.
View SME Offer β
Ask about AINNA pages, services and articles.
AINNA sources only Β· up to 5 lines Β· 20 questions/hour
No section data available yet.
Sites with documented sections will appear here.
We value your privacy
We use browser storage to remember your choice. Optional analytics runs only after you allow it; your choice is recorded with an anonymous ID. Privacy Policy