[gelöst] UZSU mit HM-LC-BL1PBU-FM vs HMW_LC_BL1_DR

Begonnen von Funsailor, 29 Juli 2021, 13:58:46

Vorheriges Thema - Nächstes Thema

Funsailor

Ich habe einige HM-LC-BL1PBU-FM im Einsatz und bediene die auch vis SmartVISU und UZSU.
Funktioniert wunderbar... :)

Jetzt habe ich einen HMW_LC_BL1_DR in Betrieb genommen und das (Blind-) Device in die SmartVISU aufgenommen.
Geht soweit auch wie es soll.

Aber die UZSU funktioniert nicht. Ich bekomme immer die Fehlermeldung:

2021.07.29 13:21:00.052 3: Unknown argument 50, choose one of  config down:noArg inhibit:on,off install_test level:slider,0,1,100 off:noArg on:noArg peer:EG_WohnzimmerRolloMitteSchalterDown,EG_WohnzimmerRolloMitteSchalterUp,EG_WohnzimmerRolloRechtsBlindDown,EG_WohnzimmerRolloRechtsBlindUp,EG_WohnzimmerRolloTuerBlindDown,EG_WohnzimmerRolloTuerBlindUp,HMW_LC_Bl1_DR_IEQ0546600_01,HMW_LC_Bl1_DR_IEQ0546600_02 stop:noArg up:noArg  on-for-timer on-till blink off-for-timer off-till on-till-overnight intervals off-till-overnight

Im Monitor sehe ich das: (Die Zeiten stimmen nicht überein)
2021-07-29 13:46:00.066 WeekdayTimer wdt_uzsu_EG_WohnzimmerRolloBlind nextUpdate: 2021-08-05 13:46:00
2021-07-29 13:46:00.066 WeekdayTimer wdt_uzsu_EG_WohnzimmerRolloBlind nextValue: 50
2021-07-29 13:46:00.066 WeekdayTimer wdt_uzsu_EG_WohnzimmerRolloBlind currValue: 50
2021-07-29 13:46:00.066 WeekdayTimer wdt_uzsu_EG_WohnzimmerRolloBlind 50


Ich dachte das liegt daran, das die HMW mit "level" und die HM mit "pct" als Istzustand arbeiten und habe deswegen das Attribut "userReadings pct:level.* {(ReadingsVal ("EG_WohnzimmerRolloBlind","level",0))}" eingebaut.. hat auch nichts geholfen, ist ja auch nur das reading.

Wie soll ich da am besten vorgehen?

Bei den HM erscheint ein
"WeekdayTimer wdt_uzsu_XY_RolloBlind pct 50"

Hier das List vom HMW:


Internals:
   CFGFN     
   DEF        00007CB8_03
   FUUID      61028995-f33f-088a-d730-c0476d88b9392854
   NAME       EG_WohnzimmerRolloBlind
   NR         1378
   STATE      50
   STILLDONETIME 0
   TYPE       HM485
   chanNo     03
   device     EG_WohnZimmerRolloDevice
   peerRole   actuator
   READINGS:
     2021-07-29 13   LevelShWohnZimmerRolladen 125
     2021-07-29 12   R-change_over_delay 0.50
     2021-07-29 12   R-logging       on
     2021-07-29 12   R-reference_run_counter 0
     2021-07-29 12   R-reference_running_time_bottom_top 5.00
     2021-07-29 12   R-reference_running_time_top_bottom 5.00
     2021-07-29 13   direction       none
     2021-07-29 13   level           50
     2021-07-29 13   pct             50
     2021-07-29 13   state           level_50
     2021-07-29 13   uzsu            {"list"
     2021-07-29 13   working         off
   devHash:
     CFGFN     
     DEF        00007CB8
     FUUID      61028990-f33f-088a-973e-74eb3bc656db3ae4
     FailedConfigReads 0
     IODev      hm485
     NAME       EG_WohnZimmerRolloDevice
     NR         1376
     RawDeviceType 21
     RawFwVersion 774
     STATE      ACK
     TYPE       HM485
     channel_01 HMW_LC_Bl1_DR_IEQ0546600_01
     channel_02 HMW_LC_Bl1_DR_IEQ0546600_02
     channel_03 EG_WohnzimmerRolloBlind
     READINGS:
       2021-07-29 12   D-deviceKey     HMW_LC_BL1_DR
       2021-07-29 12   D-fwVersion     3.06
       2021-07-29 12   D-serialNr      IEQ0546600
       2021-07-29 12   IODev           hm485
       2021-07-29 12   R-central_address 00000001
       2021-07-29 12   R-logging_time  2.00
       2021-07-29 12   configStatus    OK
       2021-07-29 12   state           ACK
     cache:
       sets       Unknown argument ?, choose one of  config getConfig raw reset 
       01:
         allowedSets press_short press_long
         sets       Unknown argument ?, choose one of  config peer href='/fhem?detail=EG_WohnzimmerRolloBlind'>EG_WohnzimmerRolloBlind,EG_WohnzimmerRolloMitteBlind,EG_WohnzimmerRolloRechtsBlind,EG_WohnzimmerRolloTuerBlind press_long press_short 
         peeredChannels:
       02:
         allowedSets press_short press_long
         sets       Unknown argument ?, choose one of  config peer href='/fhem?detail=EG_WohnzimmerRolloBlind'>EG_WohnzimmerRolloBlind,EG_WohnzimmerRolloMitteBlind,EG_WohnzimmerRolloRechtsBlind,EG_WohnzimmerRolloTuerBlind press_long press_short 
         peeredChannels:
       03:
         allowedSets level on off up down stop inhibit install_test
         sets       Unknown argument ?, choose one of  config down inhibit install_test level off on peer href='/fhem?detail=EG_WohnzimmerRolloMitteSchalterDown'>EG_WohnzimmerRolloMitteSchalterDown,EG_WohnzimmerRolloMitteSchalterUp,EG_WohnzimmerRolloRechtsBlindDown,EG_WohnzimmerRolloRechtsBlindUp,EG_WohnzimmerRolloTuerBlindDown,EG_WohnzimmerRolloTuerBlindUp,HMW_LC_Bl1_DR_IEQ0546600_01,HMW_LC_Bl1_DR_IEQ0546600_02 stop up  on-till on-for-timer off-till-overnight on-till-overnight intervals off-till off-for-timer blink
         peeredChannels:
       linkParams:
         actuator:
           address_start 854
           address_step 6
           channel_param channel
           channels   01 02
           count      28
           peer_param actuator
           type       link
           parameter:
             HASH(0x5225cc0)
             HASH(0x5e5bd38)
         sensor:
           address_start 18
           address_step 38
           channel_param channel
           channels   03
           count      22
           peer_param sensor
           type       link
           parameter:
             HASH(0x5902360)
             HASH(0x5901f28)
             HASH(0x578de08)
             HASH(0x58f5bf0)
             HASH(0x58f5660)
             HASH(0x58f5f08)
             HASH(0x58e4ab8)
             HASH(0x58de7e8)
             HASH(0x58dea58)
             HASH(0x5901a48)
             HASH(0x58de4e8)
             HASH(0x58f5ae0)
             HASH(0x58f6700)
             HASH(0x58f8198)
             HASH(0x58f9508)
             HASH(0x58fb828)
             HASH(0x58ffe58)
             HASH(0x58e54f8)
             HASH(0x58e3ca0)
             HASH(0x58e9840)
             HASH(0x58f6598)
             HASH(0x58b8e90)
             HASH(0x5ad68f0)
             HASH(0x5d35ad0)
             HASH(0x5b4e410)
             HASH(0x5aa2c20)
             HASH(0x5e5a650)
             HASH(0x5eb4f30)
             HASH(0x5a52870)
             HASH(0x5f9cb98)
             HASH(0x1915d98)
             HASH(0x5a87ff0)
             HASH(0x5a3b148)
             HASH(0x5ebbe50)
             HASH(0x54c2da8)
             HASH(0x5eb33d8)
             HASH(0x5224748)
             HASH(0x5a9ab78)
             HASH(0x5a29f88)
             HASH(0x61e3698)
             HASH(0x5b027c8)
             HASH(0x5a8df40)
             HASH(0x59c91c0)
             HASH(0x5b33468)
       peers:
         actuators:
         sensors:
Attributes:
   devStateIcon up down  10\d.* 0\d.* 1\d.* 2\d.* 3\d.* 4\d.* 5\d.* 6\d.* 7\d.* 8\d.* 9\d.*   \d.*
   room       EG_Wohnzimmer,HM485
   stateFormat level
   subType    blind
   userReadings LevelShWohnZimmerRolladen {(ReadingsVal ("EG_WohnzimmerRolloBlind","level",0)) * 2.5},
pct {(ReadingsVal ("EG_WohnzimmerRolloBlind","level",0))}
   webCmd     up

- Asus PN 41- mapleCul V1.24.01 - FHEMDuino - FHEM 6.2 - HUE Bridge - ESPEasy Bridge -  Milight HUB - smartVISU 3.40 -

Beta-User

Glaskugel sagt: WDT braucht ein "commandTemplate"-Attribut mit "level"...?
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

Funsailor

Ich habe das nun so gelöst...

attr wdt_uzsu_EG_WohnzimmerRolloBlind commandTemplate set $NAME level $EVENT

Jetzt erhalte ich:

Unknown argument pct, choose one of  config down:noArg inhibit:on,off install_test level:slider,0,1,100 off:noArg on:noArg peer:EG_WohnzimmerRolloMitteSchalterDown,EG_WohnzimmerRolloMitteSchalterUp,EG_WohnzimmerRolloRechtsBlindDown,EG_WohnzimmerRolloRechtsBlindUp,EG_WohnzimmerRolloTuerBlindDown,EG_WohnzimmerRolloTuerBlindUp,HMW_LC_Bl1_DR_IEQ0546600_01,HMW_LC_Bl1_DR_IEQ0546600_02 stop:noArg up:noArg  on-for-timer on-till-overnight off-for-timer blink on-till off-till-overnight intervals off-till

::)
Ich habe auch nur das Beispiel mit
"attr Buero_Heizung_Control1 commandTemplate set $NAME desired-temp $EVENT" gefunden, keine Ahnung wie die Syntax da aussehen muss
- Asus PN 41- mapleCul V1.24.01 - FHEMDuino - FHEM 6.2 - HUE Bridge - ESPEasy Bridge -  Milight HUB - smartVISU 3.40 -

Beta-User

An sich paßt die Syntax aus WDT-Sicht (an der commandref bastle ich grade, damit das etwas besser erklärt wird).

Aber warum aus dem "level" angeblich ein "pct" wird, kann ich mir noch nicht recht erklären. Ist da ein eventMap gesetzt?

Grundsätzlich müßte über den WDT alles gehen, was auch über das FHEM-Kommando-Feld geht. Klappt es denn da?
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: MiLight@ESP-GW, BT@OpenMQTTGw | MySensors: seriell, v.a. 2.3.1@RS485 | ZWave | ZigBee@deCONZ | SIGNALduino | MapleCUN | RHASSPY
svn: u.a MySensors, Weekday-&RandomTimer, Twilight,  div. attrTemplate-files

Funsailor

#4
Asche auf mein Haupt, ich hatte vorhin zum test das eventMap gesetzt .. Sorry..

Jetzt geht es..

Danke schön...
- Asus PN 41- mapleCul V1.24.01 - FHEMDuino - FHEM 6.2 - HUE Bridge - ESPEasy Bridge -  Milight HUB - smartVISU 3.40 -