[2021-04-27 12:45:05][DEBUG] : execute : action aquara on [2021-04-27 12:45:05][DEBUG] : Rafraîchissement de Aqara : Gateway 286c0785915c [2021-04-27 12:45:05][DEBUG] : Envoi : {"apikey":"#API#","type":"aquara","cmd":"send","dest":"192.168.1.XX","password":"#PASS#","model":"gateway","sidG":"286c0785915c","sid":"286c0785915c","short_id":"0","switch":"rgb","request":50,"vol":""} [2021-04-27 12:45:05.364][DEBUG] : Client connected to [127.0.0.1:45456] [2021-04-27 12:45:05.364][DEBUG] : Message read from socket: b'{"apikey":"#API#","type":"aquara","cmd":"send","dest":"192.168.1.XX","password":"#PASS#","model":"gateway","sidG":"286c0785915c","sid":"286c0785915c","short_id":"0","switch":"rgb","request":50,"vol":""}' [2021-04-27 12:45:05.365][DEBUG] : Client disconnected from [127.0.0.1:45456] [2021-04-27 12:45:05.391][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE [2021-04-27 12:45:05.391][DEBUG] : SOCKET-READ------Received command from jeedom : send [2021-04-27 12:45:05.391][DEBUG] : SOCKET-READ------Executing action on : gateway [2021-04-27 12:45:05.391][DEBUG] : executing {'apikey': '#API#', 'type': 'aquara', 'cmd': 'send', 'dest': '192.168.1.XX', 'password': '#PASS#', 'model': 'gateway', 'sidG': '286c0785915c', 'sid': '286c0785915c', 'short_id': '0', 'switch': 'rgb', 'request': 50, 'vol': ''} [2021-04-27 12:45:05.392][ERROR] : SOCKET-READ------Exception on socket : IV must be 16 bytes long [2021-04-27 12:45:06.035][DEBUG] : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '286c0785915c', 'short_id': '0', 'token': 'JWGfl4q77Gi7EyrU', 'data': '{"ip":"192.168.1.XX"}'} [2021-04-27 12:45:06.082][DEBUG] : Send to jeedom : {'devices': {'aquara_286c0785915c': {'model': 'gateway', 'sid': '286c0785915c', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.1.XX', 'token': 'JWGfl4q77Gi7EyrU', 'data': {'ip': '192.168.1.XX'}}}} [2021-04-27 12:45:06.084][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2021-04-27 12:45:06.114][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=#API# HTTP/1.1" 200 0 [2021-04-27 12:45:13.159][DEBUG] : {'cmd': 'report', 'model': 'motion', 'sid': '158d000113d10b', 'short_id': 27828, 'data': '{"status":"motion"}'} [2021-04-27 12:45:13.200][DEBUG] : Send to jeedom : {'devices': {'aquara_158d000113d10b': {'model': 'motion', 'sid': '158d000113d10b', 'cmd': 'report', 'short_id': 27828, 'source': '192.168.1.XX', 'token': '', 'data': {'status': 'motion'}}}} [2021-04-27 12:45:13.204][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2021-04-27 12:45:13.238][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=#API# HTTP/1.1" 200 0 [2021-04-27 12:45:16.007][DEBUG] : {'cmd': 'heartbeat', 'model': 'gateway', 'sid': '286c0785915c', 'short_id': '0', 'token': '9JF1R47NqhHZZTmK', 'data': '{"ip":"192.168.1.XX"}'} [2021-04-27 12:45:16.053][DEBUG] : Send to jeedom : {'devices': {'aquara_286c0785915c': {'model': 'gateway', 'sid': '286c0785915c', 'cmd': 'heartbeat', 'short_id': '0', 'source': '192.168.1.XX', 'token': '9JF1R47NqhHZZTmK', 'data': {'ip': '192.168.1.XX'}}}} [2021-04-27 12:45:16.055][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2021-04-27 12:45:16.067][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=#API# HTTP/1.1" 200 0