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 !

[Plugin Officiel][Sujet Principal] Ikea Light

Pour échanger sur les plugins classés en catégorie "Objets connectés"
Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

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

Message par Nebz » 21 avr. 2019, 15:38

Oui et celui qui a suivit expliquait qu'une mise à jour se fait toutes les 60sec au cas ou le status n'est pas passé. Donc au pire moins de 60s après les status doivent être ok


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

drs
Actif
Messages : 1534
Inscription : 04 nov. 2016, 10:44

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

Message par drs » 21 avr. 2019, 15:47

Ah ok. Je n’ai pas ce problème pour l’instant mais je n’ai que 3 panneaux, 1 ampoule et deux prises.
Pour le moment tout fonctionne bien.

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

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

Message par Nebz » 21 avr. 2019, 15:48

Oui on avait plus ou moins observé le problème à partir de 8 lampes (diverses)


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
GargouilleBL
Timide
Messages : 253
Inscription : 26 janv. 2017, 09:31
Localisation : Sprimont (Province de Liège - Belgique)

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

Message par GargouilleBL » 21 avr. 2019, 20:53

Bonsoir,
Une idée de quand le plugin fonctionnel sera à nouveau disponible en stable ?
En tous cas d'après ce que j'ai lu ici on aura en plus la reconnaissance des prise, whouaw super boulot je me réjouis d'avance.

Merci beaucoup pour le travail et la réactivité du dév.
@+ GargouilleBL
Jeedom V3.3.19 sur VM ProxMox - Clef Usb Z-Wave - Clef Usb RfxCom
Caméras D-Link + Reolink, Oeil Fibaro, Rubans Leds Yeelight, Variateurs Fibaro, Ampoules Led Z-Wave, Clavier RFID, Vannes Thermostat Danfoss, Ampoules IKEA, SNIPS, etc...

Avatar de l’utilisateur
TBDwarf
Timide
Messages : 38
Inscription : 04 janv. 2017, 19:57

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

Message par TBDwarf » 22 avr. 2019, 10:05

Je viens d'installer le plugin en bêta et personnellement RAS !
Tous fonctionnent à merveille (3 ampoules 1000 lux blanc et 1 ampoule couleur).

Merci pour le travail :D

Avatar de l’utilisateur
nickasimir
Actif
Messages : 693
Inscription : 06 août 2014, 19:35
Localisation : Montreuil, Idf

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

Message par nickasimir » 22 avr. 2019, 11:13

c'est fou ! en tout cas vous avez de la chance.
Pour mon cas :
Redémarrage plusieurs fois de la passerelle.
Mise à jour des dépendances plusieurs fois
log :

Code : Tout sélectionner

 Plugins 
5
 
 
11:07:30
 Gestion
 Découverte
 Configuration
 Santé
  Mes Eclairages



Vous n'avez pas encore de Ikea, cliquez sur Découverte pour commencer
Configuration du plugin
Ikea Light (ikealight) - beta    
 Etat
StatutActifAction

Version2019-04-19 18:52:26 Version Jeedom3.0
LicenseAGPL
 Log et surveillance

Niveau logAucunDefautDebugInfoWarningError
Logs 
Heartbeat (min)
Redémarrer démon
 Dépendances
Nom	Statut	Installation	Dernière installation
Local	OK		2019-04-22 10:53:33
 Démon
Nom	Statut	Configuration	(Re)Démarrer	Arrêter	Gestion automatique	Dernier lancement
Local	NOK	OK				2019-04-22 11:05:02
 Configuration
 
Adresse IP de la Gateway: 
10.0.0.88
Clé de la Gateway: 

 Fonctionnalités

interactNon
cronNon
cron5Non
cron15Non
cron30Non
cronHourlyNon
cronDailyNon
deadcmdNon
healthNon
Log du plugin
Rechercher



********************************************************
*             Installation des dépendances             *
********************************************************
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ftp.fr.debian.org/debian stretch InRelease
Get:3 http://ftp.fr.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Fetched 91.0 kB in 0s (257 kB/s)
Reading package lists...
Installation des dépendances apt
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (9.0.1-2).
python3-setuptools is already the newest version (33.1.1-1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Requirement already satisfied: requests in /usr/lib/python3/dist-packages
Requirement already satisfied: pyserial in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: pyudev in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from pyudev)
Cloning into 'libcoap'...
Submodule 'ext/tinydtls' (https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls) registered for path 'ext/tinydtls'
Cloning into '/var/www/html/plugins/ikealight/resources/ikealightd/libcoap/ext/tinydtls'...
Submodule path 'ext/tinydtls': checked out 'cc5863fa0e438ba1fa46c05f2a27cd8dd3d85b96'
[HINT] You can run 'autogen.sh --clean' to remove all generated files by the autotools.
Found 'autoconf'.
Found 'aclocal'.
Couldn't find 'libtool'!
Found 'libtoolize'.
--->  Found all needed tools! That's fine.
Generating needed autotools files for libcoap by running autoreconf ...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force ${ACLOCAL_FLAGS} -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory ext/tinydtls to autoreconf
autoreconf: Entering directory `ext/tinydtls'
autoreconf: running: aclocal --force
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory `ext/tinydtls'
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '../..'.
libtoolize: copying file '../../ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:29: installing './ar-lib'
configure.ac:25: installing './compile'
configure.ac:33: installing './config.guess'
configure.ac:33: installing './config.sub'
configure.ac:18: installing './install-sh'
configure.ac:33: error: required file './ltmain.sh' not found
configure.ac:18: installing './missing'
Makefile.am: installing './INSTALL'
Makefile.am: installing './depcomp'
autoreconf: automake failed with exit status: 1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works...
yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type...
x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object...
ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files...
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h...
yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h...
yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether C compiler accepts -Wlogical-op... yes
checking whether C compiler accepts -fdiagnostics-color... yes
checking whether the linker accepts -Wl,--version-script=./libcoap-1.map... yes
checking for ctags... no
configure: ==> Note: 'ctags' command not found!
configure: WARNING: ==> Without ctags you will be unable to run the target 'update-map-file'!
configure: WARNING: ==> This is no problem if you just want to build the library libcoap.
configure: ==> Note: your ctags does not support '--c-kinds'!
configure: ==> Most likely, you are using the GNU Emacs ctag and not exuberant ctag
configure: WARNING: ==> This option is required for target 'update-map-file'
configure: WARNING: ==> which is not a problem if you just want to build the library libcoap.
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking sys/unistd.h usability... yes
checking sys/unistd.h presence... yes
checking for sys/unistd.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strrchr... yes
checking for getaddrinfo... yes
checking for strnlen... yes
checking for malloc... yes
checking for library containing socket... none required
checking for library containing inet_ntop... none required
checking for library containing clock_gettime... none required
checking operating system... Linux
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
********************************************************
*             Installation terminée                    *
********************************************************
mise à jour du système.
relance jeedom
et redémarrage du démon.
log :

Code : Tout sélectionner

[2019-04-22 11:05:02][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-04-22 11:05:02][INFO] : Lancement démon ikealight : sudo /usr/bin/python3 /var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py --loglevel debug --socketport 55025 --callback http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php --apikey --cycle 0.1 --pid /tmp/jeedom/ikealight/deamon.pid --gatewayip 10.0.0.88 --gatewaycode 
[2019-04-22 11:05:03][INFO] : Start ikeatradfrid
[2019-04-22 11:05:03][INFO] : Log level : debug
[2019-04-22 11:05:03][INFO] : Socket port : 55025
[2019-04-22 11:05:03][INFO] : Socket host : 127.0.0.1
[2019-04-22 11:05:03][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 11:05:03][INFO] : Apikey : u
[2019-04-22 11:05:03][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
[2019-04-22 11:05:03][INFO] : Cycle : 0.1
[2019-04-22 11:05:03][INFO] : Gateway Ip : 10.0.0.88
[2019-04-22 11:05:03][INFO] : Gateway Code : 
[2019-04-22 11:05:03][DEBUG] : JSON file not found: tradfri_jeedom_psk.conf
[2019-04-22 11:05:03][DEBUG] : Executing 10.0.0.88 post ['15011', '9063']: {'9090': ''}
Traceback (most recent call last):
File "/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py", line 283, in <module>
identity = conf[args.gatewayip].get('identity')
KeyError: '10.0.0.88'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py", line 290, in <module>
psk = api_factory.generate_psk(args.gatewaycode)
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 164, in generate_psk
self._psk = self.request(Gateway().generate_psk(existing_psk_id))
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 96, in request
return self._execute(api_commands, timeout=timeout)
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 83, in _execute
return_value = subprocess.check_output(command, **kwargs)
File "/usr/lib/python3.5/subprocess.py", line 316, in check_output
**kwargs).stdout
File "/usr/lib/python3.5/subprocess.py", line 383, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1282, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'coap-client'
[2019-04-22 11:05:32][ERROR] : Impossible de lancer le démon ikealightd, vérifiez le log
Si il ya d'autre idée je suis preneur !
Jeedom en DIY sur NUCI3| Mon Matos : Ici

Boboss
Timide
Messages : 218
Inscription : 31 déc. 2014, 11:33

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

Message par Boboss » 22 avr. 2019, 12:38

Bonjour
Je viens de télécharger le plugin en beta.
Lors de l'installation des dépendances j'ai cette ligne qui apparait :
********************************************************
* Installation des dépendances *
********************************************************
.....
Fetched 3227 B in 8min 2s (6 B/s)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.solid-build.xyz ./ Release: The following signatures were invalid: KEYEXPIRED 1508672008
W: Failed to fetch http://httpredir.debian.org/debian/dist ... /InRelease Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch https://repo.solid-build.xyz/debian/jes ... /./Release
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Installation des dépendances apt
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem
Que dois je faire ? Laissez l'installation se faire ou je n'ai aucune chance que cela marche ?

Merci de votre aide.
Boboss

Boboss
Timide
Messages : 218
Inscription : 31 déc. 2014, 11:33

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

Message par Boboss » 22 avr. 2019, 12:45

Suite
Je lance le plugin et voilà ce qui se passe :
[2019-04-22 12:43:17][INFO] : Lancement démon ikealight : sudo /usr/bin/python3 /var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py --loglevel debug --socketport 55025 --callback http://127.0.0.1:80/plugins/ikealight/c ... alight.php --apikey XkJyt8Xdy0MpNj73f2135nSAw1i9a5F5 --cycle 0.1 --pid /tmp/jeedom/ikealight/deamon.pid --gatewayip 192.168.1.11 --gatewaycode MzI4DsnSCYJLWAsD
Traceback (most recent call last):
File "/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py", line 29, in <module>
import utils
File "/var/www/html/plugins/ikealight/resources/ikealightd/utils.py", line 1, in <module>
from pytradfri.const import (ATTR_LIGHT_COLOR_X as X, ATTR_LIGHT_COLOR_Y as Y)
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/__init__.py", line 5, in <module>
from .gateway import Gateway
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/gateway.py", line 16, in <module>
from .smart_task import SmartTask
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/smart_task.py", line 34, in <module>
from .util import BitChoices
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/util.py", line 5, in <module>
from typing import Union, List, Dict
ImportError: No module named 'typing'
[2019-04-22 12:43:47][ERROR] : Impossible de lancer le démon ikealightd, vérifiez le lo
Boboss

Pyroaction
Timide
Messages : 4
Inscription : 07 févr. 2018, 12:43

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

Message par Pyroaction » 22 avr. 2019, 22:51

Bonsoir,

J'ai acheté le plugin officiel Ikea Light il y a quelques jours et l'ai installé sur un Jeedom (V3.3.21) tournant sous Raspberry Pi 3B.

La découverte des éléments indique "Opération réalisée avec succès" mais aucun élément ne s'affiche.

Le démon démarre puis s'arrête après quelques secondes.
Voici le log:

Code : Tout sélectionner

[2019-04-22 22:15:44][ERROR] : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2019-04-22 22:15:03
[2019-04-22 22:16:14][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-04-22 22:16:14][INFO] : Lancement démon ikealight : sudo /usr/bin/python3 /var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py --loglevel debug --socketport 55025 --callback http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php --apikey mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2 --cycle 0.1 --pid /tmp/jeedom/ikealight/deamon.pid --gatewayip 192.168.1.60 --gatewaycode 75217987
[2019-04-22 21:16:17][INFO] : Start ikeatradfrid
[2019-04-22 21:16:17][INFO] : Log level : debug
[2019-04-22 21:16:17][INFO] : Socket port : 55025
[2019-04-22 21:16:17][INFO] : Socket host : 127.0.0.1
[2019-04-22 21:16:17][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:16:17][INFO] : Apikey : mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2
[2019-04-22 21:16:17][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
[2019-04-22 21:16:17][INFO] : Cycle : 0.1
[2019-04-22 21:16:17][INFO] : Gateway Ip : 192.168.1.60
[2019-04-22 21:16:17][INFO] : Gateway Code : 75217987
[2019-04-22 21:16:17][DEBUG] : Writing PID 26521 to /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:16:17][DEBUG] : Init request module v2.12.4
[2019-04-22 21:16:17][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-04-22 22:16:17][DEBUG] : Format Invalide
[2019-04-22 21:16:17][DEBUG] : http://127.0.0.1:80 "GET /plugins/ikealight/core/php/jeeIkealight.php?apikey=mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2 HTTP/1.1" 200 0
[2019-04-22 21:16:17][DEBUG] : Executing 192.168.1.60 get ['status']
[2019-04-22 21:16:27][ERROR] : Fatal error : 
[2019-04-22 21:16:27][DEBUG] : Traceback (most recent call last):
  File "/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py", line 240, in <module>
    globals.api = api_factory(globals.gatewayip, globals.gatewaycode)
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 131, in api_factory
    request(Command('get', ['status']))
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 78, in request
    return _execute(api_commands[0])
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 67, in _execute
    raise RequestTimeout() from None
pytradfri.error.RequestTimeout

[2019-04-22 21:16:27][DEBUG] : Shutdown
[2019-04-22 21:16:27][DEBUG] : Removing PID file /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:16:27][DEBUG] : Exit 0
[2019-04-22 22:20:02][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-04-22 22:20:03][INFO] : Lancement démon ikealight : sudo /usr/bin/python3 /var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py --loglevel debug --socketport 55025 --callback http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php --apikey mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2 --cycle 0.1 --pid /tmp/jeedom/ikealight/deamon.pid --gatewayip 192.168.1.60 --gatewaycode 75217987
[2019-04-22 21:20:05][INFO] : Start ikeatradfrid
[2019-04-22 21:20:05][INFO] : Log level : debug
[2019-04-22 21:20:05][INFO] : Socket port : 55025
[2019-04-22 21:20:05][INFO] : Socket host : 127.0.0.1
[2019-04-22 21:20:05][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:20:05][INFO] : Apikey : mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2
[2019-04-22 21:20:05][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
[2019-04-22 21:20:05][INFO] : Cycle : 0.1
[2019-04-22 21:20:05][INFO] : Gateway Ip : 192.168.1.60
[2019-04-22 21:20:05][INFO] : Gateway Code : 75217987
[2019-04-22 21:20:05][DEBUG] : Writing PID 29963 to /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:20:05][DEBUG] : Init request module v2.12.4
[2019-04-22 21:20:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-04-22 22:20:05][DEBUG] : Format Invalide
[2019-04-22 21:20:05][DEBUG] : http://127.0.0.1:80 "GET /plugins/ikealight/core/php/jeeIkealight.php?apikey=mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2 HTTP/1.1" 200 0
[2019-04-22 21:20:05][DEBUG] : Executing 192.168.1.60 get ['status']
[2019-04-22 21:20:15][ERROR] : Fatal error : 
[2019-04-22 21:20:15][DEBUG] : Traceback (most recent call last):
  File "/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py", line 240, in <module>
    globals.api = api_factory(globals.gatewayip, globals.gatewaycode)
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 131, in api_factory
    request(Command('get', ['status']))
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 78, in request
    return _execute(api_commands[0])
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 67, in _execute
    raise RequestTimeout() from None
pytradfri.error.RequestTimeout

[2019-04-22 21:20:15][DEBUG] : Shutdown
[2019-04-22 21:20:15][DEBUG] : Removing PID file /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:20:15][DEBUG] : Exit 0
[2019-04-22 22:25:03][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-04-22 22:25:04][INFO] : Lancement démon ikealight : sudo /usr/bin/python3 /var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py --loglevel debug --socketport 55025 --callback http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php --apikey mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2 --cycle 0.1 --pid /tmp/jeedom/ikealight/deamon.pid --gatewayip 192.168.1.60 --gatewaycode 75217987
[2019-04-22 21:25:06][INFO] : Start ikeatradfrid
[2019-04-22 21:25:06][INFO] : Log level : debug
[2019-04-22 21:25:06][INFO] : Socket port : 55025
[2019-04-22 21:25:06][INFO] : Socket host : 127.0.0.1
[2019-04-22 21:25:06][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:25:06][INFO] : Apikey : mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2
[2019-04-22 21:25:06][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
[2019-04-22 21:25:06][INFO] : Cycle : 0.1
[2019-04-22 21:25:06][INFO] : Gateway Ip : 192.168.1.60
[2019-04-22 21:25:06][INFO] : Gateway Code : 75217987
[2019-04-22 21:25:06][DEBUG] : Writing PID 2230 to /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:25:06][DEBUG] : Init request module v2.12.4
[2019-04-22 21:25:06][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-04-22 22:25:06][DEBUG] : Format Invalide
[2019-04-22 21:25:06][DEBUG] : http://127.0.0.1:80 "GET /plugins/ikealight/core/php/jeeIkealight.php?apikey=mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2 HTTP/1.1" 200 0
[2019-04-22 21:25:06][DEBUG] : Executing 192.168.1.60 get ['status']
[2019-04-22 21:25:16][ERROR] : Fatal error : 
[2019-04-22 21:25:16][DEBUG] : Traceback (most recent call last):
  File "/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py", line 240, in <module>
    globals.api = api_factory(globals.gatewayip, globals.gatewaycode)
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 131, in api_factory
    request(Command('get', ['status']))
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 78, in request
    return _execute(api_commands[0])
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 67, in _execute
    raise RequestTimeout() from None
pytradfri.error.RequestTimeout

[2019-04-22 21:25:16][DEBUG] : Shutdown
[2019-04-22 21:25:16][DEBUG] : Removing PID file /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:25:16][DEBUG] : Exit 0
[2019-04-22 22:30:03][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-04-22 22:30:03][INFO] : Lancement démon ikealight : sudo /usr/bin/python3 /var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py --loglevel debug --socketport 55025 --callback http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php --apikey mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2 --cycle 0.1 --pid /tmp/jeedom/ikealight/deamon.pid --gatewayip 192.168.1.60 --gatewaycode 75217987
[2019-04-22 21:30:05][INFO] : Start ikeatradfrid
[2019-04-22 21:30:05][INFO] : Log level : debug
[2019-04-22 21:30:05][INFO] : Socket port : 55025
[2019-04-22 21:30:05][INFO] : Socket host : 127.0.0.1
[2019-04-22 21:30:05][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:30:05][INFO] : Apikey : mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2
[2019-04-22 21:30:05][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
[2019-04-22 21:30:05][INFO] : Cycle : 0.1
[2019-04-22 21:30:05][INFO] : Gateway Ip : 192.168.1.60
[2019-04-22 21:30:05][INFO] : Gateway Code : 75217987
[2019-04-22 21:30:05][DEBUG] : Writing PID 6905 to /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:30:05][DEBUG] : Init request module v2.12.4
[2019-04-22 21:30:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-04-22 22:30:05][DEBUG] : Format Invalide
[2019-04-22 21:30:05][DEBUG] : http://127.0.0.1:80 "GET /plugins/ikealight/core/php/jeeIkealight.php?apikey=mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2 HTTP/1.1" 200 0
[2019-04-22 21:30:05][DEBUG] : Executing 192.168.1.60 get ['status']
[2019-04-22 21:30:15][ERROR] : Fatal error : 
[2019-04-22 21:30:15][DEBUG] : Traceback (most recent call last):
  File "/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py", line 240, in <module>
    globals.api = api_factory(globals.gatewayip, globals.gatewaycode)
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 131, in api_factory
    request(Command('get', ['status']))
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 78, in request
    return _execute(api_commands[0])
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 67, in _execute
    raise RequestTimeout() from None
pytradfri.error.RequestTimeout

[2019-04-22 21:30:15][DEBUG] : Shutdown
[2019-04-22 21:30:15][DEBUG] : Removing PID file /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:30:15][DEBUG] : Exit 0
[2019-04-22 22:32:25][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=ikealight function=pre_update callInstallFunction=1
[2019-04-22 22:32:28][INFO] : Début d'activation du plugin
[2019-04-22 22:32:29][INFO] : Info sur le démon : Array (     [log] => ikealight     [state] => nok     [launchable] => ok     [launchable_message] => Gestion automatique désactivée     [auto] => 0     [last_launch] => 2019-04-22 22:30:03 ) 
[2019-04-22 22:32:29][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=ikealight function=update callInstallFunction=1
[2019-04-22 22:33:27][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-04-22 22:33:27][INFO] : Lancement démon ikealight : sudo /usr/bin/python3 /var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py --loglevel debug --socketport 55025 --callback http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php --apikey mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2 --cycle 0.1 --pid /tmp/jeedom/ikealight/deamon.pid --gatewayip 192.168.1.60 --gatewaycode 75217987
[2019-04-22 21:33:29][INFO] : Start ikeatradfrid
[2019-04-22 21:33:29][INFO] : Log level : debug
[2019-04-22 21:33:29][INFO] : Socket port : 55025
[2019-04-22 21:33:29][INFO] : Socket host : 127.0.0.1
[2019-04-22 21:33:29][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:33:29][INFO] : Apikey : mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2
[2019-04-22 21:33:29][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
[2019-04-22 21:33:29][INFO] : Cycle : 0.1
[2019-04-22 21:33:29][INFO] : Gateway Ip : 192.168.1.60
[2019-04-22 21:33:29][INFO] : Gateway Code : 75217987
[2019-04-22 21:33:29][DEBUG] : Writing PID 9084 to /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:33:29][DEBUG] : Init request module v2.12.4
[2019-04-22 21:33:29][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-04-22 22:33:29][DEBUG] : Format Invalide
[2019-04-22 21:33:29][DEBUG] : http://127.0.0.1:80 "GET /plugins/ikealight/core/php/jeeIkealight.php?apikey=mGh85rDeffJlOF0CkkHQ9lJbIgKE3MY2 HTTP/1.1" 200 0
[2019-04-22 21:33:29][DEBUG] : Executing 192.168.1.60 get ['status']
[2019-04-22 21:33:39][ERROR] : Fatal error : 
[2019-04-22 21:33:39][DEBUG] : Traceback (most recent call last):
  File "/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py", line 240, in <module>
    globals.api = api_factory(globals.gatewayip, globals.gatewaycode)
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 131, in api_factory
    request(Command('get', ['status']))
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 78, in request
    return _execute(api_commands[0])
  File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 67, in _execute
    raise RequestTimeout() from None
pytradfri.error.RequestTimeout

[2019-04-22 21:33:39][DEBUG] : Shutdown
[2019-04-22 21:33:39][DEBUG] : Removing PID file /tmp/jeedom/ikealight/deamon.pid
[2019-04-22 21:33:39][DEBUG] : Exit 0
J'ai réinstallé deux fois les dépendances, mais j'ai toujours le même problème.

Boboss
Timide
Messages : 218
Inscription : 31 déc. 2014, 11:33

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

Message par Boboss » 22 avr. 2019, 23:47

Salut Pyroaction

As tu mis ta passerelle à jour ? C'est la version 1.8.25. Tu peux voir cela dans l'application ikea sur ton téléphone.
Tu cliques sur la roue dentée en haut à droite puis version de tradfri et 1 passerelle.

@+
Boboss

Pyroaction
Timide
Messages : 4
Inscription : 07 févr. 2018, 12:43

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

Message par Pyroaction » 23 avr. 2019, 00:24

Boboss a écrit :
22 avr. 2019, 23:47
Salut Pyroaction

As tu mis ta passerelle à jour ? C'est la version 1.8.25. Tu peux voir cela dans l'application ikea sur ton téléphone.
Tu cliques sur la roue dentée en haut à droite puis version de tradfri et 1 passerelle.

@+
Boboss,

Oui ma passerelle Tradfri est en version 1.8.25

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

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

Message par Nebz » 23 avr. 2019, 09:03

donc il faut la version beta si tu lis bien ce qui est écrit plus haut :D... si tu ne veux pas mettre en beta, attends qu'elle soit validée... IKEA a modifié tout sans rien dire, le problème est résolu depuis le premier jours mais on doit valider le fonctionnement
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

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

Message par Nebz » 23 avr. 2019, 09:10

Boboss a écrit :
22 avr. 2019, 12:38
Bonjour
Je viens de télécharger le plugin en beta.
Lors de l'installation des dépendances j'ai cette ligne qui apparait :
********************************************************
* Installation des dépendances *
********************************************************
.....
Fetched 3227 B in 8min 2s (6 B/s)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.solid-build.xyz ./ Release: The following signatures were invalid: KEYEXPIRED 1508672008
W: Failed to fetch http://httpredir.debian.org/debian/dist ... /InRelease Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch https://repo.solid-build.xyz/debian/jes ... /./Release
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Installation des dépendances apt
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem
Que dois je faire ? Laissez l'installation se faire ou je n'ai aucune chance que cela marche ?

Merci de votre aide.
comme il est écrit ;)

et puis je pense que tu as un problème de sources.list invalide (ca serait une bonne idée de migrer en stretch). contacte le support jeedom pour cette erreur
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

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

Message par Nebz » 23 avr. 2019, 09:22

mochoko a écrit :
20 avr. 2019, 18:46
Hello,
Je viens de tester ce plugin en béta et c'est nikel ! :D :D

J'ai juste eu un souci un souci de compilation car je n'avais pas pip3 d'installé.
Sous debian 9.8 j'ai dû faire :

Code : Tout sélectionner

apt-get install python3-setuptools
easy_install3 pip
Bon boulot et super rapide, bravo !

Si c'est possible de rajouter un petit bouton toggle on/off ça sera le rêve :mrgreen:
hello, si tu as du faire ca c'est que avant la modif, il ne tournait pas car les dépendances ont pas changé...
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

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

Message par Nebz » 23 avr. 2019, 09:25

nickasimir a écrit :
21 avr. 2019, 12:59
mochoko a écrit :
21 avr. 2019, 11:59
nickasimir a écrit :
21 avr. 2019, 01:04


Je ne vois que ca dans la log :

Code : Tout sélectionner

checking whether the linker accepts -Wl,--version-script=./libcoap-1.map... yes
checking for ctags... no
configure: ==> Note: 'ctags' command not found!
configure: WARNING: ==> Without ctags you will be unable to run the target 'update-map-file'!
configure: WARNING: ==> This is no problem if you just want to build the library libcoap.
configure: ==> Note: your ctags does not support '--c-kinds'!
configure: ==> Most likely, you are using the GNU Emacs ctag and not exuberant ctag
configure: WARNING: ==> This option is required for target 'update-map-file'
configure: WARNING: ==> which is not a problem if you just want to build the library libcoap.
checking assert.h usability... yes
une idée ?
Essaye peut-être d'installer les outils de compilation :

Code : Tout sélectionner

apt-get install build-essential autoconf automake libtool
merci pour le retour, le démon ne veut toujours pas se lancer.. bon il semblerait que je sois unique car je suis le seul retour sur le sujet.
la commande plus est a jour.

J'ai mis a jour via apt-get update et upgrade.
Relance des dépendances, plus verbeux mais démon toujours off au moment du get status de la passerelle IKEA.

J'attends on verra bien.
hello,
ton install ikea fonctionnait dans jeedom avant cette mise à jour ? car là on dirait qu'il manque des choses dans ton système...
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
bartounet
Actif
Messages : 2541
Inscription : 14 juil. 2016, 10:09

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

Message par bartounet » 23 avr. 2019, 09:30

bonjour.
Je viens de m'apercevoir que mon plugin Ikea ne démarrait plus non plus...

Code : Tout sélectionner

[
[2019-04-23 09:10:03][INFO] : Gateway Ip : 10.0.0.140
[2019-04-23 09:10:03][INFO] : Gateway Code : GlOryC5lGgNfcX6I
[2019-04-23 09:10:03][DEBUG] : Writing PID 19752 to /tmp/jeedom/ikealight/deamon.pid
[2019-04-23 09:10:03][DEBUG] : Init request module v2.12.4
[2019-04-23 09:10:03][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-04-23 09:10:03][DEBUG] : http://127.0.0.1:80 "GET /plugins/ikealight/core/php/jeeIkealight.php?apikey=n6kQ45iCiMm9g5N2F79IkELQiuRCSJgi HTTP/1.1" 200 0
[2019-04-23 09:10:03][DEBUG] : Executing 10.0.0.140 get ['status']
[2019-04-23 09:10:13][ERROR] : Fatal error :
[2019-04-23 09:10:13][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py", line 240, in <module>
globals.api = api_factory(globals.gatewayip, globals.gatewaycode)
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 131, in api_factory
request(Command('get', ['status']))
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 78, in request
return _execute(api_commands[0])
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 67, in _execute
raise RequestTimeout() from None
pytradfri.error.RequestTimeout
[2019-04-23 09:10:13][DEBUG] : Shutdown
[2019-04-23 09:10:13][DEBUG] : Removing PID file /tmp/jeedom/ikealight/deamon.pid
[2019-04-23 09:10:13][DEBUG] : Exit 0
[2019-04-23 09:15:05][INFO] : Start ikeatradfrid
[2019-04-23 09:15:05][INFO] : Log level : none
[2019-04-23 09:15:05][INFO] : Socket port : 55025
[2019-04-23 09:15:05][INFO] : Socket host : 127.0.0.1
[2019-04-23 09:15:05][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2019-04-23 09:15:05][INFO] : Apikey : nmmm2F79IkELQiuRCSJgi
[2019-04-23 09:15:05][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
[2019-04-23 09:15:05][INFO] : Cycle : 0.1
[2019-04-23 09:15:05][INFO] : Gateway Ip : 10.0.0.140
[2019-04-23 09:15:05][INFO] : Gateway Code : Glmmmmm
[2019-04-23 09:15:05][DEBUG] : Writing PID 28430 to /tmp/jeedom/ikealight/deamon.pid
[2019-04-23 09:15:05][DEBUG] : Init request module v2.12.4
[2019-04-23 09:15:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-04-23 09:15:05][DEBUG] : http://127.0.0.1:80 "GET /plugins/ikealight/core/php/jeeIkealight.SJgi HTTP/1.1" 200 0
[2019-04-23 09:15:05][DEBUG] : Executing 10.0.0.140 get ['status']
[2019-04-23 09:15:15][ERROR] : Fatal error :
[2019-04-23 09:15:15][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py", line 240, in <module>
globals.api = api_factory(globals.gatewayip, globals.gatewaycode)
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 131, in api_factory
request(Command('get', ['status']))
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 78, in request
return _execute(api_commands[0])
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 67, in _execute
raise RequestTimeout() from None
pytradfri.error.RequestTimeout
[2019-04-23 09:15:15][DEBUG] : Shutdown
[2019-04-23 09:15:15][DEBUG] : Removing PID file /tmp/jeedom/ikealight/deamon.pid
[2019-04-23 09:15:15][DEBUG] : Exit 0
[2019-04-23 09:20:03][INFO] : Start ikeatradfrid
[2019-04-23 09:20:03][INFO] : Log level : none
[2019-04-23 09:20:03][INFO] : Socket port : 55025
[2019-04-23 09:20:03][INFO] : Socket host : 127.0.0.1
[2019-04-23 09:20:03][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2019-04-23 09:20:03][INFO] : Apikey : n6kQ45iCmpplllll2F79IkELQiuRCSJgi
[2019-04-23 09:20:03][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
[2019-04-23 09:20:03][INFO] : Cycle : 0.1
[2019-04-23 09:20:03][INFO] : Gateway Ip : 10.0.0.140
[2019-04-23 09:20:03][INFO] : Gateway Code : GlOkkkkkkkGgNfcX6I
[2019-04-23 09:20:03][DEBUG] : Writing PID 4660 to /tmp/jeedom/ikealight/deamon.pid
[2019-04-23 09:20:03][DEBUG] : Init request module v2.12.4
[2019-04-23 09:20:03][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-04-23 09:20:03][DEBUG] : http://127.0.0.1:80 "GET /plugins/ikealight/core/php/jeeIkealight.php?apikey=n6kQ45iCiMm9g5N2F79IkELQiuRCSJgi HTTP/1.1" 200 0
[2019-04-23 09:20:03][DEBUG] : Executing 10.0.0.140 get ['status']
[2019-04-23 09:20:13][ERROR] : Fatal error :
[2019-04-23 09:20:13][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py", line 240, in <module>
globals.api = api_factory(globals.gatewayip, globals.gatewaycode)
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 131, in api_factory
request(Command('get', ['status']))
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 78, in request
return _execute(api_commands[0])
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 67, in _execute
raise RequestTimeout() from None
pytradfri.error.RequestTimeout
[2019-04-23 09:20:13][DEBUG] : Shutdown
[2019-04-23 09:20:13][DEBUG] : Removing PID file /tmp/jeedom/ikealight/deamon.pid
[2019-04-23 09:20:13][DEBUG] : Exit 0
[2019-04-23 09:25:03][INFO] : Start ikeatradfrid
[2019-04-23 09:25:03][INFO] : Log level : none
[2019-04-23 09:25:03][INFO] : Socket port : 55025
[2019-04-23 09:25:03][INFO] : Socket host : 127.0.0.1
[2019-04-23 09:25:03][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2019-04-23 09:25:03][INFO] : Apikey:jjjj
[2019-04-23 09:25:03][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
[2019-04-23 09:25:03][INFO] : Cycle : 0.1
[2019-04-23 09:25:03][INFO] : Gateway Ip : 10.0.0.140
[2019-04-23 09:25:03][INFO] : Gateway Code : GlOryC5lGgNfcX6I
[2019-04-23 09:25:03][DEBUG] : Writing PID 13288 to /tmp/jeedom/ikealight/deamon.pid
[2019-04-23 09:25:03][DEBUG] : Init request module v2.12.4
[2019-04-23 09:25:03][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-04-23 09:25:03][DEBUG] : http://127.0.0.1:80 "GET /plugins/ikealight/core/php/jeeIkealight.php?apikey=n6kQ45iCiMm9g5N2F79IkELQiuRCSJgi HTTP/1.1" 200 0
[2019-04-23 09:25:03][DEBUG] : Executing 10.0.0.140 get ['status']
[2019-04-23 09:25:13][ERROR] : Fatal error :
[2019-04-23 09:25:13][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py", line 240, in <module>
globals.api = api_factory(globals.gatewayip, globals.gatewaycode)
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 131, in api_factory
request(Command('get', ['status']))
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 78, in request
return _execute(api_commands[0])
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 67, in _execute
J'ai bien sur essayer de réinstaller les dépendances
je ne sais pas trop depuis quand ca fait ça
Jeedom à jour Debian 9
VM VMWARE ESXi 6.7 ( SSD)
Stick ZWave / FIBARO / Ikea Light / Yeelight / Google Home
Wifi Unifi / PFSENSE / Reverse Proxy DMZ SSL

Passionné de bidouillage informatique en tout genre
Mon blog : http://blog.info16.fr

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

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

Message par Nebz » 23 avr. 2019, 09:34

hello, oui on en a parlé plus haut.

Depuis que la gateway a été mise à jour en 1.8.25 par IKEA le plugin ne va plus, mais Sarakha63 a résolu le problème dans les 24h qui ont suivit en beta et a mis à jour le plugin. Il attend que la beta soit validée pour passer en stable.
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
bartounet
Actif
Messages : 2541
Inscription : 14 juil. 2016, 10:09

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

Message par bartounet » 23 avr. 2019, 09:38

ha super.
La gateway se met à jour tte seule ?
Jeedom à jour Debian 9
VM VMWARE ESXi 6.7 ( SSD)
Stick ZWave / FIBARO / Ikea Light / Yeelight / Google Home
Wifi Unifi / PFSENSE / Reverse Proxy DMZ SSL

Passionné de bidouillage informatique en tout genre
Mon blog : http://blog.info16.fr

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

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

Message par Nebz » 23 avr. 2019, 09:38

oui ikea a mis un auto-update
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
nickasimir
Actif
Messages : 693
Inscription : 06 août 2014, 19:35
Localisation : Montreuil, Idf

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

Message par nickasimir » 23 avr. 2019, 10:28

Nebz a écrit :
23 avr. 2019, 09:25
nickasimir a écrit :
21 avr. 2019, 12:59
mochoko a écrit :
21 avr. 2019, 11:59


Essaye peut-être d'installer les outils de compilation :

Code : Tout sélectionner

apt-get install build-essential autoconf automake libtool
merci pour le retour, le démon ne veut toujours pas se lancer.. bon il semblerait que je sois unique car je suis le seul retour sur le sujet.
la commande plus est a jour.

J'ai mis a jour via apt-get update et upgrade.
Relance des dépendances, plus verbeux mais démon toujours off au moment du get status de la passerelle IKEA.

J'attends on verra bien.
hello,
ton install ikea fonctionnait dans jeedom avant cette mise à jour ? car là on dirait qu'il manque des choses dans ton système...
Oui, oui ça fonctionnait très bien. depuis la mise a jour de la gateway, c'est parti en sucette.
Aucun changement de mon coté :

MA DEV :
Linux VM-DEV-JEEDOM 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux

Ma PROD :
Linux Domotique 3.16.0-4-amd64 #1 SMP Debian 3.16.51-3 (2017-12-13) x86_64 GNU/Linux

J'ai le problème sur les deux système !
Bon j'ai fais un truc que je fais jamais et j'espère ne pas avoir de soucis sur du long terme...
J'ai mis a jour le plugin en béta sur ma prod et après la recompilation le démon est reparti...

Est-ce un problème de version d'os ?

A suivre je vais essayer de voir ce qui ne va pas sur ma DEV.
Jeedom en DIY sur NUCI3| Mon Matos : Ici

Répondre

Revenir vers « [Catégorie] Objets connectés »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Bing [Bot] et 6 invités