s60sc / ESP32-CAM_MJPEG2SD

ESP32 Camera motion capture application to record JPEGs to SD card as AVI files and stream to browser as MJPEG. If a microphone is installed then a WAV file is also created. Files can be uploaded via FTP or downloaded to browser.
GNU Affero General Public License v3.0
931 stars 214 forks source link

URL for a still-image? #449

Closed vermoi63 closed 5 months ago

vermoi63 commented 5 months ago

Dear developer, this is really great, great work, Tks for sharing this!!

Is there a way to have a URL that is capturing only a still-image in an external browser? (background: want to put it in Home Assistant as a generic camera, or grap it with a "wget" request...) I found the one for streaming, but not the one for still images without using the internal WEB Menu.

Kind regards!

s60sc commented 5 months ago

Thanks

// Direct access URLs for NVR:
// - Video streaming: app_ip/sustain?video=1 
// - Audio streaming: app_ip/sustain?audio=1
// - Subtitle streaming: app_ip/sustain?srt=1
// - Stills: app_ip/control?still=1
vermoi63 commented 5 months ago

Tks, really really great....the still one simply not listed in documentation....just integrated in Home Assistant for 10 sec stills in the picture-glance and works great in parallel to the native firmware function!!!!

vermoi63 commented 5 months ago

Many Thanks for the hint to the still-image URL!