Motion Sensor with AI

I just managed to set something similar up using tinyCam and a new driver still being developed.

Basically, put your cams into tinyCam running on a tablet, old phone or PC that is in the home and on 24x7. It supports a huge range of cams. Set the motion triggers for your camera(s) to be on for motion, object (person, vehicle, pet) and for face (non-personal). Then use the Webhook option in each camera's settings panel to send the notification to your hub (you get the specific url required from the app, details in another post, below). If you want to go to other apps other than tinyCam on the tablet/phone/PC and keep the motion detection running, be sure to activate the 'background mode' for whatever cameras you like. Finally, activate the tinyCam webserver which will allow you to view your cams from a dashboard using an html tile (you can find that driver with a search in this forum too). This uses your tablet/phone/PC as a local server and will provide another url to use for an HE dashboard html tile or any other use you may have to view the camera.

Then in Hubitat, set up virtual motion sensors - one for each motion type wanted from each camera (eg.,​motion, person, pet, vehicle, face). Then load the app from the post below, select what virtual motion sensors you want to activate from this camera, name the app as needed (to create an instance specific to each camera). Remember to activate oauth when you install the app. This will generate the oauth token for you which gets displayed in the app. These are what you then use in the webhook in tinyCam to send its motion notification to the appropriate app you just set up in HE.

Yeah, it sounds complicated but it really isn't. I need to make a post that explains it with screen shots, step by step :smile:

Here's where you can find the app. Give me a few minutes to post the latest version with the sensor selection....

1 Like