Page 1 sur 2

Intégration Matériel Schneider Electric Wiser Smart

Publié : 25 nov. 2019, 21:00
par hairv
Salut à tous !

Avant toute chose merci à toute l'équipe Zigate pour le travail accompli.

Je suis un tout nouveau utilisateur de Zigate / Domoticz.
J'ai commencé à m'intéresser à la solution quand j'ai appris que Schneider Electric arrêtait la production de la solution Wiser Smart https://www.se.com/fr/fr/product-range/ ... ser-smart/.
Je me suis dit que j'allais contrôler le tout sans passer par la box pour m'affranchir d'une éventuelle panne de celle-ci qui me condamnerait à tout changer.

J'ai une solution basée sur Domoticz 4.10717, plugin Zigate stable-4.5.7, firmware 031a sur Raspbery PI 4.

Je parviens sans problème à intégrer une prise contrôlée (EER40020) mais impossible de reconnaître un thermostat (EER51000), je n'ai pas testé un actionneur (EER5000).

Quelques recherches sur Internet ont failli me faire abandonner (Zigbee Schneider Electric non standard).
Le hic c'est que lors de l'un de mes tous premiers essais c'est tombé en marche, le thermostat a été reconnu et intégré à Domoticz, sous Windows 10 à ce moment là, mais je n'ai pas eu la présence d'esprit de récupérer les logs.
J'ai alors tout basculé sur Linux car c'est ma cible mais impossible de réitérer l'exploit, même après un retour sous windows, une réinstall de Domoticz + un flash du firmware zigate ...

Je ne demande pas une solution toute faite mais de l'aide sur la démarche à suivre / les infos à récupérer pour avancer sur ce problème.

Merci à tous pour vos futurs conseils.

Hairv

Re: Intégration Matériel Schneider Electric Wiser Smart

Publié : 25 nov. 2019, 21:10
par hairv
Hello,

A toutes fins utiles, les logs Domoticz lors d'une tentative d'intégration :

Code : Tout sélectionner

2019-11-25 21:03:04.850 (Zigate) Permit Join status: 00
2019-11-25 21:03:04.850 (Zigate) ---> self.permitTojoin['Starttime']: 1574709762
2019-11-25 21:03:04.850 (Zigate) ---> Current time : 1574712184
2019-11-25 21:03:04.850 (Zigate) ---> self.Ping['Permit'] (prev) : Off
2019-11-25 21:03:04.850 (Zigate) ---> self.Ping['Permit'] (new ) : Off
2019-11-25 21:03:10.421 (Zigate) onDisconnect - Closing Name: 'Zigate Server Connection', Transport: 'TCP/IP', Protocol: 'HTTP', Address: '', Port: '9440', Baud: -1, Connected: False, Parent: 'None'
2019-11-25 21:03:10.810 (Zigate) Debug: -1
2019-11-25 21:03:10.838 (Zigate) setTimeServer - Setting UTC Time to : 628030990
2019-11-25 21:03:10.340 Status: (Zigate) Stop directive received.
2019-11-25 21:03:10.340 Status: (Zigate) Exiting work loop.
2019-11-25 21:03:10.422 Status: (Zigate) onStop called
2019-11-25 21:03:10.425 Status: (Zigate) Statistics on message
2019-11-25 21:03:10.425 Status: (Zigate) Sent:
2019-11-25 21:03:10.426 Status: (Zigate) TX commands : 21
2019-11-25 21:03:10.426 Status: (Zigate) Max Load (Queue) : 7
2019-11-25 21:03:10.426 Status: (Zigate) TX failed : 0 (0.0%)
2019-11-25 21:03:10.426 Status: (Zigate) TX timeout : 0 (0.0%)
2019-11-25 21:03:10.426 Status: (Zigate) TX data timeout : 0 (0.0%)
2019-11-25 21:03:10.426 Status: (Zigate) TX reTransmit : 0 (0.0%)
2019-11-25 21:03:10.426 Status: (Zigate) Received:
2019-11-25 21:03:10.426 Status: (Zigate) RX frame : 48
2019-11-25 21:03:10.426 Status: (Zigate) RX crc errors : 0 (0.0%)
2019-11-25 21:03:10.426 Status: (Zigate) RX lentgh errors : 0 (0.0%)
2019-11-25 21:03:10.426 Status: (Zigate) RX clusters : 10
2019-11-25 21:03:10.426 Status: (Zigate) RX clusters KO : 0
2019-11-25 21:03:10.426 Status: (Zigate) Operating time : 0 Hours 40 Mins 28 Secs
2019-11-25 21:03:10.641 Status: (Zigate) Stopping threads.
2019-11-25 21:03:10.641 Status: (Zigate) Stopped.
2019-11-25 21:03:10.641 Status: (Zigate) Started.
2019-11-25 21:03:10.807 Status: (Zigate) Entering work loop.
2019-11-25 21:03:10.807 Status: (Zigate) Initialized version 4.5, author 'zaraki673 pipiche38'
2019-11-25 21:03:10.810 Status: (Zigate) Zigate plugin stable-4.5.7 started
2019-11-25 21:03:10.810 Status: (Zigate) Python Version - 3.7.3 (default, Apr 3 2019, 05:39:12)
2019-11-25 21:03:10.810 [GCC 8.2.0]
2019-11-25 21:03:10.810 Status: (Zigate) Switching Heartbeat to 5 s interval
2019-11-25 21:03:10.810 Status: (Zigate) DomoticzVersion: 4.10717
2019-11-25 21:03:10.810 Status: (Zigate) DomoticzHash: b38b49e5
2019-11-25 21:03:10.810 Status: (Zigate) DomoticzBuildTime: 2019-05-09 13:04:08
2019-11-25 21:03:10.810 Status: (Zigate) load PluginConf
2019-11-25 21:03:10.811 Status: (Zigate) filename set to /home/pi/domoticz/plugins/Zigate/Conf/PluginConf-06.json
2019-11-25 21:03:10.811 Status: (Zigate) pluginHome set to /home/pi/domoticz/plugins/Zigate/
2019-11-25 21:03:10.811 Status: (Zigate) homedirectory set to /home/pi/domoticz/plugins/Zigate/
2019-11-25 21:03:10.811 Status: (Zigate) pluginData set to /home/pi/domoticz/plugins/Zigate/Data/
2019-11-25 21:03:10.811 Status: (Zigate) pluginConfig set to /home/pi/domoticz/plugins/Zigate/Conf/
2019-11-25 21:03:10.811 Status: (Zigate) pluginOTAFirmware set to /home/pi/domoticz/plugins/Zigate/OTAFirmware/
2019-11-25 21:03:10.811 Status: (Zigate) pluginReports set to /home/pi/domoticz/plugins/Zigate/Reports/
2019-11-25 21:03:10.811 Status: (Zigate) pluginWWW set to /home/pi/domoticz/plugins/Zigate/www/
2019-11-25 21:03:10.811 Status: (Zigate) Opening DomoticzDB in raw
2019-11-25 21:03:10.812 Status: (Zigate) Plugin Database: DeviceList-6.txt
2019-11-25 21:03:10.821 Status: (Zigate) DeviceConf loaded
2019-11-25 21:03:10.821 Status: (Zigate) load ListOfDevice
2019-11-25 21:03:10.831 Status: (Zigate) Entries loaded from /home/pi/domoticz/plugins/Zigate/Data/DeviceList-6.txt : 2
2019-11-25 21:03:10.832 Status: (Zigate) Transport mode: USB
2019-11-25 21:03:10.832 Status: (Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/serial/by-id/usb-Silicon_Labs_ZiGate_0001-if00-port0
2019-11-25 21:03:10.838 Status: (Zigate) Zigate set Time Server
2019-11-25 21:03:10.838 Status: (Zigate) Configure Permit To Join
2019-11-25 21:03:10.838 Status: (Zigate) Request Accepting new Hardware for 120 seconds
2019-11-25 21:03:10.838 Status: (Zigate) Trigger a Topology Scan
2019-11-25 21:03:10.838 Status: (Zigate) Trigger a Energy Level Scan
2019-11-25 21:03:10.939 Status: (Zigate) Major Version Num: 0003
2019-11-25 21:03:10.939 Status: (Zigate) Installer Version Number: 031a
2019-11-25 21:03:11.241 (Zigate) Permit Join status: 01
2019-11-25 21:03:11.241 (Zigate) ---> self.permitTojoin['Starttime']: 1574712190
2019-11-25 21:03:11.241 (Zigate) ---> Current time : 1574712191
2019-11-25 21:03:11.241 (Zigate) ---> self.Ping['Permit'] (prev) : None
2019-11-25 21:03:11.241 (Zigate) ---> self.Ping['Permit'] (new ) : On
2019-11-25 21:03:11.241 Status: (Zigate) Accepting new Hardware: On
2019-11-25 21:03:11.348 Status: (Zigate) Zigate addresses ieee: 00158d0001ed332d , short addr: 0000
2019-11-25 21:03:11.348 Status: (Zigate) Network state UP, PANID: dd2c extPANID: 0x4f7ce969e849304d Channel: 11
2019-11-25 21:03:11.452 Status: (Zigate) Number of devices recently active in Zigate = 1
2019-11-25 21:03:11.140 Error: (Zigate) ZigateRead - Decoder not found for 8049
2019-11-25 21:03:20.817 Status: (Zigate) Zigate set to Certification : CE
2019-11-25 21:03:20.817 Status: (Zigate) Start Web Server connection
2019-11-25 21:03:20.840 Status: (Zigate) Web backend for Web User Interface started on port: 9440
2019-11-25 21:03:20.840 Status: (Zigate) Plugin with Zigate firmware 031a correctly initialized
2019-11-25 21:03:20.817 Error: (Zigate) ATTENTION: the WebServer part is not supported with this version of Domoticz. Please upgrade to a version greater than 4.10901
2019-11-25 21:03:23.092 (Zigate) TxPower set to: 00
2019-11-25 21:05:12.653 (Zigate) Permit Join status: 00
2019-11-25 21:05:12.653 (Zigate) ---> self.permitTojoin['Starttime']: 1574712190
2019-11-25 21:05:12.653 (Zigate) ---> Current time : 1574712312
2019-11-25 21:05:12.653 (Zigate) ---> self.Ping['Permit'] (prev) : On
2019-11-25 21:05:12.653 (Zigate) ---> self.Ping['Permit'] (new ) : Off
2019-11-25 21:05:12.653 Status: (Zigate) Accepting new Hardware: Disable 
Hairv

Re: Intégration Matériel Schneider Electric Wiser Smart

Publié : 25 nov. 2019, 21:15
par pipiche
Sujet intéressant ...

Je te recommande de passer sur la branche beta du plugin, il y aura plus de possibilité.

Si tu as la prise contrôlée, c'est déjà une bonne nouvelle. Donc il n'y a pas de raison que les autres ne s'appairent pas.

Ce qu'il faudrait ce sont les logs lors de la phase d'appairage.
Les logs du plugin sont directement accessible avec les logs de domoticz. Je te recommande pour l'instant de faire en sorte que domoticz crash ses logs dans un /tmp/domoticz.txt (par exemple) afin de pouvoir les récupérer après coup.

Pour ce qui est des logs du plugin ils sont activables via l'interface Web du plugin accessible sur le port 9440 (par defaut). N'utilises pas le mode Verbors (dans la page Hardware Domoticz, ce n'est pas utilise d'avoir autre chose que None ici).
Dans la page Paramètres Avancés sur le Web Admin du plugin tu trouveras des flags de debug activable.

Il serait opportun d'activer:
- debugPairing

Si déjà tu peux me donner une trace des logs, peut-etre que je verrais des choses ...

Peut-etre faut-il faire un RESET au niveau du device, pour que celui-ci refasse la procédure d'appairage ...
Tu peux aussi si t'es en tests, faire un Erase PDM de la Zigate pour t'assurer que celle-ci n'est plus connaissance du device qui a déjà été appairé une fois si je comprends bien

Re: Intégration Matériel Schneider Electric Wiser Smart

Publié : 25 nov. 2019, 21:39
par hairv
Je suis impressionné par ta réactivité ;)

Effectivement, je suis en phase de tests (et pour l'instant ma Box Schneider n'a pas cramé donc je suis serein pour faire des manips).

Des erase PDM + reinstall j'en ai fait plusieurs depuis le premier miracle.

Je viens de relancer une tentative d'apparaige mais aucun nouveau message n'est apparu dans domoticz_crash.log (le contenu ci-dessous est antérieur à cette tentative)

Code : Tout sélectionner

pi@hairvdomo:~/domoticz $ sudo more domoticz_crash.log
[New LWP 818]
[New LWP 823]
[New LWP 824]
[New LWP 830]
[New LWP 831]
[New LWP 832]
[New LWP 833]
[New LWP 834]
[New LWP 835]
[New LWP 836]
[New LWP 837]
[New LWP 838]
[New LWP 1140]
[New LWP 1141]
[New LWP 1142]
[New LWP 1143]
[New LWP 1144]
[New LWP 1145]
[New LWP 1164]
[New LWP 1167]
[New LWP 1226]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
__GI___nanosleep (remaining=0xbec489f8, requested_time=0xbec489f8) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
28      ../sysdeps/unix/sysv/linux/nanosleep.c: Aucun fichier ou dossier de ce type.
  Id   Target Id                                      Frame
* 1    Thread 0xb6205fb0 (LWP 816) "domoticz"         __GI___nanosleep (remaining=0xbec489f8, requested_time=0xbec489f8) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
  2    Thread 0xb5d2c220 (LWP 818) "Watchdog"         __waitpid (options=0, stat_loc=0xb5d2b378, pid=1214) at ../sysdeps/unix/sysv/linux/waitpid.c:30
  3    Thread 0xb552b220 (LWP 823) "SQLHelper"        syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  4    Thread 0xb4d2a220 (LWP 824) "PluginMgr"        syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  5    Thread 0xb4192220 (LWP 830) "InfluxPush"       syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  6    Thread 0xb3991220 (LWP 831) "Webem_ssncleane"  0xb6c629d0 in epoll_wait (epfd=<optimized out>, events=0xb3990358, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
  7    Thread 0xb3190220 (LWP 832) "WebServer_8080"   0xb6df6758 in ?? () from /lib/arm-linux-gnueabihf/libz.so.1
  8    Thread 0xb27ff220 (LWP 833) "Webem_ssncleane"  0xb6c629d0 in epoll_wait (epfd=<optimized out>, events=0xb27fe358, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
  9    Thread 0xb1ffe220 (LWP 834) "WebServer_1443"   0xb6c629d0 in epoll_wait (epfd=<optimized out>, events=0xb1ffd348, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
  10   Thread 0xb15ff220 (LWP 835) "Scheduler"        syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  11   Thread 0xb0dfe220 (LWP 836) "TCPServer"        0xb6c629d0 in epoll_wait (epfd=<optimized out>, events=0xb0dfd388, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
  12   Thread 0xb03ff220 (LWP 837) "MainWorker"       syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  13   Thread 0xafbfe220 (LWP 838) "MainWorkerRxMsg"  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xafbfdbb8, expected=0, futex_word=0xb9ce48 <m_mainworker+3760>) at ../sysdeps/
unix/sysv/linux/futex-internal.h:205
  14   Thread 0xaefff220 (LWP 1140) "Darksky"         __GI___poll (timeout=199, nfds=0, fds=0x0) at ../sysdeps/unix/sysv/linux/poll.c:29
  15   Thread 0xae7fe220 (LWP 1141) "EventSystem"     syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  16   Thread 0xaddff220 (LWP 1142) "EventSystemQueu" futex_reltimed_wait_cancelable (private=0, reltime=0xaddfe3b8, expected=0, futex_word=0x15efee0) at ../sysdeps/unix/sysv/linux/futex-internal.h:
142
  17   Thread 0xad5fe220 (LWP 1143) "PluginMgr_IO"    futex_wait_cancelable (private=0, expected=0, futex_word=0x155eef8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  18   Thread 0xaccf5220 (LWP 1144) "Plugin_Zigate"   syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  19   Thread 0xabeff220 (LWP 1145) "Plugin_PP-MANAG" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
  20   Thread 0xab63e220 (LWP 1164) "PluginMgr"       0xb6c629d0 in epoll_wait (epfd=<optimized out>, events=0xab63d340, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
  21   Thread 0xaae3d220 (LWP 1167) "Darksky"         __GI___poll (timeout=5000, nfds=1, fds=0xaae3aff0) at ../sysdeps/unix/sysv/linux/poll.c:29
  22   Thread 0xaa0ff220 (LWP 1226) "luaThread"       __GI___libc_read (nbytes=4096, buf=0xabf326e0, fd=45) at ../sysdeps/unix/sysv/linux/read.c:26

Thread 22 (Thread 0xaa0ff220 (LWP 1226)):
#0  __GI___libc_read (nbytes=4096, buf=0xabf326e0, fd=45) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=45, buf=0xabf326e0, nbytes=4096) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0xb6bf5acc in _IO_new_file_underflow (fp=0xabf32620) at libioP.h:839
#3  0xb6bf6e18 in __GI__IO_default_xsgetn (fp=0xabf32620, data=<optimized out>, n=8192) at genops.c:443
#4  0xb6be7e08 in __GI__IO_fread (buf=0xaa0fc8e0, size=1, count=8192, fp=0xabf32620) at iofread.c:38
#5  0x008b2500 in read_all ()
#6  0x008b2844 in g_read ()
#7  0x008bd108 in luaD_precall ()
#8  0x008c9bdc in luaV_execute ()
#9  0x015f0708 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 21 (Thread 0xaae3d220 (LWP 1167)):
#0  __GI___poll (timeout=5000, nfds=1, fds=0xaae3aff0) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0xaae3aff0, fds@entry=0xaae3afd8, nfds=nfds@entry=1, timeout=timeout@entry=5000) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0xb6e4e760 in send_dg (ansp2_malloced=<optimized out>, resplen2=<optimized out>, anssizp2=<optimized out>, ansp2=<optimized out>, anscp=<optimized out>, gotsomewhere=<synthetic pointer>, v_circu
it=<synthetic pointer>, ns=0, terrno=0x0, anssizp=0xaae3b080, ansp=0xaae3afc4, buflen2=<optimized out>, buf2=<optimized out>, buflen=<optimized out>, buf=<optimized out>, statp=0xaae3d4d4) at res_se
nd.c:1112
#3  __res_context_send (ctx=ctx@entry=0xb1600778, buf=0xaae3c454 "", buf@entry=0xaae3b0a0 "Т\001", buflen=0, buflen@entry=33, buf2=0x0, buf2@entry=0xaae3b0c4 "ע\001", buflen2=buflen2@entry=33, ans=<
optimized out>, ans@entry=0xaae3bc30 "<▒▒\006", anssiz=<optimized out>, anssiz@entry=2048, ansp=ansp@entry=0xaae3c448, ansp2=ansp2@entry=0xaae3c44c, nansp2=nansp2@entry=0xaae3c450, resplen2=resplen
2@entry=0xaae3c454, ansp2_malloced=ansp2_malloced@entry=0xaae3c458) at res_send.c:519
#4  0xb6e4c21c in __GI___res_context_query (ctx=ctx@entry=0xb1600778, name=name@entry=0xaf10c688 "api.darksky.net", class=1, class@entry=0, type=439963904, type@entry=0, answer=0xaae3bc30 "<▒▒\006"
, answer@entry=0xb6f11968 <__stack_chk_guard> "", anslen=2048, anslen@entry=439963904, answerp=answerp@entry=0xaae3c448, answerp2=0xaae3c44c, nanswerp2=0xaae3c450, resplen2=0xaae3c454, answerp2_mall
oced=0xaae3c458) at res_query.c:216
#5  0xb6e4c81c in __res_context_querydomain (ctx=ctx@entry=0xb1600778, name=name@entry=0xaf10c688 "api.darksky.net", domain=domain@entry=0x0, class=class@entry=0, type=439963904, type@entry=-1427913
648, answer=0xaae3bc30 "<▒▒\006", answer@entry=0x1 <error: Cannot access memory at address 0x1>, anslen=2048, anslen@entry=-1418803956, answerp=0xaae3c448, answerp@entry=0xaae3c458, answerp2=0xaae3
c44c, answerp2@entry=0xaae3c454, nanswerp2=0xaae3c450, nanswerp2@entry=0xaae3c448, resplen2=resplen2@entry=0xaae3c454, answerp2_malloced=answerp2_malloced@entry=0xaae3c458) at res_query.c:601
#6  0xb6e4ce64 in __GI___res_context_search (ctx=ctx@entry=0xb1600778, name=0xaf10c688 "api.darksky.net", class=0, class@entry=1, type=-1427913648, type@entry=439963904, answer=answer@entry=0xaae3bc
30 "<▒▒\006", anslen=2048, answerp=0xaae3c448, answerp2=answerp2@entry=0xaae3c44c, nanswerp2=nanswerp2@entry=0xaae3c450, resplen2=resplen2@entry=0xaae3c454, answerp2_malloced=answerp2_malloced@entr
y=0xaae3c458) at res_query.c:370
#7  0xab6ec50c in _nss_dns_gethostbyname4_r (name=name@entry=0xaf10c688 "api.darksky.net", pat=pat@entry=0xaae3c524, buffer=0xaae3c780 "\177", buflen=1024, errnop=0xaae3d70c, herrnop=0xaae3d748, ttl
p=ttlp@entry=0x0) at nss_dns/dns-host.c:371
#8  0xb6c48f48 in gaih_inet (name=name@entry=0xaf10c688 "api.darksky.net", service=service@entry=0xaae3c6e0, req=<optimized out>, pai=pai@entry=0xaae3c6d0, naddrs=naddrs@entry=0xaae3c6dc, tmpbuf=tmp
buf@entry=0xaae3c778) at ../sysdeps/posix/getaddrinfo.c:770
#9  0xb6c49d4c in __GI_getaddrinfo (name=<optimized out>, service=<optimized out>, hints=<optimized out>, pai=0xaae3cbc0) at ../sysdeps/posix/getaddrinfo.c:2265
#10 0xb6dab89c in ?? () from /usr/lib/arm-linux-gnueabihf/libcurl-gnutls.so.4
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 20 (Thread 0xab63e220 (LWP 1164)):
#0  0xb6c629d0 in epoll_wait (epfd=<optimized out>, events=0xab63d340, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x003f1f64 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x003f3218 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x003f4180 in boost::asio::io_context::run() ()
#4  0x008a3c5c in thread_proxy ()
#5  0xb6e23494 in start_thread (arg=0xab63e220) at pthread_create.c:486
#6  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 19 (Thread 0xabeff220 (LWP 1145)):
#0  syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x009ced5c in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long,
std::ratio<1ll, 1000000000ll> >) ()
#2  0x0060a30c in Plugins::CPlugin::Do_Work() ()
#3  0x009f18fc in execute_native_thread_routine ()
#4  0xb6e23494 in start_thread (arg=0xabeff220) at pthread_create.c:486
#5  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 18 (Thread 0xaccf5220 (LWP 1144)):
#0  syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x009ced5c in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long,
std::ratio<1ll, 1000000000ll> >) ()
#2  0x0060a30c in Plugins::CPlugin::Do_Work() ()
#3  0x009f18fc in execute_native_thread_routine ()
#4  0xb6e23494 in start_thread (arg=0xaccf5220) at pthread_create.c:486
#5  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 17 (Thread 0xad5fe220 (LWP 1143)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x155eef8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x0, cond=0x155eed0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x155eed0, mutex=0x0) at pthread_cond_wait.c:655
#3  0x003f338c in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#4  0x003f4180 in boost::asio::io_context::run() ()
#5  0x008a3c5c in thread_proxy ()
#6  0xb6e23494 in start_thread (arg=0xad5fe220) at pthread_create.c:486
#7  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 16 (Thread 0xaddff220 (LWP 1142)):
#0  futex_reltimed_wait_cancelable (private=0, reltime=0xaddfe3b8, expected=0, futex_word=0x15efee0) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0xaddfe504, mutex=0x2, cond=0x15efeb8) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x15efeb8, mutex=0x2, abstime=0xaddfe504) at pthread_cond_wait.c:667
#3  0x008a4ba4 in boost::thread::do_try_join_until_noexcept(boost::detail::mono_platform_timepoint const&, bool&) ()
#4  0x0025d4e4 in CEventSystem::EvaluateLua(std::vector<CEventSystem::_tEventQueue, std::allocator<CEventSystem::_tEventQueue> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std:
:allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#5  0x0025da54 in CEventSystem::EvaluateLua(CEventSystem::_tEventQueue const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char
, std::char_traits<char>, std::allocator<char> > const&) ()
#6  0x002667e0 in CEventSystem::EvaluateDatabaseEvents(CEventSystem::_tEventQueue const&) ()
#7  0x0026750c in CEventSystem::EvaluateEvent(std::vector<CEventSystem::_tEventQueue, std::allocator<CEventSystem::_tEventQueue> > const&) ()
#8  0x00268258 in CEventSystem::EventQueueThread() ()
#9  0x009f18fc in execute_native_thread_routine ()
#10 0xb6e23494 in start_thread (arg=0xaddff220) at pthread_create.c:486
#11 0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 15 (Thread 0xae7fe220 (LWP 1141)):
#0  syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x009ced5c in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long,
std::ratio<1ll, 1000000000ll> >) ()
#2  0x0025e40c in CEventSystem::Do_Work() ()
#3  0x009f18fc in execute_native_thread_routine ()
#4  0xb6e23494 in start_thread (arg=0xae7fe220) at pthread_create.c:486
#5  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 14 (Thread 0xaefff220 (LWP 1140)):
#0  __GI___poll (timeout=199, nfds=0, fds=0x0) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  __GI___poll (fds=0x0, nfds=0, timeout=199) at ../sysdeps/unix/sysv/linux/poll.c:26
#2  0xb6da3bb8 in ?? () from /usr/lib/arm-linux-gnueabihf/libcurl-gnutls.so.4
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 13 (Thread 0xafbfe220 (LWP 838)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xafbfdbb8, expected=0, futex_word=0xb9ce48 <m_mainworker+3760>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0xafbfdbb8, mutex=0x0, cond=0xb9ce20 <m_mainworker+3720>) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0xb9ce20 <m_mainworker+3720>, mutex=0x0, abstime=0xafbfdbb8) at pthread_cond_wait.c:667
#3  0x002af548 in MainWorker::Do_Work_On_Rx_Messages() ()
#4  0x009f18fc in execute_native_thread_routine ()
#5  0xb6e23494 in start_thread (arg=0xafbfe220) at pthread_create.c:486
#6  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 0xb03ff220 (LWP 837)):
#0  syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x009ced5c in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long,
std::ratio<1ll, 1000000000ll> >) ()
#2  0x002abf5c in MainWorker::Do_Work() ()
#3  0x009f18fc in execute_native_thread_routine ()
#4  0xb6e23494 in start_thread (arg=0xb03ff220) at pthread_create.c:486
#5  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0xb0dfe220 (LWP 836)):
#0  0xb6c629d0 in epoll_wait (epfd=<optimized out>, events=0xb0dfd388, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x003f1f64 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x003f3218 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x0065db80 in tcp::server::CTCPServer::Do_Work() ()
#4  0x009f18fc in execute_native_thread_routine ()
#5  0xb6e23494 in start_thread (arg=0xb0dfe220) at pthread_create.c:486
#6  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0xb15ff220 (LWP 835)):
#0  syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x009ced5c in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long,
std::ratio<1ll, 1000000000ll> >) ()
#2  0x002cf0b0 in CScheduler::Do_Work() ()
#3  0x009f18fc in execute_native_thread_routine ()
#4  0xb6e23494 in start_thread (arg=0xb15ff220) at pthread_create.c:486
#5  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0xb1ffe220 (LWP 834)):
#0  0xb6c629d0 in epoll_wait (epfd=<optimized out>, events=0xb1ffd348, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x003f1f64 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x003f3218 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x00698a4c in http::server::server_base::run() ()
#4  0x0031a848 in http::server::CWebServer::Do_Work() ()
#5  0x009f18fc in execute_native_thread_routine ()
#6  0xb6e23494 in start_thread (arg=0xb1ffe220) at pthread_create.c:486
#7  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0xb27ff220 (LWP 833)):
#0  0xb6c629d0 in epoll_wait (epfd=<optimized out>, events=0xb27fe358, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x003f1f64 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x003f3218 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x003f4180 in boost::asio::io_context::run() ()
#4  0x009f18fc in execute_native_thread_routine ()
#5  0xb6e23494 in start_thread (arg=0xb27ff220) at pthread_create.c:486
#6  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0xb3190220 (LWP 832)):
#0  0xb6df6758 in ?? () from /lib/arm-linux-gnueabihf/libz.so.1
#1  0x0000fffc in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0xb3991220 (LWP 831)):
#0  0xb6c629d0 in epoll_wait (epfd=<optimized out>, events=0xb3990358, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x003f1f64 in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
#2  0x003f3218 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#3  0x003f4180 in boost::asio::io_context::run() ()
#4  0x009f18fc in execute_native_thread_routine ()
#5  0xb6e23494 in start_thread (arg=0xb3991220) at pthread_create.c:486
#6  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0xb4192220 (LWP 830)):
#0  syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x009ced5c in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long,
std::ratio<1ll, 1000000000ll> >) ()
#2  0x003c1574 in CInfluxPush::Do_Work() ()
#3  0x009f18fc in execute_native_thread_routine ()
#4  0xb6e23494 in start_thread (arg=0xb4192220) at pthread_create.c:486
#5  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0xb4d2a220 (LWP 824)):
#0  syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x009ced5c in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long,
std::ratio<1ll, 1000000000ll> >) ()
#2  0x0060f1c4 in Plugins::CPluginSystem::Do_Work() ()
#3  0x009f18fc in execute_native_thread_routine ()
#4  0xb6e23494 in start_thread (arg=0xb4d2a220) at pthread_create.c:486
Backtrace stopped: Cannot access memory at address 0x2f383330

Thread 3 (Thread 0xb552b220 (LWP 823)):
#0  syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
#1  0x009ced5c in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long,
std::ratio<1ll, 1000000000ll> >) ()
#2  0x002f0c94 in CSQLHelper::Do_Work() ()
#3  0x009f18fc in execute_native_thread_routine ()
#4  0xb6e23494 in start_thread (arg=0xb552b220) at pthread_create.c:486
#5  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0xb5d2c220 (LWP 818)):
#0  __waitpid (options=0, stat_loc=0xb5d2b378, pid=1214) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  __waitpid (pid=1214, stat_loc=0xb5d2b378, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:25
#2  0x002d8840 in dumpstack_gdb(bool) ()
#3  0x002d8d64 in signal_handler(int, siginfo_t*, void*) ()
#4  <signal handler called>
#5  raise (sig=10) at ../sysdeps/unix/sysv/linux/raise.c:50
#6  0x002d9028 in Do_Watchdog_Work() ()
#7  0x009f18fc in execute_native_thread_routine ()
#8  0xb6e23494 in start_thread (arg=0xb5d2c220) at pthread_create.c:486
#9  0xb6c62578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb6205fb0 (LWP 816)):
#0  __GI___nanosleep (remaining=0xbec489f8, requested_time=0xbec489f8) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  __GI___nanosleep (requested_time=0xbec489f8, remaining=0xbec489f8) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
#2  0x00278548 in sleep_seconds(long) ()
#3  0x001f6620 in main ()

Main thread:
#0  __GI___nanosleep (remaining=0xbec489f8, requested_time=0xbec489f8) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  __GI___nanosleep (requested_time=0xbec489f8, remaining=0xbec489f8) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
#2  0x00278548 in sleep_seconds(long) ()
#3  0x001f6620 in main ()
[Inferior 1 (process 816) detached]
.

Pour accéder à l'interface web du plugin et modifier le niveau de log comme suggéré je dois installer la version beta de domoticz si j'en crois le message " Error: (Zigate) ATTENTION: the WebServer part is not supported with this version of Domoticz. Please upgrade to a version greater than 4.10901"
Je vais faire ça et je transmettrai les résultats ASAP.

Encore merci pour tes conseils Pipiche.

Re: Intégration Matériel Schneider Electric Wiser Smart

Publié : 25 nov. 2019, 23:35
par hairv
Bon bon bon, le problème est identifié ... c'est plus simple avec les bons outils (un grand bravo au passage pour l'interface web, elle est vraiment sympa).

J 'ai fait un premier essai et j'ai rien vu passer dans les logs, ça m'a mis la puce à l'oreille ... j'ai décroché le thermostat de la cuisine, je lui ai fait un reset et bim , appairé du premier coup !

==> Le thermostat que j'ai utilisé pour mes tests est défectueux, c'était le spare que j'avais commandé pour palier à un problème éventuel !! 8-)

Ce n'est pas encore gagné car je ne parviens pas à lui envoyer d'ordre de type setpoint mais bon il communique.
Si je parviens à quelque chose je le ferai savoir, au cas où je ne sois pas le seul maso à utiliser ce système.


Logs tentative d'apparaige du Thermostat (tentative 1, prise débranchée et aqara hors de portée):

Code : Tout sélectionner

2019-11-25 23:10:07.181 Status: (Zigate) Request Accepting new Hardware for ever
2019-11-25 23:14:09.895 (Zigate) Permit Join status: 01
2019-11-25 23:14:09.895 (Zigate) ---> self.permitTojoin['Starttime']: 1574719807
2019-11-25 23:14:09.895 (Zigate) ---> Current time : 1574720049
2019-11-25 23:14:09.895 (Zigate) ---> self.Ping['Permit'] (prev) : On
2019-11-25 23:14:09.895 (Zigate) ---> self.Ping['Permit'] (new ) : On 
Logs tentative d'apparaige du Thermostat (tentative 2 avec l'autre thermostat):

Code : Tout sélectionner

 2019-11-25 23:17:22.478 (Zigate) Permit Join status: 01
2019-11-25 23:17:22.478 (Zigate) ---> self.permitTojoin['Starttime']: 1574720242
2019-11-25 23:17:22.478 (Zigate) ---> Current time : 1574720242
2019-11-25 23:17:22.478 (Zigate) ---> self.Ping['Permit'] (prev) : Off
2019-11-25 23:17:22.479 (Zigate) ---> self.Ping['Permit'] (new ) : On
2019-11-25 23:17:22.276 Status: (Zigate) Request Accepting new Hardware for ever
2019-11-25 23:17:22.479 Status: (Zigate) Accepting new Hardware: On
2019-11-25 23:18:23.646 (Zigate) Device activity for | 004D | | 7218 | 00124b00029be61e | 0 | 0xNone |
2019-11-25 23:18:23.646 (Zigate) Decode004d - Looks like it is a new device sent by Zigate
2019-11-25 23:18:23.648 (Zigate) Decode004d - 7218 Info: {'Version': '3', 'ZDeviceName': '', 'Status': '0045', 'SQN': '', 'Ep': {}, 'Heartbeat': '0', 'RIA': '0', 'RSSI': {}, 'Battery': {}, 'Model': {}, 'MacCapa': '80', 'IEEE': '00124b00029be61e', 'Type': {}, 'ProfileID': {}, 'ZDeviceID': {}, 'App Version': '', 'Attributes List': {}, 'DeviceType': '', 'HW Version': '', 'Last Cmds': [], 'LogicalType': '', 'Manufacturer': '', 'Maufacturer Name': '', 'NbEp': '', 'PowerSource': '', 'ReadAttributes': {}, 'ReceiveOnIdle': '', 'Stack Version': '', 'Stamp': {}, 'ZCL Version': '', 'Health': '', 'Capability': ['Reduced-Function Device', 'Standard security', 'NwkAddr should be allocated']}
2019-11-25 23:18:23.646 Status: (Zigate) Device Annoucement ShortAddr: 7218, IEEE: 00124b00029be61e
2019-11-25 23:18:24.201 (Zigate) Decode8045 - Reception Active endpoint response : SQN : 38, Status Success, short Addr 7218, List 01, Ep list 0b
2019-11-25 23:18:24.202 (Zigate) Decode8045 - Device : 7218 updated ListofDevices with {'0b': {}}
2019-11-25 23:18:24.202 Status: (Zigate) [-] NEW OBJECT: 7218 Request Simple Descriptor for Ep: 0b
2019-11-25 23:18:25.249 (Zigate) processNotinDBDevices - NWKID: 7218, Status: 8043, RIA: 0, HB_: 1
2019-11-25 23:18:25.253 (Zigate) Too early, let's try to get the Model
2019-11-25 23:18:25.249 Status: (Zigate) [0] NEW OBJECT: 7218 Request Model Name
2019-11-25 23:18:27.466 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x02 |
2019-11-25 23:18:27.468 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x02 |
2019-11-25 23:18:27.468 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x02 |
2019-11-25 23:18:27.469 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x02 |
2019-11-25 23:18:27.470 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x02 |
2019-11-25 23:18:27.472 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x02 |
2019-11-25 23:18:27.623 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 114 | 0x03 |
2019-11-25 23:18:27.625 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 114 | 0x03 |
2019-11-25 23:18:27.625 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 114 | 0x03 |
2019-11-25 23:18:27.626 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 114 | 0x03 |
2019-11-25 23:18:27.627 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 114 | 0x03 |
2019-11-25 23:18:27.628 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 114 | 0x03 |
2019-11-25 23:18:27.679 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 114 | 0x03 |
2019-11-25 23:18:30.234 (Zigate) processNotinDBDevices - NWKID: 7218, Status: 8043, RIA: 1, HB_: 2
2019-11-25 23:18:30.234 (Zigate) Too early, let's try to get the Model
2019-11-25 23:18:30.234 Status: (Zigate) [1] NEW OBJECT: 7218 Model Name: EH-ZB-RTS
2019-11-25 23:18:30.234 Status: (Zigate) [1] NEW OBJECT: 7218 Model Name: EH-ZB-RTS
2019-11-25 23:18:35.246 (Zigate) processNotinDBDevices - NWKID: 7218, Status: 8043, RIA: 2, HB_: 3
2019-11-25 23:18:35.246 (Zigate) [2] NEW OBJECT: 7218 Trying to create Domoticz device(s)
2019-11-25 23:18:35.247 (Zigate) processNotinDBDevices - ready for creation: {'Version': '3', 'ZDeviceName': '', 'Status': '8043', 'SQN': '', 'Ep': {'0b': {'0000': {}, '0001': {}, '0003': {}, '0009': {}, '0204': {}, '0402': {}, 'fe02': {}, '0019': {}, '0201': {}}}, 'Heartbeat': '3', 'RIA': '3', 'RSSI': 114, 'Battery': {}, 'Model': 'EH-ZB-RTS', 'MacCapa': '80', 'IEEE': '00124b00029be61e', 'Type': {}, 'ProfileID': '0104', 'ZDeviceID': '0302', 'App Version': '', 'Attributes List': {}, 'DeviceType': '', 'HW Version': '', 'Last Cmds': [(1574720305.2528827, '0100', None), (1574720305.3607464, '0100', None)], 'LogicalType': '', 'Manufacturer': '', 'Maufacturer Name': '', 'NbEp': '1', 'PowerSource': '', 'ReadAttributes': {'Ep': {'0b': {'0000': {'0000': '00', '0001': '86', '0002': '00', '0003': '86', '0004': '00', '0005': '00', '0006': '00', '0007': '00', '000a': '86', '000f': '86', '0010': '00', '0015': '86', '4000': '86'}}}, 'TimeStamps': {'0b-0000': 1574720305}}, 'ReceiveOnIdle': '', 'Stack Version': '2', 'Stamp': {'Time': '2019-11-25 23:18:27', 'MsgType': '8102', 'LastSeen': 1574720307}, 'ZCL Version': '1', 'Health': 'Live', 'Capability': ['Reduced-Function Device', 'Standard security', 'NwkAddr should be allocated'], 'ConfigSource': '8043', 'Manufacturer Name': 'Schneider Electric', 'SWBUILD_1': '20130521', 'Location': 'None'}
2019-11-25 23:18:35.247 (Zigate) GetType - Model EH-ZB-RTS Profile ID : 0104 ZDeviceID : 0302
2019-11-25 23:18:35.247 (Zigate) GetType - Model EH-ZB-RTS not found with Ep: 0b in DeviceConf. Continue with ClusterSearch
2019-11-25 23:18:35.247 (Zigate) GetType - ClusterSearch return : Voltage/Temp/Temp/ThermoSetpoint/ThermoMode
2019-11-25 23:18:35.255 (Zigate) Device: 7218 - Config Source: 8043 Ep Details: {'0b': {'0000': {}, '0001': {}, '0003': {}, '0009': {}, '0204': {}, '0402': {}, 'fe02': {}, '0019': {}, '0201': {}, 'ClusterType': {'64': 'Voltage', '65': 'Temp', '66': 'Temp', '67': 'ThermoSetpoint', '68': 'ThermoMode'}}}
2019-11-25 23:18:35.255 (Zigate) Request a Bind for 7218/0b on Cluster 0402
2019-11-25 23:18:35.256 (Zigate) Request a Bind for 7218/0b on Cluster 0001
2019-11-25 23:18:35.256 (Zigate) Request a Bind for 7218/0b on Cluster 0201
2019-11-25 23:18:35.256 (Zigate) Request a Bind for 7218/0b on Cluster 0204
2019-11-25 23:18:35.256 (Zigate) Request a Bind for 7218/0b on Cluster 0000
2019-11-25 23:18:35.260 (Zigate) looking for List of Attributes ep: 0b
2019-11-25 23:18:35.246 Status: (Zigate) [2] NEW OBJECT: 7218 Model Name: EH-ZB-RTS
2019-11-25 23:18:35.246 Status: (Zigate) [2] NEW OBJECT: 7218 Model Name: EH-ZB-RTS
2019-11-25 23:18:37.810 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x08 |
2019-11-25 23:18:37.827 (Zigate) UpdateDevice - (Zigate - EH-ZB-RTS_Temp-00124b00029be61e-0b) 18.7:18.7
2019-11-25 23:18:37.838 (Zigate) UpdateDevice - (Zigate - EH-ZB-RTS_Temp-00124b00029be61e-0b) 18.7:18.7
2019-11-25 23:18:38.061 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x09 |
2019-11-25 23:18:38.062 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x09 |
2019-11-25 23:18:38.062 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x09 |
2019-11-25 23:18:38.063 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x09 |
2019-11-25 23:18:38.064 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x09 |
2019-11-25 23:18:38.064 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x09 |
2019-11-25 23:18:38.065 (Zigate) readCluster - 0001 - 7218/0b unknown attribute: 0035 18 0001 01
2019-11-25 23:18:38.470 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x0a |
2019-11-25 23:18:38.471 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x0a |
2019-11-25 23:18:38.471 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x0a |
2019-11-25 23:18:38.472 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x0a |
2019-11-25 23:18:38.472 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x0a |
2019-11-25 23:18:38.473 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x0a |
2019-11-25 23:18:38.474 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x0a |
2019-11-25 23:18:38.475 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x0a |
2019-11-25 23:18:38.779 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x0c |
2019-11-25 23:18:38.780 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x0c |
2019-11-25 23:18:38.781 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x0c |
2019-11-25 23:18:38.782 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x0c |
2019-11-25 23:18:38.985 (Zigate) Decode8140 - Attribute Discovery Response - 7218/0b - Cluster: 0003 - Attribute: 0000 - Attribute Type: 21
2019-11-25 23:18:40.296 (Zigate) Decode8140 - Attribute Discovery Response - 7218/0b - Cluster: 0019 - Attribute: 0000 - Attribute Type: f0
2019-11-25 23:18:40.296 (Zigate) Decode8140 - Attribute Discovery Response - 7218/0b - Cluster: 0019 - Attribute: 0002 - Attribute Type: 23
2019-11-25 23:18:40.297 (Zigate) Decode8140 - Attribute Discovery Response - 7218/0b - Cluster: 0019 - Attribute: 0004 - Attribute Type: 23
2019-11-25 23:18:40.297 (Zigate) Decode8140 - Attribute Discovery Response - 7218/0b - Cluster: 0019 - Attribute: 0006 - Attribute Type: 30
2019-11-25 23:18:40.298 (Zigate) Decode8140 - Attribute Discovery Response - 7218/0b - Cluster: 0019 - Attribute: 0008 - Attribute Type: 21
2019-11-25 23:18:46.514 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 117 | 0x00 |
2019-11-25 23:19:03.710 (Zigate) Device activity for | 8102 | | 7218 | 00124b00029be61e | 60 | 0x02 | 
Un grand merci pour ton aide Pipiche, tu m'as fait économiser de précieuses heures de ma vie ;)

Hervé

Re: Intégration Matériel Schneider Electric Wiser Smart

Publié : 26 nov. 2019, 09:44
par pipiche
Ca se présente pas mal du tout.
En terme de fonctionnalié:

- Themostat Mode
- Thermostat
- Capteur de temperature

Sur la partie Thermostat Mode et Thermostat, il y a peut-être du travail, car il n'y a pas beaucoup de device qui fonctionnent aujourd'hui avec le plugin.

Dans un premier temps, je pense que tu as eu le retour de température. Ce qui montre que ca fonctionne et que ca cause parfaitement bien. (température de 18.7° )

Pourrais-tu as partir de l'interface web , aller dans Tools , puis Plugin Raw devices (json)

Extrait ce qui concerne ce device notamment:

-> Ep
-> Atttributes List

Je serais aussi curieux de voir ce que le thermostat envoies comme informations aussi, je te propose d'activer les flags de debug suivant:

- debugInput
- debugCluster

et ensuite tu fais des choses coté Thermostat et on voit ce qu'il se passe ....


Pour plus de simplicité, tu peux me contacter en chat sur keybase.io @pipiche

Re: Intégration Matériel Schneider Electric Wiser Smart

Publié : 28 déc. 2019, 14:42
par badz
Salut
Je savais pas que la zigate était *potentiellement* compatible avec wiser !?!
J'ai vu des infos sur le wiki du plugin, je peux aider un peu car je devrai avoir accès a une configuration complète a partir un raspberry.

Pourquoi les autres box zigbee n'arrive pas se connecter et la zigate y arrive ?

J'ai hacké un peu le firmware de la box wiser (croix Blanche) et j'étais a deux doigts de flasher un cc2530 avec un firmware trouver dans les fichiers de la box. Mais la zigate me paraît plus prometteuse.

Une fois que j'aurai tout de prêt, de quoi a ton encore besoin ?

Merci


Sent from my SM-G975F using Tapatalk


Re: Intégration Matériel Schneider Electric Wiser Smart

Publié : 28 déc. 2019, 14:49
par pipiche
badz a écrit : 28 déc. 2019, 14:42 Salut
Je savais pas que la zigate était *potentiellement* compatible avec wiser !?!
J'ai vu des infos sur le wiki du plugin, je peux aider un peu car je devrai avoir accès a une configuration complète a partir un raspberry.

Pourquoi les autres box zigbee n'arrive pas se connecter et la zigate y arrive ?

J'ai hacké un peu le firmware de la box wiser (croix Blanche) et j'étais a deux doigts de flasher un cc2530 avec un firmware trouver dans les fichiers de la box. Mais la zigate me paraît plus prometteuse.

Une fois que j'aurai tout de prêt, de quoi a ton encore besoin ?

Merci


Sent from my SM-G975F using Tapatalk
Avec @hairv je pense qu'on a bien avancé sur ce type de matériel. On commence à avoir le Thermostat ainsi que l'actionneur qui fonctionnent ensemble.
La prise elle il n'y a pas de problème.


On parle ici de la version ancienne des Wiser, il semble qu'il y ait sous le meme nom une nouvelle version.

Pour ce qui est de la question du pourquoi les autres box zigbee n'y arrive pas, je ne peu pas répondre à ça.

Si aujourd'hui tu as en environnement (un Hub Schneider Wiser) , as-tu la possibilité de sniffer le trafic Zigbee ? Car cela nous a permis de bien avancer

Re: Intégration Matériel Schneider Electric Wiser Smart

Publié : 28 déc. 2019, 15:04
par badz
pipiche a écrit : 28 déc. 2019, 14:49
badz a écrit : 28 déc. 2019, 14:42 Salut
Je savais pas que la zigate était *potentiellement* compatible avec wiser !?!
J'ai vu des infos sur le wiki du plugin, je peux aider un peu car je devrai avoir accès a une configuration complète a partir un raspberry.

Pourquoi les autres box zigbee n'arrive pas se connecter et la zigate y arrive ?

J'ai hacké un peu le firmware de la box wiser (croix Blanche) et j'étais a deux doigts de flasher un cc2530 avec un firmware trouver dans les fichiers de la box. Mais la zigate me paraît plus prometteuse.

Une fois que j'aurai tout de prêt, de quoi a ton encore besoin ?

Merci


Sent from my SM-G975F using Tapatalk
Avec @hairv je pense qu'on a bien avancé sur ce type de matériel. On commence à avoir le Thermostat ainsi que l'actionneur qui fonctionnent ensemble.
La prise elle il n'y a pas de problème.


On parle ici de la version ancienne des Wiser, il semble qu'il y ait sous le meme nom une nouvelle version.

Pour ce qui est de la question du pourquoi les autres box zigbee n'y arrive pas, je ne peu pas répondre à ça.

Si aujourd'hui tu as en environnement (un Hub Schneider Wiser) , as-tu la possibilité de sniffer le trafic Zigbee ? Car cela nous a permis de bien avancer
Salut,
Oui on parle de la même chose il me semble, l'installation inclue les éléments suivants
EER21000 la croix blanche (le controlleur)
EER51000 thermometre/thermostat
EER50000 fil pilote pour radiateur electrique
EER32000 consomation electrique dans le tableau avec des pinces (je suis plus sur du model, c'est dans la maison de famille)
https://download.schneider-electric.com ... LSB02758EN

Le hub est un linux que j'ai un peu hacker et auquel j'arrive a me ssh-er mais d'ici la sniffer des paquets zigbee dessus .. je sais pas faire.
Si avec le zigate, je peux sniffer les paquets, alors oui je vais mettre ça en place.

Je viens a peine de commander deux zigate, et l'installation est a 200km, donc il vas falloir attendre un peu.

Dans le git du plugin https://github.com/pipiche38/Domoticz-Zigate j'ai trouver dans aucune branch le paramètre enableSchneiderWiser qui est dans le wiki.

Merci pour le beau boulot et la réactivité

Intégration Matériel Schneider Electric Wiser Smart

Publié : 28 déc. 2019, 15:09
par pipiche
Branche beta, et le point important est le extendedPanid à initialiser avant de faire un erasePDM ( réinit de la zigate)


Envoyé de mon iPhone en utilisant Tapatalk