Zitat von: passibe am 19 Januar 2026, 11:54:11Ich werfe mal noch die Firewall o.ä. in den Ring. Port 7420 auf dem FHEM-Server muss für die CCU erreichbar sein.
Das mal von der CCU aus überprüfen:nc -vz <IP von FHEM-Server> 7420Da muss stehen:Ncat: Connected to <IP von FHEM-Server>:7420.

lgtv pair IPaddr klappte.Zitat von: betateilchen am 31 Januar 2026, 17:31:27Was liefert eine manuelle Abfrage im Browser auf die URL
READINGS:
2026-01-02 10:56:19 IODev myBroker
2026-01-29 11:38:06 actions_stats_skipped 0
2024-02-15 10:13:57 attrTemplateVersion 20211030
2026-01-29 11:38:06 cfg_changed_cnt 0
2026-01-29 11:38:06 cloud_connected false
2026-01-29 11:38:06 cloud_enabled false
2026-01-29 13:58:10 event L
2026-01-29 13:58:10 event_cnt 32
2026-01-31 22:29:32 ext_switch_0 0
2026-01-29 11:38:06 ext_switch_0_input 1
2026-01-29 11:38:06 fs_free 149094
2026-01-29 11:38:06 fs_size 233681
2026-01-29 11:38:06 fw_ver 20230913-112003/v1.14.0-gcb84623
2026-01-29 11:38:06 has_update false
2026-01-29 11:38:06 id shelly1-34945471EC5D
2026-01-31 22:29:32 input0 0
2026-01-29 11:38:06 inputs_1_event
2026-01-29 11:38:06 inputs_1_event_cnt 0
2026-01-29 11:38:06 inputs_1_input 1
2026-01-29 11:38:06 ip 192.168.0.109
2026-01-29 13:58:10 longpush_0 1
2026-01-29 11:38:06 mac 34945471EC5D
2026-01-29 11:38:06 meters_1_is_valid true
2026-01-29 11:38:06 meters_1_power 0.00
2026-01-29 11:38:06 model SHSW-1
2026-01-29 11:38:06 mqtt_connected true
2026-01-29 11:38:06 new_fw false
2026-01-29 11:38:06 online true
2026-01-29 11:38:06 ram_free 38212
2026-01-29 11:38:06 ram_total 51688
2026-01-31 22:29:32 relay0 off
2026-01-29 11:38:06 relays_1_has_timer false
2026-01-29 11:38:06 relays_1_ison false
2026-01-29 11:38:06 relays_1_source input
2026-01-29 11:38:06 relays_1_timer_duration 0
2026-01-29 11:38:06 relays_1_timer_remaining 0
2026-01-29 11:38:06 relays_1_timer_started 0
2026-01-29 11:38:06 serial 1
2026-01-31 22:29:32 state off
2026-01-29 11:38:06 time
2026-01-29 11:38:06 unixtime 0
2026-01-22 23:05:17 update_beta_version 20231107-162940/v1.14.1-rc1-g0617c15
2026-01-29 11:38:06 update_has_update false
2026-01-29 11:38:06 update_new_version
2026-01-29 11:38:06 update_old_version 20230913-112003/v1.14.0-gcb84623
2026-01-29 11:38:06 update_status unknown
2026-01-29 11:38:06 uptime 3
2026-01-29 11:38:06 wifi_sta_connected true
2026-01-29 11:38:06 wifi_sta_ip 192.168.0.109
2026-01-29 11:38:06 wifi_sta_rssi -72
2026-01-29 11:38:06 wifi_sta_ssid Home
Attributes:
alias Licht Kellerabgang
devStateIcon {my $onl = ReadingsVal($name,'online','false') eq 'false' ? 'rot' : ReadingsVal($name,'new_fw','false') eq 'true' ? 'gelb' : 'gruen'; my $light = ReadingsVal($name,'state','off'); my $show = '<a href="';$show .= $onl eq 'gelb' ? "/fhem?cmd.dummy=set $name x_update&XHR=1\">" : 'http://'.ReadingsVal($name,'ip','none').' "target="_blank">'; $show .= FW_makeImage("10px-kreis-$onl").'</a>'; "<div> $show <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\">".FW_makeImage($light).'</a></div>' }
getList power:noArg shellies/shelly1-34945471EC5D/relay/power power
group Shelly
model shellyplug
readingList shellies/shelly1-34945471EC5D/relay/0:.* {{ state => $EVENT, relay0 => $EVENT}}
shellies/shelly1-34945471EC5D/input/0:.* input0
shellies/shelly1-34945471EC5D/online:.* online
shellies/shelly1-34945471EC5D/announce:.* { json2nameValue($EVENT) }
shellies/announce:.* { $EVENT =~ m,..id...shelly1-34945471EC5D...mac.*, ? json2nameValue($EVENT) : return }
shelly1_34945471EC5D:shellies/shelly1-34945471EC5D/info:.* { json2nameValue($EVENT) }
shelly1_34945471EC5D:shellies/shelly1-34945471EC5D/ext_switch/0:.* ext_switch_0
shelly1_34945471EC5D:shellies/shelly1-34945471EC5D/input_event/0:.* { json2nameValue($EVENT) }
shelly1_34945471EC5D:shellies/shelly1-34945471EC5D/longpush/0:.* longpush_0
room Keller,MQTT2_DEVICE,Shelly
setList off:noArg shellies/shelly1-34945471EC5D/relay/0/command off
on:noArg shellies/shelly1-34945471EC5D/relay/0/command on
x_update:noArg shellies/shelly1-34945471EC5D/command update_fw
x_mqttcom shellies/shelly1-34945471EC5D/command $EVTPART118:20:13.202 signal_receiver signal/in
{"jsonrpc":"2.0","method":"receive","params":{"envelope":{"source":"+49","sourceNumber":"+49","sourceUuid":"925814xxx8bd","sourceName":"user1","sourceDevice":1,"timestamp":1769880013437,"serverReceivedTimestamp":1769880013113,"serverDeliveredTimestamp":1769880013115,"syncMessage":{"sentMessage":{"destination":null,"destinationNumber":null,"destinationUuid":null,"timestamp":1769880013437,"message":"2","expiresInSeconds":3600,"viewOnce":false,"groupInfo":{"groupId":"ik32NK0yeJc=","groupName":"FHEM cli","revision":5,"type":"DELIVER"}}}},"account":"+49"}}
18:20:15.202 signal_receiver signal/in
{"jsonrpc":"2.0","method":"receive","params":{"envelope":{"source":"984fadyyyyy35e76239","sourceNumber":null,"sourceUuid":"984fad9yyy5e76239","sourceName":"user2","sourceDevice":1,"timestamp":1769873304823,"serverReceivedTimestamp":1769873305096,"serverDeliveredTimestamp":1769873305097,"dataMessage":{"timestamp":1769873304823,"message":"Test","expiresInSeconds":30,"viewOnce":false,"groupInfo":{"groupId":"ik32NK0y9+ereJc=","groupName":"FHEM cli","revision":4,"type":"DELIVER"}}},"account":"+49"}}
$DEVICETOPIC:signal/in:.* {my $j = json2nameValue($EVENT);my $ret = $j->{params_envelope_syncMessage_sentMessage_message}; return if(!$ret) ;return {in_sync_message_sent => $j->{params_envelope_syncMessage_sentMessage_message},in_sync_source => $j->{params_envelope_source},in_sync_sourceUuid => $j->{params_envelope_sourceUuid},in_sync_sourceNumber => $j->{params_envelope_sourceNumber},in_sync_sourceName => $j->{params_envelope_sourceName}};}
in_sync_analyse_mapping_sent:in_sync_message_sent.* {
my $in_source = ReadingsVal("$NAME","in_sync_sourceUuid","null");
Log3($name,3,sprintf("%-20s ur_02 : ", $name)."in_sync_sourceUuid : $in_source");
my $in_analyse = lc(ReadingsVal("$NAME","in_sync_message_sent","null"));
Log3($name,3,sprintf("%-20s ur_02 : ", $name)."in_sync_message_sent : $in_analyse ");
if ( $in_source eq "925814dxxxxxxxxxf306b978bd" ) {
my $in_command = "null";
if ( $in_analyse ne "null") {
my %h=eval "(".(AttrVal("$NAME","in_commands","n/a")).")";
$in_command = $h{$in_analyse} if defined $h{$in_analyse};
if ($in_command ne "null") {
# fhem("$in_command");
Log3($name,3,sprintf("%-20s ur_02 : ", $name)."in_sync_command : $in_command");
} else {
Log3($name,3,sprintf("%-20s ur_02 : ", $name)."in_sync_command : Not found");
}
return $in_command;
}
}
return "null";
}
Zitat von: musicnrw am 31 Januar 2026, 10:46:57Sobald ich aber auf "ON" geklickt habe (oder OFF, ganz egal), erscheint in den Readings unter "state" "Error:Wenn du neu definiert hast, sollte dort "on" und "off", aber nicht "ON","OFF" stehen.
set ... on testen.