J’ai un peu plus avancé… mais pas plus.
En relisant la doc, et donc ce problème de suite de zéro, j’ai donc à nouveau suivi la procédure pour récupérer le token via une des méthodes décrites. (je suis passé par l’appli aSQLiteManager, méthode 2).
Une question : Est-ce normal d’avoir le même token pour les deux multiprises ?
J’ai supprimé/réajouté l’une des prises, mais j’arrive quasiment au même point…
Les commandes sont créées mais le rafraîchissement n’opère pas (certes, ce n’est plus la canicule…). Mais maintenant, ce sont les commandes allumer et éteindre qui ne fonctionne plus… 
J’ai essayé de refaire l’ajout plusieurs fois, en renseignant le token dès le départ, ou après avoir fait la recherche d’infos (et obtenir les 0), mais ça ne change pas…
Pour les logs, en debugs, voilà ce que je trouve… :
Allumer :
[2019-11-03 20:19:25][DEBUG] : Message read from socket: {"apikey":"Riba1fX4btODCcbNWxnTiRPvS2ddJ68J","type":"wifi","cmd":"send","model":"multisocket","dest":"192.168.0.41","token":"1635820977","devtype":"03bd","serial":"529c","method":"set_power","param":"[\"on\"]"}
Rafraichir :
[2019-11-03 20:23:05][DEBUG] : Message read from socket: {"apikey":"Riba1fX4btODCcbNWxnTiRPvS2ddJ68J","type":"wifi","cmd":"refresh","model":"multisocket","dest":"192.168.0.41","token":"1635820977","devtype":"03bd","serial":"529c"}
à la création de l’objet multiprise, ip renseignée, type d’objet et sauvegarde :
[2019-11-03 20:31:14][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-11-03 20:31:14][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=Riba1fX4btODCcbNWxnTiRPvS2ddJ68J HTTP/1.1" 200 0
[2019-11-03 20:31:17][DEBUG] : {u'model': u'cube', u'cmd': u'heartbeat', u'data': u'{"voltage":2975}', u'short_id': 58415, u'sid': u'158d0001108051'}
[2019-11-03 20:31:17][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0001108051': {'short_id': 58415, 'cmd': u'heartbeat', 'source': '192.168.0.39', 'token': '', 'sid': u'158d0001108051', 'model': u'cube', 'data': {u'voltage': 2975}}}}
[2019-11-03 20:31:17][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-11-03 20:31:17][DEBUG] : {u'158d0001108051': u'158d0001108051', u'cmd': u'get_id_list'}
[2019-11-03 20:31:17][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=Riba1fX4btODCcbNWxnTiRPvS2ddJ68J HTTP/1.1" 200 0
[2019-11-03 20:31:17][DEBUG] : {u'token': u'nW5Qjxju8OuDjhNM', u'cmd': u'get_id_list_ack', u'data': u'["158d00018253f3","158d0001a2dedd","158d00016d7048","158d0001a3e152","158d000165713b","158d00016d6fe3","158d00016c09b6","158d00016d799c","158d000171f113","158d0001a4c5b7","158d00019de51d","158d000171f12a","158d0001a2491a","158d0001108051","158d00019d6745","158d000171a0c2","158d0001d83d6c","158d00016db811","158d0001d8e196","158d00016c8305","158d00016cdb04","158d00019ddebd"]', u'sid': u'34ce00889b25'}
[2019-11-03 20:31:17][DEBUG] : {u'cmd': u'read', u'sid': u'158d00018253f3'}
[2019-11-03 20:31:17][DEBUG] : {u'cmd': u'read', u'sid': u'158d0001a2dedd'}
[2019-11-03 20:31:17][DEBUG] : {u'cmd': u'read', u'sid': u'158d00016d7048'}
[2019-11-03 20:31:17][DEBUG] : {u'cmd': u'read', u'sid': u'158d0001a3e152'}
[2019-11-03 20:31:17][DEBUG] : {u'model': u'sensor_ht', u'cmd': u'read_ack', u'data': u'{"voltage":2985,"temperature":"1938","humidity":"6866"}', u'short_id': 28651, u'sid': u'158d00018253f3'}
[2019-11-03 20:31:17][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d00018253f3': {'short_id': 28651, 'cmd': u'read_ack', 'source': '192.168.0.39', 'token': '', 'sid': u'158d00018253f3', 'model': u'sensor_ht', 'data': {u'humidity': u'6866', u'voltage': 2985, u'temperature': u'1938'}}}}
[2019-11-03 20:31:17][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-11-03 20:31:17][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=Riba1fX4btODCcbNWxnTiRPvS2ddJ68J HTTP/1.1" 200 0
[2019-11-03 20:31:24][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'u2FJRqw3Jn27yPxX', u'sid': u'34ce00889b25', u'model': u'gateway', u'data': u'{"ip":"192.168.0.39"}'}
[2019-11-03 20:31:24][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce00889b25': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.39', 'token': u'u2FJRqw3Jn27yPxX', 'sid': u'34ce00889b25', 'model': u'gateway', 'data': {u'ip': u'192.168.0.39'}}}}
[2019-11-03 20:31:24][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-11-03 20:31:24][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=Riba1fX4btODCcbNWxnTiRPvS2ddJ68J HTTP/1.1" 200 0
[2019-11-03 20:31:34][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'BxsAep3E34wMgC1l', u'sid': u'34ce00889b25', u'model': u'gateway', u'data': u'{"ip":"192.168.0.39"}'}
[2019-11-03 20:31:34][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce00889b25': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.39', 'token': u'BxsAep3E34wMgC1l', 'sid': u'34ce00889b25', 'model': u'gateway', 'data': {u'ip': u'192.168.0.39'}}}}
[2019-11-03 20:31:34][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-11-03 20:31:34][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=Riba1fX4btODCcbNWxnTiRPvS2ddJ68J HTTP/1.1" 200 0
[2019-11-03 20:31:44][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'V01mot1F8sK0tR5i', u'sid': u'34ce00889b25', u'model': u'gateway', u'data': u'{"ip":"192.168.0.39"}'}
[2019-11-03 20:31:44][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce00889b25': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.39', 'token': u'V01mot1F8sK0tR5i', 'sid': u'34ce00889b25', 'model': u'gateway', 'data': {u'ip': u'192.168.0.39'}}}}
[2019-11-03 20:31:44][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-11-03 20:31:44][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=Riba1fX4btODCcbNWxnTiRPvS2ddJ68J HTTP/1.1" 200 0
Récupération des infos juste après :
[2019-11-03 20:33:43][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-11-03 20:33:43][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=Riba1fX4btODCcbNWxnTiRPvS2ddJ68J HTTP/1.1" 200 0
[2019-11-03 20:33:44][DEBUG] : Client connected to [127.0.0.1:32876]
[2019-11-03 20:33:44][DEBUG] : Message read from socket: {"apikey":"Riba1fX4btODCcbNWxnTiRPvS2ddJ68J","type":"wifi","cmd":"discover","dest":"192.168.0.41","token":"","model":"multisocket"}
[2019-11-03 20:33:44][DEBUG] : Client disconnected from [127.0.0.1:32876]
[2019-11-03 20:33:44][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2019-11-03 20:33:44][DEBUG] : Received command from jeedom : discover
[2019-11-03 20:33:44][DEBUG] : Discovering : multisocket
[2019-11-03 20:33:45][DEBUG] : Found the device : 192.168.0.41
[2019-11-03 20:33:45][DEBUG] : Send to jeedom : {'devices': {'wifi': {'ip': u'192.168.0.41', 'token': '00000000000000000000000000000000', 'devtype': '03bd', 'found': 1, 'model': u'multisocket', 'serial': '529c'}}}
[2019-11-03 20:33:45][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-11-03 20:33:45][DEBUG] : execute : action wifi refresh
[2019-11-03 20:33:45][DEBUG] : Client connected to [127.0.0.1:32880]
[2019-11-03 20:33:45][DEBUG] : Message read from socket: {"apikey":"Riba1fX4btODCcbNWxnTiRPvS2ddJ68J","type":"wifi","cmd":"refresh","model":"multisocket","dest":"192.168.0.41","token":"00000000000000000000000000000000","devtype":"03bd","serial":"529c"}
[2019-11-03 20:33:45][DEBUG] : Client disconnected from [127.0.0.1:32880]
[2019-11-03 20:33:45][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=Riba1fX4btODCcbNWxnTiRPvS2ddJ68J HTTP/1.1" 200 0
[2019-11-03 20:33:45][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2019-11-03 20:33:45][DEBUG] : Received command from jeedom : refresh
[2019-11-03 20:33:45][DEBUG] : Refreshing : multisocket
[2019-11-03 20:33:45][DEBUG] : {"params": ["power", "temperature", "current"], "id": 61656, "method": "get_prop"}
[2019-11-03 20:33:45][DEBUG] : {"params": ["power", "temperature", "current"], "id": 31381, "method": "get_prop"}
[2019-11-03 20:33:45][DEBUG] : {"params": ["power", "temperature", "current"], "id": 5706, "method": "get_prop"}
[2019-11-03 20:33:45][DEBUG] : Invalid padding bytes.
[2019-11-03 20:33:53][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'3qrTyxawgTVtmI26', u'sid': u'34ce00889b25', u'model': u'gateway', u'data': u'{"ip":"192.168.0.39"}'}
[2019-11-03 20:33:53][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce00889b25': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.39', 'token': u'3qrTyxawgTVtmI26', 'sid': u'34ce00889b25', 'model': u'gateway', 'data': {u'ip': u'192.168.0.39'}}}}
[2019-11-03 20:33:53][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-11-03 20:33:53][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=Riba1fX4btODCcbNWxnTiRPvS2ddJ68J HTTP/1.1" 200 0
[2019-11-03 20:34:03][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'e5e2JuFCe9889GyJ', u'sid': u'34ce00889b25', u'model': u'gateway', u'data': u'{"ip":"192.168.0.39"}'}
[2019-11-03 20:34:03][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce00889b25': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.39', 'token': u'e5e2JuFCe9889GyJ', 'sid': u'34ce00889b25', 'model': u'gateway', 'data': {u'ip': u'192.168.0.39'}}}}
Dernière chose : je suis passé en version 2019-10-27 14:10:50 pour le plugin xiaomi home. Mais ça ne change pas non plus !