Page 1 sur 1

domoticz offline, enfin, oui, mais non !

Publié : 19 févr. 2019, 22:52
par freulon9292
même soirée studieuse, deuxième post (désolé)

J'ai un pc windows, 3 navigateurs .. et dans les 3, j'ai des onglets domoticz qui fonctionnent parfaitement, et d'autre qui ne fonctionnent pas "domoticz offline" pour interroger mon raspberry

j'ai rebooté le pi, coupé apache au cas ou (mais il devrait pas être sur les mêmes ports), coupé les pauvres sondes que je lançais en cron ....

pi@raspberrypi:~ $ sudo service domoticz.sh start
pi@raspberrypi:~ $ sudo service domoticz.sh status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
Active: active (running) since Tue 2019-02-19 22:33:25 CET; 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 1740 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUCCESS)
Process: 1814 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/domoticz.service
└─1821 /home/pi/domoticz/domoticz -daemon -www 0 -sslwww 9090

févr. 19 22:33:25 raspberrypi systemd[1]: Starting LSB: Home Automation System...
févr. 19 22:33:25 raspberrypi domoticz.sh[1814]: 2019-02-19 22:33:25.118 Status: Domoticz V4.9700 (c)2012-2018 GizMoCuz
févr. 19 22:33:25 raspberrypi domoticz.sh[1814]: 2019-02-19 22:33:25.118 Status: Build Hash: a3a45906, Date: 2018-06-23 16:24:51
févr. 19 22:33:25 raspberrypi domoticz.sh[1814]: 2019-02-19 22:33:25.118 Status: Startup Path: /home/pi/domoticz/
févr. 19 22:33:25 raspberrypi domoticz.sh[1814]: domoticz: Domoticz is starting up....
févr. 19 22:33:25 raspberrypi domoticz[1821]: Domoticz running...
févr. 19 22:33:25 raspberrypi systemd[1]: Started LSB: Home Automation System.

tout devrait bon.
onglet 1 en https://192.168.1.3:9090 -> ça fonctionne, interrupteurs, logs, etc ....
j'ouvre un autre onglet pour garder un oeil sur les logs .. et l'onglet 2 me sort offline

dans les logs, j'ai :

No servers are configured. Hence mydomoticz will not be started either.

bref, je test et retest ... j'ai des onglets qui marchaient et qui continuent de marcher, mais je peux pas en ouvrir de nouveau.
j'en ai que 3 d'ouverts.

j'ai fait une connerie, où il y a une limitation paramétrée quelque part que j'ai loupé ?

Re: domoticz offline, enfin, oui, mais non !

Publié : 21 févr. 2019, 16:02
par Thierry_06
Bonjour
Pareil pour moi avec la meme commande https://82.xxx.xx.xx:9091
Les memes identifiant/ mot de passe , depuis 2 jours si j'essaye datteindre mon domoticz avec mon telephone en passant par un wifi distant ou par le reseau telephonique 3g je tombe sur le panneau offline
Sur le meme reseau wifi avec ma tablette pas de probleme et avec l'ordi portable idem pas de probleme , j'ai acces à toute mon installation.

J'ai changé de navigateur ca n'a rien fait .
Y a-t-il une explication ou une solution

Sur le reseau wifi local je n'ai pas essayé , n'etant pas present sur place .
Dans qq jours je verifierai
Merci

Re: domoticz offline, enfin, oui, mais non !

Publié : 22 févr. 2019, 05:58
par denis_brasseur
freulon9292 a écrit : 19 févr. 2019, 22:52 dans les logs, j'ai :

No servers are configured. Hence mydomoticz will not be started either.
Aucun serveur n'est configuré. Par conséquent, mydomoticz ne sera pas démarré non plus.
Le message d'erreur est en lien avec mydomoticz.

Si celui ci est configuré (Parametre, Onglet Systeme, Paramètres MyDomoticz), peut être peux tu essayer de le désactiver ?
tout devrait bon.
onglet 1 en https://192.168.1.3:9090 -> ça fonctionne, interrupteurs, logs, etc ....
Et si tu teste avec ?
192.168.1.3:9090

Re: domoticz offline, enfin, oui, mais non !

Publié : 27 févr. 2019, 11:39
par Thierry_06
Bonjour

Pour ma part sur le reseau wifi local pas mieux avec le telephone

Mais jai trouvé une solution en passant par le navigateur Chrome et en ouvrant un onglet navigation privé . Et la miracle je peux acceder a domoticz avec les deux adresses locale et distante , plus de offline
Je ne sais toujours pas pourquoi ( mise a jour du navigateur dur le telephone ? )

Re: domoticz offline, enfin, oui, mais non !

Publié : 27 févr. 2019, 13:00
par spiwit
Bonjour,
J'ai eu pareil, vidé le cache de firefox, et les données de sites.

Re: domoticz offline, enfin, oui, mais non !

Publié : 07 mars 2019, 13:44
par freulon9292
je vois que je ne suis pas seul ...

un petit test aujourd'hui où j'avais encore perdu l'interface ...
changement de navigateur -> aucun changement
vider le cache -> aucun changement
relancer domoticz : c'est bon !
pi@raspberrypi:~ $ sudo service domoticz.sh status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
Active: active (exited) since Wed 2019-03-06 17:43:28 CET; 19h ago
Docs: man:systemd-sysv-generator(8)
Process: 376 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/domoticz.service

mars 06 17:43:23 raspberrypi systemd[1]: Starting LSB: Home Automation System...
mars 06 17:43:28 raspberrypi domoticz.sh[376]: 2019-03-06 17:43:28.384 Status: Domoticz V4.9700 (c)2012-2018 GizMoCuz
mars 06 17:43:28 raspberrypi domoticz.sh[376]: 2019-03-06 17:43:28.419 Status: Build Hash: a3a45906, Date: 2018-06-23 16:24:51
mars 06 17:43:28 raspberrypi domoticz.sh[376]: 2019-03-06 17:43:28.449 Status: Startup Path: /home/pi/domoticz/
mars 06 17:43:28 raspberrypi domoticz.sh[376]: domoticz: Domoticz is starting up....
mars 06 17:43:28 raspberrypi domoticz[424]: Domoticz is starting up....
mars 06 17:43:28 raspberrypi domoticz[850]: Domoticz running...
mars 06 17:43:28 raspberrypi systemd[1]: Started LSB: Home Automation System.
pi@raspberrypi:~ $ sudo service domoticz.sh restart
pi@raspberrypi:~ $ sudo service domoticz.sh status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
Active: active (running) since Thu 2019-03-07 13:31:13 CET; 1min 10s ago
Docs: man:systemd-sysv-generator(8)
Process: 31982 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUCCESS)
Process: 31992 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/domoticz.service
└─31999 /home/pi/domoticz/domoticz -daemon -www 0 -sslwww 9090

mars 07 13:31:13 raspberrypi systemd[1]: Starting LSB: Home Automation System...
mars 07 13:31:13 raspberrypi domoticz.sh[31992]: 2019-03-07 13:31:13.174 Status: Domoticz V4.9700 (c)2012-2018 GizMoCuz
mars 07 13:31:13 raspberrypi domoticz.sh[31992]: 2019-03-07 13:31:13.174 Status: Build Hash: a3a45906, Date: 2018-06-23 16:24:51
mars 07 13:31:13 raspberrypi domoticz.sh[31992]: 2019-03-07 13:31:13.175 Status: Startup Path: /home/pi/domoticz/
mars 07 13:31:13 raspberrypi domoticz.sh[31992]: domoticz: Domoticz is starting up....
mars 07 13:31:13 raspberrypi domoticz[31999]: Domoticz running...
mars 07 13:31:13 raspberrypi systemd[1]: Started LSB: Home Automation System.
on peut noter qu'avant d'être relancé, il me manquait une ligne

31999 /home/pi/domoticz/domoticz -daemon -www 0 -sslwww 9090

donc j'en déduis qu'un procesuss était mort.
reste plus qu'à intégrer le restart à mon cron et je résoudrais mon problème (même si c'est pas propre).

Merci de votre aide.