Bonjour,
J’ai récemment eu des soucis de son / lumière avec mes 2 passerelles xiaomi aqara, que j’ai depuis des années, et j’ai un peu touché à tout…
on dirait que la conf interne de jeedom a sauté, remise en 127.0.0.1 : 80 et les accès gateway fonctionne mieux, conf apache en 127.0.0.1:80 redirige vers jeedom et plus en https (nouvelle maj jeedom ?) j’ai du mofier mon vhost pour ajouter ça sinon les appels étaient ensuite réécrit en 127.0.0.1 → 443 → https de xiaomi il aime pas
J’ai tout cassé et réinstallé, python2 python3, j’ai modifié le plugin pour passer en python2 → NOK repasser en python 3 → OK
réinstallé toutes les dépendances 25 fois…
Rien à faire, j’ai réussi à récupérer les ouverture / fermeture porte, mais aucune action lumière / son
Je sais pas ce qui a pété… (j’ai l’impression que la réinstallation des dépendance a pété quelque chose)
Quand je touche une lumière / son voici le log : (on a un error":« No device »}'} )
Si quelqu’un a une solution, je suis preneur car je bloque complètement là
En vous remerciant infiniement
Debian 10.13 tout à jour, jeedom Version : 4.4.5 Source : default Branche : V4-stable Système : diy
0890|[2024-05-13 01:36:12] DEBUG : execute : action aquara rgb-set
0891|[2024-05-13 01:36:12] DEBUG : Envoi : {"apikey":"xxx","type":"aquara","cmd":"send","dest":"192.168.1.11","password":"xxx","model":"gateway","sidG":"04cf8c97e0e0","sid":"04cf8c97e0e0","short_id":"0","switch":"rgb","request":1224798408,"vol":46}
0892|[2024-05-13 01:36:12.836] DEBUG : Client connected to [127.0.0.1:48860]
0893|[2024-05-13 01:36:12.837] DEBUG : Message read from socket: b'{"apikey":"xxx","type":"aquara","cmd":"send","dest":"192.168.1.11","password":"xxx","model":"gateway","sidG":"04cf8c97e0e0","sid":"04cf8c97e0e0","short_id":"0","switch":"rgb","request":1224798408,"vol":46}'
0894|[2024-05-13 01:36:12.837] DEBUG : Client disconnected from [127.0.0.1:48860]
0895|[2024-05-13 01:36:12.915] DEBUG : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
0896|[2024-05-13 01:36:12.915] DEBUG : SOCKET-READ------Received command from jeedom : send
0897|[2024-05-13 01:36:12.916] DEBUG : SOCKET-READ------Executing action on : gateway
0898|[2024-05-13 01:36:12.916] DEBUG : executing {'apikey': 'xxx', 'type': 'aquara', 'cmd': 'send', 'dest': '192.168.1.11', 'password': 'xxx', 'model': 'gateway', 'sidG': '04cf8c97e0e0', 'sid': '04cf8c97e0e0', 'short_id': '0', 'switch': 'rgb', 'request': 1224798408, 'vol': 46}
0899|[2024-05-13 01:36:12.917] DEBUG : executing data {'cmd': 'write', 'model': 'gateway', 'sid': '04cf8c97e0e0', 'short_id': '0', 'data': {'rgb': 1224798408, 'key': 'xxx'}}
0900|[2024-05-13 01:36:12.920] DEBUG : {'cmd': 'write_ack', 'sid': '4cf8c97e0e0', 'data': '{"error":"No device"}'}
Voici le log des dépendances :
0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_xiaomihome
0003|+ echo 1
0004|+ echo 2
0005|++ awk '$1 <= 4'
0006|++ cut -f 2-
0007|++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
0008|+ RESULTTODELETE=
0009|++ echo ''
0010|++ sed 's, ,\ ,g'
0011|+ RESULTTODELETE2=
0012|+ xargs rm -rf
0013|+ echo ''
0014|+ echo 3
0015|+ sudo pip3 cache purge
0016|Files removed: 260
0017|+ echo 4
0018|+ sudo pip3 install --upgrade pip
0019|Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (24.0)
0020|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0021|+ echo 5
0022|+ sudo pip3 install --force-reinstall --upgrade pyudev
0023|Collecting pyudev
0024|Downloading pyudev-0.24.3-py3-none-any.whl.metadata (4.6 kB)
0025|Downloading pyudev-0.24.3-py3-none-any.whl (62 kB)
0026|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 602.9 kB/s eta 0:00:00
0027|Installing collected packages: pyudev
0028|Attempting uninstall: pyudev
0029|Found existing installation: pyudev 0.24.3
0030|Uninstalling pyudev-0.24.3:
0031|Successfully uninstalled pyudev-0.24.3
0032|Successfully installed pyudev-0.24.3
0033|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0034|+ echo 6
0035|+ sudo pip3 install --force-reinstall --upgrade construct
0036|Collecting construct
0037|Downloading construct-2.10.70-py3-none-any.whl.metadata (4.2 kB)
0038|Downloading construct-2.10.70-py3-none-any.whl (63 kB)
0039|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.0/63.0 kB 519.4 kB/s eta 0:00:00
0040|Installing collected packages: construct
0041|Attempting uninstall: construct
0042|Found existing installation: construct 2.10.70
0043|Uninstalling construct-2.10.70:
0044|Successfully uninstalled construct-2.10.70
0045|Successfully installed construct-2.10.70
0046|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0047|+ echo 7
0048|+ sudo pip3 install --force-reinstall --upgrade requests
0049|Collecting requests
0050|Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
0051|Collecting charset-normalizer<4,>=2 (from requests)
0052|Downloading charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
0053|Collecting idna<4,>=2.5 (from requests)
0054|Downloading idna-3.7-py3-none-any.whl.metadata (9.9 kB)
0055|Collecting urllib3<3,>=1.21.1 (from requests)
0056|Downloading urllib3-2.0.7-py3-none-any.whl.metadata (6.6 kB)
0057|Collecting certifi>=2017.4.17 (from requests)
0058|Downloading certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)
0059|Downloading requests-2.31.0-py3-none-any.whl (62 kB)
0060|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 412.6 kB/s eta 0:00:00
0061|Downloading certifi-2024.2.2-py3-none-any.whl (163 kB)
0062|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.8/163.8 kB 1.4 MB/s eta 0:00:00
0063|Downloading charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (136 kB)
0064|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 136.8/136.8 kB 1.4 MB/s eta 0:00:00
0065|Downloading idna-3.7-py3-none-any.whl (66 kB)
0066|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 598.4 kB/s eta 0:00:00
0067|Downloading urllib3-2.0.7-py3-none-any.whl (124 kB)
0068|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 1.0 MB/s eta 0:00:00
0069|Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
0070|Attempting uninstall: urllib3
0071|Found existing installation: urllib3 2.0.7
0072|Uninstalling urllib3-2.0.7:
0073|Successfully uninstalled urllib3-2.0.7
0074|Attempting uninstall: idna
0075|Found existing installation: idna 3.7
0076|Uninstalling idna-3.7:
0077|Successfully uninstalled idna-3.7
0078|Attempting uninstall: charset-normalizer
0079|Found existing installation: charset-normalizer 3.3.2
0080|Uninstalling charset-normalizer-3.3.2:
0081|Successfully uninstalled charset-normalizer-3.3.2
0082|Attempting uninstall: certifi
0083|Found existing installation: certifi 2024.2.2
0084|Uninstalling certifi-2024.2.2:
0085|Successfully uninstalled certifi-2024.2.2
0086|Attempting uninstall: requests
0087|Found existing installation: requests 2.31.0
0088|Uninstalling requests-2.31.0:
0089|Successfully uninstalled requests-2.31.0
0090|Successfully installed certifi-2024.2.2 charset-normalizer-3.3.2 idna-3.7 requests-2.31.0 urllib3-2.0.7
0091|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0092|+ echo 8
0093|+ sudo pip3 install --force-reinstall --upgrade pyserial
0094|Collecting pyserial
0095|Downloading pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
0096|Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
0097|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 711.6 kB/s eta 0:00:00
0098|Installing collected packages: pyserial
0099|Attempting uninstall: pyserial
0100|Found existing installation: pyserial 3.5
0101|Uninstalling pyserial-3.5:
0102|Successfully uninstalled pyserial-3.5
0103|Successfully installed pyserial-3.5
0104|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0105|+ echo 9
0106|+ sudo pip3 install --force-reinstall --upgrade future
0107|Collecting future
0108|Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
0109|Downloading future-1.0.0-py3-none-any.whl (491 kB)
0110|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.3/491.3 kB 3.3 MB/s eta 0:00:00
0111|Installing collected packages: future
0112|Attempting uninstall: future
0113|Found existing installation: future 1.0.0
0114|Uninstalling future-1.0.0:
0115|Successfully uninstalled future-1.0.0
0116|Successfully installed future-1.0.0
0117|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0118|+ echo 10
0119|+ sudo pip3 install --force-reinstall --upgrade pycrypto
0120|Collecting pycrypto
0121|Downloading pycrypto-2.6.1.tar.gz (446 kB)
0122|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 446.2/446.2 kB 2.9 MB/s eta 0:00:00
0123|Installing build dependencies: started
0124|Installing build dependencies: finished with status 'done'
0125|Getting requirements to build wheel: started
0126|Getting requirements to build wheel: finished with status 'done'
0127|Installing backend dependencies: started
0128|Installing backend dependencies: finished with status 'done'
0129|Preparing metadata (pyproject.toml): started
0130|Preparing metadata (pyproject.toml): finished with status 'done'
0131|Building wheels for collected packages: pycrypto
0132|Building wheel for pycrypto (pyproject.toml): started
0133|Building wheel for pycrypto (pyproject.toml): finished with status 'done'
0134|Created wheel for pycrypto: filename=pycrypto-2.6.1-cp37-cp37m-linux_x86_64.whl size=493225 sha256=8a2dcffe64e364c478dc86dda1d3189d1303857642a8f10f798b00b03a15e22f
0135|Stored in directory: /root/.cache/pip/wheels/cf/85/ba/bbd7c96add459de7598fb424e5ff2309baf2095c844ac0f191
0136|Successfully built pycrypto
0137|Installing collected packages: pycrypto
0138|Attempting uninstall: pycrypto
0139|Found existing installation: pycrypto 2.6.1
0140|Uninstalling pycrypto-2.6.1:
0141|Successfully uninstalled pycrypto-2.6.1
0142|Successfully installed pycrypto-2.6.1
0143|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0144|+ echo 11
0145|+ sudo pip3 install --force-reinstall --upgrade cryptography
0146|Collecting cryptography
0147|Downloading cryptography-42.0.7-cp37-abi3-manylinux_2_28_x86_64.whl.metadata (5.3 kB)
0148|Collecting cffi>=1.12 (from cryptography)
0149|Downloading cffi-1.15.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.1 kB)
0150|Collecting pycparser (from cffi>=1.12->cryptography)
0151|Downloading pycparser-2.21-py2.py3-none-any.whl.metadata (1.1 kB)
0152|Downloading cryptography-42.0.7-cp37-abi3-manylinux_2_28_x86_64.whl (3.8 MB)
0153|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 13.8 MB/s eta 0:00:00
0154|Downloading cffi-1.15.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (427 kB)
0155|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 427.9/427.9 kB 3.8 MB/s eta 0:00:00
0156|Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
0157|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 1.2 MB/s eta 0:00:00
0158|Installing collected packages: pycparser, cffi, cryptography
0159|Attempting uninstall: pycparser
0160|Found existing installation: pycparser 2.21
0161|Uninstalling pycparser-2.21:
0162|Successfully uninstalled pycparser-2.21
0163|Attempting uninstall: cffi
0164|Found existing installation: cffi 1.15.1
0165|Uninstalling cffi-1.15.1:
0166|Successfully uninstalled cffi-1.15.1
0167|Attempting uninstall: cryptography
0168|Found existing installation: cryptography 42.0.7
0169|Uninstalling cryptography-42.0.7:
0170|Successfully uninstalled cryptography-42.0.7
0171|Successfully installed cffi-1.15.1 cryptography-42.0.7 pycparser-2.21
0172|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0173|+ echo 12
0174|+ sudo pip3 install --force-reinstall --upgrade enum34
0175|Collecting enum34
0176|Downloading enum34-1.1.10-py3-none-any.whl.metadata (1.6 kB)
0177|Downloading enum34-1.1.10-py3-none-any.whl (11 kB)
0178|Installing collected packages: enum34
0179|Attempting uninstall: enum34
0180|Found existing installation: enum34 1.1.10
0181|Uninstalling enum34-1.1.10:
0182|Successfully uninstalled enum34-1.1.10
0183|Successfully installed enum34-1.1.10
0184|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0185|+ echo 13
0186|+ sudo pip3 install --force-reinstall --upgrade enum-compat
0187|Collecting enum-compat
0188|Downloading enum_compat-0.0.3-py3-none-any.whl.metadata (954 bytes)
0189|Downloading enum_compat-0.0.3-py3-none-any.whl (1.3 kB)
0190|Installing collected packages: enum-compat
0191|Attempting uninstall: enum-compat
0192|Found existing installation: enum-compat 0.0.3
0193|Uninstalling enum-compat-0.0.3:
0194|Successfully uninstalled enum-compat-0.0.3
0195|Successfully installed enum-compat-0.0.3
0196|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0197|+ echo 14
0198|+ sudo pip3 install --force-reinstall --upgrade wheel
0199|Collecting wheel
0200|Using cached wheel-0.42.0-py3-none-any.whl.metadata (2.2 kB)
0201|Using cached wheel-0.42.0-py3-none-any.whl (65 kB)
0202|Installing collected packages: wheel
0203|Attempting uninstall: wheel
0204|Found existing installation: wheel 0.42.0
0205|Uninstalling wheel-0.42.0:
0206|Successfully uninstalled wheel-0.42.0
0207|Successfully installed wheel-0.42.0
0208|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0209|+ echo 15
0210|+ sudo pip3 install --force-reinstall --upgrade yeelight
0211|Collecting yeelight
0212|Downloading yeelight-0.7.14-py3-none-any.whl.metadata (10 kB)
0213|Collecting future (from yeelight)
0214|Using cached future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
0215|Collecting ifaddr (from yeelight)
0216|Downloading ifaddr-0.2.0-py3-none-any.whl.metadata (4.9 kB)
0217|Collecting importlib_metadata (from yeelight)
0218|Downloading importlib_metadata-6.7.0-py3-none-any.whl.metadata (4.9 kB)
0219|Collecting async-timeout (from yeelight)
0220|Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
0221|Collecting typing-extensions>=3.6.5 (from async-timeout->yeelight)
0222|Downloading typing_extensions-4.7.1-py3-none-any.whl.metadata (3.1 kB)
0223|Collecting zipp>=0.5 (from importlib_metadata->yeelight)
0224|Downloading zipp-3.15.0-py3-none-any.whl.metadata (3.7 kB)
0225|Downloading yeelight-0.7.14-py3-none-any.whl (40 kB)
0226|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.1/40.1 kB 321.8 kB/s eta 0:00:00
0227|Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
0228|Using cached future-1.0.0-py3-none-any.whl (491 kB)
0229|Downloading ifaddr-0.2.0-py3-none-any.whl (12 kB)
0230|Downloading importlib_metadata-6.7.0-py3-none-any.whl (22 kB)
0231|Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB)
0232|Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB)
0233|Installing collected packages: ifaddr, zipp, typing-extensions, future, importlib_metadata, async-timeout, yeelight
0234|Attempting uninstall: ifaddr
0235|Found existing installation: ifaddr 0.2.0
0236|Uninstalling ifaddr-0.2.0:
0237|Successfully uninstalled ifaddr-0.2.0
0238|Attempting uninstall: zipp
0239|Found existing installation: zipp 3.15.0
0240|Uninstalling zipp-3.15.0:
0241|Successfully uninstalled zipp-3.15.0
0242|Attempting uninstall: typing-extensions
0243|Found existing installation: typing_extensions 4.7.1
0244|Uninstalling typing_extensions-4.7.1: