Camera surveillance parameters exposed on JSON interface Topic is solved

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
FrancescoS
Posts: 12
Joined: Sunday 19 May 2019 21:16
Target OS: -
Domoticz version:
Contact:

Camera surveillance parameters exposed on JSON interface

Post by FrancescoS »

Hello,

I encountered the need to modify from a script or a plugin surveillance camera settings in domoticz.
It seems to me that parameters are not exposed.

Would it be possible to do it in one of the next release?

The scenario i am using it , is where the camera after reboot changes its listening port, so having this updatable would be great.

Thank you
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Camera surveillance parameters exposed on JSON interface

Post by waaren »

FrancescoS wrote: Friday 10 April 2020 10:53 I encountered the need to modify from a script or a plugin surveillance camera settings in domoticz.
Is this what you are looking for ? (image url is base64 encoded)

Code: Select all


http://<domoticzIP:domoticzPort>/json.htm?type=cameras

http://<domoticzIP:domoticzPort>/json.htm?type=command&param=addcamera&address=192.168.192.111&port=19765&name=test&enabled=true&imageurl=aW1hZ2UuanBn&protocol=0

http://<domoticzIP:domoticzPort>/json.htm?type=command&param=updatecamera&address=192.168.192.111&port=19767&name=test&enabled=true&idx=1&imageurl=aW1hZ2UuanBn&protocol=0
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
FrancescoS
Posts: 12
Joined: Sunday 19 May 2019 21:16
Target OS: -
Domoticz version:
Contact:

Re: Camera surveillance parameters exposed on JSON interface

Post by FrancescoS »

yes!

thank you!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest