Camera IDX

Moderator: leecollings

Post Reply
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Camera IDX

Post by deennoo »

Hello,

I try to use LUA to send a Camera Picture when a door is open more than 10 minutes and this is night time.

Trying to use this command

Code: Select all

commandArray['SendCamera:1'] = 'SubjectOfMessage AFTER 5'
From here : http://www.domoticz.com/wiki/LUA_commands#General

There is information :

Code: Select all

The number (1) in this case is the ID of the camera, not the name!
Where to found this number ? there is no number on camera setting, no idx easy to found except to explore domoticz db with sql browser, any idea is welcome.

I have a camera who is the 4th from high to low, or 2nd from low to high, but have number 6 on database
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Camera IDX

Post by remb0 »

If you edit the camera, in the bar of your browser you see number.
SweetPants

Re: Camera IDX

Post by SweetPants »

remb0 wrote: Wednesday 30 May 2018 19:26 If you edit the camera, in the bar of your browser you see number.
Yes, but is this the ID of the camera or the row number of the selected camera?
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Camera IDX

Post by remb0 »

ID. mine is 6 and I don't have 6 rows. you can also use F12 developer mode in the browser.
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: Camera IDX

Post by deennoo »

THX,

I could be better if Camera comes on Devices tab (like scenes and group do).
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest