Move camera to preset

Moderator: leecollings

Post Reply
mvervoorn
Posts: 4
Joined: Friday 29 April 2016 15:30
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Move camera to preset

Post by mvervoorn »

Hi All,

I have a new Focam F18919W outdoor camera. I would like to configure domoticz to send me an email when the doorbell is pressed. It is possible to configure presets on the camere. How do I configure an action in domoticz to instruct the camere to move to a certain preset which is affcourse set to the frontdoor location.

Thanks

Maarten
mvervoorn
Posts: 4
Joined: Friday 29 April 2016 15:30
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Move camera to preset

Post by mvervoorn »

The commands which I need are:

For the snampshot itself it is:
snapshot.cgi?user=domoticz&pwd=xxxxxx

For moving the camera to possition it is:
decoder_control.cgi?command=35&user=domoticz&pwd=xxxxxx

Both commands are working but I can only enter one line into the imageURL
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Move camera to preset

Post by woody4165 »

Probably you have to do it via a LUA script doing a curl of the url for the preset and then a curl of the snapshot and send it via notification or other way.
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
User avatar
jvdz
Posts: 2189
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Move camera to preset

Post by jvdz »

What about doing this with a script, which sends the 2 URL's to the camera in case a switch gets triggered?

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
pepijn
Posts: 251
Joined: Friday 12 July 2013 13:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Move camera to preset

Post by pepijn »

I use the selector switch to move the camera to its presets. You can add an url to every option/preset


Verzonden vanaf mijn iPhone met Tapatalk
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 0 guests