Ok so i have a network mjpeg.cgi camera im using on motioneyeos. I currently have them added with my configuration.yaml as shown:
camera 3:
- platform: mjpeg
name: Upstairs
mjpeg_url: http://myip:8081
username: test
password: test
camera 4:
- platform: mjpeg
name: Downstairs
mjpeg_url: http://myip:8082
username: test
password:test
The cameras shows a clip when there is motion, on the home assistant dashboard, then goes back to idle when no motion. I would like to create an automation when it goes from idle to motion detected, how would i go about doing that?
I tried it with a state trigger and action tts. for both cameras, but its not triggering my action, it does however keep the feed available once it detects motion i guess. meaning it doesnt turn the camera feed from the dashboard back to image not available etc.
its not showing anything in history that i can see about the mjpeg stream, but i have a couple things on my dashboard that refer to just upstairs etc…so im changing the alias to see what is what. other than that maybe i can see a tcpdump or something else to capture it since i think its using https.
yeah unfortunately that didnt work heres a picture of my history, just says idle even after ive watched it triggered, theres an option on motioneye for a webhook or a script, so thats probably what ill have to work with, through the cloud and api.ai or something, idk… theres got to be something simple maybe an event or something.