ASC mit Omnio OMNIO REGJ12/04M ReadingsProxy

Begonnen von Damu, 14 September 2025, 11:32:43

Vorheriges Thema - Nächstes Thema

Damu

Hallo

Wechsle von Homematic auf EnOcean.
Nun Tausche ich die Homematic Aktoren durch Omnio Aktoren.
Die einzelnen Kanäle werden über ReadingsProxy "angesteuert".

Nun möchte ich das ASC_Closed_Pos auf 40 (normal 100) beschränken.
define JA_1_4 readingsProxy JA1:position04
attr JA_1_4 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
attr JA_1_4 ASC 1
attr JA_1_4 ASC_Antifreeze off
attr JA_1_4 ASC_AutoAstroModeEvening HORIZON
attr JA_1_4 ASC_AutoAstroModeEveningHorizon 2
attr JA_1_4 ASC_AutoAstroModeMorning HORIZON
attr JA_1_4 ASC_AutoAstroModeMorningHorizon -4
attr JA_1_4 ASC_Closed_Pos 40
attr JA_1_4 ASC_DriveUpMaxDuration 42
attr JA_1_4 ASC_Drive_Delay 5
attr JA_1_4 ASC_Drive_DelayStart 15
attr JA_1_4 ASC_Mode_Down off
attr JA_1_4 ASC_Mode_Up off
attr JA_1_4 ASC_Open_Pos 0
attr JA_1_4 ASC_Partymode off
attr JA_1_4 ASC_Pos_Reading position
attr JA_1_4 ASC_RainProtection off
attr JA_1_4 ASC_Shading_Mode off
attr JA_1_4 ASC_Time_Down_Early 17:00
attr JA_1_4 ASC_Time_Down_Late 22:00
attr JA_1_4 ASC_Time_Up_Early 05:00
attr JA_1_4 ASC_Time_Up_Late 08:00
attr JA_1_4 ASC_Time_Up_WE_Holiday 05:45
attr JA_1_4 ASC_Up astro
attr JA_1_4 ASC_WindProtection off
attr JA_1_4 alias Store_WohnungParkplatz
attr JA_1_4 cmdIcon opens:fts_shutter_up stop:fts_shutter_shadding_stop closes:fts_shutter_down
attr JA_1_4 devStateIcon 0:fts_shutter_10 100:fts_shutter_100
attr JA_1_4 icon fts_shutter
attr JA_1_4 room ASC,Rollladen
attr JA_1_4 setFn {$CMD eq "position" ? "$CMD $ARGS 100 4" : "$CMD 4"}\

attr JA_1_4 setList opens:noArg stop:noArg closes:noArg position:slider,0,1,100
attr JA_1_4 userReadings position { ReadingsVal("JA1","position04",0);;;;;;;; }
attr JA_1_4 valueFn ""
attr JA_1_4 webCmd opens:stop:closes:position
#   DEF        JA1:position04
#   DEVICE     JA1
#   FUUID      684ee0f9-f33f-d169-3bdd-235714db289dbd68
#   NAME       JA_1_4
#   NOTIFYDEV  JA1,global
#   NR         561
#   NTFY_ORDER 50-JA_1_4
#   READING    position04
#   STATE      100
#   TYPE       readingsProxy
#   eventCount 18
#   CONTENT:
#     JA1        1
#   READINGS:
#     2025-06-15 17:27:01   ASC_Enable      on
#     2025-08-19 09:53:47   ASC_ShadingMessage <html> INFO:  shading was deactivated in the device </html>
#     2025-08-19 09:55:51   ASC_ShuttersLastDrive manual
#     2025-09-14 11:17:09   ASC_Time_DriveDown 14.09.2025 - 19:27
#     2025-09-14 11:17:09   ASC_Time_DriveUp 15.09.2025 - 06:46
#     2025-09-14 11:17:06   associatedWith  ASC
#     2025-09-14 11:20:21   lastCmd         position
#     2025-09-14 11:20:21   position        100
#     2025-09-14 11:19:50   state           100
#
setstate JA_1_4 100
setstate JA_1_4 2025-08-01 15:05:57 .ASC_AttrUpdateChanges_v1.0.1 1
setstate JA_1_4 2025-06-15 17:27:01 ASC_Enable on
setstate JA_1_4 2025-08-19 09:53:47 ASC_ShadingMessage <html> INFO:  shading was deactivated in the device </html>
setstate JA_1_4 2025-08-19 09:55:51 ASC_ShuttersLastDrive manual
setstate JA_1_4 2025-09-14 11:17:09 ASC_Time_DriveDown 14.09.2025 - 19:27
setstate JA_1_4 2025-09-14 11:17:09 ASC_Time_DriveUp 15.09.2025 - 06:46
setstate JA_1_4 2025-09-14 11:17:06 associatedWith ASC
setstate JA_1_4 2025-09-14 11:20:21 lastCmd position
setstate JA_1_4 2025-09-14 11:20:21 position 100
setstate JA_1_4 2025-09-14 11:19:50 state 100


Mach ich was falsch oder geht das mit ReadingsProxy nicht?