Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jeedom Unable to get devices #2

Open
yecine06 opened this issue Oct 10, 2014 · 1 comment
Open

Jeedom Unable to get devices #2

yecine06 opened this issue Oct 10, 2014 · 1 comment

Comments

@yecine06
Copy link

Hello,

I'm trying to setup issdomo for jeedom

The first issue that i encoutereed was that the server was impossible to connecter after going to

http://192.168.0.49:8000/services

I found a message telling me that mcrypt was needed so i installed it and it worked

Now to retrieve the devices it doesn't work.

When i launch the refresh my house goes crazy as all the commands are executed (i guess its normal iss domo test all the devices but it's a bit scary)

After a long waiting message i have an error telling me that it didn't work

I found that going with a web browser i could get this list of devices

http://192.168.0.49:8000/devices

But then i saw an issue i think it's supposed to return a json formated message but some of the devices on jeedom thow errors that are compiled in the json

Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Compte][Creche]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Compte][Travail]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Compte][Maison]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Compte][Distance Travail]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Compte][Distance Maison]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Compte][Distance Creche]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Compte Siheme][Egencia]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Compte Siheme][Distance Travail]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Compte Siheme][Distance Maison]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Compte Siheme][Distance Creche]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Raspberry Pi][Distribution]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Raspberry Pi][Temps d'activité]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Raspberry Pi][Charge système]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Raspberry Pi][SD Total]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Raspberry Pi][SD Utilisé]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Raspberry Pi][CPU(s)]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Raspberry Pi][Mémoire (Méga)]Code : -32000<br/>Message : Equipement desactivé impossible d\éxecuter la commande : [Maison][Raspberry Pi][Réseau (MiB)]Code : -32000<br/>Message : [Mail] Les options de la fonction ne peuvent etre nullCode : -32000<br/>Message : Les options de la fonction ne peuvent etre nullCode : -32000<br/>Message : Les options de la fonction ne peuvent etre nullCode : -32000<br/>Message : Les options de la fonction ne peuvent etre nullCode : -32000<br/>Message : Les options de la fonction ne peuvent etre nullCode : -32000<br/>Message : Le titre ou le message ne peuvent être tous les deux vide{"devices":[{"id":"1","name":"Wall Plug-Puissance","type":"DevElectricity","room":"1","params":[{"key":"Watts","value":{"value":"0.7","collectDate":"2014-10-10 12:02:42"},"unit":"Watt"},{"key":"ConsoTotal","value":{"value":"0.7","collectDate":"2014-10-10 12:02:42"},"unit":"kWh"}]},{"id":"2","name":"Wall Plug-Consommation","type":"DevGenericSensor","room":"1","params":[{"key":"Value","value":{"value":"26.2","collectDate":"2014-10-10 11:56:55"},"unit":""}]},{"id":"3","name":"Wall Plug-Etat","type":"DevSwitch","room":"1","params":[{"key":"Status","value":{"value":"1","collectDate":"2014-10-10 12:03:32"}}]},{"id":"4","name":"Wall Plug-On","type":"DevGenericSensor","room":"1","params":[]},{"id":"5","name":"Wall Plug-Off","type":"DevGenericSensor","room":"1","params":[]},{"id":"6","name":"Wall Plug-Reset","type":"DevGenericSensor","room":"1","params":[]},{"id":"21","name":"Camera Salon-Filmer","type":"DevGenericSensor","room":"1","params":[]},{"id":"22","name":"Camera Salon-Stop","type":"DevGenericSensor","room":"1","params":[]},{"id":"23","name":"Camera Salon-Gauche","type":"DevGenericSensor","room":"1","params":[]},{"id":"24","name":"Camera Salon-Haut","type":"DevGenericSensor","room":"1","params":[]},{"id":"25","name":"Camera Salon-Bas","type":"DevGenericSensor","room":"1","params":[]},{"id":"26","name":"Camera Salon-Droite","type":"DevGenericSensor","room":"1","params":[]},{"id":"27","name":"Camera Salon-Enregistrer","type":"DevGenericSensor","room":"1","params":[]},{"id":"28","name":"Camera Chambre-Status enregistrement","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":true,"collectDate":"2014-10-10 12:04:11"},"unit":""}]},{"id":"29","name":"Camera Chambre-Stop","type":"DevGenericSensor","room":"2","params":[]},{"id":"30","name":"Camera Chambre-Gauche","type":"DevGenericSensor","room":"2","params":[]},{"id":"31","name":"Camera Chambre-Haut","type":"DevGenericSensor","room":"2","params":[]},{"id":"32","name":"Camera Chambre-Bas","type":"DevGenericSensor","room":"2","params":[]},{"id":"33","name":"Camera Chambre-Droite","type":"DevGenericSensor","room":"2","params":[]},{"id":"34","name":"Camera Chambre-Enregistrer","type":"DevGenericSensor","room":"2","params":[]},{"id":"65","name":"Camera Chambre-Filmer","type":"DevGenericSensor","room":"2","params":[]},{"id":"41","name":"Compte-Creche","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"42","name":"Compte-Travail","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"43","name":"Compte-iPhone","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":"43.491574223201,5.3527290290297","collectDate":"2014-09-25 00:10:06"},"unit":""}]},{"id":"44","name":"Compte-Maison","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"48","name":"Compte-Distance Travail","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"49","name":"Compte-Distance Maison","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"50","name":"Compte-Distance Creche","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"39","name":"Compte Siheme-Egencia","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"40","name":"Compte Siheme-iPhone Siheme","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":"43.49162129099,5.3527989206293","collectDate":"2014-09-25 00:10:03"},"unit":""}]},{"id":"45","name":"Compte Siheme-Distance Travail","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"46","name":"Compte Siheme-Distance Maison","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"47","name":"Compte Siheme-Distance Creche","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"51","name":"Raspberry Pi-Distribution","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"52","name":"Raspberry Pi-Temps d'activit\u00e9","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"53","name":"Raspberry Pi-Charge syst\u00e8me","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"54","name":"Raspberry Pi-SD Total","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"55","name":"Raspberry Pi-SD Utilis\u00e9","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"56","name":"Raspberry Pi-CPU(s)","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"57","name":"Raspberry Pi-M\u00e9moire (M\u00e9ga)","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"58","name":"Raspberry Pi-R\u00e9seau (MiB)","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":null,"unit":""}]},{"id":"59","name":"Email","type":"DevGenericSensor","room":null,"params":[]},{"id":"60","name":"Pushbullet-iPad","type":"DevGenericSensor","room":"2","params":[]},{"id":"61","name":"Pushbullet-iPhone de","type":"DevGenericSensor","room":"2","params":[]},{"id":"62","name":"Pushbullet-Chrome","type":"DevGenericSensor","room":"2","params":[]},{"id":"63","name":"Pushbullet-jeedom_15","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":"","collectDate":"2014-10-10 12:04:21"},"unit":""}]},{"id":"64","name":"Pushbullet-Tous les devices","type":"DevGenericSensor","room":"2","params":[]},{"id":"66","name":"Creche-Presence","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":"0","collectDate":"2014-10-10 12:03:40"},"unit":""}]},{"id":"67","name":"Creche-Reset","type":"DevGenericSensor","room":"2","params":[]},{"id":"68","name":"Aix-Temp\u00e9rature","type":"DevTemperature","room":"2","params":[{"key":"Value","value":{"value":23.3,"collectDate":"2014-10-10 12:04:22"},"unit":"\u00b0C"}]},{"id":"69","name":"Aix-Humidit\u00e9","type":"DevHygrometry","room":"2","params":[{"key":"Value","value":{"value":78,"collectDate":"2014-10-10 12:04:23"},"unit":"%"}]},{"id":"70","name":"Aix-Pression","type":"DevPressure","room":"2","params":[{"key":"Value","value":{"value":1003.9,"collectDate":"2014-10-10 12:04:23"},"unit":"mbar"}]},{"id":"71","name":"Aix-CO2","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":681,"collectDate":"2014-10-10 12:04:24"},"unit":""}]},{"id":"72","name":"Aix-Noise","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":42,"collectDate":"2014-10-10 12:04:24"},"unit":""}]},{"id":"73","name":"Terasse-Temp\u00e9rature","type":"DevTemperature","room":"2","params":[{"key":"Value","value":{"value":26.7,"collectDate":"2014-10-10 12:04:24"},"unit":"\u00b0C"}]},{"id":"74","name":"Terasse-Humidit\u00e9","type":"DevHygrometry","room":"2","params":[{"key":"Value","value":{"value":69,"collectDate":"2014-10-10 12:04:25"},"unit":"%"}]},{"id":"75","name":"Volet-Descendre","type":"DevGenericSensor","room":"1","params":[]},{"id":"76","name":"Volet-Monter","type":"DevGenericSensor","room":"1","params":[]},{"id":"77","name":"Volet-Etat","type":"DevGenericSensor","room":"1","params":[{"key":"Value","value":{"value":"62","collectDate":"2014-10-10 12:04:06"},"unit":""}]},{"id":"78","name":"Volet-Consommation","type":"DevGenericSensor","room":"1","params":[{"key":"Value","value":{"value":"154.2","collectDate":"2014-10-10 12:04:03"},"unit":""}]},{"id":"79","name":"Volet-Rafraichir","type":"DevGenericSensor","room":"1","params":[]},{"id":"80","name":"Volet-Reset","type":"DevGenericSensor","room":"1","params":[]},{"id":"87","name":"Volet-Intensit\u00e9","type":"DevGenericSensor","room":"1","params":[]},{"id":"100","name":"Volet-cinquante","type":"DevGenericSensor","room":"1","params":[]},{"id":"101","name":"Volet-vingt cinq","type":"DevGenericSensor","room":"1","params":[]},{"id":"102","name":"Volet-soixante quinze","type":"DevGenericSensor","room":"1","params":[]},{"id":"81","name":"SMS","type":"DevGenericSensor","room":"2","params":[]},{"id":"96","name":"Eye-Pr\u00e9sence","type":"DevSwitch","room":"1","params":[{"key":"Status","value":{"value":"","collectDate":"2014-10-07 22:46:21"}}]},{"id":"97","name":"Eye-Temp\u00e9rature","type":"DevTemperature","room":"1","params":[{"key":"Value","value":{"value":"27.1","collectDate":"2014-10-10 11:44:02"},"unit":"\u00b0C"}]},{"id":"98","name":"Eye-Luminosit\u00e9","type":"DevGenericSensor","room":"1","params":[{"key":"Value","value":{"value":"223","collectDate":"2014-10-10 12:04:39"},"unit":""}]},{"id":"99","name":"Eye-Anti Sabotage","type":"DevGenericSensor","room":"1","params":[{"key":"Value","value":{"value":"0","collectDate":"2014-10-10 01:17:06"},"unit":""}]},{"id":"105","name":"Sarah-Dit","type":"DevGenericSensor","room":"2","params":[]},{"id":"112","name":"Lumi\u00e8re-Allumer","type":"DevGenericSensor","room":"1","params":[]},{"id":"113","name":"Lumi\u00e8re-Eteindre","type":"DevGenericSensor","room":"1","params":[]},{"id":"114","name":"Lumi\u00e8re-Etat 1","type":"DevSwitch","room":"1","params":[{"key":"Status","value":{"value":0,"collectDate":"2014-10-10 12:04:42"}}]},{"id":"115","name":"Lumi\u00e8re-On 2 ","type":"DevGenericSensor","room":"1","params":[]},{"id":"116","name":"Lumi\u00e8re-Off 2 ","type":"DevGenericSensor","room":"1","params":[]},{"id":"117","name":"Lumi\u00e8re-Etat 2","type":"DevSwitch","room":"1","params":[{"key":"Status","value":{"value":1,"collectDate":"2014-10-10 12:04:43"}}]},{"id":"126","name":"Paris-Temp\u00e9rature","type":"DevTemperature","room":"2","params":[{"key":"Value","value":{"value":"26","collectDate":"2014-10-10 12:00:13"},"unit":"\u00b0C"}]},{"id":"127","name":"Paris-Humidit\u00e9","type":"DevHygrometry","room":"2","params":[{"key":"Value","value":{"value":"61","collectDate":"2014-10-10 12:00:12"},"unit":"%"}]},{"id":"128","name":"Paris-Pression","type":"DevPressure","room":"2","params":[{"key":"Value","value":{"value":"982.05","collectDate":"2014-10-10 12:00:13"},"unit":"mbar"}]},{"id":"129","name":"Paris-Condition Actuelle","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":"Partiellement nuageux","collectDate":"2014-10-10 12:00:11"},"unit":""}]},{"id":"130","name":"Paris-Vitesse du vent","type":"DevWind","room":"2","params":[{"key":"Speed","value":{"value":"11.27","collectDate":"2014-10-10 12:00:16"},"unit":"km\/h"}]},{"id":"131","name":"Paris-Direction du vent","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":"100","collectDate":"2014-10-10 12:00:12"},"unit":""}]},{"id":"132","name":"Paris-Coucher du soleil","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":"1904","collectDate":"2014-10-10 12:00:11"},"unit":""}]},{"id":"133","name":"Paris-Lever du soleil","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":"746","collectDate":"2014-10-10 12:00:12"},"unit":""}]},{"id":"134","name":"Paris-Temp\u00e9rature Min","type":"DevTemperature","room":"2","params":[{"key":"Value","value":{"value":"18","collectDate":"2014-10-10 12:00:14"},"unit":"\u00b0C"}]},{"id":"135","name":"Paris-Temp\u00e9rature Max","type":"DevTemperature","room":"2","params":[{"key":"Value","value":{"value":"26","collectDate":"2014-10-10 12:00:13"},"unit":"\u00b0C"}]},{"id":"136","name":"Paris-Condition","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":"Plut\u00f4t ensoleill\u00e9","collectDate":"2014-10-10 12:00:10"},"unit":""}]},{"id":"137","name":"Paris-Temp\u00e9rature Min +1","type":"DevTemperature","room":"2","params":[{"key":"Value","value":{"value":"17","collectDate":"2014-10-10 12:00:15"},"unit":"\u00b0C"}]},{"id":"138","name":"Paris-Temp\u00e9rature Max +1","type":"DevTemperature","room":"2","params":[{"key":"Value","value":{"value":"24","collectDate":"2014-10-10 12:00:13"},"unit":"\u00b0C"}]},{"id":"139","name":"Paris-Temp\u00e9rature Min +2","type":"DevTemperature","room":"2","params":[{"key":"Value","value":{"value":"17","collectDate":"2014-10-10 12:00:15"},"unit":"\u00b0C"}]},{"id":"140","name":"Paris-Temp\u00e9rature Max +2","type":"DevTemperature","room":"2","params":[{"key":"Value","value":{"value":"24","collectDate":"2014-10-10 12:00:14"},"unit":"\u00b0C"}]},{"id":"141","name":"Paris-Temp\u00e9rature Min +3","type":"DevTemperature","room":"2","params":[{"key":"Value","value":{"value":"14","collectDate":"2014-10-10 12:00:15"},"unit":"\u00b0C"}]},{"id":"142","name":"Paris-Temp\u00e9rature Max +3","type":"DevTemperature","room":"2","params":[{"key":"Value","value":{"value":"21","collectDate":"2014-10-10 12:00:14"},"unit":"\u00b0C"}]},{"id":"143","name":"Paris-Temp\u00e9rature Min +4","type":"DevTemperature","room":"2","params":[{"key":"Value","value":{"value":"13","collectDate":"2014-10-10 12:00:16"},"unit":"\u00b0C"}]},{"id":"144","name":"Paris-Temp\u00e9rature Max +4","type":"DevTemperature","room":"2","params":[{"key":"Value","value":{"value":"21","collectDate":"2014-10-10 12:00:14"},"unit":"\u00b0C"}]},{"id":"145","name":"Paris-Condition +1","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":"Orages","collectDate":"2014-10-10 12:00:10"},"unit":""}]},{"id":"146","name":"Paris-Condition +2","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":"Orage l'apr\u00e9s-midi","collectDate":"2014-10-10 12:00:10"},"unit":""}]},{"id":"147","name":"Paris-Condition +3","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":"Heavy Thunderstorms","collectDate":"2014-10-10 12:00:11"},"unit":""}]},{"id":"148","name":"Paris-Condition +4","type":"DevGenericSensor","room":"2","params":[{"key":"Value","value":{"value":"PM Rain","collectDate":"2014-10-10 12:00:11"},"unit":""}]}]}

Do you have an idea how to discard those messages to have a valid json format in return ?

@yecine06
Copy link
Author

anybody having the same issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant