DZGA with Protected devices Topic is solved

Alexa, Google Home and Siri

Moderator: leecollings

Post Reply
Filip
Posts: 135
Joined: Thursday 03 November 2016 10:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

DZGA with Protected devices

Post 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
User avatar
DewGew
Posts: 582
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: DZGA with Protected devices

Post by DewGew »

switchProtectionPass: true is wrong.

Use this like this:

Code: Select all

switchProtectionPass: <yourpincode>
eg. switchProtectionPass: 123456
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
Filip
Posts: 135
Joined: Thursday 03 November 2016 10:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: DZGA with Protected devices

Post by Filip »

Arch... So simple and searching already a while on it!
Thanks this solves the problem!
Kind regards.
Filip
Filip
Posts: 135
Joined: Thursday 03 November 2016 10:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: DZGA with Protected devices

Post by Filip »

Coming back to this topic... And btw in the meantime I migrated to dzga_flask... All working fine, including protected devices... I used this to activate some devices from my car with Android Auto. Asking to switch on/off a device, Google Assistant asked for the PIN code, speaking the PIN code and then all went smoothly.
Unfortunately now Android Auto integrated Gemini... And guess... when switching the protected device, Gemini answers that a PIN is required and that it is not supported. Conclusion: it does not work anymore with Gemini for protected devices.
Has somebody the same problem and any solution?
Thanks,
Filip
Post Reply