MyDomoAtHome - ImperiHome

Forum dédié aux autres applis Android ou Apple.
Vous en connaissez une sympa, vous avez un problème de config ? C'est ici.
denisb88
Messages : 82
Inscription : 28 janv. 2016, 22:20

Re: MyDomoAtHome - ImperiHome

Message par denisb88 »

Oui voilà ce que j'ai dans le fichier modifié
{
"app_name": "MyDomoAtHome",
"domo_path": "http://192.168.1.54:8080",
"port": "3002"
}
Toujours pareil
pi@raspberrypi:~/domoticz$ sudo service mydomoathome stop
pi@raspberrypi:~/domoticz$ sudo service mydomoathome start
pi@raspberrypi:~/domoticz$ http://192.168.1.54:3002/devices
-bash: http://192.168.1.54:3002/devices: Aucun fichier ou dossier de ce type
pi@raspberrypi:~/domoticz$
PI 2-Aeon Stick-RFXCom : sondes RFX-10 détec.fumées-2 détec.ouverture-7 caméras-NetAtmo+3 modules+Anémo+Pluvio-2 prises Greenwave-1 prise Wemo-3 détec.inondation-1 Parrot Flower-1 détecteur UV-1 hub Harmony-prises RFX- 4 Squeezebox-XPENology+Plex
manuloup
Messages : 781
Inscription : 18 févr. 2015, 13:05

Re: MyDomoAtHome - ImperiHome

Message par manuloup »

C'est pas normal. Il est bien démarré sur le port 3002 ?

Si tu regardes sur l'url suivante :

http://192.168.1.54:3002

Tu devrais voir quelque chose comme ceci :
imperihome.jpg
imperihome.jpg (66.62 Kio) Consulté 7300 fois
Synology DS920+ avec VM Debian 12, Aeon Labs Z-Stick Gen5, Aeon Zwave et devices zwaves , Teleinfo USB, devices Zigbee, batterie Marstek Venus E, Shelly Pro 3EM...
manuloup
Messages : 781
Inscription : 18 févr. 2015, 13:05

Re: MyDomoAtHome - ImperiHome

Message par manuloup »

Essaie cela aussi stp :

Code : Tout sélectionner

pi@raspberrypi /home/pi $ sudo service mydomoathome status
MyDomoAtHome is running.
Synology DS920+ avec VM Debian 12, Aeon Labs Z-Stick Gen5, Aeon Zwave et devices zwaves , Teleinfo USB, devices Zigbee, batterie Marstek Venus E, Shelly Pro 3EM...
denisb88
Messages : 82
Inscription : 28 janv. 2016, 22:20

Re: MyDomoAtHome - ImperiHome

Message par denisb88 »

Oui j'ai bien la page en question et la commande me donne ça
pi@raspberrypi:~/domoticz$ sudo service mydomoathome status
● mydomoathome.service - MDAH ISS Rest interface for Domoticz to Imperihome
Loaded: loaded (/etc/systemd/system/mydomoathome.service; enabled)
Active: active (running) since lun. 2016-03-28 19:42:09 CEST; 35min ago
Process: 8323 ExecStartPre=/bin/chmod 755 /run/mydomoathome (code=exited, status=0/SUCCESS)
Process: 8320 ExecStartPre=/bin/chown www-data:www-data /etc/mydomoathome/config.json (code=exited, status=0/SUCCESS)
Process: 8317 ExecStartPre=/bin/chown www-data:www-data /run/mydomoathome (code=exited, status=0/SUCCESS)
Process: 8313 ExecStartPre=/bin/mkdir -p /run/mydomoathome (code=exited, status=0/SUCCESS)
Main PID: 8326 (mydomoathome)
CGroup: /system.slice/mydomoathome.service
├─8326 /bin/bash /usr/share/mydomoathome/bin/mydomoathome
├─8333 node /usr/local/bin/forever --minUptime 1000 --spinSleepTime 1000 --max-old-space-size=128 mdah.js
└─8361 /usr/bin/node /usr/share/mydomoathome/app/mdah.js

mars 28 19:42:56 raspberrypi MDAH[8326]: info: Domoticz server: http://192.168.1.54:8080
mars 28 19:42:56 raspberrypi MDAH[8326]: info: Node version: 4.2.2
mars 28 19:42:56 raspberrypi MDAH[8326]: info: MDAH version: MyDomoAtHome 0.0.47
mars 28 19:42:56 raspberrypi MDAH[8326]: info: OS version: Linux linux 4.1.18+
mars 28 19:42:56 raspberrypi MDAH[8326]: info: Hostname: raspberrypi 192.168.1.54 in /var/www
mars 28 19:42:56 raspberrypi MDAH[8326]: info: MDAH port: 3002
mars 28 19:52:25 raspberrypi MDAH[8326]: ::ffff:192.168.1.24 - - [28/Mar/2016:17:52:25 +0000] "GET / HTTP/1.1" 200 4329 "viewtopic.php?p=15765&sid=e448ec5d...
mars 28 19:52:28 raspberrypi MDAH[8326]: ::ffff:192.168.1.24 - - [28/Mar/2016:17:52:28 +0000] "GET /images/perldancer-bg.jpg HTTP/1.1" 404 37 "http://192.168.1.54:3002/" "Mo...ari/600.1.4"
mars 28 20:16:47 raspberrypi MDAH[8326]: ::ffff:192.168.1.61 - - [28/Mar/2016:18:16:47 +0000] "GET / HTTP/1.1" 200 4329 "viewtopic.php?f=12&t=5...fari/537.36"
mars 28 20:16:49 raspberrypi MDAH[8326]: ::ffff:192.168.1.61 - - [28/Mar/2016:18:16:49 +0000] "GET /images/perldancer-bg.jpg HTTP/1.1" 404 37 "http://192.168.1.54:3002/css/s...fari/537.36"
Hint: Some lines were ellipsized, use -l to show in full.
PI 2-Aeon Stick-RFXCom : sondes RFX-10 détec.fumées-2 détec.ouverture-7 caméras-NetAtmo+3 modules+Anémo+Pluvio-2 prises Greenwave-1 prise Wemo-3 détec.inondation-1 Parrot Flower-1 détecteur UV-1 hub Harmony-prises RFX- 4 Squeezebox-XPENology+Plex
manuloup
Messages : 781
Inscription : 18 févr. 2015, 13:05

Re: MyDomoAtHome - ImperiHome

Message par manuloup »

denisb88 a écrit :Oui j'ai bien la page en question et la commande me donne ça
pi@raspberrypi:~/domoticz$ sudo service mydomoathome status
● mydomoathome.service - MDAH ISS Rest interface for Domoticz to Imperihome
Loaded: loaded (/etc/systemd/system/mydomoathome.service; enabled)
Active: active (running) since lun. 2016-03-28 19:42:09 CEST; 35min ago
Process: 8323 ExecStartPre=/bin/chmod 755 /run/mydomoathome (code=exited, status=0/SUCCESS)
Process: 8320 ExecStartPre=/bin/chown www-data:www-data /etc/mydomoathome/config.json (code=exited, status=0/SUCCESS)
Process: 8317 ExecStartPre=/bin/chown www-data:www-data /run/mydomoathome (code=exited, status=0/SUCCESS)
Process: 8313 ExecStartPre=/bin/mkdir -p /run/mydomoathome (code=exited, status=0/SUCCESS)
Main PID: 8326 (mydomoathome)
CGroup: /system.slice/mydomoathome.service
├─8326 /bin/bash /usr/share/mydomoathome/bin/mydomoathome
├─8333 node /usr/local/bin/forever --minUptime 1000 --spinSleepTime 1000 --max-old-space-size=128 mdah.js
└─8361 /usr/bin/node /usr/share/mydomoathome/app/mdah.js

mars 28 19:42:56 raspberrypi MDAH[8326]: info: Domoticz server: http://192.168.1.54:8080
mars 28 19:42:56 raspberrypi MDAH[8326]: info: Node version: 4.2.2
mars 28 19:42:56 raspberrypi MDAH[8326]: info: MDAH version: MyDomoAtHome 0.0.47
mars 28 19:42:56 raspberrypi MDAH[8326]: info: OS version: Linux linux 4.1.18+
mars 28 19:42:56 raspberrypi MDAH[8326]: info: Hostname: raspberrypi 192.168.1.54 in /var/www
mars 28 19:42:56 raspberrypi MDAH[8326]: info: MDAH port: 3002
mars 28 19:52:25 raspberrypi MDAH[8326]: ::ffff:192.168.1.24 - - [28/Mar/2016:17:52:25 +0000] "GET / HTTP/1.1" 200 4329 "viewtopic.php?p=15765&sid=e448ec5d...
mars 28 19:52:28 raspberrypi MDAH[8326]: ::ffff:192.168.1.24 - - [28/Mar/2016:17:52:28 +0000] "GET /images/perldancer-bg.jpg HTTP/1.1" 404 37 "http://192.168.1.54:3002/" "Mo...ari/600.1.4"
mars 28 20:16:47 raspberrypi MDAH[8326]: ::ffff:192.168.1.61 - - [28/Mar/2016:18:16:47 +0000] "GET / HTTP/1.1" 200 4329 "viewtopic.php?f=12&t=5...fari/537.36"
mars 28 20:16:49 raspberrypi MDAH[8326]: ::ffff:192.168.1.61 - - [28/Mar/2016:18:16:49 +0000] "GET /images/perldancer-bg.jpg HTTP/1.1" 404 37 "http://192.168.1.54:3002/css/s...fari/537.36"
Hint: Some lines were ellipsized, use -l to show in full.
Je n'ai pas tout ce détail quand je fais un status, moi. EPierre saura mieux t'aider que moi. En tout cas si ça tourne, tu devrais avoir la liste comme je te disais en allant sur l'url http://192.168.1.54:3002/devices
Synology DS920+ avec VM Debian 12, Aeon Labs Z-Stick Gen5, Aeon Zwave et devices zwaves , Teleinfo USB, devices Zigbee, batterie Marstek Venus E, Shelly Pro 3EM...
denisb88
Messages : 82
Inscription : 28 janv. 2016, 22:20

Re: MyDomoAtHome - ImperiHome

Message par denisb88 »

oui c'est bon j'ai bien la page

avec la liste des devices, lol je croyais qu'il fallait taper ça sur le terminal et pas sur le navigateur
PI 2-Aeon Stick-RFXCom : sondes RFX-10 détec.fumées-2 détec.ouverture-7 caméras-NetAtmo+3 modules+Anémo+Pluvio-2 prises Greenwave-1 prise Wemo-3 détec.inondation-1 Parrot Flower-1 détecteur UV-1 hub Harmony-prises RFX- 4 Squeezebox-XPENology+Plex
manuloup
Messages : 781
Inscription : 18 févr. 2015, 13:05

Re: MyDomoAtHome - ImperiHome

Message par manuloup »

Oh super. Donc ton souci est côté Imperihome sur android, vérifie tes réglages.

Tu touches le bon boût :)
Synology DS920+ avec VM Debian 12, Aeon Labs Z-Stick Gen5, Aeon Zwave et devices zwaves , Teleinfo USB, devices Zigbee, batterie Marstek Venus E, Shelly Pro 3EM...
denisb88
Messages : 82
Inscription : 28 janv. 2016, 22:20

Re: MyDomoAtHome - ImperiHome

Message par denisb88 »

Non c'est sur iPhone
Le souci doit venir de là mais avec l'ancienne version cela fonctionnait
PI 2-Aeon Stick-RFXCom : sondes RFX-10 détec.fumées-2 détec.ouverture-7 caméras-NetAtmo+3 modules+Anémo+Pluvio-2 prises Greenwave-1 prise Wemo-3 détec.inondation-1 Parrot Flower-1 détecteur UV-1 hub Harmony-prises RFX- 4 Squeezebox-XPENology+Plex
manuloup
Messages : 781
Inscription : 18 févr. 2015, 13:05

Re: MyDomoAtHome - ImperiHome

Message par manuloup »

C'est le moment ou jamais de passer à android ;)
Synology DS920+ avec VM Debian 12, Aeon Labs Z-Stick Gen5, Aeon Zwave et devices zwaves , Teleinfo USB, devices Zigbee, batterie Marstek Venus E, Shelly Pro 3EM...
denisb88
Messages : 82
Inscription : 28 janv. 2016, 22:20

Re: MyDomoAtHome - ImperiHome

Message par denisb88 »

Non j'y ai déjà goûté en plus on est tous Apple à la maison (2 iMac 2 Macbook 3 iPhone 2 iPad) donc Androïd pas possible
PI 2-Aeon Stick-RFXCom : sondes RFX-10 détec.fumées-2 détec.ouverture-7 caméras-NetAtmo+3 modules+Anémo+Pluvio-2 prises Greenwave-1 prise Wemo-3 détec.inondation-1 Parrot Flower-1 détecteur UV-1 hub Harmony-prises RFX- 4 Squeezebox-XPENology+Plex
Répondre