Hallo Zusammen,
ich habe einen neuen Shelly Plus 2PM eingebaut und steuere damit ein Rollo. Zur Steuerung nutze ich das Modul ASC von Cooltux. Bei meinen anderen Rollos habe ich Shelly 2.5 eingebaut, angebunden über MQTT und die Steuerung klappt einwandfrei.
Das Rollo mit dem neuen Shelly will nicht runterfahren, es ist auch keine Eintrag im Logfile zu sehen, obwohl ich die Einstellungen wie bei den "alten" Shellys vorgenommen habe.
Ich glaube, dass ich etwas falsch eingestellt habe, ich finde das Problem einfach nicht...
Hier ein List des Device:
Internals:
CID shellyplus2pm_c049ef8d6320
DEF shellyplus2pm_c049ef8d6320
FUUID 64bbcc46-f33f-3896-dae7-d6cec797b27bfd69
IODev pietMQTT2
LASTInputDev pietMQTT2
MSGCNT 1770
NAME WZ_Rollo_Hinten_Rechts
NR 350
STATE true
pct
TYPE MQTT2_DEVICE
pietMQTT2_CONN pietMQTT2_192.168.178.218_65364
pietMQTT2_MSGCNT 1770
pietMQTT2_TIME 2023-07-30 16:18:59
JSONMAP:
status_current_pos pct
status_state state
status_temperature_tC temperature
READINGS:
2023-07-22 17:06:06 ASC_Enable on
2023-07-30 12:28:16 ASC_Time_DriveDown 30.07.2023 - 22:55
2023-07-30 12:28:16 ASC_Time_DriveUp 31.07.2023 - 07:55
2023-07-29 11:52:21 IODev pietMQTT2
2023-07-29 11:52:25 associatedWith pietASC
2023-07-22 15:13:50 attrTemplateVersion 20220623
2023-07-29 11:52:30 online true
2023-07-30 16:18:59 rpc_dst shellyplus2pm-c049ef8d6320/events
2023-07-30 16:18:59 rpc_method NotifyStatus
2023-07-30 14:52:03 rpc_params_cloud_connected true
2023-07-30 16:18:59 rpc_params_cover_0_aenergy_by_minute_1 0.000
2023-07-30 16:18:59 rpc_params_cover_0_aenergy_by_minute_2 0.000
2023-07-30 16:18:59 rpc_params_cover_0_aenergy_by_minute_3 0.000
2023-07-30 16:18:59 rpc_params_cover_0_aenergy_minute_ts 1690726739
2023-07-30 16:18:59 rpc_params_cover_0_aenergy_total 9.841
2023-07-30 07:55:03 rpc_params_cover_0_apower 0
2023-07-30 07:55:03 rpc_params_cover_0_current 0
2023-07-30 07:55:03 rpc_params_cover_0_current_pos 100
2023-07-30 16:18:59 rpc_params_cover_0_id 0
2023-07-29 12:02:50 rpc_params_cover_0_move_started_at 1690624970.83
2023-07-29 12:02:50 rpc_params_cover_0_move_timeout 60.00
2023-07-30 07:55:03 rpc_params_cover_0_pf 0
2023-07-27 10:15:04 rpc_params_cover_0_pos_control true
2023-07-30 07:55:03 rpc_params_cover_0_source limit_switch
2023-07-30 07:55:03 rpc_params_cover_0_state open
2023-07-29 12:02:50 rpc_params_cover_0_target_pos 100
2023-07-29 11:52:30 rpc_params_mqtt_connected true
2023-07-30 14:31:57 rpc_params_sys_available_updates_beta_version 1.0.0-beta6
2023-07-30 16:18:59 rpc_params_ts 1690726740.02
2023-07-30 16:18:59 rpc_src shellyplus2pm-c049ef8d6320
2023-07-30 07:55:01 state set_pct
Attributes:
ASC 2
ASC_Down time
ASC_Pos_Reading pct
ASC_Time_Down_Early 22:55
ASC_Time_Up_Early 07:55
ASC_Up time
alexaName RolloRechts
cmdIcon open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
comment Shelly Plus 2 PM in Roller-Mode. 100=opened / 0=closed
devStateIcon opening:fts_shutter_up@red closing:fts_shutter_down@red true:10px-kreis-gruen false:10px-kreis-rot 0:fts_shutter_100 100:fts_shutter_10 9\d:fts_shutter_10 8\d:fts_shutter_20 7\d:fts_shutter_30 6\d:fts_shutter_40 5\d:fts_shutter_50 4\d:fts_shutter_60 3\d:fts_shutter_70 2\d:fts_shutter_80 1\d:fts_shutter_90 0\d:fts_shutter_100 set_.*:fts_shutter_updown
devicetopic shellyplus2pm-c049ef8d6320
event-on-change-reading ASC_.*,pct
eventMap open:opens close:closes
genericDeviceType blind
icon fts_shutter
jsonMap status_state:state status_current_pos:pct status_temperature_tC:temperature
model shellyPlus_2pm_roller_invert_0
readingList $DEVICETOPIC/online:.* online
$DEVICETOPIC/status/mqtt:.* { json2nameValue($EVENT, 'mqtt_', $JSONMAP) }
$DEVICETOPIC/status/sys:.* { json2nameValue($EVENT, 'sys_', $JSONMAP) }
$DEVICETOPIC/status/cover_0:.* { json2nameValue($EVENT, 'status_', $JSONMAP) }
fhem2shelly/rpc:.* {}
shellyplus2pm_c049ef8d6320:shellyplus2pm-c049ef8d6320/events/rpc:.* { json2nameValue($EVENT, 'rpc_', $JSONMAP) }
room MQTT2_DEVICE,SIRI,Wohnzimmer
setList open:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.Open","params": {"id":0}}
close:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.Close","params": {"id":0}}
half:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.GoToPosition","params": {"id":0,"pos":50}}
stop:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.Stop","params": {"id":0}}
pct:slider,0,1,100 $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.GoToPosition","params": {"id":0,"pos":$EVTPART1}}
x_update:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Shelly.Update","params": {"stage":"stable"}}
x_reboot:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Shelly.Reboot"}
x_eco:true,false $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Sys.SetConfig","params": {"config": {"device": {"eco_mode": $EVTPART1}}}}
setStateList open close half stop pct
siriName RolloRechts
stateFormat online
pct
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
webCmd :open:close:half:stop:pct
Über einen Schubser wäre ich dankbar..
Viele Grüße
Pit
Ich sehe das pct Reading nicht.
Hallo Cooltux,
danke für die Antwort.
Stimmt, das Reading ist nicht da. Habe ich das falsche Template genommen?
Oder ist das ein Problem der FW des Shelly?
Ich glaube, ich versuche, das Teil nochmal neu einzurichten...
Viele Grüße
Pit
Hallo,
ich habe das Problem wohl gefunden!
Early version of the template - for second generation shelly devices (names with "plus", with power measurement). NOTE: requires to activate generic status update in firmware settings (if not available: reset device to factory defaults) and activation of the roller mode.
NOTE: Please wait some seconds to allow Shelly device to complete reboot.
Ich habe im Shelly diesen "generic status Update..." im Punkt MQTT aktiviert, jetzt ist das Reading pct auch da..!
Vielen Dank und viele Grüße
Pit
Servus
Ich habe das gleiche Problem, nach einer Umstellung von 2.5 auf den Plus 2 PM fahren die betroffenen Rollos nicht mehr. Alle "alten" funktionieren weiterhin problemlos. Generic status update over MQTT ist bereits aktiviert und das pct Reading ist auch vorhanden.
Hier ein list vom Shelly:
Internals:
CID shellyplus2pm_5443b23ede2c
DEF shellyplus2pm_5443b23ede2c
FUUID 64c7fc7c-f33f-1d25-4c0f-e0a693ec8be0cd11
FVERSION 10_MQTT2_DEVICE.pm:0.276740/2023-06-12
IODev MQTT2_FHEM_Server
LASTInputDev MQTT2_FHEM_Server
MQTT2_FHEM_Server_CONN MQTT2_FHEM_Server_192.168.1.50_51170
MQTT2_FHEM_Server_MSGCNT 1658
MQTT2_FHEM_Server_TIME 2023-08-01 10:52:00
MSGCNT 1658
NAME Wz.Rollo.klein
NR 679
STATE true
100
TYPE MQTT2_DEVICE
eventCount 10
JSONMAP:
status_current_pos pct
status_state state
status_temperature_tC temperature
READINGS:
2023-07-31 20:27:42 ASC_Enable on
2023-08-01 10:49:12 ASC_ShadingMessage INFO: current shading status is 'out' - next check in 5m
2023-08-01 08:48:43 ASC_ShuttersLastDrive manual
2023-08-01 10:00:01 ASC_Time_DriveDown 01.08.2023 - 23:00
2023-08-01 10:00:01 ASC_Time_DriveUp 02.08.2023 - 10:00
2023-07-31 21:21:33 IODev MQTT2_FHEM_Server
2023-07-31 21:21:59 associatedWith myASControl
2023-07-31 20:26:43 attrTemplateVersion 20220623
2023-07-31 21:23:14 ble {}
2023-07-31 21:23:16 connected false
2023-08-01 10:52:00 dst shellyplus2pm-5443b23ede2c/events
2023-07-31 21:23:15 id 1
2023-08-01 10:52:00 method NotifyStatus
2023-07-31 21:23:16 mqtt_connected true
2023-07-31 21:23:14 online true
2023-07-31 21:23:16 params_cloud_connected false
2023-08-01 10:52:00 params_cover_0_aenergy_by_minute_1 0.000
2023-08-01 10:52:00 params_cover_0_aenergy_by_minute_2 0.000
2023-08-01 10:52:00 params_cover_0_aenergy_by_minute_3 0.000
2023-08-01 10:52:00 params_cover_0_aenergy_minute_ts 1690879919
2023-08-01 10:52:00 params_cover_0_aenergy_total 6.761
2023-08-01 08:48:43 params_cover_0_apower 0
2023-08-01 08:48:43 params_cover_0_current 0
2023-08-01 08:48:43 params_cover_0_current_pos 100
2023-07-31 21:23:16 params_cover_0_freq 50.0
2023-08-01 10:52:00 params_cover_0_id 0
2023-08-01 08:48:20 params_cover_0_last_direction open
2023-08-01 08:48:20 params_cover_0_move_started_at 1690872500.82
2023-08-01 08:48:20 params_cover_0_move_timeout 60.00
2023-08-01 08:48:43 params_cover_0_pf 0
2023-07-31 21:23:16 params_cover_0_pos_control true
2023-08-01 08:48:43 params_cover_0_source limit_switch
2023-08-01 08:48:43 params_cover_0_state open
2023-08-01 08:48:20 params_cover_0_target_pos 100
2023-07-31 21:23:16 params_cover_0_temperature_tC 54.2
2023-07-31 21:23:16 params_cover_0_temperature_tF 129.5
2023-07-31 21:23:16 params_cover_0_voltage 232.1
2023-07-31 21:19:15 params_events_1_component sys
2023-07-31 21:19:15 params_events_1_event scheduled_restart
2023-07-31 21:19:15 params_events_1_time_ms 995
2023-07-31 21:19:15 params_events_1_ts 1690831155.37
2023-07-31 21:23:16 params_input_0_id 0
2023-07-31 21:23:16 params_input_0_state false
2023-07-31 21:23:16 params_input_1_id 1
2023-07-31 21:23:16 params_input_1_state false
2023-07-31 21:23:16 params_mqtt_connected true
2023-07-31 21:23:16 params_sys_available_updates_stable_version 0.14.1
2023-07-31 21:23:16 params_sys_cfg_rev 12
2023-07-31 21:23:16 params_sys_fs_free 131072
2023-07-31 21:23:16 params_sys_fs_size 458752
2023-07-31 21:23:16 params_sys_kvs_rev 0
2023-07-31 21:23:16 params_sys_mac 5443B23EDE2C
2023-07-31 21:23:16 params_sys_ram_free 137940
2023-07-31 21:23:16 params_sys_ram_size 242536
2023-07-31 21:23:16 params_sys_restart_required false
2023-07-31 21:23:16 params_sys_schedule_rev 1
2023-07-31 21:23:16 params_sys_time 21:23
2023-07-31 21:23:16 params_sys_unixtime 1690831392
2023-07-31 21:23:16 params_sys_uptime 235
2023-07-31 21:23:16 params_sys_webhook_rev 1
2023-08-01 10:52:00 params_ts 1690879920.02
2023-07-31 21:23:16 params_wifi_rssi -66
2023-07-31 21:23:16 params_wifi_ssid Dahoam
2023-07-31 21:23:16 params_wifi_sta_ip 192.168.1.50
2023-07-31 21:23:16 params_wifi_status got ip
2023-07-31 21:23:16 params_ws_connected false
2023-08-01 10:52:00 pct 100
2023-08-01 10:52:00 position 100
2023-07-31 21:23:15 rssi -66
2023-08-01 10:52:00 src shellyplus2pm-5443b23ede2c
2023-07-31 21:23:15 ssid Dahoam
2023-07-31 21:23:15 sta_ip 192.168.1.50
2023-08-01 10:52:00 state open
2023-07-31 21:23:15 status got ip
2023-08-01 10:52:00 status_aenergy_by_minute_1 0.000
2023-08-01 10:52:00 status_aenergy_by_minute_2 0.000
2023-08-01 10:52:00 status_aenergy_by_minute_3 0.000
2023-08-01 10:52:00 status_aenergy_minute_ts 1690879919
2023-08-01 10:52:00 status_aenergy_total 6.761
2023-08-01 10:52:00 status_apower 0.0
2023-08-01 10:52:00 status_current 0.000
2023-08-01 10:52:00 status_freq 50.0
2023-08-01 10:52:00 status_id 0
2023-08-01 10:52:00 status_last_direction open
2023-08-01 08:48:43 status_move_started_at 1690872500.82
2023-08-01 08:48:43 status_move_timeout 60.00
2023-08-01 10:52:00 status_pf 0.00
2023-08-01 10:52:00 status_pos_control true
2023-08-01 10:52:00 status_source limit_switch
2023-08-01 08:48:43 status_target_pos 100
2023-08-01 10:52:00 status_temperature_tF 127.5
2023-08-01 10:52:00 status_voltage 233.0
2023-07-31 21:23:15 sys_available_updates_stable_version 0.14.1
2023-07-31 21:23:15 sys_cfg_rev 12
2023-07-31 21:23:15 sys_fs_free 131072
2023-07-31 21:23:15 sys_fs_size 458752
2023-07-31 21:23:15 sys_kvs_rev 0
2023-07-31 21:23:15 sys_mac 5443B23EDE2C
2023-07-31 21:23:15 sys_ram_free 136824
2023-07-31 21:23:15 sys_ram_size 242464
2023-07-31 21:23:15 sys_restart_required false
2023-07-31 21:23:15 sys_schedule_rev 1
2023-07-31 21:23:15 sys_time 21:23
2023-07-31 21:23:15 sys_unixtime 1690831392
2023-07-31 21:23:15 sys_uptime 235
2023-07-31 21:23:15 sys_webhook_rev 1
2023-08-01 10:52:00 temperature 53.1
helper:
bm:
MQTT2_DEVICE_Get:
cnt 2
dmx -1000
dtot 0
dtotcnt 0
mTS 01.08. 10:51:54
max 0.000652074813842773
tot 0.000692129135131836
mAr:
HASH(0x557a8e6b88)
Wz.Rollo.klein
?
MQTT2_DEVICE_Set:
cnt 24
dmx -1000
dtot 0
dtotcnt 0
mTS 01.08. 08:48:20
max 0.0156879425048828
tot 0.0245068073272705
mAr:
HASH(0x557a8e6b88)
Wz.Rollo.klein
pct
100
Attributes:
ASC 2
ASC_Adv off
ASC_Antifreeze soft
ASC_Antifreeze_Pos 30
ASC_BlockingTime_afterManual 5400
ASC_BrightnessSensor Lichtsensor_Sued:brightness 180:50
ASC_Down brightness
ASC_Partymode on
ASC_Pos_Reading pct
ASC_Shading_InOutAzimuth 85:225
ASC_Shading_MinMax_Elevation 5:100
ASC_Shading_Min_OutsideTemperature 21
ASC_Shading_Mode always
ASC_Shading_Pos 40
ASC_Shading_StateChange_SunnyCloudy 80000:70000
ASC_Shading_WaitingPeriod 600
ASC_Shutter_IdleDetection current:stop
ASC_TempSensor Netatmo_Poppenricht:temperature_round
ASC_Time_Down_Early 16:00
ASC_Time_Down_Late 23:00
ASC_Time_Up_Early 05:00
ASC_Time_Up_Late 10:00
ASC_Up brightness
alexaName kleinen Wohnzimmerrollo,kleines Wohnzimmerrollo,Couchrollo
cmdIcon open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
comment Shelly Plus 2 PM in Roller-Mode. 100=opened / 0=closed
devStateIcon opening:fts_shutter_up@red closing:fts_shutter_down@red true:10px-kreis-gruen false:10px-kreis-rot 0:fts_shutter_100 100:fts_shutter_10 9\d:fts_shutter_10 8\d:fts_shutter_20 7\d:fts_shutter_30 6\d:fts_shutter_40 5\d:fts_shutter_50 4\d:fts_shutter_60 3\d:fts_shutter_70 2\d:fts_shutter_80 1\d:fts_shutter_90 0\d:fts_shutter_100 set_.*:fts_shutter_updown
devicetopic shellyplus2pm-5443b23ede2c
event-on-change-reading current,new_FW,online,pct,state
genericDeviceType blind
group Rollos
homebridgeMapping PositionState=current,values=/^opens/:INCREASING;/^closes/:DECREASING;/.*/:STOPPED On=state,valueOn=/on|dim/,valueOff=off
icon fts_shutter
jsonMap status_state:state status_current_pos:pct status_temperature_tC:temperature
model shellyPlus_2pm_roller_invert_0
readingList $DEVICETOPIC/online:.* online
$DEVICETOPIC/status/mqtt:.* { json2nameValue($EVENT, 'mqtt_', $JSONMAP) }
$DEVICETOPIC/status/sys:.* { json2nameValue($EVENT, 'sys_', $JSONMAP) }
$DEVICETOPIC/status/cover_0:.* { json2nameValue($EVENT, 'status_', $JSONMAP) }
fhem2shelly/rpc:.* {}
shellyplus2pm_5443b23ede2c:shellyplus2pm-5443b23ede2c/events/rpc:.* { json2nameValue($EVENT) }
shellyplus2pm_5443b23ede2c:shellyplus2pm-5443b23ede2c/status/ble:.* ble
shellyplus2pm_5443b23ede2c:shellyplus2pm-5443b23ede2c/status/cloud:.* { json2nameValue($EVENT) }
shellyplus2pm_5443b23ede2c:shellyplus2pm-5443b23ede2c/status/input_0:.* { json2nameValue($EVENT) }
shellyplus2pm_5443b23ede2c:shellyplus2pm-5443b23ede2c/status/input_1:.* { json2nameValue($EVENT) }
shellyplus2pm_5443b23ede2c:shellyplus2pm-5443b23ede2c/status/wifi:.* { json2nameValue($EVENT) }
shellyplus2pm_5443b23ede2c:shellyplus2pm-5443b23ede2c/status/ws:.* { json2nameValue($EVENT) }
room ASC,EG Wohnzimmer,Homekit,MQTT2_DEVICE
setList open:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.Open","params": {"id":0}}
close:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.Close","params": {"id":0}}
half:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.GoToPosition","params": {"id":0,"pos":50}}
stop:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.Stop","params": {"id":0}}
pct:slider,0,1,100 $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Cover.GoToPosition","params": {"id":0,"pos":$EVTPART1}}
x_update:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Shelly.Update","params": {"stage":"stable"}}
x_reboot:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Shelly.Reboot"}
x_eco:true,false $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Sys.SetConfig","params": {"config": {"device": {"eco_mode": $EVTPART1}}}}
setStateList open close half stop pct
siriName kleinen Wohnzimmerrollo,kleines Wohnzimmerrollo,Couchrollo
stateFormat online
pct
userReadings position {ReadingsNum("Wz.Rollo.klein","pct",0)}
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
webCmd :open:close:half:stop:pct
Über einen Tipp wo der Fehler liegt wäre ich sehr dankbar :)
Viele Grüße
Andy
Hallo,
ich bin jetzt nicht so der Spezi in Richtung MQTT usw.
Was mir aber auffällt (als Laie) sind die Punkte im Namen, die würde ich so nicht reinnehmen.
Aber wie gesagt, ansonsten sieht es so as wie bei mir und es klappt ja bei mir inzwischen, also auch ASC.
Viele Grüße
Pit
Danke für deine schnelle Antwort.
Die Punkte im Namen würde ich in diesem Fall eher ausschließen, da das Device mit dem 2.5er Shelly genauso angelegt war. Ich habe quasi einfach alle ASC Attribute nach dem Anlegen 1:1 übernommen
Zitat von: Supadone am 01 August 2023, 14:06:45Danke für deine schnelle Antwort.
Die Punkte im Namen würde ich in diesem Fall eher ausschließen, da das Device mit dem 2.5er Shelly genauso angelegt war. Ich habe quasi einfach alle ASC Attribute nach dem Anlegen 1:1 übernommen
FHEM hast du auch neu gestartet oder wenigstens "scanforshutters" ausgeführt, bevor du die anderen Attribute gesetzt hast?
Ja, scanforshutters und danach createNewNotifyDef. Als das auch nichts brachte habe ich noch ein Fhem Update ausgeführt und den Raspberry neugestartet, leider alles ohne Erfolg. Die Rollos lassen sich nur manuell über Fhem steuern, durch ASC geht gar nichts.
Hier noch ein List vom ASC Device, vielleicht hilft das noch weiter:
Internals:
FUUID 61ca16ba-f33f-1d25-d11f-6dbb97408f8fdc2d
FVERSION 73_AutoShuttersControl.pm:v0.10.25-s26950/2023-01-03
MID da39a3ee5e6b4b0d3255bfef95601890afd80709
NAME myASControl
NOTIFYDEV global,myASControl,Esszimmer.Rollo.Garten,Esszimmer.Rollo.Strasse,Kinderzimmer.Rollo.Garten,Kueche.Rollo.Strasse,Wz.Rollo.Garten,Wz.Rollo.gross,Wz.Rollo.klein,Wz.Tuerkontakt.Garten,rr_Carolina,Astro,Bewohner,KinderzimmerOG.Fensterkontakt,Lichtsensor_Sued,Lichtsensor_Ost,Lichtsensor_West
NR 239
NTFY_ORDER 51-myASControl
STATE selfDefense inactive
TYPE AutoShuttersControl
VERSION v0.10.25
eventCount 82
OLDREADINGS:
READINGS:
2022-02-16 11:56:13 Buero.Rollo.Garten_PosValue 100
2022-03-30 07:03:07 Buero.Rollo.Garten_lastPosValue 0
2023-08-01 06:06:06 Esszimmer.Rollo.Garten_PosValue 100
2023-01-01 07:59:54 Esszimmer.Rollo.Garten_lastDelayPosValue 100
2023-08-01 06:05:43 Esszimmer.Rollo.Garten_lastPosValue 0
2023-08-01 10:00:01 Esszimmer.Rollo.Garten_nextAstroTimeEvent 01.08.2023 - 23:00
2023-08-01 06:07:56 Esszimmer.Rollo.Strasse_PosValue 100
2023-01-01 08:01:58 Esszimmer.Rollo.Strasse_lastDelayPosValue 100
2023-08-01 06:07:33 Esszimmer.Rollo.Strasse_lastPosValue 0
2023-08-01 10:00:01 Esszimmer.Rollo.Strasse_nextAstroTimeEvent 01.08.2023 - 23:00
2023-08-01 08:02:26 Kinderzimmer.Rollo.Garten_PosValue 100
2023-08-01 08:44:01 Kinderzimmer.Rollo.Garten_lastPosValue 0
2023-08-01 08:44:01 Kinderzimmer.Rollo.Garten_nextAstroTimeEvent 01.08.2023 - 19:00
2023-08-01 08:50:31 Kueche.Rollo.Strasse_PosValue 100
2023-01-01 08:01:58 Kueche.Rollo.Strasse_lastDelayPosValue 100
2023-08-01 06:07:33 Kueche.Rollo.Strasse_lastPosValue 0
2023-08-01 10:00:01 Kueche.Rollo.Strasse_nextAstroTimeEvent 01.08.2023 - 23:00
2023-08-01 10:07:02 Wz.Rollo.Garten_PosValue 100
2023-07-22 23:00:01 Wz.Rollo.Garten_lastDelayPosValue 20
2023-07-15 23:00:01 Wz.Rollo.Garten_lastPosValue 100
2023-08-01 09:00:01 Wz.Rollo.Garten_nextAstroTimeEvent 01.08.2023 - 23:00
2023-08-01 06:06:07 Wz.Rollo.gross_PosValue 100
2023-07-16 05:47:25 Wz.Rollo.gross_lastDelayPosValue 100
2023-08-01 06:05:43 Wz.Rollo.gross_lastPosValue 0
2023-08-01 10:00:01 Wz.Rollo.gross_nextAstroTimeEvent 01.08.2023 - 23:00
2023-08-01 08:48:43 Wz.Rollo.klein_PosValue 100
2023-07-16 05:47:25 Wz.Rollo.klein_lastDelayPosValue 100
2023-08-01 06:05:43 Wz.Rollo.klein_lastPosValue 0
2023-08-01 10:00:01 Wz.Rollo.klein_nextAstroTimeEvent 01.08.2023 - 23:00
2021-12-27 20:59:58 ascEnable on
2023-07-31 21:22:06 controlShading on
2022-01-15 19:26:59 controlshading on
2021-12-27 20:59:58 hardLockOut off
2023-07-16 08:55:36 partyMode off
2023-07-31 21:21:59 room_ASC_CUL_HM_EG_Wohnzimmer_Garten_Homekit Wz.Rollo.Garten
2023-07-31 21:21:59 room_ASC_EG_Esszimmer_Homekit_MQTT2_DEVICE Esszimmer.Rollo.Garten,Esszimmer.Rollo.Strasse
2023-07-31 21:21:59 room_ASC_EG_Kueche_MQTT2_DEVICE Kueche.Rollo.Strasse
2023-07-31 21:21:59 room_ASC_EG_Wohnzimmer_Homekit_MQTT2_DEVICE Wz.Rollo.gross,Wz.Rollo.klein
2023-07-31 21:21:59 room_ASC_Homekit_MQTT2_DEVICE_OG_Kinderzimmer Kinderzimmer.Rollo.Garten
2021-12-28 22:08:57 selfDefense on
2023-08-01 10:07:02 state selfDefense inactive
2021-12-27 20:59:58 sunriseTimeWeHoliday off
2023-07-31 21:21:59 userAttrList rolled out
helper:
bm:
CODE(0x5577d48fd0):
cnt 4383
dmx -1000
dtot 0
dtotcnt 0
mTS 31.07. 22:27:32
max 0.108727216720581
tot 55.0873658657074
mAr:
HASH(0x55779d5478)
HASH(0x557771e020)
CODE(0x5577d57ae8):
cnt 139
dmx -1000
dtot 0
dtotcnt 0
mTS 01.08. 06:05:43
max 0.0030670166015625
tot 0.0132019519805908
mAr:
HASH(0x55779d5478)
ARRAY(0x557eea79a8)
HASH(0x557f0a7d08)
CODE(0x5577d77a48):
cnt 4
dmx -1000
dtot 0
dtotcnt 0
mTS 31.07. 22:20:59
max 0.000617027282714844
tot 0.000735044479370117
mAr:
HASH(0x55779d5478)
ARRAY(0x557ca52ac0)
HASH(0x557b71e140)
shuttersList:
Esszimmer.Rollo.Garten
Esszimmer.Rollo.Strasse
Kinderzimmer.Rollo.Garten
Kueche.Rollo.Strasse
Wz.Rollo.Garten
Wz.Rollo.gross
Wz.Rollo.klein
monitoredDevs:
Astro:
myASControl ASC_twilightDevice
Bewohner:
myASControl ASC_residentsDev
Esszimmer.Rollo.Garten:
Esszimmer.Rollo.Strasse:
Kinderzimmer.Rollo.Garten:
KinderzimmerOG.Fensterkontakt:
Kinderzimmer.Rollo.Garten ASC_WindowRec
Kueche.Rollo.Strasse:
Lichtsensor_Ost:
Esszimmer.Rollo.Strasse ASC_BrightnessSensor
Kueche.Rollo.Strasse ASC_BrightnessSensor
Lichtsensor_Sued:
Esszimmer.Rollo.Garten ASC_BrightnessSensor
Wz.Rollo.gross ASC_BrightnessSensor
Wz.Rollo.klein ASC_BrightnessSensor
Lichtsensor_West:
Kinderzimmer.Rollo.Garten ASC_BrightnessSensor
Wz.Rollo.Garten:
Wz.Rollo.gross:
Wz.Rollo.klein:
Wz.Tuerkontakt.Garten:
Wz.Rollo.Garten ASC_WindowRec
rr_Carolina:
Kinderzimmer.Rollo.Garten ASC_Roommate_Device
Attributes:
ASC_advEndDate EpiphanyDay
ASC_advStartDate FirstAdvent
ASC_autoShuttersControlComfort on
ASC_autoShuttersControlEvening on
ASC_autoShuttersControlMorning on
ASC_expert 1
ASC_freezeTemp -4
ASC_residentsDev Bewohner:state
ASC_shuttersDriveDelay 0
ASC_tempSensor Netatmo_Poppenricht:temperature_round
ASC_twilightDevice Astro
alexaName Rolloautomatik
devStateIcon { ShuttersControl_DevStateIcon($name) }
homebridgeMapping On=ascEnable,cmdOn=ascEnable+on,cmdOff=ascEnable+off
icon fts_shutter_automatic
Für was ist das (nicht sauber getriggerte!) userReading gut?
Wenn du es nicht brauchst: löschen, sonst: trigger ergänzen.
Oh, das hatte ich nur mal testweise in diesem Rollo aktiviert, hab ich gleich gelöscht. Leider liegt es nicht daran, in dem zweiten Rollo der nicht fährt ist dieses Attribut nicht vorhanden.
Danke schon mal für deine Hilfe :)
Ich habe jetzt mal testweise den Rollo von Wz.Rollo.klein in Wz_Rollo_klein umbenannt, leider ohne Erfolg.
Von der abendlichen Fahrt habe ich einen Log auf Verbose 5 gemacht, vielleicht findet man hier etwas, mir fällt leider nichts besonderes auf.
2023.08.02 20:57:18.775 4: AutoShuttersControl (myASControl) - Devname: Astro Name: myASControl Notify: $VAR1 = [
'SunAz: 299.9',
'SunAlt: -0.9'
];
2023.08.02 20:57:18.790 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Esszimmer.Rollo.Garten Azimuth: 299.9 Elevation: -0.9 Brightness: 81 OutTemp: 17.7
2023.08.02 20:57:18.798 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Esszimmer.Rollo.Strasse Azimuth: 299.9 Elevation: -0.9 Brightness: 107 OutTemp: 17.7
2023.08.02 20:57:18.805 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Kinderzimmer.Rollo.Garten Azimuth: 299.9 Elevation: -0.9 Brightness: 65 OutTemp: 17.7
2023.08.02 20:57:18.813 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Kueche.Rollo.Strasse Azimuth: 299.9 Elevation: -0.9 Brightness: 107 OutTemp: 17.7
2023.08.02 20:57:18.821 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Wz.Rollo.Garten Azimuth: 299.9 Elevation: -0.9 Brightness: -1 OutTemp: 17.7
2023.08.02 20:57:18.829 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Wz.Rollo.gross Azimuth: 299.9 Elevation: -0.9 Brightness: 81 OutTemp: 17.7
2023.08.02 20:57:18.836 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Wz_Rollo_klein Azimuth: 299.9 Elevation: -0.9 Brightness: 81 OutTemp: 17.7
2023.08.02 20:57:25.770 4: AutoShuttersControl (myASControl) - Devname: rr_Carolina Name: myASControl Notify: $VAR1 = [
'durTimerAbsence_cr: 23542',
'durTimerAbsence: 392:21:41'
];
2023.08.02 20:57:48.438 4: AutoShuttersControl (myASControl) - Devname: Lichtsensor_Sued Name: myASControl Notify: $VAR1 = [
'brightness: 44.72',
'state: B: 44.72'
];
2023.08.02 20:57:48.442 4: AutoShuttersControl (Wz_Rollo_klein) - EventProcessingBrightness: Steuerung f�r Abends
2023.08.02 20:57:48.451 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: $VAR1 = [
'Wz_Rollo_klein_lastPosValue: 100'
];
2023.08.02 20:57:48.456 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen
2023.08.02 20:57:48.458 4: AutoShuttersControl (Esszimmer.Rollo.Garten) - EventProcessingBrightness: Steuerung f�r Abends
2023.08.02 20:57:48.476 3: MQTT2_DEVICE set Esszimmer.Rollo.Garten pct 0
2023.08.02 20:57:48.489 4: AutoShuttersControl (myASControl) - Devname: Esszimmer.Rollo.Garten Name: myASControl Notify: $VAR1 = [
'state: set_pct'
];
2023.08.02 20:57:48.508 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: $VAR1 = [
'Esszimmer.Rollo.Garten_lastPosValue: 100'
];
2023.08.02 20:57:48.512 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen
2023.08.02 20:57:48.515 4: AutoShuttersControl (Wz.Rollo.gross) - EventProcessingBrightness: Steuerung f�r Abends
2023.08.02 20:57:48.529 3: MQTT2_DEVICE set Wz.Rollo.gross pct 0
2023.08.02 20:57:48.538 4: AutoShuttersControl (myASControl) - Devname: Wz.Rollo.gross Name: myASControl Notify: $VAR1 = [
'state: set_pct'
];
2023.08.02 20:57:48.548 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: $VAR1 = [
'Wz.Rollo.gross_lastPosValue: 100'
];
2023.08.02 20:57:48.551 4: AutoShuttersControl (myASControl) - ShuttersCommandSet setDriveCmd wird aufgerufen
2023.08.02 20:57:48.561 4: AutoShuttersControl (myASControl) - Devname: Lichtsensor_Sued Name: myASControl Notify: $VAR1 = [
'RAWMSG: E6ABB0E,0000,A06F6E98,FF,FFB7,1986536ABB0E00000000C100001178',
'RSSI: -73'
];
2023.08.02 20:57:48.580 4: AutoShuttersControl (myASControl) - Devname: Wz.Rollo.gross Name: myASControl Notify: $VAR1 = [
'state: closing',
'current: closes'
];
2023.08.02 20:57:48.595 4: AutoShuttersControl (myASControl) - Devname: Wz.Rollo.gross Name: myASControl Notify: $VAR1 = [
'state: 100'
];
2023.08.02 20:57:48.615 4: AutoShuttersControl (myASControl) - Devname: Esszimmer.Rollo.Garten Name: myASControl Notify: $VAR1 = [
'state: closing',
'current: closes'
];
2023.08.02 20:57:48.631 4: AutoShuttersControl (myASControl) - Devname: Esszimmer.Rollo.Garten Name: myASControl Notify: $VAR1 = [
'state: 100'
];
2023.08.02 20:58:10.794 4: AutoShuttersControl (myASControl) - Devname: Wz.Rollo.gross Name: myASControl Notify: $VAR1 = [
'pct: 0',
'state: 0'
];
2023.08.02 20:58:10.801 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: $VAR1 = [
'Wz.Rollo.gross_PosValue: 0'
];
2023.08.02 20:58:10.811 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: $VAR1 = [
'state: minimum brightness threshold fell below'
];
2023.08.02 20:58:10.842 4: AutoShuttersControl (myASControl) - Devname: Wz.Rollo.gross Name: myASControl Notify: $VAR1 = [
'current: stop'
];
2023.08.02 20:58:11.195 4: AutoShuttersControl (myASControl) - Devname: Esszimmer.Rollo.Garten Name: myASControl Notify: $VAR1 = [
'pct: 0',
'state: 0'
];
2023.08.02 20:58:11.199 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: $VAR1 = [
'Esszimmer.Rollo.Garten_PosValue: 0'
];
2023.08.02 20:58:11.206 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: $VAR1 = [
'state: minimum brightness threshold fell below'
];
2023.08.02 20:58:11.222 4: AutoShuttersControl (myASControl) - Devname: Esszimmer.Rollo.Garten Name: myASControl Notify: $VAR1 = [
'current: stop'
];
2023.08.02 20:58:11.537 4: AutoShuttersControl (myASControl) - Devname: Lichtsensor_West Name: myASControl Notify: $VAR1 = [
'brightness: 19.84',
'state: B: 19.84',
'RAWMSG: E6ABA60,0000,A06FC877,FF,FFBB,CE86536ABA6000000000C1000007C0',
'RSSI: -69'
];
2023.08.02 20:58:11.540 4: AutoShuttersControl (Kinderzimmer.Rollo.Garten) - EventProcessingShadingBrightness
2023.08.02 20:58:11.540 4: AutoShuttersControl (Kinderzimmer.Rollo.Garten) - EventProcessingShadingBrightness
Brightness: 19.84
2023.08.02 20:58:11.546 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Kinderzimmer.Rollo.Garten Azimuth: 299.9 Elevation: -0.9 Brightness: 36 OutTemp: 17.7
2023.08.02 20:58:18.781 4: AutoShuttersControl (myASControl) - Devname: Astro Name: myASControl Notify: $VAR1 = [
'SunAlt: -1.1',
'SunAz: 300.1'
];
2023.08.02 20:58:18.793 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Esszimmer.Rollo.Garten Azimuth: 300.1 Elevation: -1.1 Brightness: 81 OutTemp: 17.7
2023.08.02 20:58:18.801 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Esszimmer.Rollo.Strasse Azimuth: 300.1 Elevation: -1.1 Brightness: 107 OutTemp: 17.7
2023.08.02 20:58:18.808 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Kinderzimmer.Rollo.Garten Azimuth: 300.1 Elevation: -1.1 Brightness: 36 OutTemp: 17.7
2023.08.02 20:58:18.816 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Kueche.Rollo.Strasse Azimuth: 300.1 Elevation: -1.1 Brightness: 107 OutTemp: 17.7
2023.08.02 20:58:18.823 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Wz.Rollo.Garten Azimuth: 300.1 Elevation: -1.1 Brightness: -1 OutTemp: 17.7
2023.08.02 20:58:18.831 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Wz.Rollo.gross Azimuth: 300.1 Elevation: -1.1 Brightness: 81 OutTemp: 17.7
2023.08.02 20:58:18.839 4: AutoShuttersControl (myASControl) - Shading Processing, Rollladen: Wz_Rollo_klein Azimuth: 300.1 Elevation: -1.1 Brightness: 81 OutTemp: 17.7
2023.08.02 20:58:25.777 4: AutoShuttersControl (myASControl) - Devname: rr_Carolina Name: myASControl Notify: $VAR1 = [
'durTimerAbsence_cr: 23543',
'durTimerAbsence: 392:22:41'
];
Viele Grüße
Andy
Ich muss die Frage nochmal nach oben pushen, das Problem besteht leider immer noch. Der nächste 2.5er rauscht und wird wohl bald ausfallen, also kommt ein weiterer Shelly Plus 2PM dazu der durch ASC gesteuert werden soll.
Zwischenzeitlich habe ich die beiden vorhandenen Plus 2PM statt über MQTT über das Shelly Modul eingebunden. Leider zeigt sich auch hier das gleiche Verhalten: Eine Steuerung über FHEM funktioniert problemlos, über ASC werden diese nicht gesteuert.
Hat jemand noch eine Idee woran das liegen könnte?
Viele Grüße
Andy
Mit welchem Set Befehl fahren denn überhaupt Deine Rollos?
Servus
Danke das du mal drüber schaust :)
Der Rollo wird mit
set Wz.Rollo.klein pct 100
gesteuert. Eine Eingabe in der Befehlszeile in Fhem führt den Fahrbefehl auch problemlos aus.
Hier nochmal das List dazu:
Internals:
DEF 192.168.1.50
DURATION 0
FUUID 652ef6ee-f33f-1d25-eaa7-a89cc4011afa9575
FVERSION 36_Shelly.pm:v5.9.0-s28192/2023-11-20
INTERVAL 60
MOVING stopped
NAME Wz.Rollo.klein
NR 675
SHELLY SNSW-102P16EU
SHELLYID shellyplus2pm-5443b23ede2c
STATE pct-100
TARGETPCT 100
TCPIP 192.168.1.50
TYPE Shelly
eventCount 934
units 1
READINGS:
2023-10-17 23:22:36 ASC_Enable on
2023-11-24 09:27:19 ASC_ShadingMessage INFO: current shading status is 'out' - next check in 5m
2023-11-24 09:25:23 ASC_ShuttersLastDrive manual
2023-11-24 08:30:01 ASC_Time_DriveDown 24.11.2023 - 22:00
2023-11-24 08:30:01 ASC_Time_DriveUp 25.11.2023 - 08:30
2023-11-23 20:10:56 associatedWith myASControl
2023-10-17 23:19:29 cloud disabled
2023-11-11 07:24:06 current 0 A
2023-11-24 09:25:23 current_0 0 A
2023-11-11 07:23:06 current_last 0.554 A up
2023-11-11 07:24:06 energy 229.68 Wh
2023-11-24 09:25:23 energy_0 254.07 Wh
2023-11-11 07:24:06 energy_lastMinute 0.0 Wh
2023-11-24 09:26:23 energy_lastMinute_0 0.0 Wh
2023-11-15 10:16:02 firmware v1.0.8(update possible to v1.1.0-beta2 beta)
2023-11-11 09:04:12 frequency 50 Hz
2023-11-24 09:08:55 frequency_0 50 Hz
2023-11-18 05:48:57 input_0 off
2023-11-18 05:48:57 input_0_mode switch straight dual normal
2023-11-18 05:48:57 input_1 off
2023-11-18 05:48:57 input_1_mode switch straight dual normal
2023-11-24 09:24:56 inttemp 50.3 °C
2023-11-24 09:25:20 last_dir up
2023-11-20 08:44:46 network <html>connected to <a href="http://192.168.1.50">192.168.1.50</a> (Wifi)</html>
2023-11-20 08:44:45 network_disconnects 15
2023-11-24 09:27:00 network_rssi -63 dBm (fair)
2023-10-17 23:19:29 network_ssid Dahoam
2023-11-13 09:06:15 network_threshold -80 dBm
2023-11-24 09:25:23 pct 100
2023-11-11 07:24:06 pfactor 0
2023-11-24 09:25:23 pfactor_0 0
2023-11-24 09:25:23 position open
2023-11-24 09:25:23 power 0 W
2023-11-24 09:25:23 power_0 0 W
2023-11-24 09:25:20 power_last 129 W up
2023-11-11 05:11:54 protection none
2023-11-18 05:50:08 protection_0 none
2023-11-18 07:21:13 start_reason http
2023-11-24 09:25:23 state pct-100
2023-11-24 09:25:23 stop_reason limit_switch
2023-11-11 09:54:41 voltage 231.8 V
2023-11-24 09:27:23 voltage_0 232 V
2023-11-18 05:48:57 webhook_cnt 0
2023-11-18 05:48:57 webhook_ver 1
helper:
Sets config interval password reboot:noArg update:noArg name closed open stop:noArg pct:slider,0,1,100 delta zero:noArg predefAttr:noArg
a_Active_Power 0
b_Active_Power 0
c_Active_Power 0
power 0
powerCnt 1
bm:
Shelly_Get:
cnt 1
dmx -1000
dtot 0
dtotcnt 0
mTS 24.11. 09:24:43
max 0.000119924545288086
tot 0.000119924545288086
mAr:
HASH(0x556cf26b00)
Wz.Rollo.klein
?
Shelly_Set:
cnt 1914
dmx -1000
dtot 0
dtotcnt 0
mTS 24.11. 07:31:17
max 0.00137019157409668
tot 0.099517822265625
mAr:
HASH(0x556cf26b00)
Wz.Rollo.klein
pct
100
Attributes:
ASC 2
ASC_Adv off
ASC_Antifreeze soft
ASC_Antifreeze_Pos 30
ASC_BlockingTime_afterManual 5600
ASC_BrightnessSensor Lichtsensor_Sued:brightness 180:50
ASC_Closed_Pos 0
ASC_Down brightness
ASC_Open_Pos 100
ASC_Pos_Reading pct
ASC_Self_Defense_Mode off
ASC_Shading_InOutAzimuth 85:225
ASC_Shading_MinMax_Elevation 5:100
ASC_Shading_Min_OutsideTemperature 21
ASC_Shading_Mode always
ASC_Shading_Pos 40
ASC_Shading_StateChange_SunnyCloudy 80000:70000
ASC_Shading_WaitingPeriod 600
ASC_Shutter_IdleDetection current:0
ASC_TempSensor Netatmo_Poppenricht:temperature_round
ASC_Up brightness
alexaName kleinen Wohnzimmerrollo,kleines Wohnzimmerrollo,Couchrollo
cmdIcon open:control_arrow_upward@blue up:control_arrow_up@blue down:control_arrow_down@blue closed:control_arrow_downward@blue stop:rc_STOP@blue half:fts_shutter_50@blue
devStateIcon open:fts_shutter_100:closed closed:fts_shutter_10:open half:fts_shutter_50:closed drive-up:fts_shutter_up@red:stop drive-down:fts_shutter_down@red:stop pct-100:fts_window_2w:closed pct-90:fts_shutter_10:closed pct-80:fts_shutter_20:closed pct-70:fts_shutter_30:closed pct-60:fts_shutter_40:closed pct-50:fts_shutter_50:closed pct-40:fts_shutter_60:open pct-30:fts_shutter_70:open pct-20:fts_shutter_80:open pct-10:fts_shutter_90:open pct-0:fts_shutter_100:open
event-on-change-reading .*
eventMap /delta +15:up/delta -15:down/pct 50:half/
genericDeviceType blind
group Rollos
homebridgeMapping PositionState=current,values=/^opens/:INCREASING;/^closes/:DECREASING;/.*/:STOPPED On=state,valueOn=/on|dim/,valueOff=off
icon fts_shutter
mode roller
model shellyplus2pm
pct100 open
room ASC,EG Wohnzimmer,Homekit
showunits normal
siriName kleinen Wohnzimmerrollo,kleines Wohnzimmerrollo,Couchrollo
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
verbose 2
webCmd open:up:down:closed:half:stop:pct
Hi,
fährt das Rollo beim ASC "Wiggle" Befehl?
Eventuell mal versuchen die Einheiten beim Schelly zu deaktivieren:
attr <name> showunits none
könnte sich mit der Angabe
ASC_Shutter_IdleDetection current:0
beissen... "0" vs. "0 A"
oder stattdessen das Fahrtrelais nehmen? (input_0 oder input_1?) ASC_Shutter_IdleDetection input_0:off ?
Gruß,
Thomas
Danke, für deine Idee, hat gerade aber leider trotzdem nicht funktioniert. Das Problem hatte ich auch als ich die Shelly Plus 2 PM noch per MQTT definiert hatte, da waren alle Readings auch ohne Einheit...
Was ist mit dem Wiggle Befehl. Bekommst Du da eine Reaktion?
Oh sorry, das hatte ich total überlesen.
Leider passiert beim Wiggle auch gar nichts...
Verbose 5 liefert nur
2023.11.25 18:06:02.551 4: AutoShuttersControl (myASControl) - Devname: myASControl Name: myASControl Notify: $VAR1 = [
'wiggle Wz.Rollo.klein'
];
Vorschlag. Entferne ASC mal komplett. Schaue dann in den Rollos ob alles von ASC weg ist.
Danach neu ausrollen. Wichtig, der Wert im Attribute ASC_Pos_Reading muss der selbe sein wie der welcher auch zum fahren genommen wird. Wenn also pct dann muss auch ein set Rolloname pct 50 das Rollo bewegen. Was steht denn überhaupt in den Logs drin?
Nachdem ich das gemacht hatte und selbst keine weiteren ASC Attribute dem Rollo hinzugefügt hatte, wurde er über den Wiggle-Befehl problemlos gefahren. Sobald ich alle Attribute wieder hinzugeügt hatte, war das gleiche Verhalten wie zuvor. Im Ausschlußverfahren konnte ich endlich den Schuldigen finden: Es lag am Attribut ASC_Shutter_IdleDetection. Ich hatte current:0, richtig ist aber in meinem Fall current_0:0. Im Reading current steht 0 A, somit ist auch klar wieso durch ASC keine Fahrt erfolgte.