Page 1 of 1

DZGA with Protected devices

Posted: Monday 25 December 2023 22:13
by Filip
Hi all,
I have quite some experience with Domoticz and DZGA, but am struggling now since a while with accessing protected devices.
I have a protected device with a PIN code... If I access it with Domoticz, all works fine.
On the other hand I have several devices (switches, thermostats, vaccum cleaners, ...) correctly working with DZGA.
However I have one protected device... When changing the device with Google Assistant, it asks me correctly for the PIN code. However after having pronounced the PIN code (and correctly visualised on my Android phone), Google Assistant always tells me that the PIN code is wrong (and the switch has not changed). The PIN code is the same as the one used directly in Domoticz.

My DZGA Configuration is copied below.
Any direction for help?

Camera_Stream: [NOT USED]
Cameras:
Camera_URL:
- http://your.web.server/cam/cam.m3u8
- http://user:[email protected]:8080 ... era2/s.mp4
Idx:
- '123'
- '234'
Enabled: false
CheckForUpdates: true
ClientID: sampleClientId
ClientSecret: sampleClientSecret
Domoticz:
ip: http://127.0.0.1
password: xxxxxxxxxxxxxxxxxxxxxxxx
port: '8080'
roomplan: '2'
switchProtectionPass: true
username: GoogleAssistant
Low_battery_limit: 9
PidFile: ''
auth_pass: yyyyyyyyyyyyyyyyyyyyyyyyyyy
auth_user: GoogleAssistant
loglevel: Info
logtofile: true
ngrok_auth_token: auth_token
ngrok_tunnel: false
pathToLogFile: ''
port_number: 3030
ssl_cert: None
ssl_key: None
use_ssl: false
userinterface: true

Re: DZGA with Protected devices

Posted: Thursday 28 December 2023 9:34
by DewGew
switchProtectionPass: true is wrong.

Use this like this:

Code: Select all

switchProtectionPass: <yourpincode>
eg. switchProtectionPass: 123456

Re: DZGA with Protected devices

Posted: Thursday 28 December 2023 14:46
by Filip
Arch... So simple and searching already a while on it!
Thanks this solves the problem!
Kind regards.
Filip