jeedom / core Goto Github PK
View Code? Open in Web Editor NEWSoftware for home automation
Home Page: https://www.jeedom.com
License: GNU General Public License v2.0
Software for home automation
Home Page: https://www.jeedom.com
License: GNU General Public License v2.0
Hi,
When switching from 'Info' to 'Action' in an equipment, a new drop down list is presented with the possible actions on that equipment.
Without saving the equipment, when going back to 'Info', the drop down list is still present whereas it should disappear.
The same is also true for a dialog box in the Options. This dialog box is called "Valeur de l'info", It also should be removed when switching to 'info' type
this information would be useful to have in the Update Centre, to compare with the current system date and possibly force a manual update
C'est de l'ordre du warning (la mise à jour à bien marché) mais ça pourrais probablement ne pas s'afficher :
****Installation/Mise à jour de Jeedom 1.175.0 (2015-04-09 11:39:58)****
Paramètres de la mise à jour : level : 0, mode : , system : no
Vérification des mises à jour...sh: 1: /sbin/ifconfig: not found
sh: 1: /sbin/ifconfig: not found
sh: 1: /sbin/ifconfig: not found
sh: 1: /sbin/ifconfig: not found
OK
utiliser la command ip à la place ?
Permet de supprimer les interactions avec des erreurs de grosse erreur de syntaxe type "le appartement"
ffmpeg n'est plus disponible depuis Ubuntu 14.04, il est remplacé par avconv.
Si on lance le script install.sh sous Ubuntu Server 14.10, la ligne
"apt-get install -y ffmpeg libssh2-php ntp unzip miniupnpc
mysql-client mysql-common mysql-server mysql-server-core-5.5"
retourne une erreur sur ffmpeg qui n'est plus disponible, et les paquets suivants ne sont pas installés.
Il faudrait séparer en 2 étapes :
installation et compilation de ffmpeg via git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
ou
installation par ppa sudo add-apt-repository ppa:jon-severinsson/ffmpeg && sudo apt-get update -qq
ou
utilisation de avconv
apt-get install -y libssh2-php ntp unzip miniupnpc
mysql-client mysql-common mysql-server mysql-server-core-5.5
Sur Raspbian pour Raspberry, le package systemd est présent, et il n'y a pas de probleme d'instalaltion.
Sur Raspbian pour Banana Pi et sur Bananian, ce package est absent de base, il faut le rajouter pour ne pas avoir d'erreur sur systemctl :
echo "*******************************************************"
echo "${msg_setup_nodejs_service}"
echo "*******************************************************"
cp install/jeedom /etc/init.d/
chmod +x /etc/init.d/jeedom
update-rc.d jeedom defaults
apt-get install -y systemd
if [ -d /etc/systemd/system ]; then
cp install/jeedom.service /etc/systemd/system
systemctl enable jeedom
fi
In a jeedom running inside of docker. dns resolution in bash is working fine. Trying to update fails on accessing the network. What's surprising is that it must have successfully connected to the internet at some point to get the information about the new versions available.
[START UPDATE]
****Installation/Mise à jour de Jeedom 1.177.0 (2015-05-04 09:24:16)****
Paramètres de la mise à jour : level : -1, mode : , system : no
[START BACKUP]
***************Lancement de la sauvegarde de Jeedom***************
Vérification du système de fichiers (corruption)...OK
Sauvegarde des fichiers...
OK
Suppression du fichier d'identification de la base de données...OK
Vérification de la base de données :
jeedom.connection
note : The storage engine for the table doesn't support check
Sauvegarde de la base de données...
OK
Création de l'archive...
OK
Nettoyage des anciennes sauvegardes...OK
Limite de la taille totale des sauvegardes à 200 Mo...***************Fin de la sauvegarde de Jeedom***************
[END BACKUP SUCCESS]
Desactivation de toutes les tâches
. OK
Désactivation de tous les scénarios OK
Nettoyage du dossier temporaire (tmp)...
OK
Adresse de téléchargement : https://market.jeedom.fr/jeedom/stable/jeedom.zip?timespamp=1430724301
Téléchargement en cours...PHP Warning: fopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/share/nginx/www/jeedom/install/install.php on line 116
PHP Warning: fopen(https://market.jeedom.fr/jeedom/stable/jeedom.zip): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/share/nginx/www/jeedom/install/install.php on line 116
Réactivation des scénarios : OK
Réactivation des tâches : OK
Erreur durant l'installation : Echec lors du téléchargement du fichier. Veuillez réessayer plus tard (taille inférieure à 10 octets)Array
(
)
Details : 1[END UPDATE ERROR]
PHP Fatal error: Uncaught exception 'Exception' with message 'Echec lors du téléchargement du fichier. Veuillez réessayer plus tard (taille inférieure à 10 octets)' in /usr/share/nginx/www/jeedom/install/install.php:121
Stack trace:
#0 {main}
thrown in /usr/share/nginx/www/jeedom/install/install.php on line 121
The core of jeedom seems to say it's been updates (I don't think it's the case). Then on the modules :
[43] => Array
(
[logicalId] => dashboard.info.binary.store
[type] => widget
)
[44] => Array
(
[logicalId] => dashboard.info.binary.timePresence
[type] => widget
)
[45] => Array
(
[logicalId] => dashboard.info.binary.window
[type] => widget
)
[46] => Array
(
[logicalId] => dashboard.info.binary.WindowIMG
[type] => widget
)
[47] => Array
(
[logicalId] => dashboard.info.numeric.badge
[type] => widget
)
[48] => Array
(
[logicalId] => dashboard.info.numeric.badge-Multiprise
[type] => widget
)
[49] => Array
(
[logicalId] => dashboard.info.numeric.badge-transparent
[type] => widget
)
[50] => Array
(
[logicalId] => dashboard.info.numeric.ConsoIMG
[type] => widget
)
[51] => Array
(
[logicalId] => dashboard.info.numeric.gauge
[type] => widget
)
[52] => Array
(
[logicalId] => dashboard.info.numeric.gaugeIMG
[type] => widget
)
[53] => Array
(
[logicalId] => dashboard.info.numeric.heatPiloteWire
[type] => widget
)
[54] => Array
(
[logicalId] => dashboard.info.numeric.humidite
[type] => widget
)
[55] => Array
(
[logicalId] => dashboard.info.numeric.light
[type] => widget
)
[56] => Array
(
[logicalId] => dashboard.info.numeric.luminosite
[type] => widget
)
[57] => Array
(
[logicalId] => dashboard.info.numeric.luminositeIMG
[type] => widget
)
[58] => Array
(
[logicalId] => dashboard.info.numeric.progressBar
[type] => widget
)
[59] => Array
(
[logicalId] => dashboard.info.numeric.Round
[type] => widget
)
[60] => Array
(
[logicalId] => dashboard.info.numeric.store
[type] => widget
)
[61] => Array
(
[logicalId] => dashboard.info.numeric.tempIMG
[type] => widget
)
[62] => Array
(
[logicalId] => dashboard.info.numeric.thermometre
[type] => widget
)
[63] => Array
(
[logicalId] => dashboard.info.numeric.tile
[type] => widget
)
[64] => Array
(
[logicalId] => dashboard.info.numeric.vibration
[type] => widget
)
[65] => Array
(
[logicalId] => dashboard.info.numeric.vuMeter
[type] => widget
)
[66] => Array
(
[logicalId] => dashboard.info.string.badge-transparent
[type] => widget
)
[67] => Array
(
[logicalId] => dashboard.info.string.maps
[type] => widget
)
[68] => Array
(
[logicalId] => dashboard.info.string.tile
[type] => widget
)
[69] => Array
(
[logicalId] => hasInternet.php
[type] => script
)
[70] => Array
(
[logicalId] => isConnected.sh
[type] => script
)
[71] => Array
(
[logicalId] => mobile.action.color.circle
[type] => widget
)
[72] => Array
(
[logicalId] => mobile.action.other.light
[type] => widget
)
[73] => Array
(
[logicalId] => mobile.action.other.lightIMG
[type] => widget
)
[74] => Array
(
[logicalId] => mobile.action.other.lock
[type] => widget
)
[75] => Array
(
[logicalId] => mobile.action.other.prise
[type] => widget
)
[76] => Array
(
[logicalId] => mobile.action.slider.button
[type] => widget
)
[77] => Array
(
[logicalId] => mobile.action.slider.kontrol
[type] => widget
)
[78] => Array
(
[logicalId] => mobile.action.slider.light
[type] => widget
)
[79] => Array
(
[logicalId] => mobile.action.slider.thermostat
[type] => widget
)
[80] => Array
(
[logicalId] => mobile.info.binary.alert
[type] => widget
)
[81] => Array
(
[logicalId] => mobile.info.binary.BaieIMG
[type] => widget
)
[82] => Array
(
[logicalId] => mobile.info.binary.door
[type] => widget
)
[83] => Array
(
[logicalId] => mobile.info.binary.doorIMG
[type] => widget
)
[84] => Array
(
[logicalId] => mobile.info.binary.light
[type] => widget
)
[85] => Array
(
[logicalId] => mobile.info.binary.lock
[type] => widget
)
[86] => Array
(
[logicalId] => mobile.info.binary.presence
[type] => widget
)
[87] => Array
(
[logicalId] => mobile.info.binary.prise
[type] => widget
)
[88] => Array
(
[logicalId] => mobile.info.binary.store
[type] => widget
)
[89] => Array
(
[logicalId] => mobile.info.binary.window
[type] => widget
)
[90] => Array
(
[logicalId] => mobile.info.numeric.badge
[type] => widget
)
[91] => Array
(
[logicalId] => mobile.info.numeric.gauge
[type] => widget
)
[92] => Array
(
[logicalId] => mobile.info.numeric.heatPiloteWire
[type] => widget
)
[93] => Array
(
[logicalId] => mobile.info.numeric.light
[type] => widget
)
[94] => Array
(
[logicalId] => mobile.info.numeric.progressBar
[type] => widget
)
[95] => Array
(
[logicalId] => mobile.info.numeric.Round
[type] => widget
)
[96] => Array
(
[logicalId] => mobile.info.numeric.store
[type] => widget
)
[97] => Array
(
[logicalId] => mobile.info.numeric.tempIMG
[type] => widget
)
[98] => Array
(
[logicalId] => mobile.info.numeric.tile
[type] => widget
)
[99] => Array
(
[logicalId] => mobile.info.numeric.vibration
[type] => widget
)
[100] => Array
(
[logicalId] => mobile.info.numeric.vuMeter
[type] => widget
)
[101] => Array
(
[logicalId] => neufBoxApi.php
[type] => script
)
[102] => Array
(
[logicalId] => WOL.php
[type] => script
)
)
[1] => Array
(
[0] => beta
[1] => beta
[2] => beta
[3] => beta
[4] => beta
[5] => beta
[6] => stable
[7] => beta
[8] => beta
[9] => beta
[10] => beta
[11] => beta
[12] => beta
[13] => beta
[14] => beta
[15] => beta
[16] => beta
[17] => stable
[18] => stable
[19] => stable
[20] => stable
[21] => stable
[22] => stable
[23] => stable
[24] => stable
[25] => stable
[26] => stable
[27] => stable
[28] => stable
[29] => stable
[30] => stable
[31] => stable
[32] => stable
[33] => stable
[34] => stable
[35] => stable
[36] => stable
[37] => stable
[38] => stable
[39] => stable
[40] => stable
[41] => stable
[42] => stable
[43] => stable
[44] => stable
[45] => stable
[46] => stable
[47] => stable
[48] => stable
[49] => stable
[50] => stable
[51] => stable
[52] => stable
[53] => stable
[54] => stable
[55] => stable
[56] => stable
[57] => stable
[58] => stable
[59] => stable
[60] => stable
[61] => stable
[62] => stable
[63] => stable
[64] => stable
[65] => stable
[66] => stable
[67] => stable
[68] => stable
[69] => stable
[70] => stable
[71] => stable
[72] => stable
[73] => stable
[74] => stable
[75] => stable
[76] => stable
[77] => stable
[78] => stable
[79] => stable
[80] => stable
[81] => stable
[82] => stable
[83] => stable
[84] => stable
[85] => stable
[86] => stable
[87] => stable
[88] => stable
[89] => stable
[90] => stable
[91] => stable
[92] => stable
[93] => stable
[94] => stable
[95] => stable
[96] => stable
[97] => stable
[98] => stable
[99] => stable
[100] => stable
[101] => stable
[102] => stable
)
)
)
[4] => Array
(
[file] => /usr/share/nginx/www/jeedom/install/install.php
[line] => 64
[function] => checkAllUpdate
[class] => update
[type] => ::
[args] => Array
(
[0] =>
[1] =>
)
)
)
Details : 1[END UPDATE ERROR]
PHP Fatal error: Uncaught exception 'Exception' with message 'Impossible de résoudre le DNS : market.jeedom.fr. Pas d'internet ?' in /usr/share/nginx/www/jeedom/core/class/jsonrpcClient.class.php:91
Stack trace:
#0 /usr/share/nginx/www/jeedom/core/class/jsonrpcClient.class.php(40): jsonrpcClient->send(Array, 10, NULL, 3)
#1 /usr/share/nginx/www/jeedom/core/class/market.class.php(166): jsonrpcClient->sendRequest('market::byLogic...', Array)
#2 /usr/share/nginx/www/jeedom/core/class/market.class.php(356): market::byLogicalIdAndType(Array)
#3 /usr/share/nginx/www/jeedom/core/class/update.class.php(84): market::getInfo(Array, Array)
#4 /usr/share/nginx/www/jeedom/install/install.php(64): update::checkAllUpdate('', false)
#5 {main}
thrown in /usr/share/nginx/www/jeedom/core/class/jsonrpcClient.class.php on line 91
when adding a node to Jeedom network, the url verification should automatically add "/jeedom" suffix
Pour l'instant c'était top instable pour être conservé tel que fait dans les précédentes version
Passage en pulling toutes les secondes pour sur la liste des événements.
Hi,
I get a error when I test my interaction query:
Warning: Invalid argument supplied for foreach() in /jeedom/core/class/interactQuery.class.php on line 289
Do you known this issue ?
Jeedom version: 1.212.0
Idéalement ajouter un champs de recherche pour envoyer directement sur la faq
I am running Jeedom from https://hub.docker.com/r/cquad/jeedom/
[START UPDATE]
_Installation/Mise à jour de Jeedom 1.199.0 (2015-11-17 20:27:56)_
Paramètres de la mise à jour : level : -1, mode : , version : , onlyThisVersion :
Mise à plat des droits...
OK
[START BACKUP]
_Lancement de la sauvegarde de Jeedom le 2015-11-17 20:28:05_
Vérification du système de fichiers (corruption)...OK
Mise à plat des droits...OK
Sauvegarde des fichiers...
OK
Suppression du fichier d'identification de la base de données...OK
Vérification de la base de données :
jeedom.connection
note : The storage engine for the table doesn't support check
Sauvegarde de la base de données...
OK
Création de l'archive...
OK
Nettoyage des anciennes sauvegardes...OK
Limite de la taille totale des sauvegardes à 200 Mo...OK
Nom du backup : /usr/share/nginx/www/jeedom/core/php/../../backup/backup-1.199.0-2015-11-17-20h28.tar.gz
_Fin de la sauvegarde de Jeedom_
[END BACKUP SUCCESS]
Desactivation de toutes les tâches OK
Désactivation de tous les scénarios OK
Nettoyage du dossier temporaire (tmp)...
OK
Adresse de téléchargement : https://market.jeedom.fr/jeedom/master/jeedom.zip?timespamp=1447788499
Téléchargement en cours...sh: 1: wget: not found
Réactivation des scénarios : OK
Réactivation des tâches : OK
Erreur durant l'installation : Impossible de télécharger le fichier depuis : https://market.jeedom.fr/jeedom/master/jeedom.zip.Array
(
)
Details : 1[END UPDATE ERROR]
PHP Fatal error: Uncaught exception 'Exception' with message 'Impossible de télécharger le fichier depuis : https://market.jeedom.fr/jeedom/master/jeedom.zip.' in /usr/share/nginx/www/jeedom/install/install.php:126
Stack trace:
#0 {main}
thrown in /usr/share/nginx/www/jeedom/install/install.php on line 126
Utilisation de monolog qui permet une intégration à des systèmes de logs (type syslog(d))
My jeedom is running inside of a docker and when I setup cron it generates a great number of php defunct process that endup saturating the number of processes on the server and prevents new forks.
20 ? Ss 0:00 nginx: master process /usr/sbin/nginx
21 ? S 0:00 \_ nginx: worker process
22 ? S 0:00 \_ nginx: worker process
23 ? S 0:00 \_ nginx: worker process
24 ? S 0:00 \_ nginx: worker process
34 ? Zs 0:00 [start-stop-daem] <defunct>
35 ? Sl 0:03 /usr/bin/nodejs /usr/share/nginx/www/jeedom/core/nodeJS/server.js
70 ? Ss 0:00 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
71 ? S 0:01 \_ php-fpm: pool www
72 ? S 0:00 \_ php-fpm: pool www
654 ? S 0:00 \_ php-fpm: pool www
109 ? S 0:00 /bin/sh /usr/bin/mysqld_safe
439 ? Sl 0:02 \_ /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mys
440 ? S 0:00 \_ logger -t mysqld -p daemon.error
513 ? Z 0:00 [debian-start] <defunct>
[snip]
3101 ? Z 0:01 [php] <defunct>
3567 ? Z 0:31 [php] <defunct>
4259 ? Ss 0:00 /usr/sbin/cron
4284 ? Z 0:00 [php] <defunct>
4286 ? Z 0:00 [php] <defunct>
4288 ? Z 0:00 [php] <defunct>
4290 ? Z 0:00 [php] <defunct>
4294 ? Z 0:00 [php] <defunct>
4296 ? Z 0:00 [php] <defunct>
4304 ? Z 0:00 [php] <defunct>
4307 ? Z 0:00 [php] <defunct>
4310 ? Z 0:00 [php] <defunct>
4312 ? Z 0:00 [php] <defunct>
4314 ? Z 0:00 [php] <defunct>
4316 ? S 0:00 /usr/bin/php /usr/share/nginx/www/jeedom/core/class/../php/jeeCron.php cron_id=16
4330 ? Z 0:00 [php] <defunct>
4344 ? Z 0:00 [php] <defunct>
4346 ? Z 0:00 [php] <defunct>
4353 ? Z 0:00 [php] <defunct>
4362 ? Z 0:00 [php] <defunct>
4370 ? Z 0:00 [php] <defunct>
4378 ? Z 0:00 [php] <defunct>
4387 ? ZN 0:00 [python] <defunct>
4439 ? Z 0:00 [php] <defunct>
4441 ? Z 0:00 [php] <defunct>
4445 ? Z 0:00 [php] <defunct>
4453 ? Z 0:00 [php] <defunct>
4461 ? Z 0:00 [php] <defunct>
4468 ? Z 0:00 [php] <defunct>
4476 ? Z 0:00 [php] <defunct>
4484 ? Z 0:00 [php] <defunct>
4492 ? Z 0:00 [php] <defunct>
4501 ? ZN 0:00 [python] <defunct>
from a shell, root@c754bd57d1d9:~# /usr/bin/php /usr/share/nginx/www/jeedom/core/php/jeeCron.php
seems to return without a problem.
Is the problem coming from the "debian-start " ?
For the record (and since I don't know how to do the fix myself.
below a string I got after rebooting:
Jeedom est en cours de démarrage (peut prendre jusqu'à 5min)
the \ needs to be removed
hth. if you do not want to have such ticket on git, please let me know
Attention il faudra peut être toute les reconfigurer suite à la mise à jour
Cela permet par exemple de connecter jeedom à un serveur redis ou memcached. Par défaut jeedom utilise un systeme de fichier (et non plus la bdd mysql ce qui permet de la décharger un peu), celui-ci se trouve dans /tmp il est donc conseillé si vous avez plus de 512mo de ram de monter le /tmp en tmpfs (en ram pour plus de rapidité et une diminution de l'usure de la carte SD). Attention lors du redémarrage de jeedom le cache est vidé il faut donc attendre pour avoir la remonté de toutes les infos
Lors de l'installation par défaut de jeedom il est impossible de connecter celui-ci à un LDAP car le paquet php5-ldap n'est pas dans la liste des prérequis installés par le script install.sh (ligne 380).
Erreur :
Une erreur 500 est affiché lors du test de la configuration dans l'interface web
Et l'erreur dans /usr/share/nginx/www/jeedom/log/nginx.error :
2015/09/01 23:36:44 [error] 676#0: *4395 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function ldap_connect() in /usr/share/nginx/www/jeedom/core/class/user.class.php on line 142" while reading response header from upstream, client: 192.168.40.1, server: , request: "POST /core/ajax/user.ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "jeedom.home.local", referrer: "http://jeedom.home.local/index.php?v=d&p=administration"
Resolution :
Installation du paquet php5-ldap
apt-get install php5-ldap
Am trying out jeedom in Docker. Some of it seems to be running correctly, but I haven't found a way (yet) to get cron to run.
A Docker file (and maybe a Docker image) would be a nice way for people to try out jeedom (or to host it on an existing server).
Hello,
I have a brand new jeedom installation,
I'n trying to get LDAP working.
I got this :
×500 : Internal Server Error
and in the logs nginx.error :
2015/06/10 19:40:08 [error] 1451#0: *4462 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function ldap_connect() in /usr/share/nginx/www/jeedom/core/class/user.class.php on line 142" while reading response header from upstream, client: 192.168.56.1, server: , request: "POST /core/ajax/user.ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "192.168.56.101", referrer: "http://****/jeedom/index.php?v=d&p=administration"
version 1.188.0
I use the VM provided by Loic here :
https://jeedom.fr/blog/?p=873
thanks,
Matteo
Hi guys!
It would be nice to be able to download values from the history page and API.
We could export our value to other softwares (Excel?) and help work on the datas.
Thx
The jeedom json rpc2 api only works with your php client implementation. I try other php and js implementations and i cant make it work. After looking deeper in the code i found that you use the post field "request" instead of send and receive json in raw post data.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.