Hallo,
ich bräuchte mal dringend Eure Hilfe.
Ich habe eine Markise mit einem Shelly 2.5 in FHEM eingebunden. Funktioniert auch super
Heute habe ich einen Rolladen mit einem Shelly 2.5 in FHEM eingebunden, aber dieser lässt sich nicht steuern
Also per Homepage des Shelly fährt der Rolladen wie gewünscht. Also Verkabelung, Netzwerk u.s.w. ist somit Okay.
Aber in FHEM kann ich drücken, was ich will, es passiert nix.
Ich haben den Shelly auch schon rausgeschmissen und wieder eingefügt, aber das Problem bleibt.
Hier meine Definition:
Code
defmod Flur_Rolladen MQTT2_DEVICE shellyswitch25_C4DFA3
attr Flur_Rolladen IODev MQTT2_FHEM_Server
attr Flur_Rolladen alexaName FlurRolladen
attr Flur_Rolladen cmdIcon open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
attr Flur_Rolladen comment Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
attr Flur_Rolladen 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
attr Flur_Rolladen model shelly25_roller_invert_0
attr Flur_Rolladen readingList shellies/Flur/roller/0/pos:.* pct\
shellies/Flur/status/0/rollers:.* power\
shellies/Flur/online:.* online\
shellies/Flur/announce:.* { json2nameValue($EVENT) }\
shellies/announce:.* { $EVENT =~ m,..id...Flur...mac.*, ? json2nameValue($EVENT) : undef }\
shellies/Flur/roller/0:.* current\
shellies/Flur/roller/0:open {{'state' => 'opening'}}\
shellies/Flur/roller/0:close {{'state' => 'closing'}}\
shellies/Flur/roller/0/pos:.* state\
shellies/Flur/input/1:.* input1\
shellies/Flur/input/0:.* input0\
shellies/Flur/relay/power:.* power\
shellies/Flur/relay/energy:.* energy\
shellies/Flur/temperature:.* temperature\
shellies/Flur/overtemperature:.* overtemperature\
shellyswitch25_C4DFA3:shellies/Flur/Rolladen/roller/0/pos:.* roller_0_pos\
shellyswitch25_C4DFA3:shellies/Flur/Rolladen/roller/0/power:.* roller_0_power\
shellyswitch25_C4DFA3:shellies/Flur/Rolladen/relay/power:.* power\
shellyswitch25_C4DFA3:shellies/Flur/Rolladen/roller/0/energy:.* roller_0_energy\
shellyswitch25_C4DFA3:shellies/Flur/Rolladen/relay/energy:.* energy\
shellyswitch25_C4DFA3:shellies/Flur/Rolladen/input/1:.* input_1\
shellyswitch25_C4DFA3:shellies/Flur/Rolladen/input/0:.* input_0\
shellyswitch25_C4DFA3:shellies/Flur/Rolladen/temperature:.* temperature\
shellyswitch25_C4DFA3:shellies/Flur/Rolladen/temperature_f:.* temperature_f\
shellyswitch25_C4DFA3:shellies/Flur/Rolladen/overtemperature:.* overtemperature\
shellyswitch25_C4DFA3:shellies/Flur/Rolladen/roller/0:.* roller_0
attr Flur_Rolladen room 11_Flur,MQTT2_DEVICE
attr Flur_Rolladen setList open:noArg shellies/Flur/roller/0/command open\
close:noArg shellies/Flur/roller/0/command close\
half:noArg shellies/Flur/roller/0/command/pos 50\
stop:noArg shellies/Flur/roller/0/command stop\
pct:slider,0,1,100 shellies/Flur/roller/0/command/pos $EVTPART1\
x_recalibration:noArg shellies/Flur/roller/0/command rc\
x_update:noArg shellies/Flur/command update_fw\
x_mqttcom shellies/Flur/command $EVTPART1
attr Flur_Rolladen setStateList open close half stop pct
attr Flur_Rolladen stateFormat <a href="http://ip" target="_blank">\
online\
</a>\
state
attr Flur_Rolladen webCmd :open:close:half:stop:pct
Alles anzeigen
also quasi so wie es aus dem Template kommt.
Hier zum Vergleich mal die Markise, die funktioniert:
Code
defmod Markise MQTT2_DEVICE shellyswitch25_C4B71A
attr Markise IODev MQTT2_FHEM_Server
attr Markise alexaName Markise
attr Markise cmdIcon open:fts_sunblind_open close:fts_sunblind_close stop:fts_sunblind_stop half:fts_sunblind_move
attr Markise comment Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
attr Markise devStateIcon opening:fts_sunblind_open@red closing:fts_sunblind_close@red true:10px-kreis-gruen false:10px-kreis-rot 0:fts_sunblind_0 100:fts_sunblind_100 9\d:fts_sunblind_90 8\d:fts_sunblind_80 7\d:fts_sunblind_70 6\d:fts_sunblind_60 5\d:fts_sunblind_50 4\d:fts_sunblind_40 3\d:fts_sunblind_30 2\d:fts_sunblind_20 1\d:fts_sunblind_10 0\d:fts_sunblind_0 set_.*:fts_sunblind_move
attr Markise model shelly25_roller_invert_0
attr Markise readingList shellies/Markise/roller/0/pos:.* pct\
shellies/Markise/status/0/rollers:.* power\
shellies/Markise/online:.* online\
shellies/Markise/announce:.* { json2nameValue($EVENT) }\
shellies/announce:.* { $EVENT =~ m,..id...Markise...mac.*, ? json2nameValue($EVENT) : undef }\
shellies/Markise/roller/0:.* current\
shellies/Markise/roller/0:open {{'state' => 'opening'}}\
shellies/Markise/roller/0:close {{'state' => 'closing'}}\
shellies/Markise/roller/0/pos:.* state\
shellies/Markise/input/1:.* input1\
shellies/Markise/input/0:.* input0\
shellies/Markise/relay/power:.* power\
shellies/Markise/relay/energy:.* energy\
shellies/Markise/temperature:.* temperature\
shellies/Markise/overtemperature:.* overtemperature\
shellyswitch25_C4B71A:shellies/Markise/roller/0/power:.* roller_0_power\
shellyswitch25_C4B71A:shellies/Markise/roller/0/energy:.* roller_0_energy\
shellyswitch25_C4B71A:shellies/Markise/temperature_f:.* temperature_f
attr Markise room 06_Terasse,MQTT2_DEVICE
attr Markise setList open:noArg shellies/Markise/roller/0/command open\
close:noArg shellies/Markise/roller/0/command close\
half:noArg shellies/Markise/roller/0/command/pos 50\
stop:noArg shellies/Markise/roller/0/command stop\
pct:slider,0,1,100 shellies/Markise/roller/0/command/pos $EVTPART1\
x_recalibration:noArg shellies/Markise/roller/0/command rc\
x_update:noArg shellies/Markise/command update_fw\
x_mqttcom shellies/Markise/command $EVTPART1
attr Markise setStateList open close half stop pct
attr Markise stateFormat <a href="http://ip" target="_blank">\
online\
</a>\
state
attr Markise webCmd :open:close
Alles anzeigen
Kann mir jemand sagen, was ich falsch mache?
Danke
Andreas