API: what the right querystring to send for a pin-protected device?

Post Reply
sineverba
Posts: 26
Joined: Saturday 22 July 2017 17:25
Target OS: Raspberry Pi
Domoticz version:
Contact:

API: what the right querystring to send for a pin-protected device?

Post by sineverba » Sunday 13 May 2018 10:32

Cannot find the right querystring to send for a pin protected device.

I can see in the API wiki that there is an answer for wrong code (https://www.domoticz.com/wiki/Domoticz_ ... Fswitch_on) but cannot find that query string.

I did try to send:

`code`
`pincode`
`password`

without any success.

Any idea? Thank you in advance!

sineverba
Posts: 26
Joined: Saturday 22 July 2017 17:25
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: API: what the right querystring to send for a pin-protected device?

Post by sineverba » Sunday 13 May 2018 10:51

I answer to myself.

The right querystring is

Code: Select all

passcode
.

Need to update the wiki :)

User avatar
Egregius
Posts: 2678
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: Beta
Location: Beitem, BE
Contact:

Re: API: what the right querystring to send for a pin-protected device?

Post by Egregius » Sunday 13 May 2018 12:48

sineverba wrote:
Sunday 13 May 2018 10:51
Need to update the wiki :)
And did you?

sineverba
Posts: 26
Joined: Saturday 22 July 2017 17:25
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: API: what the right querystring to send for a pin-protected device?

Post by sineverba » Sunday 13 May 2018 14:14

Yes... I did wrong?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests