Page 1 of 1

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

Posted: Sunday 13 May 2018 10:32
by sineverba
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!

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

Posted: Sunday 13 May 2018 10:51
by sineverba
I answer to myself.

The right querystring is

Code: Select all

passcode
.

Need to update the wiki :)

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

Posted: Sunday 13 May 2018 12:48
by Egregius
sineverba wrote: Sunday 13 May 2018 10:51 Need to update the wiki :)
And did you?

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

Posted: Sunday 13 May 2018 14:14
by sineverba
Yes... I did wrong?