Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

Zibase : ZiBASEDOM

Avatar de l’utilisateur
scanab
Actif
Messages : 914
Inscription : 30 juil. 2014, 15:15

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par scanab » 29 mars 2016, 09:41

Avec la dernière version du plugin, il faut installer node via la page de configuration du plugin.
As tu essayé de réinstaller les dépendances dans la configuration du plugin ?
Quel est ta configuration matérielle ?

Envoyé de mon Nexus 4 en utilisant Tapatalk
Développeur des plugins :

sfl
Timide
Messages : 116
Inscription : 24 juil. 2014, 00:04
Localisation : 31

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par sfl » 29 mars 2016, 10:45

Hello à tous,

Je vais essaye de faire avancer le debug. Je suis en Jeedom v2.1.2 upgradé depuis la v1 sur un chroot debian jessie (lui aussi upgradé depuis la wheezy)

Code : Tout sélectionner

2016-03-29 10:21:32][Zibasedom][ERROR] : Impossible de lancer le démon Zibasedom
[2016-03-29 10:21:38][Zibasedom][INFO] : Installation des dépendances nodejs
[2016-03-29 10:22:02][Zibasedom][DEBUG] : Zibasedom::runDeamon()
[2016-03-29 10:22:02][Zibasedom][INFO] : Lancement démon Zibasedom : nodejs /usr/share/nginx/www/jeedom/plugins/Zibasedom/node/Zibasedom.js 192.168.0.100 8088 /jeedom/core/api/jeeApi.php?api=*****5 192.168.0.101 600000 100
nohup: impossible d'exécuter la commande « nodejs »: Aucun fichier ou dossier de ce type
[2016-03-29 10:22:12][Zibasedom][INFO] : Lancement démon Zibasedom : nodejs /usr/share/nginx/www/jeedom/plugins/Zibasedom/node/Zibasedom.js 192.168.0.100 8088 /jeedom/core/api/jeeApi.php?api=*****5 192.168.0.101 600000 100

module.js:340
    throw err;
          ^
Error: Cannot find module 'request'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object. (/usr/share/nginx/www/jeedom/plugins/Zibasedom/node/Zibasedom.js:24:15)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
[2016-03-29 10:22:22][Zibasedom][INFO] : Lancement démon Zibasedom : nodejs /usr/share/nginx/www/jeedom/plugins/Zibasedom/node/Zibasedom.js 192.168.0.100 8088 /jeedom/core/api/jeeApi.php?api=n******5 192.168.0.101 600000 100

module.js:340
    throw err;
          ^
Error: Cannot find module 'request'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object. (/usr/share/nginx/www/jeedom/plugins/Zibasedom/node/Zibasedom.js:24:15)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
[2016-03-29 10:22:32][Zibasedom][ERROR] : Impossible de lancer le démon Zibasedom
a priori dans les dependances du plugin, l'installation de nodejs ne marche pas.
je l'ai installé à la main mais pas mieux via apt-get

Code : Tout sélectionner

root@DiskStation:/home# nodejs -v
v0.10.29
si je vais voir dans le repertoire du plugin et que je lance à la main, j'ai une erreur car il ne trouve pas npm

Code : Tout sélectionner

root@DiskStation:/home# ls -al /usr/share/nginx/www/jeedom/plugins/Zibasedom/resources/
total 16
drwxrwxr-x 2 www-data www-data 4096 mars  28 19:52 .
drwxrwxr-x 9 www-data www-data 4096 mars  28 19:52 ..
-rwxrwxr-x 1 www-data www-data 1803 mars  28 19:52 nodejs.sh
-rwxrwxr-x 1 www-data www-data  144 mars  28 19:52 test-nodejs.sh
root@DiskStation:/home#  /usr/share/nginx/www/jeedom/plugins/Zibasedom/resources/test-nodejs.sh
rm: impossible de supprimer « nodejsOK »: Aucun fichier ou dossier de ce type
root@DiskStation:/home#  /usr/share/nginx/www/jeedom/plugins/Zibasedom/resources/nodejs.sh
Début de l'installation
Version actuelle : v0.10.29
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Le paquet « npm » n'est pas installé, et ne peut donc être supprimé
Les paquets suivants seront ENLEVÃS :
  libc-ares2* libv8-3.14.5* nodejs*
0 mis à jour, 0 nouvellement installés, 3 à enlever et 0 non mis à jour.
Après cette opération, 7 770 ko d'espace disque seront libérés.
(Lecture de la base de données... 39358 fichiers et répertoires déjà installés.)
Suppression de nodejs (0.10.29~dfsg-2) ...
Suppression de libc-ares2:i386 (1.10.0-2) ...
Purge des fichiers de configuration de libc-ares2:i386 (1.10.0-2) ...
Suppression de libv8-3.14.5 (3.14.5.8-8.1) ...
Purge des fichiers de configuration de libv8-3.14.5 (3.14.5.8-8.1) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.0.2-5) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.19-18+deb8u3) ...
Utilisation du dépot officiel

## Installing the NodeSource Node.js 5.x repo...


## Populating apt-get cache...

+ apt-get update
Ign http://ftp.fr.debian.org jessie InRelease
Atteint http://ftp.fr.debian.org jessie-updates InRelease
Atteint http://security.debian.org jessie/updates InRelease
Atteint http://security.debian.org jessie/updates/main Sources
Atteint http://ftp.fr.debian.org jessie Release.gpg
Atteint http://http.debian.net jessie-backports InRelease
Atteint http://security.debian.org jessie/updates/contrib Sources
Atteint http://ftp.fr.debian.org jessie-updates/main Sources
Atteint http://security.debian.org jessie/updates/non-free Sources
Atteint http://security.debian.org jessie/updates/main i386 Packages
Réception de : 1 http://http.debian.net jessie-backports/main i386 Packages/DiffIndex [27,8 kB]
Atteint http://ftp.fr.debian.org jessie-updates/contrib Sources
Atteint http://security.debian.org jessie/updates/contrib i386 Packages
Atteint http://security.debian.org jessie/updates/non-free i386 Packages
Atteint http://ftp.fr.debian.org jessie-updates/non-free Sources
Réception de : 2 http://http.debian.net jessie-backports/main Translation-en/DiffIndex [27,8 kB]
Atteint http://security.debian.org jessie/updates/contrib Translation-en
Réception de : 3 http://ftp.fr.debian.org jessie-updates/main i386 Packages/DiffIndex [1 504 B]
Atteint http://security.debian.org jessie/updates/main Translation-en
Atteint http://security.debian.org jessie/updates/non-free Translation-en
Atteint http://ftp.fr.debian.org jessie-updates/contrib i386 Packages
Réception de : 4 http://ftp.fr.debian.org jessie-updates/non-free i386 Packages/DiffIndex [736 B]
Atteint http://ftp.fr.debian.org jessie-updates/contrib Translation-en
Atteint https://deb.nodesource.com jessie InRelease
Réception de : 5 http://ftp.fr.debian.org jessie-updates/main Translation-en/DiffIndex [736 B]
Réception de : 6 http://ftp.fr.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Atteint https://deb.nodesource.com jessie/main Sources
Atteint http://ftp.fr.debian.org jessie Release
Atteint http://ftp.fr.debian.org jessie/main Sources
Atteint https://deb.nodesource.com jessie/main i386 Packages
Atteint http://ftp.fr.debian.org jessie/contrib Sources
Atteint http://ftp.fr.debian.org jessie/non-free Sources
Réception de : 7 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Atteint http://ftp.fr.debian.org jessie/main i386 Packages
Atteint http://ftp.fr.debian.org jessie/contrib i386 Packages
Réception de : 8 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Atteint http://ftp.fr.debian.org jessie/non-free i386 Packages
Atteint http://ftp.fr.debian.org jessie/contrib Translation-en
Atteint http://ftp.fr.debian.org jessie/main Translation-fr
Réception de : 9 https://deb.nodesource.com jessie/main Translation-en [162 B]
Atteint http://ftp.fr.debian.org jessie/main Translation-en
Atteint http://ftp.fr.debian.org jessie/non-free Translation-en
Réception de : 10 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Réception de : 11 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Réception de : 12 https://deb.nodesource.com jessie/main Translation-en [162 B]
Réception de : 13 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Réception de : 14 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Réception de : 15 https://deb.nodesource.com jessie/main Translation-en [162 B]
Réception de : 16 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Réception de : 17 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Réception de : 18 https://deb.nodesource.com jessie/main Translation-en [162 B]
Réception de : 19 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Ign https://deb.nodesource.com jessie/main Translation-fr_FR
Réception de : 20 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Ign https://deb.nodesource.com jessie/main Translation-fr
Réception de : 21 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
59,3 ko réceptionnés en 5s (10,8 ko/s)
Lecture des listes de paquets... Fait

## Confirming "jessie" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_5.x/dists/jessie/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK

## Creating apt sources list file for the NodeSource Node.js 5.x repo...

+ echo 'deb https://deb.nodesource.com/node_5.x jessie main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_5.x jessie main' >> /etc/apt/sources.list.d/nodesource.list

## Running `apt-get update` for you...

+ apt-get update
Ign http://ftp.fr.debian.org jessie InRelease
Atteint http://security.debian.org jessie/updates InRelease
Atteint http://security.debian.org jessie/updates/main Sources
Atteint http://ftp.fr.debian.org jessie-updates InRelease
Atteint http://http.debian.net jessie-backports InRelease
Atteint http://security.debian.org jessie/updates/contrib Sources
Atteint http://security.debian.org jessie/updates/non-free Sources
Atteint http://ftp.fr.debian.org jessie Release.gpg
Atteint http://security.debian.org jessie/updates/main i386 Packages
Réception de : 1 http://http.debian.net jessie-backports/main i386 Packages/DiffIndex [27,8 kB]
Atteint http://ftp.fr.debian.org jessie-updates/main Sources
Atteint http://security.debian.org jessie/updates/contrib i386 Packages
Atteint http://security.debian.org jessie/updates/non-free i386 Packages
Atteint http://ftp.fr.debian.org jessie-updates/contrib Sources
Réception de : 2 http://http.debian.net jessie-backports/main Translation-en/DiffIndex [27,8 kB]
Atteint http://security.debian.org jessie/updates/contrib Translation-en
Atteint http://security.debian.org jessie/updates/main Translation-en
Atteint http://ftp.fr.debian.org jessie-updates/non-free Sources
Atteint http://security.debian.org jessie/updates/non-free Translation-en
Réception de : 3 http://ftp.fr.debian.org jessie-updates/main i386 Packages/DiffIndex [1 504 B]
Atteint http://ftp.fr.debian.org jessie-updates/contrib i386 Packages
Réception de : 4 http://ftp.fr.debian.org jessie-updates/non-free i386 Packages/DiffIndex [736 B]
Atteint https://deb.nodesource.com jessie InRelease
Atteint http://ftp.fr.debian.org jessie-updates/contrib Translation-en
Réception de : 5 http://ftp.fr.debian.org jessie-updates/main Translation-en/DiffIndex [736 B]
Atteint https://deb.nodesource.com jessie/main Sources
Réception de : 6 http://ftp.fr.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Atteint http://ftp.fr.debian.org jessie Release
Atteint http://ftp.fr.debian.org jessie/main Sources
Atteint https://deb.nodesource.com jessie/main i386 Packages
Atteint http://ftp.fr.debian.org jessie/contrib Sources
Atteint http://ftp.fr.debian.org jessie/non-free Sources
Réception de : 7 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Atteint http://ftp.fr.debian.org jessie/main i386 Packages
Atteint http://ftp.fr.debian.org jessie/contrib i386 Packages
Réception de : 8 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Atteint http://ftp.fr.debian.org jessie/non-free i386 Packages
Atteint http://ftp.fr.debian.org jessie/contrib Translation-en
Atteint http://ftp.fr.debian.org jessie/main Translation-fr
Réception de : 9 https://deb.nodesource.com jessie/main Translation-en [162 B]
Atteint http://ftp.fr.debian.org jessie/main Translation-en
Atteint http://ftp.fr.debian.org jessie/non-free Translation-en
Réception de : 10 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Réception de : 11 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Réception de : 12 https://deb.nodesource.com jessie/main Translation-en [162 B]
Réception de : 13 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Réception de : 14 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Réception de : 15 https://deb.nodesource.com jessie/main Translation-en [162 B]
Réception de : 16 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Réception de : 17 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Réception de : 18 https://deb.nodesource.com jessie/main Translation-en [162 B]
Réception de : 19 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Ign https://deb.nodesource.com jessie/main Translation-fr_FR
Réception de : 20 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Ign https://deb.nodesource.com jessie/main Translation-fr
Réception de : 21 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
59,3 ko réceptionnés en 5s (10,9 ko/s)
Lecture des listes de paquets... Fait

## Run `apt-get install nodejs` (as root) to install Node.js 5.x and npm

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés :
  libc-ares2 libv8-3.14.5
Les NOUVEAUX paquets suivants seront installés :
  libc-ares2 libv8-3.14.5 nodejs
0 mis à jour, 3 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 0 o/2 095 ko dans les archives.
Après cette opération, 7 770 ko d'espace disque supplémentaires seront utilisés.
Sélection du paquet libc-ares2:i386 précédemment désélectionné.
(Lecture de la base de données... 39250 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../libc-ares2_1.10.0-2_i386.deb ...
Dépaquetage de libc-ares2:i386 (1.10.0-2) ...
Sélection du paquet libv8-3.14.5 précédemment désélectionné.
Préparation du dépaquetage de .../libv8-3.14.5_3.14.5.8-8.1_i386.deb ...
Dépaquetage de libv8-3.14.5 (3.14.5.8-8.1) ...
Sélection du paquet nodejs précédemment désélectionné.
Préparation du dépaquetage de .../nodejs_0.10.29~dfsg-2_i386.deb ...
Dépaquetage de nodejs (0.10.29~dfsg-2) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.0.2-5) ...
Paramétrage de libc-ares2:i386 (1.10.0-2) ...
Paramétrage de libv8-3.14.5 (3.14.5.8-8.1) ...
Paramétrage de nodejs (0.10.29~dfsg-2) ...
update-alternatives: utilisation de « /usr/bin/nodejs » pour fournir « /usr/bin/js » (js) en mode automatique
Traitement des actions différées (« triggers ») pour libc-bin (2.19-18+deb8u3) ...
Version actuelle : v0.10.29
/usr/share/nginx/www/jeedom/plugins/Zibasedom/resources/nodejs.sh: ligne 51 : cd: ../node/: Aucun fichier ou dossier de ce type
/usr/share/nginx/www/jeedom/plugins/Zibasedom/resources/nodejs.sh: ligne 53: npm : commande introuvable
sudo: npm: command not found
sudo: npm: command not found
chown: impossible d'accéder à « * »: Aucun fichier ou dossier de ce type
chmod: impossible d'accéder à « bridge »: Aucun fichier ou dossier de ce type
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
Fin de l'installation
Le pb c'est que si j'installe npm à la main, il se fait supprimer par le script d'install.
Si je tente de commenter la suppression de npm, j'ai quand meme un sushi car il a du l'installer au mauvais endroit non ?

Code : Tout sélectionner

## Run `apt-get install nodejs` (as root) to install Node.js 5.x and npm

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
nodejs est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Version actuelle : v0.10.29
/usr/share/nginx/www/jeedom/plugins/Zibasedom/resources/nodejs.sh: ligne 51 : cd: ../node/: Aucun fichier ou dossier de ce type
npm ERR! install Couldn't read dependencies
npm ERR! package.json ENOENT, open '/root/package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current directory.

npm ERR! System Linux 3.10.35
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "--unsafe-perm"
npm ERR! cwd /root
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! path /root/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /root/npm-debug.log
npm ERR! not ok code 0
chmod: impossible d'accéder à « bridge »: Aucun fichier ou dossier de ce type
string@3.3.1 node_modules/string
npm WARN engine hawk@3.1.3: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
request@2.69.0 node_modules/request
âââ is-typedarray@1.0.0
âââ aws-sign2@0.6.0
âââ forever-agent@0.6.1
âââ caseless@0.11.0
âââ stringstream@0.0.5
âââ tunnel-agent@0.4.2
âââ oauth-sign@0.8.1
âââ isstream@0.1.2
âââ json-stringify-safe@5.0.1
âââ extend@3.0.0
âââ node-uuid@1.4.7
âââ qs@6.0.2
âââ tough-cookie@2.2.2
âââ combined-stream@1.0.5 (delayed-stream@1.0.0)
âââ mime-types@2.1.10 (mime-db@1.22.0)
âââ form-data@1.0.0-rc4 (async@1.5.2)
âââ hawk@3.1.3 (cryptiles@2.0.5, sntp@1.0.9, boom@2.10.1, hoek@2.16.3)
âââ bl@1.0.3 (readable-stream@2.0.6)
âââ http-signature@1.1.1 (assert-plus@0.2.0, jsprim@1.2.2, sshpk@1.7.4)
âââ aws4@1.3.2 (lru-cache@4.0.1)
âââ har-validator@2.0.6 (pinkie-promise@2.0.0, commander@2.9.0, is-my-json-valid@2.13.1, chalk@1.1.3)
xml2js@0.4.16 node_modules/xml2js
âââ sax@1.2.1
âââ xmlbuilder@4.2.1 (lodash@4.6.1)
Fin de l'installation
@scanab, si tu as besoin d'autres test n’hésites surtout pas.

SFL
Jeedom en prod via chroot et MariaDB
Jeedom slave sur RPI via nfs

jackouille
Timide
Messages : 157
Inscription : 17 déc. 2015, 13:50

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par jackouille » 29 mars 2016, 10:53

scanab a écrit :
jackouille a écrit :bonjour scanab,
tu avais parlé d'une modif sur ton pluging afin de pouvoir saisir directement l'identifiant Zibase. Ceci est intéressant lorsque l'on change les piles car dans ce cas l'ID peut changer et plutôt que de refaire l'inclusion dans le plugin ça serait plus rapide de changer son ID.
où en es-tu dans cette modif ?
C'est déjà le cas depuis longtemps... Sur quel protocol as-tu le problème ?
je suis avec du Chacon et DIO

hal01
Timide
Messages : 24
Inscription : 04 avr. 2015, 09:17

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par hal01 » 29 mars 2016, 12:35

Bonjour,
pour ma part, j'ai le plugin qui fonctionne ou plutôt les dépendances qui fonctionnent !
Tout est en vert & pas de souci dans l'installation (a partir de zéro).
Merci pour la mise a jour Scanab.

En revanche je reste avec mon probleme de sondes qui ne remontent pas dans le plugin

Je suis sur Docker/synology, Installation fraiche en V2.1.2
Le port 17100 UDP est mappé dans le container
J'ai bien Nodejs qui tourne, en revanche dans le log j'ai des redemarrage toutes les 10 minutes car pas de signes de ma zibase.


J'ai essayé avec en configuration reseau dans jeedom
1/ 172.17.42.1 comme exprimé dans le post de Stef74 ici
viewtopic.php?f=67&t=16777
Le log donne quelque chose ainsi

Code : Tout sélectionner

2016-03-29 12:20:27][Zibasedom][INFO] : {{Démon Zibasedom lancé}}
[2016-03-29 12:29:50][Zibasedom][INFO] : {{Tentative d'arrêt du démon Zibasedom}}
[2016-03-29 12:30:02][Zibasedom][INFO] : {{Lancement démon Zibasedom}} : nodejs /var/www/html/plugins/Zibasedom/node/Zibasedom.js 172.17.42.1 80 /core/api/jeeApi.php?api=xx 192.168.0.xx 600000 200
[2016-03-29 10:30:02][ZibasedomDeamon][INFO] : Watchdog timeout : 10 minutes
[2016-03-29 10:30:02][ZibasedomDeamon][ERROR] : server error : Error: bind EADDRNOTAVAIL 172.17.42.1:17100
at Object.exports._errnoException (util.js:890:11)
at exports._exceptionWithHostPort (util.js:913:20)
at dgram.js:221:18
at _combinedTickCallback (node.js:386:13)
at process._tickCallback (node.js:407:11)
at Function.Module.runMain (module.js:449:11)
at startup (node.js:142:18)
at node.js:939:3
[2016-03-29 12:30:12][Zibasedom][INFO] : {{Démon Zibasedom lancé}}
2/ 172.17.0.1 en laissant jeedom géré le reseau comme exprimé par Superbricolo dans ce post en page 30

Voici le type de log que j'ai

Code : Tout sélectionner

] : {{Redémarrage du démon Zibasedom}}
[2016-03-29 12:20:17][Zibasedom][INFO] : {{Lancement démon Zibasedom}} : nodejs /var/www/html/plugins/Zibasedom/node/Zibasedom.js 172.17.0.1 80 /core/api/jeeApi.php?api=xx 192.168.0.x 600000 200
[2016-03-29 10:20:18][ZibasedomDeamon][INFO] : Watchdog timeout : 10 minutes
[2016-03-29 10:20:18][ZibasedomDeamon][INFO] : server listening 172.17.0.1:17100
[2016-03-29 12:20:27][Zibasedom][INFO] : {{Démon Zibasedom lancé}}
Bref qui peut m'aider a essayer de bien configurer mon reseau pour que mes sondes remontent?

Merci d'avance
Zibase 1 - NAS Xpenology (Chroot) - actioneurs/sondes ,X10, oregon, nabaztag, karotz

Linlin_35_44
Timide
Messages : 26
Inscription : 08 sept. 2015, 09:23

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par Linlin_35_44 » 29 mars 2016, 17:34

Linlin_35_44 a écrit :
mbuffat69 a écrit :Si c'est un pble de communication Zibase JEEDOM, essaie de supprimer l'actionneur actif du volet.
Regarde ensuite si l'actionneur est recrée (coche création auto des périphériques) avec les bons codes (i.e. même identifiant que sous Zibase)
testé sur un volet
je l'ai supprimé, il a été réajouté automatiquement mais ç ane marche pas mieux
je reviens donner des news pour mon problème de scénario qui ne se termine pas car j'ai enfin réussi à me débrouiller
pour rappel je souhaitais ouvrir mes volets du RDC et du bas sur condition à horaire fixe quotidiennement
mon scénario fait appel à 2 scénarios Zibase : un pour ouvrir les volets de l'étage, l'autre du RDC

le problème étant qu'une fois lancé, lorsque je fais appel à mon scénario Zibase, il se lance bien mais mon scénario Jeedom ne se termine jamais et donc n'est pas éxécuté le jour suivant

j'ai tout d'abord scindé mon scénario Jeedom en 2 scénarios, un pour l'étage et un pour le RDC, éxécutés à 1 min d'intervalle
ensuite j'ai créé un troisième scénario qui est lancé 1 minutes après et qui stoppe les 2 premiers scénarios
ainsi tout se passe nickel

Laperic
Timide
Messages : 8
Inscription : 06 mars 2016, 12:07

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par Laperic » 30 mars 2016, 07:29

Bonjour Scanab,

Voici ma config :

Une Zibase et Jeedom installé (en v1 puis updaté en v2) dans une VM VMware (avec sa propre adresse IP) hébergée dans un Mac mini.
Installation faite directement (sans modif) à partir de l’image ISO proposée sur le Forum (Ubuntu 14.10).
Fonctionne parfaitement depuis 3 ou 4 mois avec le plugin Zibasedom (pour consulter/interagir avec des sondes Oregon, Enocean et zWave).
Le problème semble intervenu suite à l’installation du dernier update du plugin.

Statut réseau Jeedom (accès interne et externe) : OK

Pour y voir plus clair j’ai désactivé le plugin Zibasedom et nettoyé les log.

En activant le plugin, j’obtiens :

Sur la log Zibasedom :

Code : Tout sélectionner

[2016-03-29 19:48:11][Zibasedom][INFO] : Installation des dépendances nodejs
[2016-03-29 19:49:02][Zibasedom][DEBUG] : Zibasedom::runDeamon()
[2016-03-29 19:49:02][Zibasedom][INFO] : Lancement démon Zibasedom : nodejs /usr/share/nginx/www/jeedom/plugins/Zibasedom/node/Zibasedom.js 192.168.0.22 80 /core/api/jeeApi.php?api=xxxxxxxxxx 192.168.0.17 600000 100
nohup: impossible d'exécuter la commande «nodejs»: Aucun fichier ou dossier de ce type
Tu indiques qu’il faut installer nodejs via la page de configuration du plugin, comment procède-t-on ?

Et sur la log Zibasedom_dep :

Code : Tout sélectionner

/usr/share/nginx/www/jeedom/plugins/Zibasedom/resources/test-nodejs.sh: line 3: nodejs: command not found
rm: cannot remove 'nodejsOK': No such file or directory
J’ai relancé l’installation des dépendances. 
/usr/share/nginx/www/jeedom/plugins/Zibasedom/resources/test-nodejs.sh: line 3: nodejs: command not found
rm: cannot remove 'nodejsOK': No such file or directory
J’ai ensuite supprimé puis réinstallé le plugin mais c’est pas mieux :
Capture d’écran 2016-03-29 à 20.30.08.png
Capture d’écran 2016-03-29 à 20.30.08.png (99.52 Kio) Consulté 1254 fois
Comment puis-je récupérer plus d’info (log ?) pour avancer ?
Merci de ton aide.
Jeedom V2 installé dans une VM sur un Mac mini + Zibase Pro avec capteurs Oregon, Zwave, Enocean
Plugins : Zibasedom, Agenda, Camera, Eco-Devoces, IPX-800 v3, E-Mail, Pushover, Script, SSHCommander, Suivi Conso, Thermostat, Virtuel et Widget

hal01
Timide
Messages : 24
Inscription : 04 avr. 2015, 09:17

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par hal01 » 30 mars 2016, 11:23

Pour installer le nodejs il faut cliquer dans la page de configuration du plugin sur le bouton orange de lancement des dependances.

On a ensuite le % d'installation qui deroule et ça devrait ensuite être bon

Envoyé de mon Nexus 4 en utilisant Tapatalk
Zibase 1 - NAS Xpenology (Chroot) - actioneurs/sondes ,X10, oregon, nabaztag, karotz

Laperic
Timide
Messages : 8
Inscription : 06 mars 2016, 12:07

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par Laperic » 30 mars 2016, 12:02

hal01 a écrit :Pour installer le nodejs il faut cliquer dans la page de configuration du plugin sur le bouton orange de lancement des dependances.

On a ensuite le % d'installation qui deroule et ça devrait ensuite être bon

Envoyé de mon Nexus 4 en utilisant Tapatalk
C'est effectivement ce que je fais mais quelque chose se passe mal. Le % de l'install defile jusqu'à 20% puis s'arrête mais tout reste en NOK.

En regardant la log pendant l'install je vois defiler des erreurs mais malheureusement à la fin la log semble se "reinitialiser" et il ne reste que ca :

Code : Tout sélectionner

/usr/share/nginx/www/jeedom/plugins/Zibasedom/resources/test-nodejs.sh: line 3: nodejs: command not found
rm: cannot remove 'nodejsOK': No such file or directory


J'ai tout de même pu capturer qq info pendant que la log défilait mais je ne sais pas si ca peut aider :

Code : Tout sélectionner

/usr/share/nginx/www/jeedom/plugins/Zibasedom/resources/test-nodejs.sh: line 3: nodejs: command not found
rm: cannot remove 'nodejsOK': No such file or directory
Ign http://security.ubuntu.com utopic-security/main Translation-en
Ign http://security.ubuntu.com utopic-security/main Translation-fr
Ign http://security.ubuntu.com utopic-security/multiverse Translation-en
Ign http://security.ubuntu.com utopic-security/multiverse Translation-fr
Ign http://security.ubuntu.com utopic-security/restricted Translation-en
Ign http://security.ubuntu.com utopic-security/restricted Translation-fr
Ign http://security.ubuntu.com utopic-security/universe Translation-en
Ign http://security.ubuntu.com utopic-security/universe Translation-fr
Err http://security.ubuntu.com utopic-security/main Sources
404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com utopic-security/restricted Sources
404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com utopic-security/universe Sources
404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com utopic-security/multiverse Sources
404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com utopic-security/main amd64 Packages
404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com utopic-security/restricted amd64 Packages
404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com utopic-security/universe amd64 Packages
404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com utopic-security/multiverse amd64 Packages
404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com utopic-security/main i386 Packages
404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com utopic-security/restricted i386 Packages
404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com utopic-security/universe i386 Packages
404  Not Found [IP: 91.189.88.149 80]
Jeedom V2 installé dans une VM sur un Mac mini + Zibase Pro avec capteurs Oregon, Zwave, Enocean
Plugins : Zibasedom, Agenda, Camera, Eco-Devoces, IPX-800 v3, E-Mail, Pushover, Script, SSHCommander, Suivi Conso, Thermostat, Virtuel et Widget

Avatar de l’utilisateur
mbuffat69
Timide
Messages : 389
Inscription : 02 févr. 2016, 21:25
Localisation : Lyon

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par mbuffat69 » 30 mars 2016, 12:06

Sur quel système installes tu JEEDOM (une ubuntu en VM) ?
dans ton cas tu as clairement un pble d'installation de nodejs !
Essaye d'installer un plugin de lunarok qui utilise nodejs pour faire l'install de nodejs
ou essaye à la main avec apt-get (voir post + haut)
Système DIY 2 PI3 avec SSD (voir mon profil pour le détail)

snowman69
Timide
Messages : 92
Inscription : 18 janv. 2016, 20:55
Localisation : Lyon

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par snowman69 » 30 mars 2016, 12:15

Install le plug-in mysensors ça devrait rouler


Envoyé de mon iPad à l'aide de Tapatalk
Tahoma serenity
Velux IO x3
Volet Velux IO x3
BSO Somfy IO x3
VR Somfy IO x 2
VMC Atlantic Optimocosy HR plus IO
JEEDOM SMART
Zigate
Qubino Din Dimmer x2
Nuki SmartLock + Bridge
Centrale Chauffage Thermozyklus ZE Wifi 9 zones de chauffage

Laperic
Timide
Messages : 8
Inscription : 06 mars 2016, 12:07

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par Laperic » 31 mars 2016, 07:32

mbuffat69 a écrit :Sur quel système installes tu JEEDOM (une ubuntu en VM) ?
dans ton cas tu as clairement un pble d'installation de nodejs !
Essaye d'installer un plugin de lunarok qui utilise nodejs pour faire l'install de nodejs
ou essaye à la main avec apt-get (voir post + haut)
Oui, Jeedom est installé (et fonctionnait parfaitement depuis quelques mois) sur une VM ubuntu (sous vmware).
Pas plus de succès avec l'install de MyFitnessPal...
nodejs et npm ne veulent pas s'installer.
Je ne vois plus que la réinstalle complete de jeedom.
merci néanmoins de votre aide.

Code : Tout sélectionner

Début de l'installation
/usr/share/nginx/www/jeedom/plugins/myfitnesspal/resources/nodejs.sh: line 14: nodejs: command not found
Version actuelle :
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodejs' is not installed, so not removed
Package 'npm' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Utilisation du dépot officiel
## Installing the NodeSource Node.js 5.x repo...
## Populating apt-get cache...
+ apt-get update
Ign http://fr.archive.ubuntu.com utopic InRelease
Ign http://fr.archive.ubuntu.com utopic-updates InRelease
Ign http://fr.archive.ubuntu.com utopic-backports InRelease
Ign http://fr.archive.ubuntu.com utopic Release.gpg
Ign http://fr.archive.ubuntu.com utopic-updates Release.gpg
Ign http://fr.archive.ubuntu.com utopic-backports Release.gpg
Ign http://fr.archive.ubuntu.com utopic Release
Ign http://fr.archive.ubuntu.com utopic-updates Release
Ign http://fr.archive.ubuntu.com utopic-backports Release
Ign http://fr.archive.ubuntu.com utopic/main Sources/DiffIndex
Ign http://fr.archive.ubuntu.com utopic/restricted Sources/DiffIndex
Ign http://fr.archive.ubuntu.com utopic/universe Sources/DiffIndex
Ign http://fr.archive.ubuntu.com utopic/multiverse Sources/DiffIndex
Ign http://fr.archive.ubuntu.com utopic/main amd64 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic/restricted amd64 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic/universe amd64 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic/multiverse amd64 Packages/DiffIndex
Ign http://security.ubuntu.com utopic-security InRelease
Ign http://fr.archive.ubuntu.com utopic/main i386 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic/restricted i386 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic/universe i386 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic/multiverse i386 Packages/DiffIndex
Ign http://security.ubuntu.com utopic-security Release.gpg
Ign http://fr.archive.ubuntu.com utopic-updates/main Sources/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-updates/restricted Sources/DiffIndex
Ign http://security.ubuntu.com utopic-security Release
Ign http://fr.archive.ubuntu.com utopic-updates/universe Sources/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-updates/multiverse Sources/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-updates/main amd64 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-updates/restricted amd64 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-updates/universe amd64 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-updates/multiverse amd64 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-updates/main i386 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-updates/restricted i386 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-updates/universe i386 Packages/DiffIndex
Ign http://security.ubuntu.com utopic-security/main Sources/DiffIndex
Ign http://security.ubuntu.com utopic-security/restricted Sources/DiffIndex
Ign http://security.ubuntu.com utopic-security/universe Sources/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-updates/multiverse i386 Packages/DiffIndex
Ign http://security.ubuntu.com utopic-security/multiverse Sources/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-backports/main Sources/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-backports/restricted Sources/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-backports/universe Sources/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-backports/multiverse Sources/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-backports/main amd64 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-backports/restricted amd64 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-backports/universe amd64 Packages/DiffIndex
Ign http://security.ubuntu.com utopic-security/main amd64 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-backports/multiverse amd64 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-backports/main i386 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-backports/restricted i386 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-backports/universe i386 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic-backports/multiverse i386 Packages/DiffIndex
Ign http://security.ubuntu.com utopic-security/restricted amd64 Packages/DiffIndex
Ign http://security.ubuntu.com utopic-security/universe amd64 Packages/DiffIndex
Ign http://security.ubuntu.com utopic-security/multiverse amd64 Packages/DiffIndex
Ign http://security.ubuntu.com utopic-security/main i386 Packages/DiffIndex
Ign http://security.ubuntu.com utopic-security/restricted i386 Packages/DiffIndex
Ign http://security.ubuntu.com utopic-security/universe i386 Packages/DiffIndex
Ign http://security.ubuntu.com utopic-security/multiverse i386 Packages/DiffIndex
Ign http://fr.archive.ubuntu.com utopic/main Translation-en
Ign http://fr.archive.ubuntu.com utopic/main Translation-fr
Ign http://fr.archive.ubuntu.com utopic/multiverse Translation-en
Ign http://fr.archive.ubuntu.com utopic/multiverse Translation-fr
Ign http://fr.archive.ubuntu.com utopic/restricted Translation-en
Ign http://fr.archive.ubuntu.com utopic/restricted Translation-fr
Ign http://fr.archive.ubuntu.com utopic/universe Translation-en
Ign http://fr.archive.ubuntu.com utopic/universe Translation-fr
Ign http://fr.archive.ubuntu.com utopic-updates/main Translation-en
Ign http://fr.archive.ubuntu.com utopic-updates/main Translation-fr
Ign http://fr.archive.ubuntu.com utopic-updates/multiverse Translation-en
Ign http://fr.archive.ubuntu.com utopic-updates/multiverse Translation-fr
Ign http://fr.archive.ubuntu.com utopic-updates/restricted Translation-en
Ign http://fr.archive.ubuntu.com utopic-updates/restricted Translation-fr
Ign http://fr.archive.ubuntu.com utopic-updates/universe Translation-en
Ign http://fr.archive.ubuntu.com utopic-updates/universe Translation-fr
Ign http://fr.archive.ubuntu.com utopic-backports/main Translation-en
Ign http://fr.archive.ubuntu.com utopic-backports/main Translation-fr
Ign http://fr.archive.ubuntu.com utopic-backports/multiverse Translation-en
Ign http://fr.archive.ubuntu.com utopic-backports/multiverse Translation-fr
Ign http://fr.archive.ubuntu.com utopic-backports/restricted Translation-en
Ign http://fr.archive.ubuntu.com utopic-backports/restricted Translation-fr
Ign http://fr.archive.ubuntu.com utopic-backports/universe Translation-en
Ign http://fr.archive.ubuntu.com utopic-backports/universe Translation-fr
Err http://fr.archive.ubuntu.com utopic/main Sources
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic/restricted Sources
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic/universe Sources
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic/multiverse Sources
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic/main amd64 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic/restricted amd64 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic/universe amd64 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic/multiverse amd64 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic/main i386 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic/restricted i386 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic/universe i386 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic/multiverse i386 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-updates/main Sources
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-updates/restricted Sources
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-updates/universe Sources
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-updates/multiverse Sources
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-updates/main amd64 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-updates/restricted amd64 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-updates/universe amd64 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-updates/multiverse amd64 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-updates/main i386 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-updates/restricted i386 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-updates/universe i386 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-updates/multiverse i386 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-backports/main Sources
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-backports/restricted Sources
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-backports/universe Sources
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-backports/multiverse Sources
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-backports/main amd64 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-backports/restricted amd64 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-backports/universe amd64 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-backports/multiverse amd64 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-backports/main i386 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-backports/restricted i386 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-backports/universe i386 Packages
404  Not Found [IP: 194.158.119.190 80]
Err http://fr.archive.ubuntu.com utopic-backports/multiverse i386 Packages
404  Not Found [IP: 194.158.119.190 80]
Ign http://security.ubuntu.com utopic-security/main Translation-en
Ign http://security.ubuntu.com utopic-security/main Translation-fr
Ign http://security.ubuntu.com utopic-security/multiverse Translation-en
Ign http://security.ubuntu.com utopic-security/multiverse Translation-fr
Ign http://security.ubuntu.com utopic-security/restricted Translation-en
Ign http://security.ubuntu.com utopic-security/restricted Translation-fr
Ign http://security.ubuntu.com utopic-security/universe Translation-en
Ign http://security.ubuntu.com utopic-security/universe Translation-fr
Err http://security.ubuntu.com utopic-security/main Sources
404  Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com utopic-security/restricted Sources
404  Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com utopic-security/universe Sources
404  Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com utopic-security/multiverse Sources
404  Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com utopic-security/main amd64 Packages
404  Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com utopic-security/restricted amd64 Packages
404  Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com utopic-security/universe amd64 Packages
404  Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com utopic-security/multiverse amd64 Packages
404  Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com utopic-security/main i386 Packages
404  Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com utopic-security/restricted i386 Packages
404  Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com utopic-security/universe i386 Packages
404  Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com utopic-security/multiverse i386 Packages
404  Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic/main/source/Sources  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic/restricted/source/Sources  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic/universe/source/Sources  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic/multiverse/source/Sources  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic/main/binary-amd64/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic/restricted/binary-amd64/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic/universe/binary-amd64/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic/multiverse/binary-amd64/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic/main/binary-i386/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic/restricted/binary-i386/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic/universe/binary-i386/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic/multiverse/binary-i386/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-updates/main/source/Sources  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-updates/restricted/source/Sources  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-updates/universe/source/Sources  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-updates/multiverse/source/Sources  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-updates/main/binary-amd64/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-updates/restricted/binary-amd64/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-updates/universe/binary-amd64/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-updates/multiverse/binary-amd64/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-updates/main/binary-i386/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-updates/restricted/binary-i386/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-updates/universe/binary-i386/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/main/source/Sources  404  Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/restricted/source/Sources  404  Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/universe/source/Sources  404  Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-updates/multiverse/binary-i386/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/multiverse/source/Sources  404  Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-backports/main/source/Sources  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-backports/restricted/source/Sources  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-backports/universe/source/Sources  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-backports/multiverse/source/Sources  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-backports/main/binary-amd64/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-backports/restricted/binary-amd64/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-backports/universe/binary-amd64/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/main/binary-amd64/Packages  404  Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-backports/multiverse/binary-amd64/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-backports/main/binary-i386/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-backports/restricted/binary-i386/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-backports/universe/binary-i386/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/utopic-backports/multiverse/binary-i386/Packages  404  Not Found [IP: 194.158.119.190 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/multiverse/binary-amd64/Packages  404  Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/main/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/universe/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libc-ares2 libv8-3.14.5
The following NEW packages will be installed:
libc-ares2 libv8-3.14.5 nodejs
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1912 kB of archives.
After this operation, 7538 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libc-ares2 libv8-3.14.5 nodejs
E: There are problems and -y was used without --force-yes
/usr/share/nginx/www/jeedom/plugins/myfitnesspal/resources/nodejs.sh: line 39: nodejs: command not found
Version actuelle :
/usr/share/nginx/www/jeedom/plugins/myfitnesspal/resources/nodejs.sh: line 46: npm: command not found
sudo: npm: command not found
/usr/share/nginx/www/jeedom/plugins/myfitnesspal/resources/nodejs.sh: line 51: npm: command not found
/usr/share/nginx/www/jeedom/plugins/myfitnesspal/resources/nodejs.sh: line 53: npm: command not found
Fin de l'installation
Jeedom V2 installé dans une VM sur un Mac mini + Zibase Pro avec capteurs Oregon, Zwave, Enocean
Plugins : Zibasedom, Agenda, Camera, Eco-Devoces, IPX-800 v3, E-Mail, Pushover, Script, SSHCommander, Suivi Conso, Thermostat, Virtuel et Widget

hal01
Timide
Messages : 24
Inscription : 04 avr. 2015, 09:17

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par hal01 » 01 avr. 2016, 15:26

snowman69 a écrit :C'est tout bon j'ai ouvert le port 17100 et ça marche..
Pour ma part j'ai toujours mon probleme de sondes qui ne remontent pas
J'ai essayé un peu tout
desactiver Firewall du synology
forwarder les ports 17100 dans le container Docker de jeedom
redemarrer...

Toujours aucune sonde.

personne d'autre que moi utilise docker et Zibasedom ?
Zibase 1 - NAS Xpenology (Chroot) - actioneurs/sondes ,X10, oregon, nabaztag, karotz

zecrampe
Timide
Messages : 17
Inscription : 04 mars 2015, 08:50
Localisation : Lorraine

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par zecrampe » 01 avr. 2016, 19:32

Bonjour,
Exactement le même pb : aucune remontée de mes sondes oregon (mais possiblité actionnement chacon dio)
Impossible d'installer les dépendances (s'arrête à 20%)
J'ai essayé d'installer le plug in my sensor, mais idem, il ne veut pas installer les dépendances (dans le log : sudo : npm : command not found
Quelle est la solution ?

Avatar de l’utilisateur
mbuffat69
Timide
Messages : 389
Inscription : 02 févr. 2016, 21:25
Localisation : Lyon

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par mbuffat69 » 01 avr. 2016, 21:54

Tu peux essayer d'installer nodejs à la main en ssh
Pour un pi2 sous rasbian suivre par ex.
viewtopic.php?f=99&t=6140&start=640#p300829
ou tu essayes d'adapter pour ton systeme
Système DIY 2 PI3 avec SSD (voir mon profil pour le détail)

zecrampe
Timide
Messages : 17
Inscription : 04 mars 2015, 08:50
Localisation : Lorraine

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par zecrampe » 01 avr. 2016, 22:08

Merci pour ton aide mbuffat69.
Alors, je ne suis pas un crack de linux, sorry
En regardant ton exemple : je suis sous wheezy et lors de l'install de nodejs, ça me dit que j'ai déjà la version la + à jour

Avatar de l’utilisateur
mbuffat69
Timide
Messages : 389
Inscription : 02 févr. 2016, 21:25
Localisation : Lyon

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par mbuffat69 » 01 avr. 2016, 22:30

Si tu es encore sous wheezie je te conseilles d upgrader en jessie. Plein de pble avec jeedom v2 avec wheezie
Essaie de suivre les tutos sur internet
Système DIY 2 PI3 avec SSD (voir mon profil pour le détail)

zecrampe
Timide
Messages : 17
Inscription : 04 mars 2015, 08:50
Localisation : Lorraine

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par zecrampe » 02 avr. 2016, 10:56

Merci mbuffat,
En urgence, ça me parait compliqué pour mes faibles compétences ; et je risque de mettre en carafe jeedom.
Du coup, temporairement, j'ai refait des scénarios sur la zibase qui envoient les valeurs des sondes oregon vers jeedom.
En attendant qu'une solution soit trouvée sur le plug in (si scanab me lit ;-) )

sfl
Timide
Messages : 116
Inscription : 24 juil. 2014, 00:04
Localisation : 31

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par sfl » 05 avr. 2016, 00:01

Hello

ce qui m'étonne dans ma config c'est que le demon tourne alors que les dependances ne sont pas ok !
L'install des dependances plantent à 80%
[img]
zibadom demon.jpg
zibadom demon.jpg (152.27 Kio) Consulté 1564 fois
[/img]

au niveau fonctionnel ca a l'air de marcher correctement, les actionneurs fonctionnent, les sondes de temperatures remontent donc je ne comprends pas

A+,
Sfl

PS: J'ai compilé nodejs à la main, cela à permis d'arriver à 80% des dependances au lieu de 20
Jeedom en prod via chroot et MariaDB
Jeedom slave sur RPI via nfs

jackouille
Timide
Messages : 157
Inscription : 17 déc. 2015, 13:50

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par jackouille » 08 avr. 2016, 16:04

jackouille a écrit :
scanab a écrit :
jackouille a écrit :bonjour scanab,
tu avais parlé d'une modif sur ton pluging afin de pouvoir saisir directement l'identifiant Zibase. Ceci est intéressant lorsque l'on change les piles car dans ce cas l'ID peut changer et plutôt que de refaire l'inclusion dans le plugin ça serait plus rapide de changer son ID.
où en es-tu dans cette modif ?
C'est déjà le cas depuis longtemps... Sur quel protocol as-tu le problème ?
je suis avec du Chacon et DIO
@scanab as-tu pu regarder de ton côté ?
ou alors je n'ai pas vu ta réponse noyées dans les autres

Laperic
Timide
Messages : 8
Inscription : 06 mars 2016, 12:07

Re: [Sujet officiel] Plugin Zibase : ZiBASEDOM

Message par Laperic » 11 avr. 2016, 11:40

Bonjour,

Je viens de refaire une install complète de Jeedom en V2 à partir de l’image pour VM proposée sur le forum (sous VMware sur mon Mac mini).

J’ai ensuite réinstallé le plugin Zibasedom qui n’a pas posé de problème. Les sondes remontent bien mais malheureusement pas les actionneurs qui remontent en tant que sonde ?!
Lorsque je lance « charger les actionneurs » et que j’active les actionneurs à partir de la Zibase, tout semble se passer correctement mais ce sont des sondes (correspondant à des actionneurs Zibase) qui apparaissent dans Jeedom.
Log correspondante :

Code : Tout sélectionner

[2016-04-11 09:06:28][ZibasedomDeamon][DEBUG] : Got response saveSensor: [object Object]
[2016-04-11 09:06:49][ZibasedomDeamon][DEBUG] : Sent radio ID : ZA8_ON
[2016-04-11 09:06:49][ZibasedomDeamon][DEBUG] : http://192.168.0.22:80/core/api/jeeApi.php?api=xxxxxxxxxxxxxxxxxxxxx&type=Zibasedom&messagetype=sendCommand&device=ZA8&command=ON
[2016-04-11 09:06:49][Zibasedom][DEBUG] : sendCommand ZA8 ON
[2016-04-11 09:06:49][Zibasedom][INFO] : Action introuvable : ZA8 ON
[2016-04-11 09:06:49][ZibasedomDeamon][DEBUG] : Got response sendCommand: [object Object]
[2016-04-11 09:06:56][ZibasedomDeamon][DEBUG] : Sent radio ID : ZA8_OFF
[2016-04-11 09:06:56][ZibasedomDeamon][DEBUG] : http://192.168.0.22:80/core/api/jeeApi.php?api=xxxxxxxxxxxxxxxxxxxxx
&type=Zibasedom&messagetype=sendCommand&device=ZA8&command=OFF
[2016-04-11 09:06:56][Zibasedom][DEBUG] : sendCommand ZA8 OFF
[2016-04-11 09:06:56][Zibasedom][INFO] : Action introuvable : ZA8 OFF
[2016-04-11 09:06:56][ZibasedomDeamon][DEBUG] : Got response sendCommand: [object Object]
Ai-je loupé quelque chose ?

Merci !
Jeedom V2 installé dans une VM sur un Mac mini + Zibase Pro avec capteurs Oregon, Zwave, Enocean
Plugins : Zibasedom, Agenda, Camera, Eco-Devoces, IPX-800 v3, E-Mail, Pushover, Script, SSHCommander, Suivi Conso, Thermostat, Virtuel et Widget

Répondre

Revenir vers « [Plugin Tiers] Zibasedom »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 5 invités