How can I make domoticz use fswebcam rather than uvccapture?

Moderator: leecollings

Post Reply
Paul
Posts: 5
Joined: Saturday 31 October 2015 16:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

How can I make domoticz use fswebcam rather than uvccapture?

Post by Paul »

How can I make domoticz use fswebcam rather than uvccapture?

on raspberry webcam works with fswebcam, but not with uvccapture.
User avatar
thommy86
Posts: 3
Joined: Sunday 20 September 2015 16:01
Target OS: NAS (Synology & others)
Domoticz version:
Location: NL - Brabant
Contact:

Re: How can I make domoticz use fswebcam rather than uvccapt

Post by thommy86 »

Did you have a solution for this? Can get a good screenshot with uvccapture. fswebcam is working fine. Now I am searching how to add to domoticz.
* Raspberry Pi * RFLink * Philips Hue * Toon * USB Cam (motion) * Eurodomest switches * Doorbell *
User avatar
mlamie
Posts: 122
Joined: Friday 25 October 2013 17:12
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: The Netherlands
Contact:

Re: How can I make domoticz use fswebcam rather than uvccapture?

Post by mlamie »

I do have the same request. uvccapture will give me a green snapshot. fswebcam works fine.
Raspberry Pi 3, RaZberry, RFXtrx433
Various Z-Wave devices, KlikAanKlikUit devices, ESP8266 NodeMCU, Sonoff POW and a Essent E-thermostaat
IP camera: Dahua 4MP IPC-HDBW4421R-AS, Vivotek FD8134V
enboer
Posts: 35
Joined: Tuesday 02 October 2018 15:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How can I make domoticz use fswebcam rather than uvccapture?

Post by enboer »

Although this is an old post already, I post my experience and workaround for this. I have an endoscope camera that monitors my descaler that is in the basement.
I had a similar issue that uvccapture did not get a correct picture (green screen with some other colored pixels at the top). fswebcam is doing fine.
Search internet for solution to get the camera to work with uvccapture but no luck.
What I did was created a script called /usr/bin/uvccapture (renamed the binary uvccapture). In this script I execute the fswebcam command:
fswebcam -r "1600x1200" /home/pi/domoticz/tempcam.jpg

You can use other fswebcam options here as well, as long as you create the tempcam.jpg picture, that is what Domoticz will show.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest