Zitat von: DS_Starter am 15 März 2026, 11:48:03OpenMeteo bringt uns die direkte globale Stahlung als Antwort, zu sehen über "get ... radiationApiData" was dann 'nur' noch umgerechnet wird auf die Anlagenparamter.stimmt: das passt sich tagsüber an.
set <name> smartHome <deviceID> <switch:0|1>
schaltet den Steckdosenadapter aus|an
Ich habe versucht, mit diesem Befehl meine Schaltsteckdose FRITZ!Smart Energy 200 zu schalten. Da bekomme ich aber folgende Fehlermeldung:set FritzBox_7590 smartHome 17 1
ERROR: first parameter: 17 not a valid reference for a SmartHome THERMOSTAT
2026.03.15 13:27:22 3: [FritzBox_7590 | 7590 | 154.08.21 | Set_Modul.2142] - BASIC:set FritzBox_7590 smartHome - 17 1
2026.03.15 13:27:22 2: [FritzBox_7590 | 7590 | 154.08.21 | Helper_retMsg.2113] - SIGNIFICANT:location: 2487 | Msg: ERROR: first parameter: 17 not a valid reference for a SmartHome THERMOSTAT
Laut "get FritzBox_7590 luaInfo smartHomeDevices" ist das Gerät mit folgenden Werten registriert:ID 17
Category SOCKET
Model FRITZ!Smart Energy 200
2026.03.15 13:29:44 3: [FritzBox_7590 | 7590 | 154.08.21 | Get_SmartHome_Devices_List.13482] - BASIC:Fritz_SmartHome_Device_List (Fritz!OS: 08.21)
Undefined subroutine &Fritz::FileRead called at ./FHEM/72_FritzSmart.pm line 14611.
Ich musste die Zeile ändern in: my ($err, @l) = main::FileRead($smh_pre_path);
Mit dieser Änderung hat der Befehl dann funktioniert. FileRead kommt im Modul 5 mal vor.attr global proxy 192.169.0.100:8118
attr global proxyExclude 127.0.0.1|192.168.*|192.169.*
attr global blockingCallMax 128
tc qdisc del dev eth0 root 2>/dev/null
tc qdisc add dev eth0 root handle 1: htb default 99
tc class add dev eth0 parent 1: classid 1:1 htb rate 20bps ceil 20bps burst 20 cburst 20
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 \
match ip dst 192.169.0.100/32 \
match ip dport 8118 0xffff \
flowid 1:1