Zitat von: ritchie am 24 Mai 2026, 09:30:56Ich habe noch kein getConfig abgeschossen. Soll ich das auch noch machen und danach nochmals den list ?
READINGS:
2026-05-24 09:25:28 D-firmware 1.1
2026-05-24 09:25:28 D-serialNr UEQ1844265
2026-05-24 09:25:59 IODev CUL_0
2026-05-24 09:25:28 commState CMDs_pendingDazu Knöpfchen am Aktor drücken. LED sollte dann blinkern, wenn die Befehle abgearbeitet werden. READINGS:
2026-05-23 11:49:42 CommandAccepted yes
2024-11-08 21:41:10 D-firmware 1.1
2024-11-08 21:41:10 D-serialNr LEQ0214915
2026-05-14 12:45:45 IODev HMLAN1
2026-04-03 16:52:03 PairedTo 0x1xxxx
defmod garten_dev HMCCUDEV xxxxxxxxxxxxxx forcedev
attr garten_dev DbLogExclude .*
attr garten_dev ccureadingformat datapoint
attr garten_dev event-on-update-reading .*
attr garten_dev room _System->HomeMatic,_System->Test
Um nun das Ventiel mit uzsu zu steuern bräuchte ich die Befehle "garten_dev on/off"!Zitatstatevals <new-command>:<control-datapoint-value>[,...]die Rohdefination zu erweitern:
Define set commands for control datapoint. This attribute should only be used if the device type is not recognized by HMCCU. Using this attribute for automatically detected devices could lead to problems!
Example: controldatapoint of a device is STATE. Device is not recognized by HMCCU:
# Define 2 new commands on and off representing the possible states of STATE:
attr my_switch statevals on:true,off:false
# After attr the commands on and off are available:
set my_switch on
set my_switch off
attr garten_dev controldatapoint 6.STATE
attr garten_dev statedatapoint 6.STATE
attr garten_dev statevals on:true off:false
attr garten_dev substitute 6.STATE!(1|true):on,(0|false):off;;
auch eine Änderung auf:attr garten_dev statevals on:datapoint 6.STATE true,off:datapoint 6.STATE falsehat nichts gebracht.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 258.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 318.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 355.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 514.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 553.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 790.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 1972.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 2039.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 2063.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 2119.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 2173.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 2196.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 2223.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 2248.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 2276.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 2294.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 2427.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 2523.
2026.05.25 09:01:28 1: PERL WARNING: Use of uninitialized value $max in numeric lt (<) at ./FHEM/98_version.pm line 40, <$fh> line 2742.root@Fhem-VM:~# msmart-ng discover
INFO:msmart.cli:Discovering all devices on local network.
INFO:msmart.lan:Creating new connection to 192.168.1.203:6444.
INFO:msmart.lan:Authenticating with 192.168.1.203:6444.
INFO:msmart.lan:Authentication with 192.168.1.203:6444 successful. Expiration: 2026-05-25T18:50:06+00:00, Local key: 43ad74c7c4b08d82777efe14460a74a024624c98871e04fbeb7389f20c0577c3
INFO:msmart.cli:Found 1 devices.
INFO:msmart.cli:Found device:
{'ip': '192.168.1.203', 'port': 6444, 'id': 144036023278226, 'online': True, 'supported': True, 'type': <DeviceType.AIR_CONDITIONER: 172>, 'name': 'net_ac_EFB5', 'sn': '000000P0000000Q130B23710EFB50000', 'key': '2bffb7651ae64c00ad733f97c705b42327400c1ba9fd44788486c971f5d03740', 'token': '4296fa8ced2d46a6bff189632f8c01319106a7b738f0f47e1e03b8bfd4140f86dc267bfe54cf1c2a72ddce0e0b75a05f781d52aa8db4e6195b604a613cff6cf9'}
Neuen Token und Key in fhem device uebernommenTraceback (most recent call last):
File "/opt/midea-msmart/setAC.py", line 6, in <module>
from msmart.device import air_conditioning as ac
ImportError: cannot import name 'air_conditioning' from 'msmart.device' (/usr/local/lib/python3.13/dist-packages/msmart/device/__init__.py)
2026.05.25 08:51:15 1: RMDIR: ./restoreDir/save/2026-05-08