[Gelöst]: ASC MQTT2_DEVICE und verdrehte Position

Begonnen von fettgu, 16 Dezember 2024, 22:55:05

Vorheriges Thema - Nächstes Thema

fettgu

Guten Abend,

ich habe meine Rolläden nun per MQTT2 eingebunden und "seitdem" fährt ASC immer auf die gleiche Position (obwohl es auf oder zu gehen sollte).
Ob es an der Umstellung auf MQTT2 liegt, weiß ich natürlich nicht.

Hier ein Auszug aus dem debug log
2024.12.16 22:34:25 3: MQTT2_DEVICE set du.Roll.eg.Gast_rechts dim 100
ASC_DEBUG!!! 2024.12.16 22:34:25 - FnSetCmdFn: du.Roll.eg.Gast_rechts - Rollo wird gefahren, aktuelle Position: 100, Zielposition: 0. Grund der Fahrt: night close

Ist ein schönes Beispiel. FHEM weiß es soll auf 0 fahren "Zielposition" und macht es dann doch anders.

Und hier das entsprechende Device

defmod du.Roll.eg.Gast_rechts MQTT2_DEVICE
attr du.Roll.eg.Gast_rechts userattr ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforeDayOpen ASC_BlockingTime_beforeNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_CommandTemplate ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_BetweenTheTime ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace,awning,EG_window ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate IODev mqttAlias:textField-long mqttDefaults:textField-long mqttDisable:both,incoming,outgoing mqttForward:all,none mqttPublish:textField-long mqttSubscribe:textField-long
attr du.Roll.eg.Gast_rechts ASC 1
attr du.Roll.eg.Gast_rechts ASC_AutoAstroModeEvening REAL
attr du.Roll.eg.Gast_rechts ASC_AutoAstroModeMorning CIVIL
attr du.Roll.eg.Gast_rechts ASC_BrightnessSensor doif.haus.luminance.max:luminance
attr du.Roll.eg.Gast_rechts ASC_Closed_Pos 0
attr du.Roll.eg.Gast_rechts ASC_Down time
attr du.Roll.eg.Gast_rechts ASC_Drive_Delay 900
attr du.Roll.eg.Gast_rechts ASC_Drive_DelayStart 60
attr du.Roll.eg.Gast_rechts ASC_GuestRoom on
attr du.Roll.eg.Gast_rechts ASC_Mode_Down absent
attr du.Roll.eg.Gast_rechts ASC_Mode_Up absent
attr du.Roll.eg.Gast_rechts ASC_Open_Pos 100
attr du.Roll.eg.Gast_rechts ASC_Partymode on
attr du.Roll.eg.Gast_rechts ASC_Pos_Reading position
attr du.Roll.eg.Gast_rechts ASC_RainProtection off
attr du.Roll.eg.Gast_rechts ASC_Roommate_Device rr_Gast
attr du.Roll.eg.Gast_rechts ASC_Roommate_Reading state
attr du.Roll.eg.Gast_rechts ASC_Shading_InOutAzimuth 290:310
attr du.Roll.eg.Gast_rechts ASC_Shading_MinMax_Elevation 15.0:100.0
attr du.Roll.eg.Gast_rechts ASC_Shading_Min_OutsideTemperature 20
attr du.Roll.eg.Gast_rechts ASC_Shading_Mode off
attr du.Roll.eg.Gast_rechts ASC_Shading_Pos 30
attr du.Roll.eg.Gast_rechts ASC_Shading_StateChange_SunnyCloudy 650:300
attr du.Roll.eg.Gast_rechts ASC_Shading_WaitingPeriod 300
attr du.Roll.eg.Gast_rechts ASC_TempSensor ha.hausstatus:gartentemperatur
attr du.Roll.eg.Gast_rechts ASC_Time_Down_Early 22:30
attr du.Roll.eg.Gast_rechts ASC_Time_Down_Late 23:00
attr du.Roll.eg.Gast_rechts ASC_Time_Up_Early 06:15
attr du.Roll.eg.Gast_rechts ASC_Time_Up_Late 07:00
attr du.Roll.eg.Gast_rechts ASC_Time_Up_WE_Holiday 07:30
attr du.Roll.eg.Gast_rechts ASC_Up astro
attr du.Roll.eg.Gast_rechts IODev MQTT2
attr du.Roll.eg.Gast_rechts autocreate 1
attr du.Roll.eg.Gast_rechts cmdIcon stop:fts_shutter_manual
attr du.Roll.eg.Gast_rechts devStateIcon { FHEM::attrT_ZWave_Utils::devStateIcon_shutter($name,"FGRM222") }
attr du.Roll.eg.Gast_rechts event-on-change-reading .*
attr du.Roll.eg.Gast_rechts eventMap { dev=>{'off'=>'dim 0'}, usr=>{'on'=>'dim 100','off'=>'dim 0'} }
attr du.Roll.eg.Gast_rechts group Rollladen
attr du.Roll.eg.Gast_rechts icon fts_shutter_updown
attr du.Roll.eg.Gast_rechts readingList fhem/du.Roll.eg.Gast_rechts/position.* position
attr du.Roll.eg.Gast_rechts room System->Hass
attr du.Roll.eg.Gast_rechts setList dim:slider,0,1,100 fhem/$NAME/cmd_position $EVTPART1
attr du.Roll.eg.Gast_rechts webCmd dim
attr du.Roll.eg.Gast_rechts widgetOverride dim:colorpicker,BRI,0,1,100

setstate du.Roll.eg.Gast_rechts dim
setstate du.Roll.eg.Gast_rechts 2024-11-28 21:50:45 .ASC_AttrUpdateChanges_v0.99.10 1
setstate du.Roll.eg.Gast_rechts 2024-11-26 23:03:35 ASC_Enable on
setstate du.Roll.eg.Gast_rechts 2024-11-30 08:50:24 ASC_ShadingMessage <html> INFO:  shading was deactivated in the device </html>
setstate du.Roll.eg.Gast_rechts 2024-12-16 07:48:56 ASC_ShuttersLastDrive manual
setstate du.Roll.eg.Gast_rechts 2024-12-16 22:30:01 ASC_Time_DriveDown 17.12.2024 - 22:30
setstate du.Roll.eg.Gast_rechts 2024-12-16 22:30:01 ASC_Time_DriveUp 17.12.2024 - 07:00
setstate du.Roll.eg.Gast_rechts 2024-12-15 21:52:41 IODev MQTT2
setstate du.Roll.eg.Gast_rechts 2024-12-15 22:37:48 associatedWith Haus.Rolladensteuerung
setstate du.Roll.eg.Gast_rechts 2024-12-16 07:48:56 position 100
setstate du.Roll.eg.Gast_rechts 2024-12-16 22:34:25 state dim

Wass ich schön ausprobiert habe:
Umstellung des Attributs ASC von 1 auf 2 scheint keine Wirkung zu haben.
ACS_Open_Pos und Close_Pos auch nicht.

Ich würde mich über Ideen freuen.

Guido Fett

loetmeister

Hallo,

ich würde mal zwei Sachen ändern / prüfen:
ASC_Pos_Reading position
Passt nicht zum set Befehl. Müsste es "dim" sein?

ASC sollte 2 = "Homematic Style - Bsp.: Rollo oben 100, Rollo unten 0 und der Befehl zum prozentualen Fahren ist pct sein?

Dann ein "scan for shutters" im ASC device machen und mit "wiggle" testen...

Gruß

fettgu

Vielen Dank,

ich habe mir das mal angeschaut:

ASC_Pos_Reading position: das kommt von MQTT zurück und passt.

Der dim Befehl funktioniert auch - und der bleibt bei ASC=2 auch.

Was überhaupt nicht passt, sind die Positionen, in der fährt.

Bei wiggle fährt er, wenn reading position = 100 ist auf 5.

Ich habe den Eindruck er ignoriert das Reading position und mir ist überhaupt nicht klar, wie sich ASC bei night close verhält (ich hätte selbst mal geschaut, aber die Programmstruktur erschliesst sich mir nicht völlig).

Viele Grüße
Guido Fett

Beta-User

Zitat von: fettgu am 18 Dezember 2024, 21:18:39Der dim Befehl funktioniert auch - und der bleibt bei ASC=2 auch.
Wie bereits loetmeister angemerkt hat: Das MUSS 2 sein, also stell das um. (Zu dem log-Eintrag: Wenn der Rollladen "geschlossener" ist als die Zielposition (100 ist (für ASC=1) weiter unten wie 0), führt das Ding tendenziell gar nicht...).

Und dann liefere bitte ein list von dem Device, nachdem die shutters neu eingelesen waren und danch eine geplante Fahrt "ausgefallen" ist.
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

fettgu

Vielen Dank,

habe das Device umgestellt. Siehe unten. Habe auch scanForShutters und renewAllTimer gemacht.

Was mir aufgefallen ist, das Debug Log sieht ok aus. Das Reading ASC_ShuttersLastDrive wurde auch nicht aktualisiert. Timestamp ist vom morgen. Ist nicht dahin gefahren, wo er sollte.

2024.12.19 22:34:38 3: MQTT2_DEVICE set du.Roll.eg.Gast_rechts dim 100
ASC_DEBUG!!! 2024.12.19 22:34:38 - FnSetCmdFn: du.Roll.eg.Gast_rechts - Rollo wird gefahren, aktuelle Position: 99, Zielposition: 0. Grund der Fahrt: night close



defmod du.Roll.eg.Gast_rechts MQTT2_DEVICE
attr du.Roll.eg.Gast_rechts userattr ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforeDayOpen ASC_BlockingTime_beforeNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_CommandTemplate ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_BetweenTheTime ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace,awning,EG_window ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate IODev mqttAlias:textField-long mqttDefaults:textField-long mqttDisable:both,incoming,outgoing mqttForward:all,none mqttPublish:textField-long mqttSubscribe:textField-long
attr du.Roll.eg.Gast_rechts ASC 2
attr du.Roll.eg.Gast_rechts ASC_AutoAstroModeEvening REAL
attr du.Roll.eg.Gast_rechts ASC_AutoAstroModeMorning CIVIL
attr du.Roll.eg.Gast_rechts ASC_BrightnessSensor doif.haus.luminance.max:luminance
attr du.Roll.eg.Gast_rechts ASC_Closed_Pos 0
attr du.Roll.eg.Gast_rechts ASC_Down time
attr du.Roll.eg.Gast_rechts ASC_Drive_Delay 900
attr du.Roll.eg.Gast_rechts ASC_Drive_DelayStart 60
attr du.Roll.eg.Gast_rechts ASC_GuestRoom on
attr du.Roll.eg.Gast_rechts ASC_Mode_Down absent
attr du.Roll.eg.Gast_rechts ASC_Mode_Up absent
attr du.Roll.eg.Gast_rechts ASC_Open_Pos 100
attr du.Roll.eg.Gast_rechts ASC_Partymode on
attr du.Roll.eg.Gast_rechts ASC_Pos_Reading position
attr du.Roll.eg.Gast_rechts ASC_RainProtection off
attr du.Roll.eg.Gast_rechts ASC_Roommate_Device rr_Gast
attr du.Roll.eg.Gast_rechts ASC_Roommate_Reading state
attr du.Roll.eg.Gast_rechts ASC_Shading_InOutAzimuth 290:310
attr du.Roll.eg.Gast_rechts ASC_Shading_MinMax_Elevation 15.0:100.0
attr du.Roll.eg.Gast_rechts ASC_Shading_Min_OutsideTemperature 20
attr du.Roll.eg.Gast_rechts ASC_Shading_Mode off
attr du.Roll.eg.Gast_rechts ASC_Shading_Pos 30
attr du.Roll.eg.Gast_rechts ASC_Shading_StateChange_SunnyCloudy 650:300
attr du.Roll.eg.Gast_rechts ASC_Shading_WaitingPeriod 300
attr du.Roll.eg.Gast_rechts ASC_TempSensor ha.hausstatus:gartentemperatur
attr du.Roll.eg.Gast_rechts ASC_Time_Down_Early 22:30
attr du.Roll.eg.Gast_rechts ASC_Time_Down_Late 23:00
attr du.Roll.eg.Gast_rechts ASC_Time_Up_Early 06:15
attr du.Roll.eg.Gast_rechts ASC_Time_Up_Late 07:00
attr du.Roll.eg.Gast_rechts ASC_Time_Up_WE_Holiday 07:30
attr du.Roll.eg.Gast_rechts ASC_Up astro
attr du.Roll.eg.Gast_rechts IODev MQTT2
attr du.Roll.eg.Gast_rechts autocreate 1
attr du.Roll.eg.Gast_rechts cmdIcon stop:fts_shutter_manual
attr du.Roll.eg.Gast_rechts devStateIcon { FHEM::attrT_ZWave_Utils::devStateIcon_shutter($name,"FGRM222") }
attr du.Roll.eg.Gast_rechts event-on-change-reading .*
attr du.Roll.eg.Gast_rechts eventMap { dev=>{'off'=>'dim 0'}, usr=>{'on'=>'dim 100','off'=>'dim 0'} }
attr du.Roll.eg.Gast_rechts group Rollladen
attr du.Roll.eg.Gast_rechts icon fts_shutter_updown
attr du.Roll.eg.Gast_rechts readingList fhem/du.Roll.eg.Gast_rechts/position.* position
attr du.Roll.eg.Gast_rechts room System->Hass
attr du.Roll.eg.Gast_rechts setList dim:slider,0,1,100 fhem/$NAME/cmd_position $EVTPART1
attr du.Roll.eg.Gast_rechts webCmd dim
attr du.Roll.eg.Gast_rechts widgetOverride dim:colorpicker,BRI,0,1,100

setstate du.Roll.eg.Gast_rechts dim
setstate du.Roll.eg.Gast_rechts 2024-11-28 21:50:45 .ASC_AttrUpdateChanges_v0.99.10 1
setstate du.Roll.eg.Gast_rechts 2024-11-26 23:03:35 ASC_Enable on
setstate du.Roll.eg.Gast_rechts 2024-11-30 08:50:24 ASC_ShadingMessage <html> INFO:  shading was deactivated in the device </html>
setstate du.Roll.eg.Gast_rechts 2024-12-19 07:50:40 ASC_ShuttersLastDrive manual
setstate du.Roll.eg.Gast_rechts 2024-12-19 22:30:01 ASC_Time_DriveDown 20.12.2024 - 22:30
setstate du.Roll.eg.Gast_rechts 2024-12-19 22:30:01 ASC_Time_DriveUp 20.12.2024 - 07:00
setstate du.Roll.eg.Gast_rechts 2024-12-18 22:24:40 IODev MQTT2
setstate du.Roll.eg.Gast_rechts 2024-12-19 21:18:44 associatedWith Haus.Rolladensteuerung
setstate du.Roll.eg.Gast_rechts 2024-12-19 07:50:40 position 99
setstate du.Roll.eg.Gast_rechts 2024-12-19 22:34:38 state dim


Danke für die Ideen bis hierhin.

Guido Fett

Beta-User

Zitat von: fettgu am 19 Dezember 2024, 22:43:38Debug Log sieht ok aus
Jein...

Die debug-Angabe ist an sich ok, aber der Fahrbefehl ist falsch (Achtung: da das kein msec-Log ist, werden alle Events innerhalb einer Sekunde falsch herum ins log geschrieben!), da ist also tatsächlich was buggy in ASC, was aber noch keinem aufgefallen ist. Vermutlich, weil bisher keiner einen ASC-Typ-2 als MQTT2_DEVICE hatte und Abweichungen zwischen pos-Reading und Befehls-Reading.

Könnte man ggf. mal fixen, ich würde aber erst mal bei ein paar allgemeinen Anmerkungen starten, die dir mAn. sowieso auf die Füße fallen werden...
Grundsätzlich ist MQTT eine Abstraktionsschicht. Du kannst natürlich weiter so tun, als wäre das für FHEM ein ZWave-Device, ich würde aber empfehlen, das dann konsequent durchzuziehen => eventMap weg (bzw. "anders"), devStateIcon anpassen, "pct" als setter und Reading-Name.

Trotzdem bleibt das natürlich am Ende ZWave-Hardware, und da bedeutet "dim 100" eben "schalte das Ding mit dem letzten multilevel-Wert ein" - was bei Rollladenaktoren nun mal schlicht keinen Sinn macht. Du mußt also igendwo (mAn. auf der Seite, auf der die "100" verarbeitet werden sollen!) sicherstellen, dass aus 100 99 werden (und umgekehrt).
Da du das vermutlich im Moment nicht so schnell hinbekommen wirst, würde ich empfehlen, die "99" manuell auf der FHEM- (ASC-) Seite zu konfigurieren und sowohl den setter wie das Reading auf "pct" zu ändern. Bekommst du das hin?
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

fettgu

Vielen Dank für die Vorschläge... das scheint zu funktionieren. Musste FHEM aber auch neustarten.

Hier das umgebaute Device.

defmod du.Roll.eg.Gast_rechts MQTT2_DEVICE
attr du.Roll.eg.Gast_rechts userattr ASC_Adv:on,off ASC_Antifreeze:off,soft,hard,am,pm ASC_Antifreeze_Pos:5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100 ASC_AutoAstroModeEvening:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeEveningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_AutoAstroModeMorning:REAL,CIVIL,NAUTIC,ASTRONOMIC,HORIZON ASC_AutoAstroModeMorningHorizon:-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9 ASC_BlockingTime_afterManual ASC_BlockingTime_beforeDayOpen ASC_BlockingTime_beforeNightClose ASC_BrightnessSensor ASC_Closed_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_CommandTemplate ASC_Down:time,astro,brightness,roommate ASC_DriveUpMaxDuration ASC_Drive_Delay ASC_Drive_DelayStart ASC_ExternalTrigger ASC_GuestRoom:on,off ASC_LockOut:soft,hard,off ASC_LockOut_Cmd:inhibit,blocked,protection ASC_Mode_Down:absent,always,off,home ASC_Mode_Up:absent,always,off,home ASC_Open_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_Partymode:on,off ASC_Pos_Reading ASC_PrivacyDownValue_beforeNightClose ASC_PrivacyDown_Pos ASC_PrivacyUpValue_beforeDayOpen ASC_PrivacyUp_Pos ASC_RainProtection:on,off ASC_Roommate_Device ASC_Roommate_Reading ASC_Self_Defense_AbsentDelay ASC_Self_Defense_Mode:absent,gone,off ASC_Shading_BetweenTheTime ASC_Shading_InOutAzimuth ASC_Shading_MinMax_Elevation ASC_Shading_Min_OutsideTemperature ASC_Shading_Mode:absent,always,off,home ASC_Shading_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Shading_StateChange_SunnyCloudy ASC_Shading_WaitingPeriod ASC_Shutter_IdleDetection ASC_ShuttersPlace:window,terrace,awning,EG_window ASC_SlatPosCmd_SlatDevice ASC_Sleep_Pos:0,10,20,30,40,50,60,70,80,90,100 ASC_TempSensor ASC_Time_Down_Early ASC_Time_Down_Late ASC_Time_Up_Early ASC_Time_Up_Late ASC_Time_Up_WE_Holiday ASC_Up:time,astro,brightness,roommate ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100 ASC_Ventilate_Window_Open:on,off ASC_WiggleValue ASC_WindParameters ASC_WindProtection:on,off ASC_WindowRec ASC_WindowRec_PosAfterDayClosed:open,lastManual ASC_WindowRec_subType:twostate,threestate IODev mqttAlias:textField-long mqttDefaults:textField-long mqttDisable:both,incoming,outgoing mqttForward:all,none mqttPublish:textField-long mqttSubscribe:textField-long
attr du.Roll.eg.Gast_rechts ASC 2
attr du.Roll.eg.Gast_rechts ASC_AutoAstroModeEvening REAL
attr du.Roll.eg.Gast_rechts ASC_AutoAstroModeMorning CIVIL
attr du.Roll.eg.Gast_rechts ASC_BrightnessSensor doif.haus.luminance.max:luminance
attr du.Roll.eg.Gast_rechts ASC_Closed_Pos 0
attr du.Roll.eg.Gast_rechts ASC_Down time
attr du.Roll.eg.Gast_rechts ASC_Drive_Delay 900
attr du.Roll.eg.Gast_rechts ASC_Drive_DelayStart 60
attr du.Roll.eg.Gast_rechts ASC_GuestRoom on
attr du.Roll.eg.Gast_rechts ASC_Mode_Down absent
attr du.Roll.eg.Gast_rechts ASC_Mode_Up absent
attr du.Roll.eg.Gast_rechts ASC_Open_Pos 100
attr du.Roll.eg.Gast_rechts ASC_Partymode on
attr du.Roll.eg.Gast_rechts ASC_Pos_Reading pct
attr du.Roll.eg.Gast_rechts ASC_RainProtection off
attr du.Roll.eg.Gast_rechts ASC_Roommate_Device rr_Gast
attr du.Roll.eg.Gast_rechts ASC_Roommate_Reading state
attr du.Roll.eg.Gast_rechts ASC_Shading_InOutAzimuth 290:310
attr du.Roll.eg.Gast_rechts ASC_Shading_MinMax_Elevation 15.0:100.0
attr du.Roll.eg.Gast_rechts ASC_Shading_Min_OutsideTemperature 20
attr du.Roll.eg.Gast_rechts ASC_Shading_Mode off
attr du.Roll.eg.Gast_rechts ASC_Shading_Pos 30
attr du.Roll.eg.Gast_rechts ASC_Shading_StateChange_SunnyCloudy 650:300
attr du.Roll.eg.Gast_rechts ASC_Shading_WaitingPeriod 300
attr du.Roll.eg.Gast_rechts ASC_TempSensor ha.hausstatus:gartentemperatur
attr du.Roll.eg.Gast_rechts ASC_Time_Down_Early 22:30
attr du.Roll.eg.Gast_rechts ASC_Time_Down_Late 23:00
attr du.Roll.eg.Gast_rechts ASC_Time_Up_Early 06:15
attr du.Roll.eg.Gast_rechts ASC_Time_Up_Late 07:00
attr du.Roll.eg.Gast_rechts ASC_Time_Up_WE_Holiday 07:30
attr du.Roll.eg.Gast_rechts ASC_Up astro
attr du.Roll.eg.Gast_rechts IODev MQTT2
attr du.Roll.eg.Gast_rechts autocreate 1
attr du.Roll.eg.Gast_rechts cmdIcon stop:fts_shutter_manual
attr du.Roll.eg.Gast_rechts event-on-change-reading .*
attr du.Roll.eg.Gast_rechts group Rollladen
attr du.Roll.eg.Gast_rechts icon fts_shutter_updown
attr du.Roll.eg.Gast_rechts readingList fhem/du.Roll.eg.Gast_rechts/position.* pct
attr du.Roll.eg.Gast_rechts room System->Hass
attr du.Roll.eg.Gast_rechts setList pct:slider,0,1,100 fhem/$NAME/cmd_position $EVTPART1
attr du.Roll.eg.Gast_rechts userReadings pct
attr du.Roll.eg.Gast_rechts webCmd pct
attr du.Roll.eg.Gast_rechts widgetOverride pct:colorpicker,BRI,0,1,100

setstate du.Roll.eg.Gast_rechts pct
setstate du.Roll.eg.Gast_rechts 2024-11-28 21:50:45 .ASC_AttrUpdateChanges_v0.99.10 1
setstate du.Roll.eg.Gast_rechts 2024-11-26 23:03:35 ASC_Enable on
setstate du.Roll.eg.Gast_rechts 2024-11-30 08:50:24 ASC_ShadingMessage <html> INFO:  shading was deactivated in the device </html>
setstate du.Roll.eg.Gast_rechts 2024-12-20 22:34:21 ASC_ShuttersLastDrive night close
setstate du.Roll.eg.Gast_rechts 2024-12-20 22:30:01 ASC_Time_DriveDown 21.12.2024 - 22:30
setstate du.Roll.eg.Gast_rechts 2024-12-20 22:30:01 ASC_Time_DriveUp 21.12.2024 - 07:00
setstate du.Roll.eg.Gast_rechts 2024-12-20 21:01:28 IODev MQTT2
setstate du.Roll.eg.Gast_rechts 2024-12-20 21:02:24 associatedWith Haus.Rolladensteuerung
setstate du.Roll.eg.Gast_rechts 2024-12-20 22:34:21 pct 0
setstate du.Roll.eg.Gast_rechts 2024-12-20 22:33:31 state pct


Beta-User

Fragen und Anmerkungen:
- Welchen Zweck hat das userReading-Attribut?
- Dir ist klar, dass man das widget auch direkt in die readingList mit aufnehmen kann?

Und OT:
Was ist das für eine Z-Wave-Integration, mit der du jetzt arbeitest? Und welche Vorteile siehst du gg. der direkt in FHEM?
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

fettgu

Vielen Dank

Fragen und Anmerkungen:
- Welchen Zweck hat das userReading-Attribut?
=> weiß ich nicht. Ich hatte erst den Eindruck, es wird kein Reading erzeugt...
- Dir ist klar, dass man das widget auch direkt in die readingList mit aufnehmen kann?
=> nein

Und OT:
Was ist das für eine Z-Wave-Integration, mit der du jetzt arbeitest? Und welche Vorteile siehst du gg. der direkt in FHEM?
=> ich habe seit einiger Zeit mit homeassistant rumgespielt und die Z-wave devices umgehangen.... (also aus FHEM raus in HA rein)

Beta-User

Zitat von: fettgu am 21 Dezember 2024, 12:14:41=> weiß ich nicht. Ich hatte erst den Eindruck, es wird kein Reading erzeugt...
Jedenfalls wird durch diesen Attributinhalt auch nichts erzeugt ;D ... (Lösche das, vermutlich hätte ein refresh der Seite ausgereicht, um das Reading zu zeigen, sobald über MQTT Daten gekommen waren.)

Zitat von: fettgu am 21 Dezember 2024, 12:14:41=> nein
feel free to do it. Ist aber kein Muss.

Zitat von: fettgu am 21 Dezember 2024, 12:14:41=> ich habe seit einiger Zeit mit homeassistant rumgespielt und die Z-wave devices umgehangen.... (also aus FHEM raus in HA rein)
Dieser ausweichenden Antwort entnehme ich, dass du bzgl. Z-Wave bisher keine wirklichen Vorteile zugunsten HA erkennen konntest...?
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

fettgu

Danke, ich nehme das attribut Userreadings raus.

Dieser ausweichenden Antwort entnehme ich, dass du bzgl. Z-Wave bisher keine wirklichen Vorteile zugunsten HA erkennen konntest...?
Stimmt, ich sehe keine Vorteile meine Z-Wave Rolladen über Homeassistant zu steuern (hatte aber auch keine erwartet). Es gibt die Möglichkeit für z-wave shellies firmware updates zu machen, aber das trifft nicht auf die Rolladen-devices zu (ist ja Fibaro).

Viele Grüße
Guido Fett