Page 42 sur 44

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 11 oct. 2019, 19:07
par loic
Tu es en Jessie mais essaye quand même de mettre a jour et de relancer les dépendances on sait jamais même si ya peu de chance

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 11 oct. 2019, 20:01
par Tof_24
J'avais essayé, pas de chance, je dois passer en Stretch.
Merci de ton aide

Je vais essayer de pas tout perdre de l'installation car sur le Pi il y a Jeedom, Plexserver, et le HABridge

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 11 oct. 2019, 20:16
par Tof_24
Rectification, ça a marché avec la mise à jour oufffff
Merci beaucoup

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 10:25
par carfnann
Je viens de faire la MAJ Ikea, quel bonheur que de voir que le store FYTUR apparait!!!
merci
vivement ce soir que je regarde comment cela se comporte.
ca tombe bien car je devais publier mon test du store sur mon blog vendredi mais je l'ai décalé! je vais pouvoir inclure la partie Jeedom!

Merci bcp !

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 10:36
par carfnann
@loic : il y a une inversion de la position du store.
Quand le store est fermé, les lois annoncent une position à 0 mais l'icône affiche la position ouverte. et inversement à 100% le store est ouvert mais l'icône affiche fermé.

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 10:52
par loic
Bizarre j'ai pas le soucis chez moi, 100% c'est ouvert le store est bien en haut. Par contre je suis en v4 c'est peut etre ca

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 10:56
par carfnann
loic a écrit :
14 oct. 2019, 10:52
Bizarre j'ai pas le soucis chez moi, 100% c'est ouvert le store est bien en haut. Par contre je suis en v4 c'est peut etre ca
ok bizarre, effectivement je suis en V3 sur ma prod.
J'ai intégré le volet dans homebridge et il apparait bien en fermé alors que sur le Dashboard il est ouvert.

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 10:57
par loic
C'est ikea qui remonte le % ouvert au lieu du % fermé vu que ya pas de norme la dessus c'est pas simple

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 12:18
par Nebz
% d'ouverture c'est aussi ce qu'utilise homebridge (et plein d'autres) donc pas plus mal :)

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 14:39
par EIen
Hello,

Depuis les deux dernières mise à jour (hier soir et cet après midi) impossible de lancer le daemon. Plus de retour d'état ni rien. Pourtant les commandes coap fonctionne (virtuels qui envoient des scripts coap).

Les logs d'installation des dépendances :

Code : Tout sélectionner

********************************************************
*             Installation des dépendances             *
********************************************************
Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
Hit:3 https://deb.nodesource.com/node_12.x stretch InRelease
Fetched 25.4 kB in 1s (20.0 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (9.20161125+rpi1).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Version actuelle : 12
Ok, version suffisante
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
npm : Depends: nodejs but it is not going to be installed
Depends: node-abbrev (>= 1.0.4) but it is not going to be installed
Depends: node-ansi (>= 0.3.0-2) but it is not going to be installed
Depends: node-ansi-color-table but it is not going to be installed
Depends: node-archy but it is not going to be installed
Depends: node-block-stream but it is not going to be installed
Depends: node-fstream (>= 0.1.22) but it is not going to be installed
Depends: node-fstream-ignore but it is not going to be installed
Depends: node-github-url-from-git but it is not going to be installed
Depends: node-glob (>= 3.1.21) but it is not going to be installed
Depends: node-graceful-fs (>= 2.0.0) but it is not going to be installed
Depends: node-inherits but it is not going to be installed
Depends: node-ini (>= 1.1.0) but it is not going to be installed
Depends: node-lockfile but it is not going to be installed
Depends: node-lru-cache (>= 2.3.0) but it is not going to be installed
Depends: node-minimatch (>= 0.2.11) but it is not going to be installed
Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed
Depends: node-gyp (>= 0.10.9) but it is not going to be installed
Depends: node-nopt (>= 3.0.1) but it is not going to be installed
Depends: node-npmlog but it is not going to be installed
Depends: node-once but it is not going to be installed
Depends: node-osenv but it is not going to be installed
Depends: node-read but it is not going to be installed
Depends: node-read-package-json (>= 1.1.0) but it is not going to be installed
Depends: node-request (>= 2.25.0) but it is not going to be installed
Depends: node-retry but it is not going to be installed
Depends: node-rimraf (>= 2.2.2) but it is not going to be installed
Depends: node-semver (>= 2.1.0) but it is not going to be installed
Depends: node-sha but it is not going to be installed
Depends: node-slide but it is not going to be installed
Depends: node-tar (>= 0.1.18) but it is not going to be installed
Depends: node-underscore but it is not going to be installed
Depends: node-which but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
> node-aead-crypto@2.1.4 install /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/install.js
node-aead-crypto is no longer needed on NodeJS 10+
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.1.4 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.1.4 install: `node lib/install.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ node-tradfri-client@2.0.1
added 14 packages from 13 contributors and audited 116 packages in 12.364s
found 0 vulnerabilities
> node-aead-crypto@2.1.4 install /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/install.js
node-aead-crypto is no longer needed on NodeJS 10+
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.1.4 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.1.4 install: `node lib/install.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ fs@0.0.1-security
added 1 package and audited 341 packages in 6.555s
found 0 vulnerabilities
> node-aead-crypto@2.1.4 install /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/install.js
node-aead-crypto is no longer needed on NodeJS 10+
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.1.4 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.1.4 install: `node lib/install.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ request@2.88.0
added 47 packages from 58 contributors and audited 404 packages in 12.425s
found 0 vulnerabilities
> node-aead-crypto@2.1.4 install /var/www/html/plugins/ikealight/resources/ikealightd/node_modules/node-aead-crypto
> node lib/install.js
node-aead-crypto is no longer needed on NodeJS 10+
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/ikealight/resources/ikealightd/package.json'
npm WARN ikealightd No description
npm WARN ikealightd No repository field.
npm WARN ikealightd No README data
npm WARN ikealightd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.1.4 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.1.4 install: `node lib/install.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ express@4.17.1
added 55 packages from 35 contributors in 20.079s
********************************************************
*             Installation terminée                    *
********************************************************
Les logs ikealight :

Code : Tout sélectionner

[2019-10-14 14:37:43][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-10-14 14:37:43][INFO] : Lancement démon ikealight : sudo /usr/bin/nodejs /var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.js --loglevel debug --socketport 55025 --callback http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php --apikey anJLbYvjZx2G7lNWW0EFn5e3YLdkicI9 --cycle 0.1 --pid /tmp/jeedom/ikealight/deamon.pid --gatewayip 192.168.1.16 --gatewaycode ePNJhFnA2VbQFzMk
[2019-10-14 12:37:44][INFO] : Start ikealightd
[2019-10-14 12:37:44][INFO] : Log level on  : debug
[2019-10-14 12:37:44][INFO] : Socket port : 55025
[2019-10-14 12:37:44][INFO] : Gateway ip : 192.168.1.16
[2019-10-14 12:37:44][INFO] : Gateway code : XXXXXXXXXXXXXX
[2019-10-14 12:37:44][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2019-10-14 12:37:44][INFO] : Apikey : anJLbYvjZx2G7lNWW0EFn5e3YLdkicI9
[2019-10-14 12:37:44][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
[2019-10-14 12:37:44][INFO] : Cycle : 0.1
[2019-10-14 12:37:44][INFO] : Start ikealightd
[2019-10-14 12:37:44][INFO] : Ikealightd initialise, try connect...
[2019-10-14 12:37:44][DEBUG] : Connect to gateway with : {"identity":"tradfri_1570640220794","psk":"XXXXXXXXXXXXXX"}
[2019-10-14 12:37:44][DEBUG] : HTTP listen on 127.0.0.1 port : 55025 started
[2019-10-14 14:37:44][DEBUG] : Received message : []
/var/www/html/plugins/ikealight/resources/ikealightd/jeedom/jeedom.js:153
if(!reponse || !response.statusCode || response.statusCode != 200){
^
ReferenceError: reponse is not defined
at Request._callback (/var/www/html/plugins/ikealight/resources/ikealightd/jeedom/jeedom.js:153:5)
at Request.self.callback (/var/www/html/plugins/ikealight/resources/ikealightd/node_modules/request/request.js:185:22)
at Request.emit (events.js:210:5)
at Request.<anonymous> (/var/www/html/plugins/ikealight/resources/ikealightd/node_modules/request/request.js:1161:10)
at Request.emit (events.js:210:5)
at IncomingMessage.<anonymous> (/var/www/html/plugins/ikealight/resources/ikealightd/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:299:28)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1183:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
[2019-10-14 14:38:13][ERROR] : Impossible de lancer le démon ikealightd, vérifiez le log
Honnêtement je sèche la. Je suis en V 3.3.33. IP et clé OK puisque je n'ai rien changé depuis.

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 14:52
par loic
Effectivement il y avait une erreur dans le code c'est maintenant corrigé il suffit de mettre a jour le plugin

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 14:59
par EIen
Hello

J'ai fait une maj juste avant de poster mon message. Tu as poussé un niveau correctif depuis ?

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 15:06
par loic
Oui oui juste après ton retour j'ai fait la correction

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 17:16
par bluebird101eu3
loic a écrit :
11 oct. 2019, 11:39
A oui la je peux pas aider désolé, tout soucis vient du faite que debian a supprimé les sources jessie arm et n'a laissé que les stretch donc faut absolument monter en stretch par contre sous orange pi la je sais pas.
Bonjour, ce week-end, passage en debian stretch de mon orange pi, installation de ma sauvegarde, réinstallation des dépendances, résultat tout nickel, et qu'elle plaisir de piloter mes stores Ikea via Jeedom. Merci pour tout.

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 17:20
par EIen
loic a écrit :
14 oct. 2019, 15:06
Oui oui juste après ton retour j'ai fait la correction
Désolé mais pas de mise a jour dispo. C'est en stable ou en bêta ? Car je suis en bêta :)

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 17:27
par loic
En stable... je viens de la pousser en beta à l'instant

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 17:27
par EIen
Merci cher ami :)

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 17:33
par EIen
Je confirme ça fonctionne de nouveau en redémarrant la passerelle of course. Encore merci pour ta réactivité.

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 18:50
par corleone187
bonjour à tous, même soucis que ci dessus. après plusieurs redémarrage de la passerelle ainsi que la mise a jours du plugin j'ai ceci :

Code : Tout sélectionner

Echec de la requête http : http://127.0.0.1:55025/device/operation?id=65537&type=light&operation=%7B%22onOff%22%3Atrue%7D&apikey=qS1C2Gixv6KLgWC3baKFZBCvDmOGYIZD Curl error : Failed to connect to 127.0.0.1 port 55025: Connection refused

Code : Tout sélectionner

[2019-10-14 18:45:57][INFO] : Lancement démon ikealight : sudo /usr/bin/nodejs /var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.js --loglevel debug --socketport 55025 --callback http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php --apikey qS1C2Gixv6KLgWC3baKFZBCvDmOGYIZD --cycle 0.1 --pid /tmp/jeedom/ikealight/deamon.pid --gatewayip 192.168.1.4 --gatewaycode ****************
[2019-10-14 16:45:58][INFO] : Start ikealightd
[2019-10-14 16:45:58][INFO] : Log level on  : debug
[2019-10-14 16:45:58][INFO] : Socket port : 55025
[2019-10-14 16:45:58][INFO] : Gateway ip : 192.168.1.4
[2019-10-14 16:45:58][INFO] : Gateway code : IUdmuqybWAbN6NIU
[2019-10-14 16:45:58][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2019-10-14 16:45:58][INFO] : Apikey : qS1C2Gixv6KLgWC3baKFZBCvDmOGYIZD
[2019-10-14 16:45:58][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
[2019-10-14 16:45:58][INFO] : Cycle : 0.1
[2019-10-14 16:45:58][INFO] : Start ikealightd
[2019-10-14 16:45:58][INFO] : Ikealightd initialise, try connect...
[2019-10-14 16:45:58][DEBUG] : Authenticate to gateway with : *************
[2019-10-14 16:45:58][DEBUG] : HTTP listen on 127.0.0.1 port : 55025 started
[2019-10-14 18:45:58][DEBUG] : Received message : []
[2019-10-14 16:46:01][ERROR] : Can not connect to gateway : {"code":1}
quelqu'un aurai une solution? merci d'avance

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Publié : 14 oct. 2019, 19:03
par loic
As tu appliqué les mise a jour qui sont sortie il y a quelques heures ?