Home Assistant Tuya AI camera usage and watering valve control

Sharing some projects with the community

Runs a local YOLOv8n inference service that receives motion event images from tuya_cameras, classifies them, and signals the integration to email only when a human is detected
It’s been extended to include animals too :wink:

Authenticates once with the Tuya Cloud API and shares the connection, device list, and area map with all companion integrations

Human presence detection service for the [ha-tuya-cameras] check out my repo ha-tuya-cameras integration.

Check out also my repo ha-tuya-watering
Controls Tuya Zigbee water valves locally or via cloud, with automation blueprints for weather-based and manual watering schedules

Next project will be a water sprinkler (animal) deterrent using the camera + water valve and a sprinkler

Enjoy