Page 76 sur 120

Re: MyDomoAtHome - ImperiHome

Publié : 30 oct. 2017, 18:32
par Ouiskie
Bonjour,

Depuis cette après-midi je n'arrive plus à afficher mes périphériques de Domoticz sur Imperihome. Après quelques tests je viens de voir que ip:3002/devices me renvoie une erreur de page inaccessible. J'ai mis à jour les paquets sur le pi et toujours pareil.
Quand je fais un sudo journalctl -u mydomoathome,voici ce que j'ai :

Code : Tout sélectionner

oct. 30 18:20:44 OuiskiePI systemd[1]: Starting MDAH ISS Rest interface for Domoticz to Imperihome...
oct. 30 18:20:44 OuiskiePI systemd[1]: Started MDAH ISS Rest interface for Domoticz to Imperihome.
oct. 30 18:20:52 OuiskiePI MDAH[2962]: info: Domoticz server: http://127.0.0.1:8080/json.htm
oct. 30 18:20:52 OuiskiePI MDAH[2962]: info: Node version: 4.2.2
oct. 30 18:20:52 OuiskiePI MDAH[2962]: info: MDAH version: MyDomoAtHome 0.2.30
oct. 30 18:20:52 OuiskiePI MDAH[2962]: info: OS version: Linux linux 4.9.35-v7+
oct. 30 18:20:52 OuiskiePI MDAH[2962]: info: Hostname: OuiskiePI 192.168.0.100 in /var/www /
oct. 30 18:20:52 OuiskiePI MDAH[2962]: info: Refreshing version cache: v0.2.30
oct. 30 18:22:10 OuiskiePI MDAH[2962]: /usr/share/mydomoathome/app/mdah.js:431
oct. 30 18:22:10 OuiskiePI MDAH[2962]: params.push({"key": "Value", "value": ret[lvl].toString()});
oct. 30 18:22:10 OuiskiePI MDAH[2962]: ^
oct. 30 18:22:10 OuiskiePI MDAH[2962]: TypeError: Cannot read property 'toString' of undefined
oct. 30 18:22:10 OuiskiePI MDAH[2962]: at DevMultiSwitch (/usr/share/mydomoathome/app/mdah.js:431:51)
oct. 30 18:22:10 OuiskiePI MDAH[2962]: at Request._callback (/usr/share/mydomoathome/app/mdah.js:2447:45)
oct. 30 18:22:10 OuiskiePI MDAH[2962]: at Request.self.callback (/usr/share/mydomoathome/app/node_modules/request/request.js:200:22)
oct. 30 18:22:10 OuiskiePI MDAH[2962]: at emitTwo (events.js:87:13)
oct. 30 18:22:10 OuiskiePI MDAH[2962]: at Request.emit (events.js:172:7)
oct. 30 18:22:10 OuiskiePI MDAH[2962]: at Request.<anonymous> (/usr/share/mydomoathome/app/node_modules/request/request.js:1067:10)
oct. 30 18:22:10 OuiskiePI MDAH[2962]: at emitOne (events.js:82:20)
oct. 30 18:22:10 OuiskiePI MDAH[2962]: at Request.emit (events.js:169:7)
oct. 30 18:22:10 OuiskiePI MDAH[2962]: at IncomingMessage.<anonymous> (/usr/share/mydomoathome/app/node_modules/request/request.js:988:12)
oct. 30 18:22:10 OuiskiePI MDAH[2962]: at emitNone (events.js:72:20)
oct. 30 18:22:10 OuiskiePI MDAH[2962]: error: Forever detected script exited with code: 1
oct. 30 18:22:10 OuiskiePI MDAH[2962]: error: Script restart attempt #1
oct. 30 18:22:15 OuiskiePI MDAH[2962]: info: Domoticz server: http://127.0.0.1:8080/json.htm
oct. 30 18:22:15 OuiskiePI MDAH[2962]: info: Node version: 4.2.2
oct. 30 18:22:15 OuiskiePI MDAH[2962]: info: MDAH version: MyDomoAtHome 0.2.30
oct. 30 18:22:15 OuiskiePI MDAH[2962]: info: OS version: Linux linux 4.9.35-v7+
oct. 30 18:22:15 OuiskiePI MDAH[2962]: info: Hostname: OuiskiePI 192.168.0.100 in /var/www /
oct. 30 18:22:16 OuiskiePI MDAH[2962]: info: Refreshing version cache: v0.2.30
Est ce que quelqu'un peut m'aider svp?

Merci.

Re: MyDomoAtHome - ImperiHome

Publié : 30 oct. 2017, 18:34
par yanael
Yop
Petit soucis de remonté de consommation totale avec mon owl160.

Sur domoticz c est juste sur imperihome il est faux.

Re: MyDomoAtHome - ImperiHome

Publié : 30 oct. 2017, 19:01
par epierre
@ouiskie peux tu downgrader en 0.2.29 et me dire si tu reproduis ? As tu mis a jour domoticz récemment ?

Re: MyDomoAtHome - ImperiHome

Publié : 30 oct. 2017, 21:49
par Ouiskie
J'ai mis à jour Domoticz il y a 3semaines environ. Il y a une manière simple pour downgrader?

Merci.

Re: MyDomoAtHome - ImperiHome

Publié : 30 oct. 2017, 22:36
par epierre
Ouiskie a écrit :J'ai mis à jour Domoticz il y a 3semaines environ. Il y a une manière simple pour downgrader?

Merci.
Récupérer le package ici

https://e-nef.com/domoticz/mdah/

Puis un dpkg -i

Re: MyDomoAtHome - ImperiHome

Publié : 31 oct. 2017, 08:37
par Ouiskie
Je viens de downgrader en 0.2.29 et toujours pareil. Voici les logs :

Code : Tout sélectionner

oct. 31 08:34:27 OuiskiePI systemd[1]: Starting MDAH ISS Rest interface for Domoticz to Imperihome...
oct. 31 08:34:27 OuiskiePI systemd[1]: Started MDAH ISS Rest interface for Domoticz to Imperihome.
oct. 31 08:34:35 OuiskiePI MDAH[2174]: info: Domoticz server: http://127.0.0.1:8080/json.htm
oct. 31 08:34:35 OuiskiePI MDAH[2174]: info: Node version: 4.2.2
oct. 31 08:34:35 OuiskiePI MDAH[2174]: info: MDAH version: MyDomoAtHome 0.2.29
oct. 31 08:34:35 OuiskiePI MDAH[2174]: info: OS version: Linux linux 4.9.35-v7+
oct. 31 08:34:35 OuiskiePI MDAH[2174]: info: Hostname: OuiskiePI 192.168.0.100 in /var/www /
oct. 31 08:34:36 OuiskiePI MDAH[2174]: info: Refreshing version cache: v0.2.30
oct. 31 08:34:50 OuiskiePI systemd[1]: Started MDAH ISS Rest interface for Domoticz to Imperihome.
oct. 31 08:35:09 OuiskiePI MDAH[2174]: /usr/share/mydomoathome/app/mdah.js:421
oct. 31 08:35:09 OuiskiePI MDAH[2174]: params.push({"key": "Value", "value": ret[lvl].toString()});
oct. 31 08:35:09 OuiskiePI MDAH[2174]: ^
oct. 31 08:35:09 OuiskiePI MDAH[2174]: TypeError: Cannot read property 'toString' of undefined
oct. 31 08:35:09 OuiskiePI MDAH[2174]: at DevMultiSwitch (/usr/share/mydomoathome/app/mdah.js:421:51)
oct. 31 08:35:09 OuiskiePI MDAH[2174]: at Request._callback (/usr/share/mydomoathome/app/mdah.js:2437:45)
oct. 31 08:35:09 OuiskiePI MDAH[2174]: at Request.self.callback (/usr/share/mydomoathome/app/node_modules/request/request.js:200:22)
oct. 31 08:35:09 OuiskiePI MDAH[2174]: at emitTwo (events.js:87:13)
oct. 31 08:35:09 OuiskiePI MDAH[2174]: at Request.emit (events.js:172:7)
oct. 31 08:35:09 OuiskiePI MDAH[2174]: at Request.<anonymous> (/usr/share/mydomoathome/app/node_modules/request/request.js:1067:10)
oct. 31 08:35:09 OuiskiePI MDAH[2174]: at emitOne (events.js:82:20)
oct. 31 08:35:09 OuiskiePI MDAH[2174]: at Request.emit (events.js:169:7)
oct. 31 08:35:09 OuiskiePI MDAH[2174]: at IncomingMessage.<anonymous> (/usr/share/mydomoathome/app/node_modules/request/request.js:988:12)
oct. 31 08:35:09 OuiskiePI MDAH[2174]: at emitNone (events.js:72:20)
oct. 31 08:35:09 OuiskiePI MDAH[2174]: error: Forever detected script exited with code: 1
oct. 31 08:35:09 OuiskiePI MDAH[2174]: error: Script restart attempt #1
oct. 31 08:35:13 OuiskiePI MDAH[2174]: info: Domoticz server: http://127.0.0.1:8080/json.htm
oct. 31 08:35:13 OuiskiePI MDAH[2174]: info: Node version: 4.2.2
oct. 31 08:35:13 OuiskiePI MDAH[2174]: info: MDAH version: MyDomoAtHome 0.2.29
oct. 31 08:35:13 OuiskiePI MDAH[2174]: info: OS version: Linux linux 4.9.35-v7+
oct. 31 08:35:13 OuiskiePI MDAH[2174]: info: Hostname: OuiskiePI 192.168.0.100 in /var/www /
oct. 31 08:35:14 OuiskiePI MDAH[2174]: info: Refreshing version cache: v0.2.30

Re: MyDomoAtHome - ImperiHome

Publié : 31 oct. 2017, 08:48
par epierre
:oops: donc c'est côté domoticz...

Tu peux me donner le

http://domoticz_ip:8080/json.htm?type=devices

Re: MyDomoAtHome - ImperiHome

Publié : 31 oct. 2017, 09:08
par Ouiskie
Voici le résultat :

Code : Tout sélectionner

ActTime	1509437046
ServerTime	"2017-10-31 09:04:06"
Sunrise	"07:38"
Sunset	"17:24"
result	[…]
status	"OK"
title	"Devices"
Quand je clique sur result, je peux lister mes modules ajoutés dans domoticz

Re: MyDomoAtHome - ImperiHome

Publié : 31 oct. 2017, 09:24
par epierre
Oui c'est la liste qu'il me faut surtout le multi device

Re: MyDomoAtHome - ImperiHome

Publié : 31 oct. 2017, 10:33
par Ouiskie
Voici le fichier txt avec tout le rapport :
https://www.catupload.com/download/ec67 ... 7b342.html