Working!DewGew wrote:I added RFYEldigoR wrote: ↑Friday 12 April 2019 15:25
I think it can be yes
https://shop.somfy.co.uk/smart-home/lights-switches
but I only have screens
Give it a try again
Thanks
Moderator: leecollings
Working!DewGew wrote:I added RFYEldigoR wrote: ↑Friday 12 April 2019 15:25
I think it can be yes
https://shop.somfy.co.uk/smart-home/lights-switches
but I only have screens
Give it a try again
For example I ask "Turn on kitchen lamp", GA replies "Are you sure you want to turn on kitchen lamp? I answere yes or no.
I think the bug is fixed. Check latest.ressof wrote: ↑Thursday 18 April 2019 8:31 I think I have found a bug.
When I ask after a temperature I get an old value. When I ask again then I get the actual value.
Same thing happens in the Google Home App. When I push on a temperature I get an old value and when I go back and push the temperature again I get the actual value.
When I do a sync I get the real values but if the temperature has changed since the sync or the last time I check the temperature I get the temperature old temperature. When I check directly again I get the new one.
Does anybody else has this problem?
Edit:
I see now that the same thing happens on the switches and dimmers.
Code: Select all
python3 Domoticz-Google-Assistant/
Started httpserver on port 3030
No user data
127.0.0.1 - - [02/Jun/2019 20:06:46] "GET /oauth?response_type=code&client_id=400836786661-e2h8l5tfrprj8ij90sconshcj9gh0h9c.apps.googleusercontent.com&redirect_uri=https://oauth-redirect.googleusercontent.com/r/domoticz-50811&state=CrQCQVBoSlZ2ZWFzdEZrVzd3RGpfamlzS3laWVpMSHpmNHpXUUotM0ZZUG9qejc5cG04bVRueER2RWwySzdEN1BjZjhFallaTThrNEZDSlJOZzVneXJGcXJyT1VFVThfU3A4ZmRVcUZoRnFULWtLQVNIcld2dkJqLWQ0ZWVNUnJRSTRoZ0dsa1pPUWkzZlkyU2FBb2F4VFJYXzdkRTlROElFdmtBYzM5NEJLSVljT215b2FoVGoxNjlsY0laUHlfb0VWLXphOUpVbVp3aVBJNk5DNXhPNUg5ek1pZEpubHZJYm13RUdxUEZUMzRJa1JIeFFxamhpbjhpWXNDYVJ5dW40dDZ1anRkei0tUlVaeGlwV1EyNzB5RjhrY0VDQnRJVVNzTDhLaWs1NDd0dERQVmFPS3hzVUYSHGFzc2lzdGFudC1oYW5kb2ZmOi8vY29tcGxldGUiPWh0dHBzOi8vb2F1dGgtcmVkaXJlY3QuZ29vZ2xldXNlcmNvbnRlbnQuY29tL3IvZG9tb3RpY3otNTA4MTEqEHdld2EwMEBnbWFpbC5jb20yEmRvbW90aWN6LTUwODExX2Rldg HTTP/1.0" 307 -
127.0.0.1 - - [02/Jun/2019 20:06:46] "GET /login?client_id=400836786661-e2h8l5tfrprj8ij90sconshcj9gh0h9c.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Foauth-redirect.googleusercontent.com%2Fr%2Fdomoticz-50811&redirect=/oauth&state=CrQCQVBoSlZ2ZWFzdEZrVzd3RGpfamlzS3laWVpMSHpmNHpXUUotM0ZZUG9qejc5cG04bVRueER2RWwySzdEN1BjZjhFallaTThrNEZDSlJOZzVneXJGcXJyT1VFVThfU3A4ZmRVcUZoRnFULWtLQVNIcld2dkJqLWQ0ZWVNUnJRSTRoZ0dsa1pPUWkzZlkyU2FBb2F4VFJYXzdkRTlROElFdmtBYzM5NEJLSVljT215b2FoVGoxNjlsY0laUHlfb0VWLXphOUpVbVp3aVBJNk5DNXhPNUg5ek1pZEpubHZJYm13RUdxUEZUMzRJa1JIeFFxamhpbjhpWXNDYVJ5dW40dDZ1anRkei0tUlVaeGlwV1EyNzB5RjhrY0VDQnRJVVNzTDhLaWs1NDd0dERQVmFPS3hzVUYSHGFzc2lzdGFudC1oYW5kb2ZmOi8vY29tcGxldGUiPWh0dHBzOi8vb2F1dGgtcmVkaXJlY3QuZ29vZ2xldXNlcmNvbnRlbnQuY29tL3IvZG9tb3RpY3otNTA4MTEqEHdld2EwMEBnbWFpbC5jb20yEmRvbW90aWN6LTUwODExX2Rldg HTTP/1.0" 200 -
127.0.0.1 - - [02/Jun/2019 20:06:49] "POST /login HTTP/1.1" 404 -
127.0.0.1 - - [02/Jun/2019 20:06:50] "GET /sync HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2019 20:07:01] "POST /login HTTP/1.0" 301 -
127.0.0.1 - - [02/Jun/2019 20:07:02] "POST /token HTTP/1.0" 200 -
{'requestId': '9166339622774814213', 'inputs': [{'intent': 'action.devices.SYNC'}]}
127.0.0.1 - - [02/Jun/2019 20:07:05] "POST /smarthome HTTP/1.0" 200 -
Check your urls and settings on Actions on Google. Are you running on same machine as domoticz?wewa wrote: ↑Sunday 02 June 2019 20:14 Hello,
I can't connect via Google Home app. I find my [test] service, get redirected to the login page where I enter the Oauth credentials and the Google Home app tells me that it is connecting to my [test] service. But this status window disappears after some time and my [test] service ist not connected.
Here is the log of Domoticz-Google-Assistant:What is the problem here?Code: Select all
python3 Domoticz-Google-Assistant/ Started httpserver on port 3030 No user data 127.0.0.1 - - [02/Jun/2019 20:06:46] "GET /oauth?response_type=code&client_id=400836786661-e2h8l5tfrprj8ij90sconshcj9gh0h9c.apps.googleusercontent.com&redirect_uri=https://oauth-redirect.googleusercontent.com/r/domoticz-50811&state=CrQCQVBoSlZ2ZWFzdEZrVzd3RGpfamlzS3laWVpMSHpmNHpXUUotM0ZZUG9qejc5cG04bVRueER2RWwySzdEN1BjZjhFallaTThrNEZDSlJOZzVneXJGcXJyT1VFVThfU3A4ZmRVcUZoRnFULWtLQVNIcld2dkJqLWQ0ZWVNUnJRSTRoZ0dsa1pPUWkzZlkyU2FBb2F4VFJYXzdkRTlROElFdmtBYzM5NEJLSVljT215b2FoVGoxNjlsY0laUHlfb0VWLXphOUpVbVp3aVBJNk5DNXhPNUg5ek1pZEpubHZJYm13RUdxUEZUMzRJa1JIeFFxamhpbjhpWXNDYVJ5dW40dDZ1anRkei0tUlVaeGlwV1EyNzB5RjhrY0VDQnRJVVNzTDhLaWs1NDd0dERQVmFPS3hzVUYSHGFzc2lzdGFudC1oYW5kb2ZmOi8vY29tcGxldGUiPWh0dHBzOi8vb2F1dGgtcmVkaXJlY3QuZ29vZ2xldXNlcmNvbnRlbnQuY29tL3IvZG9tb3RpY3otNTA4MTEqEHdld2EwMEBnbWFpbC5jb20yEmRvbW90aWN6LTUwODExX2Rldg HTTP/1.0" 307 - 127.0.0.1 - - [02/Jun/2019 20:06:46] "GET /login?client_id=400836786661-e2h8l5tfrprj8ij90sconshcj9gh0h9c.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Foauth-redirect.googleusercontent.com%2Fr%2Fdomoticz-50811&redirect=/oauth&state=CrQCQVBoSlZ2ZWFzdEZrVzd3RGpfamlzS3laWVpMSHpmNHpXUUotM0ZZUG9qejc5cG04bVRueER2RWwySzdEN1BjZjhFallaTThrNEZDSlJOZzVneXJGcXJyT1VFVThfU3A4ZmRVcUZoRnFULWtLQVNIcld2dkJqLWQ0ZWVNUnJRSTRoZ0dsa1pPUWkzZlkyU2FBb2F4VFJYXzdkRTlROElFdmtBYzM5NEJLSVljT215b2FoVGoxNjlsY0laUHlfb0VWLXphOUpVbVp3aVBJNk5DNXhPNUg5ek1pZEpubHZJYm13RUdxUEZUMzRJa1JIeFFxamhpbjhpWXNDYVJ5dW40dDZ1anRkei0tUlVaeGlwV1EyNzB5RjhrY0VDQnRJVVNzTDhLaWs1NDd0dERQVmFPS3hzVUYSHGFzc2lzdGFudC1oYW5kb2ZmOi8vY29tcGxldGUiPWh0dHBzOi8vb2F1dGgtcmVkaXJlY3QuZ29vZ2xldXNlcmNvbnRlbnQuY29tL3IvZG9tb3RpY3otNTA4MTEqEHdld2EwMEBnbWFpbC5jb20yEmRvbW90aWN6LTUwODExX2Rldg HTTP/1.0" 200 - 127.0.0.1 - - [02/Jun/2019 20:06:49] "POST /login HTTP/1.1" 404 - 127.0.0.1 - - [02/Jun/2019 20:06:50] "GET /sync HTTP/1.1" 200 - 127.0.0.1 - - [02/Jun/2019 20:07:01] "POST /login HTTP/1.0" 301 - 127.0.0.1 - - [02/Jun/2019 20:07:02] "POST /token HTTP/1.0" 200 - {'requestId': '9166339622774814213', 'inputs': [{'intent': 'action.devices.SYNC'}]} 127.0.0.1 - - [02/Jun/2019 20:07:05] "POST /smarthome HTTP/1.0" 200 -
Best regards,
wewa
I double checked the urls in Actions. All seem correct:
Its a google issue. They haven't released any touch control for this yet. But it works with open/close blind by voice.ressof wrote: ↑Tuesday 04 June 2019 8:59 Ive added an dummy switch with switch type "Blinds" and it is visible in the Google Home App when I do a sync.
But I cannot open it or close it. The icon of the blind in Google Home App show a cogwheel in top right corner and when i push it I only get some information about it. No way of controlling it.
Is there a way to fix this?
This only seemed to be a temporary issue with the Google Home App. Today I tested again and it works now without any changes.wewa wrote: ↑Sunday 02 June 2019 20:14 Hello,
I can't connect via Google Home app. I find my [test] service, get redirected to the login page where I enter the Oauth credentials and the Google Home app tells me that it is connecting to my [test] service. But this status window disappears after some time and my [test] service ist not connected.
Here is the log of Domoticz-Google-Assistant:What is the problem here?Code: Select all
python3 Domoticz-Google-Assistant/ Started httpserver on port 3030 No user data 127.0.0.1 - - [02/Jun/2019 20:06:46] "GET /oauth?response_type=code&client_id=400836786661-e2h8l5tfrprj8ij90sconshcj9gh0h9c.apps.googleusercontent.com&redirect_uri=https://oauth-redirect.googleusercontent.com/r/domoticz-50811&state=CrQCQVBoSlZ2ZWFzdEZrVzd3RGpfamlzS3laWVpMSHpmNHpXUUotM0ZZUG9qejc5cG04bVRueER2RWwySzdEN1BjZjhFallaTThrNEZDSlJOZzVneXJGcXJyT1VFVThfU3A4ZmRVcUZoRnFULWtLQVNIcld2dkJqLWQ0ZWVNUnJRSTRoZ0dsa1pPUWkzZlkyU2FBb2F4VFJYXzdkRTlROElFdmtBYzM5NEJLSVljT215b2FoVGoxNjlsY0laUHlfb0VWLXphOUpVbVp3aVBJNk5DNXhPNUg5ek1pZEpubHZJYm13RUdxUEZUMzRJa1JIeFFxamhpbjhpWXNDYVJ5dW40dDZ1anRkei0tUlVaeGlwV1EyNzB5RjhrY0VDQnRJVVNzTDhLaWs1NDd0dERQVmFPS3hzVUYSHGFzc2lzdGFudC1oYW5kb2ZmOi8vY29tcGxldGUiPWh0dHBzOi8vb2F1dGgtcmVkaXJlY3QuZ29vZ2xldXNlcmNvbnRlbnQuY29tL3IvZG9tb3RpY3otNTA4MTEqEHdld2EwMEBnbWFpbC5jb20yEmRvbW90aWN6LTUwODExX2Rldg HTTP/1.0" 307 - 127.0.0.1 - - [02/Jun/2019 20:06:46] "GET /login?client_id=400836786661-e2h8l5tfrprj8ij90sconshcj9gh0h9c.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Foauth-redirect.googleusercontent.com%2Fr%2Fdomoticz-50811&redirect=/oauth&state=CrQCQVBoSlZ2ZWFzdEZrVzd3RGpfamlzS3laWVpMSHpmNHpXUUotM0ZZUG9qejc5cG04bVRueER2RWwySzdEN1BjZjhFallaTThrNEZDSlJOZzVneXJGcXJyT1VFVThfU3A4ZmRVcUZoRnFULWtLQVNIcld2dkJqLWQ0ZWVNUnJRSTRoZ0dsa1pPUWkzZlkyU2FBb2F4VFJYXzdkRTlROElFdmtBYzM5NEJLSVljT215b2FoVGoxNjlsY0laUHlfb0VWLXphOUpVbVp3aVBJNk5DNXhPNUg5ek1pZEpubHZJYm13RUdxUEZUMzRJa1JIeFFxamhpbjhpWXNDYVJ5dW40dDZ1anRkei0tUlVaeGlwV1EyNzB5RjhrY0VDQnRJVVNzTDhLaWs1NDd0dERQVmFPS3hzVUYSHGFzc2lzdGFudC1oYW5kb2ZmOi8vY29tcGxldGUiPWh0dHBzOi8vb2F1dGgtcmVkaXJlY3QuZ29vZ2xldXNlcmNvbnRlbnQuY29tL3IvZG9tb3RpY3otNTA4MTEqEHdld2EwMEBnbWFpbC5jb20yEmRvbW90aWN6LTUwODExX2Rldg HTTP/1.0" 200 - 127.0.0.1 - - [02/Jun/2019 20:06:49] "POST /login HTTP/1.1" 404 - 127.0.0.1 - - [02/Jun/2019 20:06:50] "GET /sync HTTP/1.1" 200 - 127.0.0.1 - - [02/Jun/2019 20:07:01] "POST /login HTTP/1.0" 301 - 127.0.0.1 - - [02/Jun/2019 20:07:02] "POST /token HTTP/1.0" 200 - {'requestId': '9166339622774814213', 'inputs': [{'intent': 'action.devices.SYNC'}]} 127.0.0.1 - - [02/Jun/2019 20:07:05] "POST /smarthome HTTP/1.0" 200 -
Best regards,
wewa
Code: Select all
{'requestId': '15388229233139809990', 'inputs': [{'intent': 'action.devices.EXECUTE', 'context': {'locale_language': 'en'}, 'payload': {'commands': [{'execution': [{'params': {'on': True}, 'command': 'action.devices.commands.OnOff'}], 'devices': [{'id': 'Light/Switch1'}]}]}}]}
Unable to execute action.devices.commands.OnOff for Light/Switch1 - challenge needed
127.0.0.1 - - [04/Jun/2019 20:25:55] "POST /smarthome HTTP/1.0" 200 -
Code: Select all
#Additional nicknames and room configuration
DEVICE_CONFIG = {
'1' : {
'nicknames' : ['Licht'],
'room' : 'Heizung' ,
'ack' : True}
}
I made some changes on OpenClose. Try out latest..ressof wrote: ↑Tuesday 04 June 2019 8:59 Ive added an dummy switch with switch type "Blinds" and it is visible in the Google Home App when I do a sync.
But I cannot open it or close it. The icon of the blind in Google Home App show a cogwheel in top right corner and when i push it I only get some information about it. No way of controlling it.
Is there a way to fix this?
It worked with removing the 'ack' line. Thank you.DewGew wrote: ↑Wednesday 05 June 2019 14:31 Try to set 'ack' : False or remove that line
DOMOTICZ_SWITCH_PROTECTION_PASSWD must be the same as in domoticz settings (works only with numbers).
if you have password protection in domoticz you have to disable this in that device in domoticz for not using a pin in GA.
This works in my config. Ack is disabled:wewa wrote: ↑Monday 10 June 2019 17:39It worked with removing the 'ack' line. Thank you.DewGew wrote: ↑Wednesday 05 June 2019 14:31 Try to set 'ack' : False or remove that line
DOMOTICZ_SWITCH_PROTECTION_PASSWD must be the same as in domoticz settings (works only with numbers).
if you have password protection in domoticz you have to disable this in that device in domoticz for not using a pin in GA.
Code: Select all
DEVICE_CONFIG = {
'382' : {
'nicknames' : ['Dining Room Light'],
'ack' : False},
}
Code: Select all
DEVICE_CONFIG = {
'382' : {
'nicknames' : ['Dining Room Light'],
'ack' : True},
}
User: turn on the dining room light.
Google Assistant: turning on the dining room light. Are you sure?
User: Yes.
Google Assistant: turning on the dining room light.
User: Set the security system to armed away.
Google Assistant: Can I have your security code?
User: 1234
Google Assistant: Ok, arming the security system to armed away.
Change this in config.py for user-friendly name for the arm levels in your language:user: Is my security system armed?
Google Assistant: The security system is armed to armed away.
Code: Select all
ARMHOME = {
"level_synonym": ["armed home", "low security", "home and guarding", "level 1", "home", "SL1"], # Custom levelnames for armed home
"lang": "en" # language
}
ARMAWAY = {
"level_synonym": ["armed away", "high security", "away and guarding", "level 2", "away", "SL2"], # Custom levelnames for armed away
"lang": "en" # language
}
Users browsing this forum: No registered users and 1 guest