Guten Morgen,
irgendwo ist ein Fehler..
nur der Laurenz Zimmer Rollo fährt wie gewünscht hoch.
hier mal die lists.
Internals:
CID shellyswitch25_F3430F
DEF shellyswitch25_F3430F
DEVICETOPIC OG_Eltern_Rollade_Tuer
FUUID 5ffada93-f33f-ba8d-54d2-9e9a78321ddcf918
IODev Mqtt2_server
LASTInputDev Mqtt2_server
MSGCNT 13768
Mqtt2_server_MSGCNT 13768
Mqtt2_server_TIME 2021-01-11 09:37:51
NAME OG_Eltern_Rollade_Tuer
NR 136
STATE 0
TYPE MQTT2_DEVICE
READINGS:
2021-01-10 11:49:00 actions_stats_skipped 0
2021-01-10 11:49:00 attrTemplateVersion 20201206
2021-01-10 11:49:00 cfg_changed_cnt 2
2021-01-10 11:49:00 cloud_connected false
2021-01-10 11:49:00 cloud_enabled false
2021-01-10 21:56:37 current stop
2021-01-11 09:37:51 energy 0
2021-01-10 11:49:00 fs_free 122488
2021-01-10 11:49:00 fs_size 233681
2021-01-11 07:24:48 fw_ver 20201228-092242/v1.9.3@ad2bb4e3
2021-01-10 11:49:00 has_update false
2021-01-11 07:24:48 id shellyswitch25-F3430F
2021-01-11 09:37:51 input0 1
2021-01-11 09:37:51 input1 0
2021-01-10 11:49:00 inputs_1_event
2021-01-10 11:49:00 inputs_1_event_cnt 0
2021-01-10 11:49:00 inputs_1_input 0
2021-01-10 11:49:00 inputs_2_event
2021-01-10 11:49:00 inputs_2_event_cnt 0
2021-01-10 11:49:00 inputs_2_input 1
2021-01-11 07:24:48 ip 192.168.178.21
2021-01-11 07:24:48 mac 98F4ABF3430F
2021-01-10 11:49:00 meters_1_counters_1 0.000
2021-01-10 11:49:00 meters_1_counters_2 0.000
2021-01-10 11:49:00 meters_1_counters_3 0.000
2021-01-10 11:49:00 meters_1_is_valid true
2021-01-10 11:49:00 meters_1_overpower 0.00
2021-01-10 11:49:00 meters_1_power 0.00
2021-01-10 11:49:00 meters_1_timestamp 1610279340
2021-01-10 11:49:00 meters_1_total 0
2021-01-10 11:49:00 meters_2_counters_1 0.000
2021-01-10 11:49:00 meters_2_counters_2 0.000
2021-01-10 11:49:00 meters_2_counters_3 0.000
2021-01-10 11:49:00 meters_2_is_valid true
2021-01-10 11:49:00 meters_2_overpower 0.00
2021-01-10 11:49:00 meters_2_power 0.00
2021-01-10 11:49:00 meters_2_timestamp 1610279340
2021-01-10 11:49:00 meters_2_total 0
2021-01-11 07:24:48 model SHSW-25
2021-01-10 11:49:00 mqtt_connected true
2021-01-11 07:24:48 new_fw false
2021-01-11 07:24:48 online true
2021-01-11 09:37:51 overtemperature 0
2021-01-11 09:37:51 pct 0
2021-01-11 09:37:51 power 0.00
2021-01-10 11:49:00 ram_free 34716
2021-01-10 11:49:00 ram_total 49360
2021-01-11 09:37:51 roller_0_energy 0
2021-01-11 09:37:51 roller_0_power 0.00
2021-01-11 09:37:51 roller_0_stop_reason normal
2021-01-10 11:49:00 rollers_1_calibrating false
2021-01-10 11:49:00 rollers_1_current_pos 100
2021-01-10 11:49:00 rollers_1_is_valid true
2021-01-10 11:49:00 rollers_1_last_direction open
2021-01-10 11:49:00 rollers_1_overtemperature false
2021-01-10 11:49:00 rollers_1_positioning true
2021-01-10 11:49:00 rollers_1_power 0.00
2021-01-10 11:49:00 rollers_1_safety_switch false
2021-01-10 11:49:00 rollers_1_source input
2021-01-10 11:49:00 rollers_1_state stop
2021-01-10 11:49:00 rollers_1_stop_reason normal
2021-01-10 11:49:00 serial 7
2021-01-11 09:37:51 state 0
2021-01-11 09:37:51 temperature 52.28
2021-01-11 09:37:51 temperature_f 126.11
2021-01-10 11:49:00 temperature_status Normal
2021-01-10 11:49:00 time 11:49
2021-01-10 11:49:00 tmp_is_valid true
2021-01-10 11:49:00 tmp_tC 47.28
2021-01-10 11:49:00 tmp_tF 117.10
2021-01-10 11:49:00 unixtime 1610275740
2021-01-10 11:49:00 update_has_update false
2021-01-10 11:49:00 update_new_version 20201228-092242/v1.9.3@ad2bb4e3
2021-01-10 11:49:00 update_old_version 20201228-092242/v1.9.3@ad2bb4e3
2021-01-10 11:49:00 update_status idle
2021-01-10 11:49:00 uptime 217
2021-01-10 11:49:00 voltage 235.65
2021-01-10 11:49:00 wifi_sta_connected true
2021-01-10 11:49:00 wifi_sta_ip 192.168.178.21
2021-01-10 11:49:00 wifi_sta_rssi -61
2021-01-10 11:49:00 wifi_sta_ssid LauMarSte
2021-01-10 11:49:00 x_mqttcom set announce
Attributes:
IODev Mqtt2_server
alexaName Schlafzimmer
cmdIcon open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
comment Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
devStateIcon { my $amp = ReadingsVal($name,"online","false") eq "false" ? "rot" : ReadingsVal($name,"new_fw","false") eq "true" ? "gelb" : "gruen"; my $con = ReadingsVal($name,"state","unknown"); $con = 100 - $con if $con =~ /\d+/; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "100" ? 'fts_shutter_100' : $con =~ /(\d)\d/ ? 'fts_shutter_'.$1.'0' : $con =~ /\b\d\b/ ? 'fts_shutter_10' : 'fts_shutter_updown'; my $show = "$amp" eq "gelb" ? "<a href=\"/fhem?cmd.dummy=set $name x_update&XHR=1\">".FW_makeImage("10px-kreis-".$amp)."</a>" : "<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage("10px-kreis-".$amp)."</a>"; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\"></a>".FW_makeImage($pic)." </div>"}
eventMap open:opens close:closes
genericDeviceType blind
model shelly25_roller_invert_0
readingList shellies/shellyswitch25-F3430F/roller/0/pos:.* pct
shellies/shellyswitch25-F3430F/status/0/rollers:.* power
shellies/shellyswitch25-F3430F/online:.* online
shellies/shellyswitch25-F3430F/announce:.* { json2nameValue($EVENT) }
shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-F3430F...mac.*, ? json2nameValue($EVENT) : return }
shellies/shellyswitch25-F3430F/roller/0:.* current
shellies/shellyswitch25-F3430F/roller/0:open {{'state' => 'opening'}}
shellies/shellyswitch25-F3430F/roller/0:close {{'state' => 'closing'}}
shellies/shellyswitch25-F3430F/roller/0/pos:.* state
shellies/shellyswitch25-F3430F/input/1:.* input1
shellies/shellyswitch25-F3430F/input/0:.* input0
shellies/shellyswitch25-F3430F/relay/power:.* power
shellies/shellyswitch25-F3430F/relay/energy:.* energy
shellies/shellyswitch25-F3430F/temperature:.* temperature
shellies/shellyswitch25-F3430F/overtemperature:.* overtemperature
shellies/shellyswitch25-F3430F/roller/0/power:.* roller_0_power
shellies/shellyswitch25-F3430F/roller/0/energy:.* roller_0_energy
shellies/shellyswitch25-F3430F/temperature_f:.* temperature_f
shellyswitch25_F3430F:shellies/shellyswitch25-F3430F/info:.* { json2nameValue($EVENT) }
shellyswitch25_F3430F:shellies/shellyswitch25-F3430F/roller/0/stop_reason:.* roller_0_stop_reason
room Rolladen
setList open:noArg shellies/shellyswitch25-F3430F/roller/0/command open
close:noArg shellies/shellyswitch25-F3430F/roller/0/command close
half:noArg shellies/shellyswitch25-F3430F/roller/0/command/pos 50
stop:noArg shellies/shellyswitch25-F3430F/roller/0/command stop
pct:slider,0,1,100 shellies/shellyswitch25-F3430F/roller/0/command/pos $EVTPART1
x_recalibration:noArg shellies/shellyswitch25-F3430F/roller/0/command rc
x_update:noArg shellies/shellyswitch25-F3430F/command update_fw
x_mqttcom shellies/shellyswitch25-F3430F/command $EVTPART1
setStateList open close half stop pct
webCmd :open:close:half:stop:pct
Internals:
CID shellyswitch25_10CEBB
DEF shellyswitch25_10CEBB
DEVICETOPIC OG_Laurenz_Rollade_gross
FUUID 5ffadaf7-f33f-ba8d-927f-392366ff31269e1c
IODev Mqtt2_server
LASTInputDev Mqtt2_server
MSGCNT 13820
Mqtt2_server_MSGCNT 13820
Mqtt2_server_TIME 2021-01-11 09:39:03
NAME OG_Laurenz_Rollade_gross
NR 137
STATE 100
TYPE MQTT2_DEVICE
READINGS:
2021-01-10 21:17:14 actions_stats_skipped 0
2021-01-10 21:17:14 attrTemplateVersion 20201206
2021-01-10 21:17:14 cfg_changed_cnt 3
2021-01-10 21:17:14 cloud_connected false
2021-01-10 21:17:14 cloud_enabled false
2021-01-11 08:20:17 current stop
2021-01-11 09:39:03 energy 43
2021-01-10 21:17:14 fs_free 122739
2021-01-10 21:17:14 fs_size 233681
2021-01-11 09:21:33 fw_ver 20201228-092242/v1.9.3@ad2bb4e3
2021-01-10 21:17:14 has_update false
2021-01-11 09:21:33 id shellyswitch25-10CEBB
2021-01-11 09:39:03 input0 0
2021-01-11 09:39:03 input1 0
2021-01-10 21:17:14 inputs_1_event
2021-01-10 21:17:14 inputs_1_event_cnt 0
2021-01-10 21:17:14 inputs_1_input 0
2021-01-10 21:17:14 inputs_2_event
2021-01-10 21:17:14 inputs_2_event_cnt 0
2021-01-10 21:17:14 inputs_2_input 0
2021-01-11 09:21:33 ip 192.168.178.22
2021-01-11 09:21:33 mac C82B9610CEBB
2021-01-10 21:17:14 meters_1_counters_1 0.000
2021-01-10 21:17:14 meters_1_counters_2 0.000
2021-01-10 21:17:14 meters_1_counters_3 0.000
2021-01-10 21:17:14 meters_1_is_valid true
2021-01-10 21:17:14 meters_1_overpower 0.00
2021-01-10 21:17:14 meters_1_power 0.00
2021-01-10 21:17:14 meters_1_timestamp 1610313435
2021-01-10 21:17:14 meters_1_total 0
2021-01-10 21:17:14 meters_2_counters_1 0.000
2021-01-10 21:17:14 meters_2_counters_2 0.000
2021-01-10 21:17:14 meters_2_counters_3 0.000
2021-01-10 21:17:14 meters_2_is_valid true
2021-01-10 21:17:14 meters_2_overpower 0.00
2021-01-10 21:17:14 meters_2_power 0.00
2021-01-10 21:17:14 meters_2_timestamp 1610313435
2021-01-10 21:17:14 meters_2_total 0
2021-01-11 09:21:33 model SHSW-25
2021-01-10 21:17:14 mqtt_connected true
2021-01-11 09:21:33 new_fw false
2021-01-11 09:21:33 online true
2021-01-11 09:39:03 overtemperature 0
2021-01-11 09:39:03 pct 100
2021-01-11 09:39:03 power 0.00
2021-01-10 21:17:14 ram_free 35540
2021-01-10 21:17:14 ram_total 49360
2021-01-11 09:39:03 roller_0_energy 43
2021-01-11 09:39:03 roller_0_power 0.00
2021-01-11 09:39:03 roller_0_stop_reason normal
2021-01-10 21:17:14 rollers_1_calibrating false
2021-01-10 21:17:14 rollers_1_current_pos 0
2021-01-10 21:17:14 rollers_1_is_valid true
2021-01-10 21:17:14 rollers_1_last_direction close
2021-01-10 21:17:14 rollers_1_overtemperature false
2021-01-10 21:17:14 rollers_1_positioning true
2021-01-10 21:17:14 rollers_1_power 0.00
2021-01-10 21:17:14 rollers_1_safety_switch false
2021-01-10 21:17:14 rollers_1_source input
2021-01-10 21:17:14 rollers_1_state stop
2021-01-10 21:17:14 rollers_1_stop_reason normal
2021-01-10 21:17:14 serial 265
2021-01-11 09:39:03 state 100
2021-01-11 09:39:03 temperature 56.40
2021-01-11 09:39:03 temperature_f 133.52
2021-01-10 21:17:14 temperature_status Normal
2021-01-10 21:17:14 time 21:17
2021-01-10 21:17:14 tmp_is_valid true
2021-01-10 21:17:14 tmp_tC 55.42
2021-01-10 21:17:14 tmp_tF 131.76
2021-01-10 21:17:14 unixtime 1610309835
2021-01-10 21:17:14 update_has_update false
2021-01-10 21:17:14 update_new_version 20201228-092242/v1.9.3@ad2bb4e3
2021-01-10 21:17:14 update_old_version 20201228-092242/v1.9.3@ad2bb4e3
2021-01-10 21:17:14 update_status idle
2021-01-10 21:17:14 uptime 15730
2021-01-10 21:17:14 voltage 234.59
2021-01-10 21:17:14 wifi_sta_connected true
2021-01-10 21:17:14 wifi_sta_ip 192.168.178.22
2021-01-10 21:17:14 wifi_sta_rssi -74
2021-01-10 21:17:14 wifi_sta_ssid LauMarSte
2021-01-10 21:17:14 x_mqttcom set announce
Attributes:
IODev Mqtt2_server
alexaName Rolladen
cmdIcon open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
comment Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
devStateIcon { my $amp = ReadingsVal($name,"online","false") eq "false" ? "rot" : ReadingsVal($name,"new_fw","false") eq "true" ? "gelb" : "gruen"; my $con = ReadingsVal($name,"state","unknown"); $con = 100 - $con if $con =~ /\d+/; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "100" ? 'fts_shutter_100' : $con =~ /(\d)\d/ ? 'fts_shutter_'.$1.'0' : $con =~ /\b\d\b/ ? 'fts_shutter_10' : 'fts_shutter_updown'; my $show = "$amp" eq "gelb" ? "<a href=\"/fhem?cmd.dummy=set $name x_update&XHR=1\">".FW_makeImage("10px-kreis-".$amp)."</a>" : "<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage("10px-kreis-".$amp)."</a>"; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\"></a>".FW_makeImage($pic)." </div>"}
eventMap open:opens close:closes
genericDeviceType blind
model shelly25_roller_invert_0
readingList shellies/shellyswitch25-10CEBB/roller/0/pos:.* pct
shellies/shellyswitch25-10CEBB/status/0/rollers:.* power
shellies/shellyswitch25-10CEBB/online:.* online
shellies/shellyswitch25-10CEBB/announce:.* { json2nameValue($EVENT) }
shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-10CEBB...mac.*, ? json2nameValue($EVENT) : return }
shellies/shellyswitch25-10CEBB/roller/0:.* current
shellies/shellyswitch25-10CEBB/roller/0:open {{'state' => 'opening'}}
shellies/shellyswitch25-10CEBB/roller/0:close {{'state' => 'closing'}}
shellies/shellyswitch25-10CEBB/roller/0/pos:.* state
shellies/shellyswitch25-10CEBB/input/1:.* input1
shellies/shellyswitch25-10CEBB/input/0:.* input0
shellies/shellyswitch25-10CEBB/relay/power:.* power
shellies/shellyswitch25-10CEBB/relay/energy:.* energy
shellies/shellyswitch25-10CEBB/temperature:.* temperature
shellies/shellyswitch25-10CEBB/overtemperature:.* overtemperature
shellies/shellyswitch25-10CEBB/roller/0/power:.* roller_0_power
shellies/shellyswitch25-10CEBB/roller/0/energy:.* roller_0_energy
shellies/shellyswitch25-10CEBB/temperature_f:.* temperature_f
shellyswitch25_10CEBB:shellies/shellyswitch25-10CEBB/info:.* { json2nameValue($EVENT) }
shellyswitch25_10CEBB:shellies/shellyswitch25-10CEBB/roller/0/stop_reason:.* roller_0_stop_reason
room Rolladen
setList open:noArg shellies/shellyswitch25-10CEBB/roller/0/command open
close:noArg shellies/shellyswitch25-10CEBB/roller/0/command close
half:noArg shellies/shellyswitch25-10CEBB/roller/0/command/pos 50
stop:noArg shellies/shellyswitch25-10CEBB/roller/0/command stop
pct:slider,0,1,100 shellies/shellyswitch25-10CEBB/roller/0/command/pos $EVTPART1
x_recalibration:noArg shellies/shellyswitch25-10CEBB/roller/0/command rc
x_update:noArg shellies/shellyswitch25-10CEBB/command update_fw
x_mqttcom shellies/shellyswitch25-10CEBB/command $EVTPART1
setStateList open close half stop pct
userattr OG_Eltern_Rollade_Tuer OG_Eltern_Rollade_Tuer_map structexclude
webCmd :open:close:half:stop:pct
und hier das structure
Internals:
ATTR OG_Eltern_Rollade_Tuer
CHANGEDCNT 13816
DEF OG_Eltern_Rollade_Tuer OG_Laurenz_Rollade_gross
FUUID 5ffadc6d-f33f-ba8d-f6fa-52a2ff63fff5e21d
NAME Rolladen_OG
NOTIFYDEV OG_Laurenz_Rollade_gross,global
NR 138
NTFY_ORDER 50-Rolladen_OG
STATE 100
TYPE structure
READINGS:
2021-01-11 09:39:33 LastDevice OG_Laurenz_Rollade_gross
2021-01-11 09:39:33 LastDevice_Abs OG_Laurenz_Rollade_gross
2021-01-11 09:39:33 state 100
Attributes:
room Rolladen
finde leider den Fehler nicht..
danke
Gruß Marcell
...immer dasselbe, was die User bei structure falsch machen...:
Schau in https://fhem.de/commandref_modular.html#structure und überlege, was bei dir als <struct_type> verwendet wird ;) .
Okay, danke
Hab setStructType auf 1 gesetzt
Gruß Marcell
"1" ist vermutlich nicht dir glücklichste aller möglichen Optionen...
Die Zusammenhänge sind ggf. etwas schwierig, aber über den <struct_type> kann man auch unterschiedliche mappings festlegen, um z.B. Zustände unterschiedlichster Modul-TYPE zu vereinheitlichen / zu übersetzen. (würde eher "rollo" oä. empfehlen).
Okay, danke dir.
Also Rollade reicht dann auch
Hab es nochmal gelöscht und neu angelegt.
Hallo,
eigentlich ist es mir unangenehm noch einmal nachzufragen...aber ich weiß nicht warum die andere Rollade nicht hochfährt...
oh man..echt doof..
ich lerne schon immer mehr dazu..aber manche Sachen brauche ich anscheinend noch Nachhilfe..Tut mir leid.
hier mal die komplette Steuerung
Rollade Eltern hat einen grünen Punkt
und Laurenz Rollade hat einen roten Punkt.
Eltern
Internals:
CID shellyswitch25_F3430F
DEF shellyswitch25_F3430F
DEVICETOPIC OG_Eltern_Rollade_Tuer
FUUID 5ffada93-f33f-ba8d-54d2-9e9a78321ddcf918
IODev Mqtt2_server
LASTInputDev Mqtt2_server
MSGCNT 48830
Mqtt2_server_MSGCNT 48830
Mqtt2_server_TIME 2021-01-12 12:08:49
NAME OG_Eltern_Rollade_Tuer
NR 136
STATE 100
TYPE MQTT2_DEVICE
READINGS:
2021-01-10 11:49:00 actions_stats_skipped 0
2021-01-10 11:49:00 attrTemplateVersion 20201206
2021-01-10 11:49:00 cfg_changed_cnt 2
2021-01-10 11:49:00 cloud_connected false
2021-01-10 11:49:00 cloud_enabled false
2021-01-12 08:20:23 current stop
2021-01-12 12:08:49 energy 106
2021-01-10 11:49:00 fs_free 122488
2021-01-10 11:49:00 fs_size 233681
2021-01-12 11:23:48 fw_ver 20201228-092242/v1.9.3@ad2bb4e3
2021-01-10 11:49:00 has_update false
2021-01-12 11:23:48 id shellyswitch25-F3430F
2021-01-12 12:08:49 input0 0
2021-01-12 12:08:49 input1 1
2021-01-10 11:49:00 inputs_1_event
2021-01-10 11:49:00 inputs_1_event_cnt 0
2021-01-10 11:49:00 inputs_1_input 0
2021-01-10 11:49:00 inputs_2_event
2021-01-10 11:49:00 inputs_2_event_cnt 0
2021-01-10 11:49:00 inputs_2_input 1
2021-01-12 11:23:48 ip 192.168.178.21
2021-01-12 11:23:48 mac 98F4ABF3430F
2021-01-10 11:49:00 meters_1_counters_1 0.000
2021-01-10 11:49:00 meters_1_counters_2 0.000
2021-01-10 11:49:00 meters_1_counters_3 0.000
2021-01-10 11:49:00 meters_1_is_valid true
2021-01-10 11:49:00 meters_1_overpower 0.00
2021-01-10 11:49:00 meters_1_power 0.00
2021-01-10 11:49:00 meters_1_timestamp 1610279340
2021-01-10 11:49:00 meters_1_total 0
2021-01-10 11:49:00 meters_2_counters_1 0.000
2021-01-10 11:49:00 meters_2_counters_2 0.000
2021-01-10 11:49:00 meters_2_counters_3 0.000
2021-01-10 11:49:00 meters_2_is_valid true
2021-01-10 11:49:00 meters_2_overpower 0.00
2021-01-10 11:49:00 meters_2_power 0.00
2021-01-10 11:49:00 meters_2_timestamp 1610279340
2021-01-10 11:49:00 meters_2_total 0
2021-01-12 11:23:48 model SHSW-25
2021-01-10 11:49:00 mqtt_connected true
2021-01-12 11:23:48 new_fw false
2021-01-12 11:23:48 online true
2021-01-12 12:08:49 overtemperature 0
2021-01-12 12:08:49 pct 100
2021-01-12 12:08:49 power 0.00
2021-01-10 11:49:00 ram_free 34716
2021-01-10 11:49:00 ram_total 49360
2021-01-12 12:08:49 roller_0_energy 106
2021-01-12 12:08:49 roller_0_power 0.00
2021-01-12 12:08:49 roller_0_stop_reason normal
2021-01-10 11:49:00 rollers_1_calibrating false
2021-01-10 11:49:00 rollers_1_current_pos 100
2021-01-10 11:49:00 rollers_1_is_valid true
2021-01-10 11:49:00 rollers_1_last_direction open
2021-01-10 11:49:00 rollers_1_overtemperature false
2021-01-10 11:49:00 rollers_1_positioning true
2021-01-10 11:49:00 rollers_1_power 0.00
2021-01-10 11:49:00 rollers_1_safety_switch false
2021-01-10 11:49:00 rollers_1_source input
2021-01-10 11:49:00 rollers_1_state stop
2021-01-10 11:49:00 rollers_1_stop_reason normal
2021-01-10 11:49:00 serial 7
2021-01-12 12:08:49 state 100
2021-01-12 12:08:49 temperature 47.95
2021-01-12 12:08:49 temperature_f 118.30
2021-01-10 11:49:00 temperature_status Normal
2021-01-10 11:49:00 time 11:49
2021-01-10 11:49:00 tmp_is_valid true
2021-01-10 11:49:00 tmp_tC 47.28
2021-01-10 11:49:00 tmp_tF 117.10
2021-01-10 11:49:00 unixtime 1610275740
2021-01-10 11:49:00 update_has_update false
2021-01-10 11:49:00 update_new_version 20201228-092242/v1.9.3@ad2bb4e3
2021-01-10 11:49:00 update_old_version 20201228-092242/v1.9.3@ad2bb4e3
2021-01-10 11:49:00 update_status idle
2021-01-10 11:49:00 uptime 217
2021-01-10 11:49:00 voltage 235.65
2021-01-10 11:49:00 wifi_sta_connected true
2021-01-10 11:49:00 wifi_sta_ip 192.168.178.21
2021-01-10 11:49:00 wifi_sta_rssi -61
2021-01-10 11:49:00 wifi_sta_ssid LauMarSte
2021-01-10 11:49:00 x_mqttcom set announce
Attributes:
IODev Mqtt2_server
alexaName Schlafzimmer
cmdIcon open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
comment Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
devStateIcon { my $amp = ReadingsVal($name,"online","false") eq "false" ? "rot" : ReadingsVal($name,"new_fw","false") eq "true" ? "gelb" : "gruen"; my $con = ReadingsVal($name,"state","unknown"); $con = 100 - $con if $con =~ /\d+/; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "100" ? 'fts_shutter_100' : $con =~ /(\d)\d/ ? 'fts_shutter_'.$1.'0' : $con =~ /\b\d\b/ ? 'fts_shutter_10' : 'fts_shutter_updown'; my $show = "$amp" eq "gelb" ? "<a href=\"/fhem?cmd.dummy=set $name x_update&XHR=1\">".FW_makeImage("10px-kreis-".$amp)."</a>" : "<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage("10px-kreis-".$amp)."</a>"; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\"></a>".FW_makeImage($pic)." </div>"}
eventMap open:opens close:closes
genericDeviceType blind
model shelly25_roller_invert_0
readingList shellies/shellyswitch25-F3430F/roller/0/pos:.* pct
shellies/shellyswitch25-F3430F/status/0/rollers:.* power
shellies/shellyswitch25-F3430F/online:.* online
shellies/shellyswitch25-F3430F/announce:.* { json2nameValue($EVENT) }
shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-F3430F...mac.*, ? json2nameValue($EVENT) : return }
shellies/shellyswitch25-F3430F/roller/0:.* current
shellies/shellyswitch25-F3430F/roller/0:open {{'state' => 'opening'}}
shellies/shellyswitch25-F3430F/roller/0:close {{'state' => 'closing'}}
shellies/shellyswitch25-F3430F/roller/0/pos:.* state
shellies/shellyswitch25-F3430F/input/1:.* input1
shellies/shellyswitch25-F3430F/input/0:.* input0
shellies/shellyswitch25-F3430F/relay/power:.* power
shellies/shellyswitch25-F3430F/relay/energy:.* energy
shellies/shellyswitch25-F3430F/temperature:.* temperature
shellies/shellyswitch25-F3430F/overtemperature:.* overtemperature
shellies/shellyswitch25-F3430F/roller/0/power:.* roller_0_power
shellies/shellyswitch25-F3430F/roller/0/energy:.* roller_0_energy
shellies/shellyswitch25-F3430F/temperature_f:.* temperature_f
shellyswitch25_F3430F:shellies/shellyswitch25-F3430F/info:.* { json2nameValue($EVENT) }
shellyswitch25_F3430F:shellies/shellyswitch25-F3430F/roller/0/stop_reason:.* roller_0_stop_reason
room Rolladen
setList open:noArg shellies/shellyswitch25-F3430F/roller/0/command open
Laurenz
Internals:
CID shellyswitch25_10CEBB
DEF shellyswitch25_10CEBB
DEVICETOPIC OG_Laurenz_Rollade_gross
FUUID 5ffadaf7-f33f-ba8d-927f-392366ff31269e1c
IODev Mqtt2_server
LASTInputDev Mqtt2_server
MSGCNT 19889
Mqtt2_server_MSGCNT 19889
Mqtt2_server_TIME 2021-01-12 11:23:48
NAME OG_Laurenz_Rollade_gross
NR 137
STATE set_open
TYPE MQTT2_DEVICE
READINGS:
2021-01-10 21:17:14 actions_stats_skipped 0
2021-01-10 21:17:14 attrTemplateVersion 20201206
2021-01-10 21:17:14 cfg_changed_cnt 3
2021-01-10 21:17:14 cloud_connected false
2021-01-10 21:17:14 cloud_enabled false
2021-01-11 11:09:11 current stop
2021-01-11 14:13:35 energy 127
2021-01-10 21:17:14 fs_free 122739
2021-01-10 21:17:14 fs_size 233681
2021-01-11 14:13:35 fw_ver 20201228-092242/v1.9.3@ad2bb4e3
2021-01-10 21:17:14 has_update false
2021-01-11 14:13:35 id shellyswitch25-10CEBB
2021-01-11 14:13:35 input0 0
2021-01-11 14:13:35 input1 0
2021-01-10 21:17:14 inputs_1_event
2021-01-10 21:17:14 inputs_1_event_cnt 0
2021-01-10 21:17:14 inputs_1_input 0
2021-01-10 21:17:14 inputs_2_event
2021-01-10 21:17:14 inputs_2_event_cnt 0
2021-01-10 21:17:14 inputs_2_input 0
2021-01-11 14:13:35 ip 192.168.178.22
2021-01-11 14:13:35 mac C82B9610CEBB
2021-01-10 21:17:14 meters_1_counters_1 0.000
2021-01-10 21:17:14 meters_1_counters_2 0.000
2021-01-10 21:17:14 meters_1_counters_3 0.000
2021-01-10 21:17:14 meters_1_is_valid true
2021-01-10 21:17:14 meters_1_overpower 0.00
2021-01-10 21:17:14 meters_1_power 0.00
2021-01-10 21:17:14 meters_1_timestamp 1610313435
2021-01-10 21:17:14 meters_1_total 0
2021-01-10 21:17:14 meters_2_counters_1 0.000
2021-01-10 21:17:14 meters_2_counters_2 0.000
2021-01-10 21:17:14 meters_2_counters_3 0.000
2021-01-10 21:17:14 meters_2_is_valid true
2021-01-10 21:17:14 meters_2_overpower 0.00
2021-01-10 21:17:14 meters_2_power 0.00
2021-01-10 21:17:14 meters_2_timestamp 1610313435
2021-01-10 21:17:14 meters_2_total 0
2021-01-11 14:13:35 model SHSW-25
2021-01-10 21:17:14 mqtt_connected true
2021-01-11 14:13:35 new_fw false
2021-01-11 14:15:07 online false
2021-01-11 14:13:36 overtemperature 0
2021-01-11 14:13:35 pct 100
2021-01-11 14:13:35 power 0.00
2021-01-10 21:17:14 ram_free 35540
2021-01-10 21:17:14 ram_total 49360
2021-01-11 14:13:35 roller_0_energy 127
2021-01-11 14:13:35 roller_0_power 0.00
2021-01-11 14:13:35 roller_0_stop_reason normal
2021-01-10 21:17:14 rollers_1_calibrating false
2021-01-10 21:17:14 rollers_1_current_pos 0
2021-01-10 21:17:14 rollers_1_is_valid true
2021-01-10 21:17:14 rollers_1_last_direction close
2021-01-10 21:17:14 rollers_1_overtemperature false
2021-01-10 21:17:14 rollers_1_positioning true
2021-01-10 21:17:14 rollers_1_power 0.00
2021-01-10 21:17:14 rollers_1_safety_switch false
2021-01-10 21:17:14 rollers_1_source input
2021-01-10 21:17:14 rollers_1_state stop
2021-01-10 21:17:14 rollers_1_stop_reason normal
2021-01-10 21:17:14 serial 265
2021-01-12 08:20:00 state set_open
2021-01-11 14:13:35 temperature 53.76
2021-01-11 14:13:36 temperature_f 128.78
2021-01-10 21:17:14 temperature_status Normal
2021-01-10 21:17:14 time 21:17
2021-01-10 21:17:14 tmp_is_valid true
2021-01-10 21:17:14 tmp_tC 55.42
2021-01-10 21:17:14 tmp_tF 131.76
2021-01-10 21:17:14 unixtime 1610309835
2021-01-10 21:17:14 update_has_update false
2021-01-10 21:17:14 update_new_version 20201228-092242/v1.9.3@ad2bb4e3
2021-01-10 21:17:14 update_old_version 20201228-092242/v1.9.3@ad2bb4e3
2021-01-10 21:17:14 update_status idle
2021-01-10 21:17:14 uptime 15730
2021-01-10 21:17:14 voltage 234.59
2021-01-10 21:17:14 wifi_sta_connected true
2021-01-10 21:17:14 wifi_sta_ip 192.168.178.22
2021-01-10 21:17:14 wifi_sta_rssi -74
2021-01-10 21:17:14 wifi_sta_ssid LauMarSte
2021-01-10 21:17:14 x_mqttcom set announce
Attributes:
IODev Mqtt2_server
alexaName Rolladen
cmdIcon open:fts_shutter_up close:fts_shutter_down stop:fts_shutter_manual half:fts_shutter_50
comment Shelly 2.5 in Roller-Mode. 100=opened / 0=closed
devStateIcon { my $amp = ReadingsVal($name,"online","false") eq "false" ? "rot" : ReadingsVal($name,"new_fw","false") eq "true" ? "gelb" : "gruen"; my $con = ReadingsVal($name,"state","unknown"); $con = 100 - $con if $con =~ /\d+/; my $pic = $con eq "opening" ? 'fts_shutter_up@red' : $con eq "closing" ? 'fts_shutter_down@red' : $con eq "100" ? 'fts_shutter_100' : $con =~ /(\d)\d/ ? 'fts_shutter_'.$1.'0' : $con =~ /\b\d\b/ ? 'fts_shutter_10' : 'fts_shutter_updown'; my $show = "$amp" eq "gelb" ? "<a href=\"/fhem?cmd.dummy=set $name x_update&XHR=1\">".FW_makeImage("10px-kreis-".$amp)."</a>" : "<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage("10px-kreis-".$amp)."</a>"; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\"></a>".FW_makeImage($pic)." </div>"}
eventMap open:opens close:closes
genericDeviceType blind
model shelly25_roller_invert_0
readingList shellies/shellyswitch25-10CEBB/roller/0/pos:.* pct
shellies/shellyswitch25-10CEBB/status/0/rollers:.* power
shellies/shellyswitch25-10CEBB/online:.* online
shellies/shellyswitch25-10CEBB/announce:.* { json2nameValue($EVENT) }
shellies/announce:.* { $EVENT =~ m,..id...shellyswitch25-10CEBB...mac.*, ? json2nameValue($EVENT) : return }
shellies/shellyswitch25-10CEBB/roller/0:.* current
shellies/shellyswitch25-10CEBB/roller/0:open {{'state' => 'opening'}}
shellies/shellyswitch25-10CEBB/roller/0:close {{'state' => 'closing'}}
shellies/shellyswitch25-10CEBB/roller/0/pos:.* state
shellies/shellyswitch25-10CEBB/input/1:.* input1
shellies/shellyswitch25-10CEBB/input/0:.* input0
shellies/shellyswitch25-10CEBB/relay/power:.* power
shellies/shellyswitch25-10CEBB/relay/energy:.* energy
shellies/shellyswitch25-10CEBB/temperature:.* temperature
shellies/shellyswitch25-10CEBB/overtemperature:.* overtemperature
shellies/shellyswitch25-10CEBB/roller/0/power:.* roller_0_power
shellies/shellyswitch25-10CEBB/roller/0/energy:.* roller_0_energy
shellies/shellyswitch25-10CEBB/temperature_f:.* temperature_f
shellyswitch25_10CEBB:shellies/shellyswitch25-10CEBB/info:.* { json2nameValue($EVENT) }
shellyswitch25_10CEBB:shellies/shellyswitch25-10CEBB/roller/0/stop_reason:.* roller_0_stop_reason
room Rolladen
setList open:noArg shellies/shellyswitch25-10CEBB/roller/0/command open
close:noArg shellies/shellyswitch25-10CEBB/roller/0/command close
half:noArg shellies/shellyswitch25-10CEBB/roller/0/command/pos 50
stop:noArg shellies/shellyswitch25-10CEBB/roller/0/command stop
pct:slider,0,1,100 shellies/shellyswitch25-10CEBB/roller/0/command/pos $EVTPART1
x_recalibration:noArg shellies/shellyswitch25-10CEBB/roller/0/command rc
x_update:noArg shellies/shellyswitch25-10CEBB/command update_fw
x_mqttcom shellies/shellyswitch25-10CEBB/command $EVTPART1
setStateList open close half stop pct
userattr OG_Eltern_Rollade_Tuer OG_Eltern_Rollade_Tuer_map Rollo Rollo_map structexclude
webCmd :open:close:half:stop:pct
structure
Save config
Amazon
Batterie
CUL_HOERMANN
Draussen
EG Wohnzimmer
Fritzbox
Geraete
HOMEMODE
Homematic
IT
Kalender
Logik
MQTT
Residents
Rolladen
System
Tankstellen
icoEverything Everything
Logfile
Commandref
Remote doc
Edit files
Select style
Event monitor
Internals:
ATTR Rollo
CFGFN
CHANGEDCNT 37619
DEF Rollo OG_Eltern_Rollade_Tuer OG_Laurenz_Rollade_gross
FUUID 5ffc2129-f33f-ba8d-8046-5faf5932650adb08
NAME Rolladen_OG
NOTIFYDEV global,OG_Laurenz_Rollade_gross,OG_Eltern_Rollade_Tuer
NR 4710
NTFY_ORDER 50-Rolladen_OG
STATE undefined
TYPE structure
READINGS:
2021-01-12 12:10:19 LastDevice OG_Eltern_Rollade_Tuer
2021-01-12 12:10:19 LastDevice_Abs OG_Eltern_Rollade_Tuer
2021-01-12 12:10:19 state undefined
Attributes:
devStateIcon .*:fts_shutter
room Rolladen
setStructType 1
doif
Internals:
DEF ([Rollos_steuerung:state] eq "on" and ([[OUT_Twilight:ss]] ))
(set Rolladen_OG close)
DOELSEIF (([08:20:00|8] or [08:30:00|7]) and [Rollos_steuerung:state] eq "on")
(set Rolladen_OG open)
FUUID 5fee4559-f33f-ba8d-ae9b-f181ec762ccb854f
MODEL FHEM
NAME Rolladensteuerung
NOTIFYDEV Rollos_steuerung,global,OUT_Twilight
NR 68
NTFY_ORDER 50-Rolladensteuerung
STATE cmd_2
TYPE DOIF
VERSION 23466 2021-01-03 17:14:46
READINGS:
2021-01-12 08:20:00 cmd 2
2021-01-12 08:20:00 cmd_event timer_2
2021-01-12 08:20:00 cmd_nr 2
2021-01-10 11:54:00 mode enabled
2021-01-12 08:20:00 state cmd_2
2021-01-12 00:00:01 timer_01_c01 12.01.2021 16:47:00
2021-01-12 08:20:00 timer_02_c02 13.01.2021 08:20:00|8
2021-01-12 08:30:00 timer_03_c02 13.01.2021 08:30:00|7
Regex:
accu:
cond:
Rollos_steuerung:
0:
state ^Rollos_steuerung$:^state:
1:
state ^Rollos_steuerung$:^state:
itimer:
OUT_Twilight:
itimer:
ss ^OUT_Twilight$:^ss:
attr:
cmdState:
waitdel:
condition:
0 ::ReadingValDoIf($hash,'Rollos_steuerung','state') eq "on" and (::DOIF_time_once($hash,0,$wday) )
1 (::DOIF_time_once($hash,1,$wday,"8") or ::DOIF_time_once($hash,2,$wday,"7")) and ::ReadingValDoIf($hash,'Rollos_steuerung','state') eq "on"
days:
1 8
2 7
do:
0:
0 set Rolladen_OG close
1:
0 set Rolladen_OG open
2:
helper:
DEVFILTER ^global$|^OUT_Twilight$|^Rollos_steuerung$
NOTIFYDEV global|OUT_Twilight|Rollos_steuerung
event timer_2
globalinit 1
last_timer 3
sleeptimer -1
timerdev
timerevent timer_2
triggerDev
timerevents:
timer_2
timereventsState:
timer_2
triggerEvents:
timer_2
triggerEventsState:
timer_2
interval:
intervalfunc:
intervaltimer:
localtime:
0 1610466420
1 1610522400
2 1610523000
perlblock:
readings:
all Rollos_steuerung:state
realtime:
0 16:47:00
1 08:20:00
2 08:30:00
time:
0 [OUT_Twilight:ss]
1 08:20:00
2 08:30:00
timeCond:
0 0
1 1
2 1
timer:
0 0
1 0
2 0
timers:
0 0
1 1 2
triggertime:
1610466420:
localtime 1610466420
hash:
1610522400:
localtime 1610522400
hash:
1610523000:
localtime 1610523000
hash:
uiState:
uiTable:
Attributes:
checkReadingEvent 1
do always
room Logik
ich denke es hat was mit STATE zu tun... 100 und set_open
Es tut mir leid..und bitte nicht zu sehr aufregen ::)
danke Marcell
Nein, rege mich nicht auf, aber das ist m.E. ein ganz anderes Thema:
"roter Punkt" und "set_open" bedeuten schlicht: Das Device kann nicht erreicht werden.
Ursache vermutlich: WLAN-Probleme...
(Wenn ja: Das ist der "Klassiker", und v.a. mit den Stichworten Fritzbox und ESP8266 wirst du einige Threads dazu finden, auch zur Frage, wie man das verbessern könnte...)
Okay, ich hab verstanden.. Danke.bin grad unterwegs und habe auf die schnelle einen thread gelesen.. Okay, ich habe verstanden dass meine fritzbox nicht der ideale AP ist. Ich versuche mich heute abend auf der spätschicht mal mehr danit zu befassen ich stelle diesen thread als gelöst hin
. (Muss mal schauen. Hab im Keller noch einen Wdr3600 rumliegen..) aber ob der besser ist... Naja)
Danke für die Hilfe