)Zitat von: TomLee am 06 Dezember 2025, 13:18:00Zitat von: bicmac am 06 Dezember 2025, 12:59:14Zitat von: TomLee am 06 Dezember 2025, 12:31:43https://forum.fhem.de/index.php?msg=1347295
habe ich auch probiert, geht trotzdem nichtEr reagiert leider nicht auf mqtt Kommandos...
Ohne genauere Angaben zu den vorgenommenen Einstellungen und zur Definition zum Zeitpunkt des Tests kann dir hier leider niemand konkret weiterhelfen.
defmod shelly_eg_flur_decke MQTT2_DEVICE shelly1pmg4_ccba97c8ec7c
attr shelly_eg_flur_decke userattr room_map structexclude
attr shelly_eg_flur_decke alexaName Deckenlampe
attr shelly_eg_flur_decke 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 $cons = ReadingsNum($name,'apower',0);; my $total = round(ReadingsNum($name,'aenergy_total',0)/1000,3);; 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>Verbrauch: $cons W / Total: $total kwh / Temp: $temp °C</div>)}
attr shelly_eg_flur_decke devicetopic Deckenlampe
attr shelly_eg_flur_decke event-on-change-reading .*
attr shelly_eg_flur_decke genericDeviceType switch
attr shelly_eg_flur_decke getList in_mode:noArg in_mode $DEVICETOPIC/rpc {"id": 1,"src":"$DEVICETOPIC", "method": "Switch.GetConfig", "params": {"id": 0}}
attr shelly_eg_flur_decke group BELEUCHTUNG,SHELLY
attr shelly_eg_flur_decke icon message_socket
attr shelly_eg_flur_decke jsonMap switch_state:state switch_aenergy_total:aenergy_total switch_apower:apower 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 result_in_mode:in_mode
attr shelly_eg_flur_decke model shellyPlus_1pm
attr shelly_eg_flur_decke readingList shelly1pmg4-ccba97c8ec7c/command/switch_0.(on|off) state
attr shelly_eg_flur_decke room HAUS->UG->FLUR,SYSTEM->DEVICES->MQTT2_DEVICE,SYSTEM->DEVICES->SHELLY
attr shelly_eg_flur_decke setList on shelly1pmg4-ccba97c8ec7c/command/switch:0 on\
off shelly1pmg4-ccba97c8ec7c/command/switch:0 off
attr shelly_eg_flur_decke setStateList on off toggle on-for-timer off-for-timer
attr shelly_eg_flur_decke webCmd :
setstate shelly_eg_flur_decke set_off
setstate shelly_eg_flur_decke 2025-12-06 11:29:30 IODev fhemprod.MQTT2Server
setstate shelly_eg_flur_decke 2025-12-06 11:32:56 attrTemplateVersion 20220303
setstate shelly_eg_flur_decke 2025-12-06 11:34:41 cloud_connected true
setstate shelly_eg_flur_decke 2025-12-06 11:34:39 mqtt_connected true
setstate shelly_eg_flur_decke 2025-12-06 12:44:35 online false
setstate shelly_eg_flur_decke 2025-12-06 12:56:11 state set_off
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_aenergy_by_minute_1 0.000
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_aenergy_by_minute_2 0.000
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_aenergy_by_minute_3 0.000
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_aenergy_minute_ts 1765021440
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_aenergy_total 0.000
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_apower 0.0
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_current 0.000
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_freq 50.1
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_id 0
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_output false
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_ret_aenergy_by_minute_1 0.000
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_ret_aenergy_by_minute_2 0.000
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_ret_aenergy_by_minute_3 0.000
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_ret_aenergy_minute_ts 1765021440
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_ret_aenergy_total 0.000
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_source WS_in
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_temperature_tC 48.0
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_temperature_tF 118.5
setstate shelly_eg_flur_decke 2025-12-06 12:44:00 switch_0_voltage 234.3
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_alt_S1PMG4ZB_desc Shelly 1 PM Gen4 with Zigbee
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_alt_S1PMG4ZB_name Shelly 1 PM Gen4
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_alt_S1PMG4ZB_stable_build_id 20251003-145442/1.7.1-gd336f31
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_alt_S1PMG4ZB_stable_version 1.7.1
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_available_updates_stable_version 1.7.1
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_btrelay_rev 0
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_cfg_rev 15
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_fs_free 462848
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_fs_size 917504
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_kvs_rev 1
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_last_sync_ts 1765020886
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_mac CCBA97C8EC7C
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_ram_free 151860
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_ram_min_free 139656
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_ram_size 358832
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_reset_reason 3
setstate shelly_eg_flur_decke 2025-12-06 12:51:30 sys_restart_required false
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_schedule_rev 0
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_time 12:44
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_unixtime 1765021473
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_uptime 4197
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_utc_offset 3600
setstate shelly_eg_flur_decke 2025-12-06 12:44:33 sys_webhook_rev 0
setstate shelly_eg_flur_decke 2025-12-06 11:31:54 x_mqttcom set x_mqttcom announce
2025.12.01 00:51:54 1: Connection refused from the non-local address 79.124.49.90:50124, as there is no working allowed instance defined for it
2025.12.01 01:26:29 1: Connection refused from the non-local address 162.142.125.125:1922, as there is no working allowed instance defined for it
2025.12.01 01:26:29 1: Connection refused from the non-local address 162.142.125.125:1942, as there is no working allowed instance defined for it
2025.12.01 01:26:29 1: Connection refused from the non-local address 162.142.125.125:1946, as there is no working allowed instance defined for it
2025.12.01 01:26:29 1: Connection refused from the non-local address 162.142.125.125:1948, as there is no working allowed instance defined for it
2025.12.01 01:26:33 1: Connection refused from the non-local address 162.142.125.125:2038, as there is no working allowed instance defined for it
2025.12.01 01:26:36 1: Connection refused from the non-local address 162.142.125.125:2084, as there is no working allowed instance defined for it
2025.12.01 07:38:02 1: Connection refused from the non-local address 167.94.138.116:8824, as there is no working allowed instance defined for it
2025.12.01 07:38:02 1: Connection refused from the non-local address 167.94.138.116:8834, as there is no working allowed instance defined for it
2025.12.01 07:38:03 1: Connection refused from the non-local address 167.94.138.116:11590, as there is no working allowed instance defined for it
2025.12.01 07:38:03 1: Connection refused from the non-local address 167.94.138.116:11606, as there is no working allowed instance defined for it
2025.12.01 07:38:12 1: Connection refused from the non-local address 167.94.138.116:38262, as there is no working allowed instance defined for it
2025.12.01 10:41:44 1: Connection refused from the non-local address 198.235.24.64:61954, as there is no working allowed instance defined for it
2025.12.01 10:41:45 1: Connection refused from the non-local address 198.235.24.64:61970, as there is no working allowed instance defined for it
2025.12.01 15:59:55 1: Connection refused from the non-local address 203.55.131.4:53802, as there is no working allowed instance defined for it
2025.12.01 16:16:10 1: Connection refused from the non-local address 203.55.131.4:38150, as there is no working allowed instance defined for it
2025.12.01 18:36:11 1: Connection refused from the non-local address 45.135.193.9:46070, as there is no working allowed instance defined for it
WEB
WEB_127.0.0.1_51772
WEB_127.0.0.1_58006
So ist es ja in Ordnung.defmod d_Hdd DOIF (ReadingsVal["hdd","/dev/root","1"] <60) (set Du_Hdd on) DOELSE (set Du_Hdd off)condition c01: Undefined subroutine &ReadingsVal::EventDoIf called, line 1.