In tinyCam, in the individual camera settings panel, you can define a Webhook to trigger on-motion. So I used this to trigger a virtual motion sensor that I set up in HE, as per the example below...
The great thing about his app is it also sends a Webhook when motion stops. It works perfectly. I'm trying to get him to add similar webhooks for his functionality for pet, vehicle, human and face recognition or at least some way for us to access these into Maker API or via an HE driver. That would be really cool.
Update: the functionality to trigger on object detection and send relevant Webhook is now added to tinyCam. Check out my other posts on this and the HE app we built for it...