Where to get ID for SendCamera

Moderator: leecollings

Post Reply
domopi
Posts: 3
Joined: Monday 18 December 2017 22:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Where to get ID for SendCamera

Post by domopi »

Hi,

the wiki page for LUA:
http://www.domoticz.com/wiki/LUA_commands#General

has following info:
commandArray['SendCamera:1'] = 'SubjectOfMessage AFTER 5' -- This is equal to 'Send camera snapshot with subject "Subject of Message" after 5 seconds. The number (1) in this case is the ID of the camera, not the name!

But I can't find any info on how to actually get the ID, or I'm missing it.
The Camera page doesn't show it and the camera's aren't listed in Devices.
This is probably a simple question but one I can't seem to find the answer for.

Thanks for your help.
domopi
Posts: 3
Joined: Monday 18 December 2017 22:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Where to get ID for SendCamera

Post by domopi »

To debug another issue I'm having I needed to download and open domoticz.db.
There is a table in the database (Cameras) which stores the ID so I managed to get it from there.
Would be handy if someone knows a way through the webinterface though :)
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Where to get ID for SendCamera

Post by emme »

the ID is shown in the camera setup table
ciao
M
The most dangerous phrase in any language is:
"We always done this way"
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest