Ich habe nun folgendes gemacht :
chmod 777 /opt/midea-msmart/setAC.py
und das Attribiut processScript auch so angelegt.
Danach ging der Status auf Ready bzw. 0
Es regt sich aber nichts an der Klimaanlage
2022.08.01 09:50:33 2: Klima_SZ Select: get Klima_SZ Status
2022.08.01 09:50:33 3: Klima_SZ Parameter BlockingCall: Klima_SZ|/opt/midea-msmart/setAC.py|state -H net_ac_EFB5 -I 144036023278226 -K B2FB331F479A4C9FA453B129261F17B8F8C93FB21A5344D9BCE9618298AE1B4C -T 9D85A91439641E375F691F56BC4228FA62B861B749AD55015D63674B334FBBE846FFFEE98898E746FF0B2ACA2D2EB93FEC3DAFFB503481142D80D8D5683FED07
2022.08.01 09:50:33 5: Klima_SZ BlockingCall newPID (7438))
2022.08.01 09:50:33 4: Klima_SZ Aufruf setAC: /opt/midea-msmart/setAC.py state -H net_ac_EFB5 -I 144036023278226 -K B2FB331F479A4C9FA453B129261F17B8F8C93FB21A5344D9BCE9618298AE1B4C -T 9D85A91439641E375F691F56BC4228FA62B861B749AD55015D63674B334FBBE846FFFEE98898E746FF0B2ACA2D2EB93FEC3DAFFB503481142D80D8D5683FED07
Traceback (most recent call last):
File "/opt/midea-msmart/setAC.py", line 7, in <module>
from msmart.device import air_conditioning as ac
File "/opt/midea-msmart/msmart/device/__init__.py", line 4, in <module>
from .AC.appliance import air_conditioning
File "/opt/midea-msmart/msmart/device/AC/appliance.py", line 7, in <module>
from msmart.device.base import device
File "/opt/midea-msmart/msmart/device/base.py", line 3, in <module>
from msmart.lan import lan
File "/opt/midea-msmart/msmart/lan.py", line 6, in <module>
from msmart.security import security
File "/opt/midea-msmart/msmart/security.py", line 5, in <module>
from Crypto.Util.Padding import pad, unpad
ModuleNotFoundError: No module named 'Crypto.Util.Padding'
2022.08.01 09:50:34 4: Klima_SZ Result setAC:
2022.08.01 09:50:34 5: Klima_SZ Delete BlockingCall PID(7438)
2022.08.01 09:50:43 2: Klima_SZ Select: get Klima_SZ Status
2022.08.01 09:50:43 3: Klima_SZ Parameter BlockingCall: Klima_SZ|/opt/midea-msmart/setAC.py|state -H net_ac_EFB5 -I 144036023278226 -K B2FB331F479A4C9FA453B129261F17B8F8C93FB21A5344D9BCE9618298AE1B4C -T 9D85A91439641E375F691F56BC4228FA62B861B749AD55015D63674B334FBBE846FFFEE98898E746FF0B2ACA2D2EB93FEC3DAFFB503481142D80D8D5683FED07
2022.08.01 09:50:43 5: Klima_SZ BlockingCall newPID (7441))
2022.08.01 09:50:44 4: Klima_SZ Aufruf setAC: /opt/midea-msmart/setAC.py state -H net_ac_EFB5 -I 144036023278226 -K B2FB331F479A4C9FA453B129261F17B8F8C93FB21A5344D9BCE9618298AE1B4C -T 9D85A91439641E375F691F56BC4228FA62B861B749AD55015D63674B334FBBE846FFFEE98898E746FF0B2ACA2D2EB93FEC3DAFFB503481142D80D8D5683FED07
Traceback (most recent call last):
File "/opt/midea-msmart/setAC.py", line 7, in <module>
from msmart.device import air_conditioning as ac
File "/opt/midea-msmart/msmart/device/__init__.py", line 4, in <module>
from .AC.appliance import air_conditioning
File "/opt/midea-msmart/msmart/device/AC/appliance.py", line 7, in <module>
from msmart.device.base import device
File "/opt/midea-msmart/msmart/device/base.py", line 3, in <module>
from msmart.lan import lan
File "/opt/midea-msmart/msmart/lan.py", line 6, in <module>
from msmart.security import security
File "/opt/midea-msmart/msmart/security.py", line 5, in <module>
from Crypto.Util.Padding import pad, unpad
ModuleNotFoundError: No module named 'Crypto.Util.Padding'
2022.08.01 09:50:44 4: Klima_SZ Result setAC:
2022.08.01 09:50:44 5: Klima_SZ Delete BlockingCall PID(7441)