Schönen Nachmittag zusammen!
Dies ist mein gefüht 100er Shelly, aber mein erster Shelly 1PM Plus. Ich komme einfach nicht weiter und bitte um Hilfe. Ich habe den Shelly strommäßig angeschlossen und die MQTT-Konfiguration (nachdem ich eine FW-Update gemacht hatte) wie am Screenshot gezeigt eingerichtet.
In FHEM erscheint der Shelly wie gewünscht mit folgendem "list":
Internals:
CFGFN
CID SH_PoolpumpePM
DEF SH_PoolpumpePM
FUUID 667c070b-f33f-55a1-127a-8f64523cb46649a7
IODev MQTT_Shellies
LASTInputDev MQTT_Shellies
MQTT_Shellies_CONN MQTT_Shellies_192.168.57.197_54474
MQTT_Shellies_MSGCNT 6
MQTT_Shellies_TIME 2024-06-26 14:18:28
MSGCNT 6
NAME MQTT2_SH_PoolpumpePM
NR 569
STATE false
TYPE MQTT2_DEVICE
eventCount 16
READINGS:
2024-06-26 14:18:19 IODev MQTT_Shellies
2024-06-26 14:18:28 aenergy_total 516.244
2024-06-26 14:18:27 ap_client_count 0
2024-06-26 14:18:28 apower 584.5
2024-06-26 14:18:26 ble {}
2024-06-26 14:18:27 cfg_rev 13
2024-06-26 14:18:27 connected true
2024-06-26 14:18:28 current 2.634
2024-06-26 14:18:28 dst SH-PoolpumpePM/events
2024-06-26 14:18:27 fs_free 135168
2024-06-26 14:18:27 fs_size 458752
2024-06-26 14:18:28 id 0
2024-06-26 14:18:27 kvs_rev 0
2024-06-26 14:18:27 mac CC7B5C84D3D0
2024-06-26 14:18:28 method NotifyStatus
2024-06-26 14:18:26 online true
2024-06-26 14:18:28 output true
2024-06-26 14:18:28 params_cloud_connected false
2024-06-26 14:18:19 params_events_1_component sys
2024-06-26 14:18:19 params_events_1_event scheduled_restart
2024-06-26 14:18:19 params_events_1_time_ms 995
2024-06-26 14:18:19 params_events_1_ts 1719404299.13
2024-06-26 14:18:28 params_input_0_id 0
2024-06-26 14:18:28 params_input_0_state false
2024-06-26 14:18:28 params_mqtt_connected true
2024-06-26 14:18:28 params_switch_0_aenergy_total 516.081
2024-06-26 14:18:28 params_switch_0_apower 584.5
2024-06-26 14:18:28 params_switch_0_current 2.634
2024-06-26 14:18:28 params_switch_0_id 0
2024-06-26 14:18:28 params_switch_0_output true
2024-06-26 14:18:28 params_switch_0_source init
2024-06-26 14:18:28 params_switch_0_temperature_tC 62.6
2024-06-26 14:18:28 params_switch_0_temperature_tF 144.7
2024-06-26 14:18:28 params_switch_0_voltage 236.3
2024-06-26 14:18:28 params_sys_cfg_rev 13
2024-06-26 14:18:28 params_sys_fs_free 135168
2024-06-26 14:18:28 params_sys_fs_size 458752
2024-06-26 14:18:28 params_sys_kvs_rev 0
2024-06-26 14:18:28 params_sys_mac CC7B5C84D3D0
2024-06-26 14:18:28 params_sys_ram_free 128432
2024-06-26 14:18:28 params_sys_ram_size 261920
2024-06-26 14:18:28 params_sys_reset_reason 3
2024-06-26 14:18:28 params_sys_restart_required false
2024-06-26 14:18:28 params_sys_schedule_rev 0
2024-06-26 14:18:28 params_sys_uptime 3
2024-06-26 14:18:28 params_sys_webhook_rev 0
2024-06-26 14:18:28 params_ts 3.35
2024-06-26 14:18:28 params_wifi_ap_client_count 0
2024-06-26 14:18:28 params_wifi_rssi -65
2024-06-26 14:18:28 params_wifi_ssid Internet
2024-06-26 14:18:28 params_wifi_sta_ip 192.168.57.197
2024-06-26 14:18:28 params_wifi_status got ip
2024-06-26 14:18:28 params_ws_connected false
2024-06-26 14:18:27 ram_free 127412
2024-06-26 14:18:27 ram_size 261860
2024-06-26 14:18:27 reset_reason 3
2024-06-26 14:18:27 restart_required false
2024-06-26 14:18:27 rssi -65
2024-06-26 14:18:27 schedule_rev 0
2024-06-26 14:18:28 source init
2024-06-26 14:18:28 src shellyplus1pm-cc7b5c84d3d0
2024-06-26 14:18:27 ssid Internet
2024-06-26 14:18:27 sta_ip 192.168.57.197
2024-06-26 14:18:27 state false
2024-06-26 14:18:27 status got ip
2024-06-26 14:18:28 temperature_tC 62.6
2024-06-26 14:18:28 temperature_tF 144.7
2024-06-26 14:18:27 uptime 3
2024-06-26 14:18:28 voltage 236.3
2024-06-26 14:18:27 webhook_rev 0
Attributes:
readingList SH_PoolpumpePM:SH-PoolpumpePM/events/rpc:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/online:.* online
SH_PoolpumpePM:SH-PoolpumpePM/status/ble:.* ble
SH_PoolpumpePM:SH-PoolpumpePM/status/cloud:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/status/input_0:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/status/mqtt:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/status/switch_0:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/status/sys:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/status/wifi:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/status/ws:.* { json2nameValue($EVENT) }
room MQTT2_DEVICE
Nun gibt es kein on/of/toggle usw, daher verwende ich ein Template mit dem naheliegendsden Namen shellyPlus_1pm. Im Dialog lasse ich alexaName & siriName leer und nenne das Device SW.Poolpumpe
Als Ergebnis erhalte ich folgendes list:
Internals:
CFGFN
CID SH_PoolpumpePM
DEF SH_PoolpumpePM
FUUID 667c070b-f33f-55a1-127a-8f64523cb46649a7
IODev MQTT_Shellies
LASTInputDev MQTT_Shellies
MQTT_Shellies_CONN MQTT_Shellies_192.168.57.197_54474
MQTT_Shellies_MSGCNT 34
MQTT_Shellies_TIME 2024-06-26 14:34:01
MSGCNT 34
NAME MQTT2_SH_PoolpumpePM
NR 569
STATE set_toggle
TYPE MQTT2_DEVICE
eventCount 58
JSONMAP:
params_switch_0_temperature_tC temperature
params_switch_0_temperature_tF 0
params_wifi_sta_ip ip
req_result_in_mode in_mode
switch_state state
switch_temperature_tC temperature
switch_temperature_tF 0
OLDREADINGS:
READINGS:
2024-06-26 14:18:19 IODev MQTT_Shellies
2024-06-26 14:34:01 aenergy_by_minute_1 9722.411
2024-06-26 14:34:01 aenergy_by_minute_2 9710.872
2024-06-26 14:34:01 aenergy_by_minute_3 9706.598
2024-06-26 14:34:01 aenergy_minute_ts 1719405240
2024-06-26 14:34:01 aenergy_total 667.894
2024-06-26 14:34:01 apower 583.9
2024-06-26 14:31:25 attrTemplateVersion 20220304
2024-06-26 14:34:01 current 2.629
2024-06-26 14:34:00 dst SH-PoolpumpePM/events
2024-06-26 14:34:01 id 0
2024-06-26 14:34:00 method NotifyStatus
2024-06-26 14:34:01 output true
2024-06-26 14:34:00 params_switch_0_aenergy_by_minute_1 9722.411
2024-06-26 14:34:00 params_switch_0_aenergy_by_minute_2 9710.872
2024-06-26 14:34:00 params_switch_0_aenergy_by_minute_3 9706.598
2024-06-26 14:34:00 params_switch_0_aenergy_minute_ts 1719405240
2024-06-26 14:34:00 params_switch_0_aenergy_total 667.894
2024-06-26 14:34:00 params_switch_0_id 0
2024-06-26 14:34:00 params_ts 1719405240.00
2024-06-26 14:34:01 source init
2024-06-26 14:34:00 src shellyplus1pm-cc7b5c84d3d0
2024-06-26 14:33:27 state set_toggle
2024-06-26 14:34:01 temperature_tC 63.7
2024-06-26 14:34:01 temperature_tF 146.6
2024-06-26 14:34:01 voltage 235.7
2024-06-26 14:31:25 x_reboot set
Attributes:
devStateIcon {my $onl = ReadingsVal($name,'online','false') eq 'false'?'10px-kreis-rot':'10px-kreis-gruen'; $onl = FW_makeImage($onl); my $light = FW_makeImage(ReadingsVal($name,'state','off')); my $temp = ReadingsVal($name,'temperature','-100'); my $ip = ReadingsVal($name,'ip','none'); my $reb = ReadingsVal($name,'sys_restart_required','false') eq 'true'?'<a href="/fhem?cmd.dummy=set '.$name.' x_reboot&XHR=1"> ... Notwendigen Reboot durchführen</a>':''; qq(<a href="http://$ip" target="_blank">${onl}</a><a href="/fhem?cmd.dummy=set $name toggle&XHR=1">${light}</a>$reb<div>Temp: $temp °C</div>)}
devicetopic SW.Poolpumpe
genericDeviceType switch
getList in_mode:noArg in_mode $DEVICETOPIC/rpc {"id": 1,"src":"$DEVICETOPIC", "method": "Switch.GetConfig", "params": {"id": 0}}
icon message_socket
jsonMap switch_state:state switch_temperature_tC:temperature switch_temperature_tF:0 params_wifi_sta_ip:ip params_switch_0_temperature_tC:temperature params_switch_0_temperature_tF:0 req_result_in_mode:in_mode
model shellyPlus_1
readingList $DEVICETOPIC/online:.* online
$DEVICETOPIC/events/rpc:.* { json2nameValue($EVENT,'',$JSONMAP) }
$DEVICETOPIC/status/mqtt:.* { json2nameValue($EVENT, 'mqtt_', $JSONMAP) }
$DEVICETOPIC/status/sys:.* { json2nameValue($EVENT, 'sys_', $JSONMAP) }
$DEVICETOPIC/status/switch_0:.* { $EVENT =~ s/"output":true/"state":"on"/g; $EVENT =~ s/"output":false/"state":"off"/g; json2nameValue($EVENT, 'switch_', $JSONMAP) }
$DEVICETOPIC/status/cloud:.* {}
$DEVICETOPIC/rpc:.* { json2nameValue($EVENT, 'req_', $JSONMAP, 'in_mode')}
$DEVICETOPIC/status/input_0:.* { json2nameValue($EVENT, 'input_', $JSONMAP) }
fhem2shelly/rpc:.* {}
SH_PoolpumpePM:SH-PoolpumpePM/events/rpc:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/status/switch_0:.* { json2nameValue($EVENT) }
room MQTT2_DEVICE
setList toggle:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Toggle","params": {"id":0}}
off:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":false}}
on:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":true}}
on-for-timer $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":true,"toggle_after":$EVTPART1}}
off-for-timer $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":false,"toggle_after":$EVTPART1}}
in_mode:toggle,flip,detached {fhem("sleep 0.2; get $NAME in_mode"); my $val = $EVTPART1 ne 'toggle' ? $EVTPART1 : ReadingsVal($NAME,'in_mode','flip') eq 'flip' ? 'detached':'flip'; qq($DEVICETOPIC/rpc {"id":1,"src":"fhem2shelly","method":"Switch.SetConfig","params": {"id":0, "config": {"in_mode": "$val"}}})}
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 on off toggle on-for-timer off-for-timer
webCmd :
sowie einen roten Punkt im Status, das Toggle-Icon und eine Temperatur von -100. Der im Dialog eingegebene Devicename wurde nicht berücksichtigt.
Schaltvorgänge sind weiterhin nicht möglich.
Nach einem Reboot des Shellies sieht es wieder anders aus:
Internals:
CFGFN
CID SH_PoolpumpePM
DEF SH_PoolpumpePM
FUUID 667c070b-f33f-55a1-127a-8f64523cb46649a7
IODev MQTT_Shellies
LASTInputDev MQTT_Shellies
MQTT_Shellies_CONN MQTT_Shellies_192.168.57.197_55295
MQTT_Shellies_MSGCNT 54
MQTT_Shellies_TIME 2024-06-26 14:40:01
MSGCNT 54
NAME MQTT2_SH_PoolpumpePM
NR 569
STATE false
TYPE MQTT2_DEVICE
eventCount 86
JSONMAP:
params_switch_0_temperature_tC temperature
params_switch_0_temperature_tF 0
params_wifi_sta_ip ip
req_result_in_mode in_mode
switch_state state
switch_temperature_tC temperature
switch_temperature_tF 0
OLDREADINGS:
READINGS:
2024-06-26 14:18:19 IODev MQTT_Shellies
2024-06-26 14:40:01 aenergy_by_minute_1 9690.785
2024-06-26 14:40:01 aenergy_by_minute_2 9368.115
2024-06-26 14:40:01 aenergy_by_minute_3 9701.897
2024-06-26 14:40:01 aenergy_minute_ts 1719405600
2024-06-26 14:40:01 aenergy_total 725.780
2024-06-26 14:38:07 ap_client_count 0
2024-06-26 14:40:01 apower 584.0
2024-06-26 14:31:25 attrTemplateVersion 20220304
2024-06-26 14:38:06 ble {}
2024-06-26 14:38:07 cfg_rev 13
2024-06-26 14:38:07 connected true
2024-06-26 14:40:01 current 2.630
2024-06-26 14:40:00 dst SH-PoolpumpePM/events
2024-06-26 14:38:07 fs_free 135168
2024-06-26 14:38:07 fs_size 458752
2024-06-26 14:40:01 id 0
2024-06-26 14:38:07 kvs_rev 0
2024-06-26 14:38:07 mac CC7B5C84D3D0
2024-06-26 14:40:00 method NotifyStatus
2024-06-26 14:38:06 online true
2024-06-26 14:40:01 output true
2024-06-26 14:38:08 params_cloud_connected false
2024-06-26 14:38:01 params_events_1_component sys
2024-06-26 14:38:01 params_events_1_event scheduled_restart
2024-06-26 14:38:01 params_events_1_time_ms 995
2024-06-26 14:38:01 params_events_1_ts 1719405481.93
2024-06-26 14:38:08 params_input_0_id 0
2024-06-26 14:38:08 params_input_0_state false
2024-06-26 14:38:08 params_mqtt_connected true
2024-06-26 14:40:00 params_switch_0_aenergy_by_minute_1 9690.785
2024-06-26 14:40:00 params_switch_0_aenergy_by_minute_2 9368.115
2024-06-26 14:40:00 params_switch_0_aenergy_by_minute_3 9701.897
2024-06-26 14:40:00 params_switch_0_aenergy_minute_ts 1719405600
2024-06-26 14:40:00 params_switch_0_aenergy_total 725.780
2024-06-26 14:38:08 params_switch_0_apower 583.1
2024-06-26 14:38:08 params_switch_0_current 2.629
2024-06-26 14:40:00 params_switch_0_id 0
2024-06-26 14:38:08 params_switch_0_output true
2024-06-26 14:38:08 params_switch_0_source init
2024-06-26 14:38:08 params_switch_0_temperature_tC 63.8
2024-06-26 14:38:08 params_switch_0_temperature_tF 146.9
2024-06-26 14:38:08 params_switch_0_voltage 235.6
2024-06-26 14:38:08 params_sys_cfg_rev 13
2024-06-26 14:38:08 params_sys_fs_free 135168
2024-06-26 14:38:08 params_sys_fs_size 458752
2024-06-26 14:38:08 params_sys_kvs_rev 0
2024-06-26 14:38:08 params_sys_mac CC7B5C84D3D0
2024-06-26 14:38:08 params_sys_ram_free 128488
2024-06-26 14:38:08 params_sys_ram_size 261920
2024-06-26 14:38:08 params_sys_reset_reason 3
2024-06-26 14:38:08 params_sys_restart_required false
2024-06-26 14:38:08 params_sys_schedule_rev 0
2024-06-26 14:38:08 params_sys_uptime 2
2024-06-26 14:38:08 params_sys_webhook_rev 0
2024-06-26 14:40:00 params_ts 1719405600.00
2024-06-26 14:38:08 params_wifi_ap_client_count 0
2024-06-26 14:38:08 params_wifi_rssi -65
2024-06-26 14:38:08 params_wifi_ssid Internet
2024-06-26 14:38:08 params_wifi_sta_ip 192.168.57.197
2024-06-26 14:38:08 params_wifi_status got ip
2024-06-26 14:38:08 params_ws_connected false
2024-06-26 14:38:07 ram_free 127464
2024-06-26 14:38:07 ram_size 261860
2024-06-26 14:38:07 reset_reason 3
2024-06-26 14:38:07 restart_required false
2024-06-26 14:38:07 rssi -65
2024-06-26 14:38:07 schedule_rev 0
2024-06-26 14:40:01 source init
2024-06-26 14:40:00 src shellyplus1pm-cc7b5c84d3d0
2024-06-26 14:38:07 ssid Internet
2024-06-26 14:38:07 sta_ip 192.168.57.197
2024-06-26 14:38:06 state false
2024-06-26 14:38:07 status got ip
2024-06-26 14:40:01 temperature_tC 63.7
2024-06-26 14:40:01 temperature_tF 146.7
2024-06-26 14:38:07 uptime 2
2024-06-26 14:40:01 voltage 235.7
2024-06-26 14:38:07 webhook_rev 0
2024-06-26 14:31:25 x_reboot set
Attributes:
devStateIcon {my $onl = ReadingsVal($name,'online','false') eq 'false'?'10px-kreis-rot':'10px-kreis-gruen'; $onl = FW_makeImage($onl); my $light = FW_makeImage(ReadingsVal($name,'state','off')); my $temp = ReadingsVal($name,'temperature','-100'); my $ip = ReadingsVal($name,'ip','none'); my $reb = ReadingsVal($name,'sys_restart_required','false') eq 'true'?'<a href="/fhem?cmd.dummy=set '.$name.' x_reboot&XHR=1"> ... Notwendigen Reboot durchführen</a>':''; qq(<a href="http://$ip" target="_blank">${onl}</a><a href="/fhem?cmd.dummy=set $name toggle&XHR=1">${light}</a>$reb<div>Temp: $temp °C</div>)}
devicetopic SW.Poolpumpe
genericDeviceType switch
getList in_mode:noArg in_mode $DEVICETOPIC/rpc {"id": 1,"src":"$DEVICETOPIC", "method": "Switch.GetConfig", "params": {"id": 0}}
icon message_socket
jsonMap switch_state:state switch_temperature_tC:temperature switch_temperature_tF:0 params_wifi_sta_ip:ip params_switch_0_temperature_tC:temperature params_switch_0_temperature_tF:0 req_result_in_mode:in_mode
model shellyPlus_1
readingList $DEVICETOPIC/online:.* online
$DEVICETOPIC/events/rpc:.* { json2nameValue($EVENT,'',$JSONMAP) }
$DEVICETOPIC/status/mqtt:.* { json2nameValue($EVENT, 'mqtt_', $JSONMAP) }
$DEVICETOPIC/status/sys:.* { json2nameValue($EVENT, 'sys_', $JSONMAP) }
$DEVICETOPIC/status/switch_0:.* { $EVENT =~ s/"output":true/"state":"on"/g; $EVENT =~ s/"output":false/"state":"off"/g; json2nameValue($EVENT, 'switch_', $JSONMAP) }
$DEVICETOPIC/status/cloud:.* {}
$DEVICETOPIC/rpc:.* { json2nameValue($EVENT, 'req_', $JSONMAP, 'in_mode')}
$DEVICETOPIC/status/input_0:.* { json2nameValue($EVENT, 'input_', $JSONMAP) }
fhem2shelly/rpc:.* {}
SH_PoolpumpePM:SH-PoolpumpePM/events/rpc:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/status/switch_0:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/online:.* online
SH_PoolpumpePM:SH-PoolpumpePM/status/ble:.* ble
SH_PoolpumpePM:SH-PoolpumpePM/status/cloud:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/status/input_0:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/status/mqtt:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/status/sys:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/status/wifi:.* { json2nameValue($EVENT) }
SH_PoolpumpePM:SH-PoolpumpePM/status/ws:.* { json2nameValue($EVENT) }
room MQTT2_DEVICE
setList toggle:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Toggle","params": {"id":0}}
off:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":false}}
on:noArg $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":true}}
on-for-timer $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":true,"toggle_after":$EVTPART1}}
off-for-timer $DEVICETOPIC/rpc {"id":0,"src":"fhem2shelly","method":"Switch.Set","params": {"id":0,"on":false,"toggle_after":$EVTPART1}}
in_mode:toggle,flip,detached {fhem("sleep 0.2; get $NAME in_mode"); my $val = $EVTPART1 ne 'toggle' ? $EVTPART1 : ReadingsVal($NAME,'in_mode','flip') eq 'flip' ? 'detached':'flip'; qq($DEVICETOPIC/rpc {"id":1,"src":"fhem2shelly","method":"Switch.SetConfig","params": {"id":0, "config": {"in_mode": "$val"}}})}
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 on off toggle on-for-timer off-for-timer
webCmd :
Ich komme einfach nicht weiter. Auch wenn der Punkt jetzt grün ist und das Toggle-Icon durch "false" ersetzt wurde: schalten kann ich immer noch nicht via FHEM. Verwende ich das falsche Template???
Noch ein Punkt: ich habe einen Taster (keinen Schalter) am Shelly. Und ich habe keine Möglichkeit gefunden dem Shelly dahingehend zu konfigurieren. Auch im Netz bin ich nicht fündig geworden:
Danke für die Unterstützung
Rallye
Moin, bei mir geht der tadellos, model shellyPlus_1pm.
Hast du alle (4) Haken auf der eigenen Shelly Webseite unter mqtt gesetzt?
VG Helmut
Ergänzend: Wenn man schon (entgegen jeglicher Empfehlung!) die Topics umbenamst, dann sollte man das Attribut devicetopic auch passend setzen...
Danke für die rasche Antwort. Ja, ich denke schon. Wenn du die 4 Haken meinst, die ich am Screenshot anzeige
Zitat von: Beta-User am 26 Juni 2024, 14:53:34Ergänzend: Wenn man schon (entgegen jeglicher Empfehlung!) die Topics umbenamst, dann sollte man das Attribut devicetopic auch passend setzen...
Danke für den Hinweis. Hier ist also meine Eingabe "SW.Poolpumpe" hingekommen! Und ich war schon verwundert.
Wie müsste mein devicetopic nun lauten, nachdem ich die (mir bislang unbekannte Empfehlung) ignoriert habe? :o
EDIT: Ich habs! Muss heissen: "SH-PoolpumpePM"
@Beta-User: Danke für den Hinweis!!!
Schön, dass du es gefunden hast! [Gelöst]?
Das mit der Empfehlung, nichts ohne Not oder ausdrückliche Empfehlung im Wiki umzubenennen kommt daher, dass die attrTemplate in der Regel so gestrickt sind, dass bestimmte gerätetypische Merkmale ausgewertet werden, um Parameter zu bestimmen oder überhaupt zu filtern, welches attrTemplate bei welchem Device anzuzeigen ist. Es anders zu machen ist für Fortgeschrittene, die wissen, wie die Bausteinchen zusammengehören, damit es paßt...
Anders gesagt: in der Regel läuft attrTemplate (auf per autocreate erstellte, "unbehandelte" Devices angewandt) ohne Rückfragen durch (ausgenommen alexaname etc.). Wenn nicht, hat man was gemacht, das nicht so gedacht ist...
Zitat von: Beta-User am 26 Juni 2024, 15:46:22Schön, dass du es gefunden hast! [Gelöst]?
Danke, funktioniert aufgrund Deines Tips wunderbar.
Zitat von: Beta-User am 26 Juni 2024, 15:46:22Das mit der Empfehlung, nichts ohne Not oder ausdrückliche Empfehlung im Wiki umzubenennen kommt daher, dass die attrTemplate in der Regel so gestrickt sind, dass bestimmte gerätetypische Merkmale ausgewertet werden, um Parameter zu bestimmen oder überhaupt zu filtern, welches attrTemplate bei welchem Device anzuzeigen ist. Es anders zu machen ist für Fortgeschrittene, die wissen, wie die Bausteinchen zusammengehören, damit es paßt...
Werde ich mir merken. Danke!!
EINE Frage hab ich aber doch noch. Ist nicht FHEM-spezifisch, aber vielleicht weiss jemand eine Antwort: ich habe den Shelly mit einem Taster (kein Schalter!) ausgestattet. Wie bringe ich dem Shelly bei, dass es sich um eben einen Taster handelt? Beim Shelly 1 war das einfach zu finden und konfigurierter.
Danke
Zitat von: rallye am 26 Juni 2024, 19:29:28Wie bringe ich dem Shelly bei, dass es sich um eben einen Taster handelt? Beim Shelly 1 war das einfach zu finden und konfigurierter.
Danke
Auf dem Web Interface hab ich s auch nicht gefunden. In der APP bei Einstellungen -> Eingangs / Ausgangseinstellungen