Page 13 sur 17

Re: Domoticz et Google Home via le plugin DZGA

Publié : 22 nov. 2020, 12:19
par ericch89
Bon j'ai crié victoire trop vite.
Je viens de bien bosser sur tous les parametres de DOMOTICZ et j'ai voulu synchronisé les appareils dans Google HOME ..
Ca ne fonctionne plus .
Il n'arrive pas à se connection sur mon Google Action ..
Pourtant tout fonctionne.

Me voila bloqué sans comprendre pourquoi ..
Avec la domotique je trouve quand meme qu'on passe souvent beaucoup de temps dans les parametres et pour arriver avec des choses pas très stable .. VOus savez l'effet "BONALDI" ..

En fait , quand je suis sur Google Home, je n'arrive plus à me connecter sur l'"action google".
Il m'amène sur DGZA, je rentre mon nom et mdp puis "impossible de se connecter".

Re: Domoticz et Google Home via le plugin DZGA

Publié : 22 nov. 2020, 14:35
par samourai47
peut etre le fichier json qui est corrompu?

Re: Domoticz et Google Home via le plugin DZGA

Publié : 22 nov. 2020, 15:36
par ericch89
Du coup ca veut dire que je dois corriger quoi ?

Re: Domoticz et Google Home via le plugin DZGA

Publié : 22 nov. 2020, 17:07
par samourai47
essaye de recharger le fichier json a partir de la console google et tu le remets dans le repertoire config de dgza
A essayer...

Re: Domoticz et Google Home via le plugin DZGA

Publié : 22 nov. 2020, 17:19
par ericch89
En fait je ne m'en suis jamais occupé de ce fichier ..
Je vais regarder .. merci pour la piste

Re: Domoticz et Google Home via le plugin DZGA

Publié : 30 nov. 2020, 15:35
par ericch89
En fait après avoir enlevé Jdowloader , cela semble être beaucoup plus stable puisque ca tourne depuis 1 semaine..
Merci pour l'aide apportée .. Et vive la domotique gratuite ...

Re: Domoticz et Google Home via le plugin DZGA

Publié : 05 déc. 2020, 14:18
par SpaWnOL
Aie aie aie!

J'ai remis à jour dzga ... et j'ai du refaire mon dyndns...

Dès que je met à True le SSL et que je fais un "python3 Domoticz-Google-Assistant"

Loading configuration...
Connecting to Domoticz on http://................:8080
Service account key is not found. Report state will be unavailable
Using SSL connection
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "Domoticz-Google-Assistant/__main__.py", line 109, in <module>
startServer()
File "Domoticz-Google-Assistant/__main__.py", line 52, in startServer
secure(server)
File "Domoticz-Google-Assistant/__main__.py", line 26, in secure
server.socket = ssl.wrap_socket (server.socket, keyfile=key, certfile=cert, server_side=True, ssl_version=ssl.PROTOCOL_TLSv1_2)
File "/usr/lib/python3.7/ssl.py", line 1216, in wrap_socket
context.load_cert_chain(certfile, keyfile)
PermissionError: [Errno 13] Permission denied

Alors que ca fonctionne avec le SSL à false ! (j'utilise NGINX)

Merci

Re: Domoticz et Google Home via le plugin DZGA

Publié : 06 déc. 2020, 11:06
par SpaWnOL
Je continue sur mon probleme :)
Voilà ce que me donne

pi@raspberrypi:~ $ pip install -r ~/Domoticz-Google-Assistant/requirements/pip-requirements.txt

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting certifi>=2019.9.11 (from -r /home/pi/Domoticz-Google-Assistant/requirements/pip-requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Collecting chardet>=3.0.4 (from -r /home/pi/Domoticz-Google-Assistant/requirements/pip-requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Collecting future>=0.18.2 (from -r /home/pi/Domoticz-Google-Assistant/requirements/pip-requirements.txt (line 3))
Using cached https://files.pythonhosted.org/packages ... 8.2.tar.gz
Collecting idna>=2.8 (from -r /home/pi/Domoticz-Google-Assistant/requirements/pip-requirements.txt (line 4))
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Collecting pid>=3.0.3 (from -r /home/pi/Domoticz-Google-Assistant/requirements/pip-requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Requirement already satisfied: PyYAML>=5.1.2 in ./.local/lib/python2.7/site-packages (from -r /home/pi/Domoticz-Google-Assistant/requirements/pip-requirements.txt (line 6)) (5.3.1)
Collecting requests>=2.22.0 (from -r /home/pi/Domoticz-Google-Assistant/requirements/pip-requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Collecting urllib3>=1.25.7 (from -r /home/pi/Domoticz-Google-Assistant/requirements/pip-requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Collecting GitPython>=3.0.5 (from -r /home/pi/Domoticz-Google-Assistant/requirements/pip-requirements.txt (line 9))
Could not find a version that satisfies the requirement GitPython>=3.0.5 (from -r /home/pi/Domoticz-Google-Assistant/requirements/pip-requirements.txt (line 9)) (from versions: 0.1.7, 0.2.0b1, 0.3.0b1, 0.3.0b2, 0.3.1b2, 0.3.2rc1, 0.3.2, 0.3.2.1, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 1.0.0, 1.0.1, 1.0.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9.dev0, 2.0.9.dev1, 2.0.9, 2.1.0, 2.1.1, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.1.13, 2.1.14, 2.1.15)
No matching distribution found for GitPython>=3.0.5 (from -r /home/pi/Domoticz-Google-Assistant/requirements/pip-requirements.txt (line 9))

Re: Domoticz et Google Home via le plugin DZGA

Publié : 06 déc. 2020, 11:17
par samourai47
hello
En ce qui me concerne je suis depasse
essaye de poster dans le forum anglais domoticz.com/forum?

Re: Domoticz et Google Home via le plugin DZGA

Publié : 06 déc. 2020, 12:03
par SpaWnOL
Je viens de le faire.. truc de dingue.. il va me rendre fou de DZGA !!! :shock: :?