Page 1 sur 13
Imperihome et domoticz
Publié : 12 oct. 2014, 11:15
par nickos
SAlut
j'ai suivie ce tuto
http://www.domoticz.com/wiki/ImperiHome pour pouvoir utilisé domoticz sur imperihome.
Je trouve domoticz mais aucune devices quelqu'un aurait il une idée?
merci
Re: Imperihome et domoticz
Publié : 12 oct. 2014, 21:22
par patrice
Re: Imperihome et domoticz
Publié : 13 oct. 2014, 18:28
par nickos
mais pascal tu es partout
je teste et je te tient au courant.merci
Re: Imperihome et domoticz
Publié : 13 oct. 2014, 20:37
par nickos
erreur dans ImperiHome
plusieur erreur en mode local pour MyDomoAtHome passé en mode distant...
et
MyDomoAtHome (ImperiHome Standard System): iss:Could not get devices infos.
Pourquoiiiiiiiiiiiiiiiiiiiiii

snif
Re: Imperihome et domoticz
Publié : 16 oct. 2014, 16:45
par Jihem
Bonjour nickos
Chez moi ImperiHome fonctionne sans problème.
As-tu bien paramétré tous les fichiers .yml? "ip.domoticz:port domoticz"
Quand tu fais "
http://ip.domoticz:5001/devices" qu'obtiens-tu?
Tu peux regarder la partie ImperiHome dans le forum Domoticz
http://www.domoticz.com/forum/viewtopic.php?f=5&t=2713
ou sur le site de Epierre:
http://www.touteladomotique.com/forum/v ... 14&t=14761
Re: Imperihome et domoticz
Publié : 16 oct. 2014, 17:52
par nickos
salut jihem
j'ai refait l'install en suivant le wiki de domoticz
ici
http://gateway_ip:gateway_port/devices
Perl is dancing
You’ve joined the dance floor!
Getting started
Here’s how to get dancing:
About your application's environment
Tune your application
Your application is configured via a global configuration file, config.yml and an "environment" configuration file, environments/development.yml. Edit those files if you want to change the settings of your application.
Add your own routes
The default route that displays this page can be removed, it's just here to help you get started. The template used to generate this content is located in views/index.tt. You can add some routes to lib/Domo.pm.
Enjoy web development again
Once you've made your changes, restart your standalone server (bin/app.pl) and you're ready to test your web application.
mais la
http://domoticz_ip:domoticz_port/json.htm?type=devices&filter=all&used=true&order=Name
http://domoticz_ip:domoticz_port/json.htm?type=scenes
http://domoticz_ip:domoticz_port/json.htm?type=cameras
j'ai l'erreur
Error 404
Page Not Found
Sorry, this is the void.
Powered by Dancer.
a mon avis il doit manqué quelque chose mais quoi?
merci
Re: Imperihome et domoticz
Publié : 17 oct. 2014, 08:25
par Jihem
Salut nickos
A priori le port de Domoticz ne doit pas être le bon.
en principe c'est "8080"
Si je tape dans mon navigateur
http://ip_mon_raspberry:8080/json.htm?type=devices&filter=all&used=true&order=Name
j'obtiens ça:
"{ "5MinuteHistoryDays" : 1, "AllowWidgetOrdering" : true, "DashboardType" : 0, "MobileType" : 0, "TempScale" : 1.0, "TempSign" : "C", "WindScale" : 1.0, "WindSign" : "m/s", "result" : [ { "AddjMulti" : 1.0, "AddjValue" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "22.0 C", "Favorite" : 0, "HardwareID" : 2, "HardwareName" : "Dummy", "HaveTimeout" : true, "ID" : "82005", "LastUpdate" : "2014-09-16 14:39:00", "Name" : "DS18", "Notifications" : "false", "Protected" : false, "SignalLevel" : 12, "SubType" : "THR128/138, THC138", "Temp" : 22.0, "Timers" : "false", "Type" : "Temp", "TypeImg" : "temperature", "Unit" : 1, "Used" : 1, "idx" : "6" }, { "AddjMulti" : 1.0, "AddjValue" : -0.90,"
j'abrège pour ne pas encombrer mais il y en a une page!
c'est la liste de tout ce qu'il y a dans Domoticz indépendamment de ImperiHome; donc si tu as "Not Found" c'est que le port de Domoticz est mauvais, car même si Domoticz ne tournait pas tu devrais avoir "Domoticz Offline"
Vérifie en tapant http://ip_ton_raspberry:8080 dans ton navigateur que l'application Domoticz se lance bien.
A suivre
Bonne journée
Re: Imperihome et domoticz
Publié : 18 avr. 2015, 23:52
par rhamkota
Bonsoir maintenant que j'ai mis domoticz en marche avec mes sondes j'aimerais me servir de la jolie appli Imperihome mais peut import les tutos utilisé je ne vois jamais domoticz sur mon appli.
tutos suivis.
http://www.domoticz.com/wiki/ImperiHome
http://www.domotique-info.fr/2014/06/im ... -domoticz/
http://easydomoticz.com/domoticz-imperi ... -iss-domo/
http://easydomoticz.com/domoticz-raspbe ... rancais-2/
si quelqu'un à déjà réussis à relier les deux et connaitrais des astuces caché
PS j'ai un Pi2 avec domotics installé sur une distri raspbian et des sondes 1wire (4 en tout)
Merci
Re: Imperihome et domoticz
Publié : 19 avr. 2015, 08:05
par patrice
Bonjour
Il faudrait que tu nous dises ou ca coince , parce que "ca marche pas" n'est pas assez précis vu d'ici
J'ai l’impression du tu utilises iss-domo : dans ce cas
as tu bien fait cela :
PARAMETRAGE de ISS-DOMO pour Domoticz
Editer le fichier “`/var/www/iss-domo/app/config/hardware.php“`
sudo nano /var/www/iss-domo/app/config/hardware.php
Activer la gestion de Domoticz en indiquant “` ‘domoticz’ => 1,“`.
Editer le fichier “`/var/www/iss-domo/app/config/iss-domo.php“`
sudo nano /var/www/iss-domo/app/config/iss-domo.php
Modifier la ligne : “`domoticz_url“` afin d’indiquer l’url d’accès à votre serveur Domoticz.
Si Domoticz est installé sur le même serveur et indiquer par exemple : “`
http://localhost:8080“`
Pour démarrer le service :
sudo service iss-domo.sh start
Vérifions
Un ip_domoticz:8000 dans un navigateur doit afficher cela :
iss-domo
iss-domo
Iss-Domo écoute bien sur le port 8000
Configuration de ImperiHome
Dans Imperihome sur votre smartphone il faut ajouter un « Système »
Allez dans « Paramètres / Mes Systèmes / Ajouter un système
Sélectionnez Imperihome Standard System
Dans « Url de base API Locale » tapez http://ip:le_port_de_la_passerelle:8000
N’oubliez pas le http:// devant (il faut le taper) et le 8000 est celui indiqué dans iss-domo.sh
A suivre ...
Re: Imperihome et domoticz
Publié : 19 avr. 2015, 10:04
par ziaziung
Bonjour. Moi j'avais reussi à faire fonctionner Domoticz et Imperihome, mais cela a cesse de fonctionner.
J'ai suivi le tuto que tu propose :
Editer le fichier “`/var/www/iss-domo/app/config/hardware.php“`
sudo nano /var/www/iss-domo/app/config/hardware.php
Activer la gestion de Domoticz en indiquant “` ‘domoticz’ => 1,“`.
Editer le fichier “`/var/www/iss-domo/app/config/iss-domo.php“`
sudo nano /var/www/iss-domo/app/config/iss-domo.php
Modifier la ligne : “`domoticz_url“` afin d’indiquer l’url d’accès à votre serveur Domoticz.
Si Domoticz est installé sur le même serveur et indiquer par exemple : “`
http://localhost:8080“`
Pour démarrer le service :
sudo service iss-domo.sh start
Là j'obtiens dans la console : [ ok ] Starting system iss-domo.sh Daemon:.
Par contre :
Vérifions
ip_domoticz:8000 dans un navigateur affiche cela : Cannot GET /
As tu une idee du pourquoi?