Beiträge von helmi55

    Servus guten Abend 87insane

    Irgendwie will mich das Ganze nicht oder das Problem sitzt wieder vor dem PC ;(

    Jetzt habe ich den Plug_s schon mehr als eine Stunde solo laufen. D.h. ich habe den Kühler auf eine andere Steckdose gesteckt und das loadState ist immer noch on?

    Hab hier nochmals ein List im pdf

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.
    angehängt

    gruß

    helmut

    also genau so habe ich es eh schon gemacht.

    jetzt lief es mehr als 1 Stunde und die werte bei relax_0_power waren dazwischen mehrmals auf 0 aber loadState ist immer noch auf "on"

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    ich bin mir nicht sicher ob ich dir ganz folgen kann.

    Habe es jetzt so umgebaut?

    Code
    Internals:   CID        shellyplug_s_041778   DEF        shellyplug_s_041778   DEVICETOPIC KuehlGefrierKombi   FUUID      5db010a4-f33f-b033-fd19-fbc0b0064a8835dd   IODev      myBroker   LASTInputDev myBroker   MSGCNT     17145   NAME       KuehlGefrierKombi   NR         502   STATE      on   TYPE       MQTT2_DEVICE   myBroker_MSGCNT 17145   myBroker_TIME 2019-12-10 18:24:13   READINGS:     2019-12-10 18:21:42   fw_ver          20191127-095857/v1.5.6@0d769d69     2019-12-10 18:21:42   id              shellyplug-s-041778     2019-12-10 18:21:42   ip              10.0.0.91     2019-12-10 14:28:21   loadState       on     2019-12-10 18:21:42   mac             4C11AE041778     2019-12-10 18:21:42   new_fw          false     2019-12-10 18:21:42   online          true     2019-12-10 18:24:13   overtemperature 0     2019-12-10 11:32:28   price           -0.04     2019-12-10 18:24:13   relay0          on     2019-12-10 18:24:13   relay_0_energy  10006     2019-12-10 18:24:13   relay_0_kWh     0.17     2019-12-10 18:24:13   relay_0_power   0.33     2019-12-10 18:24:13   state           on     2019-12-10 18:24:13   temperature     19.06     2019-12-10 18:24:13   temperature_f   66.30     2019-12-10 11:32:28   time            00:00     2019-12-10 14:28:21   total_temp      0.14     2019-12-10 11:32:28   wash            -0.14
    Attributes:   IODev      myBroker   comment    To get appropriate loadState values: Change the default limit "100" in readingList to your needs.   devStateIcon {my $onl = ReadingsVal($name,"online","false") eq "true"?"10px-kreis-gruen":"10px-kreis-rot";; my $light = ReadingsVal($name,"state","off");; my $cons = ReadingsVal($name,"relay_0_power","unknown");; my $total = ReadingsVal($name,"relay_0_kWh","unknown");; my $temp = ReadingsVal($name,"temperature","-100");;"<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage($onl)."</a> <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\">".FW_makeImage($light)."</a><div>Verbrauch: $cons / Total: $total/ Temp: $temp °C</div>"}   getList    power:noArg shellies/shellyplug-s-041778/relay/power power   model      shelly1_w_energy_meassuring   readingList shellies/shellyplug-s-041778/relay/0:.* state  shellies/shellyplug-s-041778/relay/0:.* relay0  shellies/shellyplug-s-041778/input/0:.* input0  shellies/shellyplug-s-041778/online:.* online  shellies/announce:.* { $EVENT =~ m,..id...shellyplug-s-041778...mac.*, ? json2nameValue($EVENT) : undef }  shellies/shellyplug-s-041778/announce:.* { json2nameValue($EVENT) }  shellies/shellyplug-s-041778/relay/0/power:.* relay_0_power  shellies/shellyplug-s-041778/relay/0/power:.*  { my $compare = ReadingsAge($NAME,"relay_0_power",3800) > 3600 ? "off":"on"; ReadingsVal($NAME,"loadState","off") ne $compare ? { 'loadState' => $compare } : undef }  shellies/shellyplug-s-041778/temperature:.* temperature  shellies/shellyplug-s-041778/overtemperature:.* overtemperature  shellies/shellyplug-s-041778/relay/0/energy:.* relay_0_energy  shellies/shellyplug-s-041778/relay/0/energy:.* {'relay_0_kWh' => sprintf("%.2f",$EVENT/60/1000)}  shellies/shellyplug-s-041778/longpush/0:.* longpush_0
    shellyplug_s_041778:shellies/shellyplug-s-041778/temperature_f:.* temperature_f   room       Favoriten,Garage,MQTT2_DEVICE   setList    relay0:on,off,toggle shellies/shellyplug-s-041778/relay/0/command $EVTPART1  off:noArg shellies/shellyplug-s-041778/relay/0/command off  on:noArg shellies/shellyplug-s-041778/relay/0/command on  x_update:noArg shellies/shellyplug-s-041778/command update_fw  x_mqttcom shellies/shellyplug-s-041778/command $EVTPART1   webCmd     :

    Aber ich bin mir noch nicht sicher ob ich die beiden Shellys nicht doch besser anders verwende:saint:

    Hallo Grüß euch

    Also sicher will ich mit Kanonen auf Spatzen schießen :saint:

    Wie gesagt es stehen 2 Tiefkühler in der Garage und nun ist eine der beiden Doppelsteckdosen ausgefallen und durch Zufall haben wir es rechtzeitig bemerkt.

    Das kommt wahrscheinlich auch nur alle 100 Jahre vor. Darum kam mir die Idee mit der Strommessung.

    Sicher wenn ein Totalausfall ist, nützt mir das auch nix. Da muss dann Plan B her.

    Ein Tablet mit Wertkarte (bereits vorhanden) welches bei Wegfall des WLANs eine SMS schickt. Tablet hängt in der Garage für die Poolsteuerung.

    Wie gesagt ich habe gestern einen anderen Plug_s zurückgesetzt um neu zu starten.

    Habe jetzt festgestellt dass ca. alle 30 Minuten der Wert relax_0_power mit ca 73 gefüllt wird. Diese KühlgefrierKobi ist ca 1/2 Jahr alt. Der Tiefkühlschrank - wesentlich älter - schreibt permanent werte zwischen 0.40 und 0.60.

    Ja beide Plug_s haben natürlich bei Power on default Mode ON eingetragen.

    mMn bräuchte ich jetzt eine Abfrage in FHEM ob innerhalb von ca. 2 Stunden ein Wert Größer 1 eingetragen wird.

    Nur um ehrlich zu sein, da stehe ich mit meinen FHEM Kenntnissen im Moment an.

    Ich glaube mich zu Erinnern, da gibt es Module dafür oder?

    Gruß

    Helmut

    PS: nochmals ein List der beiden

    KühlgefrierKombi (Problemkind). hier habe ich übrigens den Wert auf 1 gesetzt?

    Code
    Internals:   CID        shellyplug_s_041778   DEF        shellyplug_s_041778   DEVICETOPIC KuehlGefrierKombi   FUUID      5db010a4-f33f-b033-fd19-fbc0b0064a8835dd   IODev      myBroker   LASTInputDev myBroker   MSGCNT     12096   NAME       KuehlGefrierKombi   NR         502   STATE      on   TYPE       MQTT2_DEVICE   myBroker_MSGCNT 12096   myBroker_TIME 2019-12-10 11:23:24   READINGS:     2019-12-09 18:35:46   fw_ver          20191127-095857/v1.5.6@0d769d69     2019-12-09 18:35:46   id              shellyplug-s-041778     2019-12-09 18:35:46   ip              10.0.0.91     2019-12-10 11:23:24   loadState       on     2019-12-09 18:35:46   mac             4C11AE041778     2019-12-09 18:35:46   new_fw          false     2019-12-09 18:35:46   online          true     2019-12-10 11:23:24   overtemperature 0     2019-12-10 11:20:54   price           -0.04     2019-12-10 11:23:24   relay0          on     2019-12-10 11:23:24   relay_0_energy  8224     2019-12-10 11:23:24   relay_0_kWh     0.14     2019-12-10 11:23:24   relay_0_power   1.00     2019-12-10 11:23:24   state           on     2019-12-10 11:23:24   temperature     19.35     2019-12-10 11:23:24   temperature_f   66.82     2019-12-10 11:20:54   time            00:10     2019-12-10 11:23:24   total_temp      0.14     2019-12-10 11:20:54   wash            -0.12
    Attributes:   IODev      myBroker   comment    To get appropriate loadState values: Change the default limit "100" in readingList to your needs.   devStateIcon {my $onl = ReadingsVal($name,"online","false") eq "true"?"10px-kreis-gruen":"10px-kreis-rot";; my $light = ReadingsVal($name,"state","off");; my $cons = ReadingsVal($name,"relay_0_power","unknown");; my $total = ReadingsVal($name,"relay_0_kWh","unknown");; my $temp = ReadingsVal($name,"temperature","-100");;"<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage($onl)."</a> <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\">".FW_makeImage($light)."</a><div>Verbrauch: $cons / Total: $total/ Temp: $temp °C</div>"}   getList    power:noArg shellies/shellyplug-s-041778/relay/power power   model      shelly1_w_energy_meassuring   readingList shellies/shellyplug-s-041778/relay/0:.* state  shellies/shellyplug-s-041778/relay/0:.* relay0  shellies/shellyplug-s-041778/input/0:.* input0  shellies/shellyplug-s-041778/online:.* online  shellies/announce:.* { $EVENT =~ m,..id...shellyplug-s-041778...mac.*, ? json2nameValue($EVENT) : undef }  shellies/shellyplug-s-041778/announce:.* { json2nameValue($EVENT) }  shellies/shellyplug-s-041778/relay/0/power:.* relay_0_power  shellies/shellyplug-s-041778/relay/0/power:.* { my $compare = $EVTPART0 < 1 ? "off":"on"; ReadingsVal($NAME,"loadState","off") ne $compare ? { 'loadState' => $compare } : undef }  shellies/shellyplug-s-041778/temperature:.* temperature  shellies/shellyplug-s-041778/overtemperature:.* overtemperature  shellies/shellyplug-s-041778/relay/0/energy:.* relay_0_energy  shellies/shellyplug-s-041778/relay/0/energy:.* {'relay_0_kWh' => sprintf("%.2f",$EVENT/60/1000)}  shellies/shellyplug-s-041778/longpush/0:.* longpush_0
    shellyplug_s_041778:shellies/shellyplug-s-041778/temperature_f:.* temperature_f   room       Favoriten,Garage,MQTT2_DEVICE   setList    relay0:on,off,toggle shellies/shellyplug-s-041778/relay/0/command $EVTPART1  off:noArg shellies/shellyplug-s-041778/relay/0/command off  on:noArg shellies/shellyplug-s-041778/relay/0/command on  x_update:noArg shellies/shellyplug-s-041778/command update_fw  x_mqttcom shellies/shellyplug-s-041778/command $EVTPART1   userReadings total_temp:loadState:.on { ReadingsNum("$name","relay_0_kWh",0) },wash:loadState:.off { ReadingsNum("$name","total",0) - ReadingsNum("$name","total_temp",0) },price:loadState:.off {sprintf("%.2f",ReadingsNum("$name","wash",1)*ReadingsNum("kWh_Price","state",0.30))},time:loadState:.off {strftime("%H:%M", localtime(ReadingsAge("$name","total_temp",0)-3600))}   webCmd     :

    und hier der Gefrierschrank:

    Code
    Internals:   CID        shellyplug_s_268497   DEF        shellyplug_s_268497   DEVICETOPIC Tiefkuehler   FUUID      5decf781-f33f-b033-ffe1-e9b5216c82f00302   IODev      myBroker   LASTInputDev myBroker   MSGCNT     12242   NAME       Tiefkuehler   NR         516   STATE      on   TYPE       MQTT2_DEVICE   myBroker_MSGCNT 12242   myBroker_TIME 2019-12-10 11:24:44   READINGS:     2019-12-09 18:35:45   fw_ver          20191127-095857/v1.5.6@0d769d69     2019-12-09 18:35:45   id              shellyplug-s-268497     2019-12-09 18:35:45   ip              10.0.0.86     2019-12-10 10:54:05   loadState       off     2019-12-09 18:35:45   mac             2CF432268497     2019-12-09 18:35:45   new_fw          false     2019-12-09 18:35:45   online          true     2019-12-10 11:24:44   overtemperature 0     2019-12-10 11:24:44   relay0          on     2019-12-10 11:24:44   relay_0_energy  22762     2019-12-10 11:24:44   relay_0_kWh     0.38     2019-12-10 11:24:44   relay_0_power   0.43     2019-12-10 11:24:44   state           on     2019-12-10 11:24:44   temperature     19.43     2019-12-10 11:24:44   temperature_f   66.97
    Attributes:   IODev      myBroker   comment    To get appropriate loadState values: Change the default limit "100" in readingList to your needs.   devStateIcon {my $onl = ReadingsVal($name,"online","false") eq "true"?"10px-kreis-gruen":"10px-kreis-rot";; my $light = ReadingsVal($name,"state","off");; my $cons = ReadingsVal($name,"relay_0_power","unknown");; my $total = ReadingsVal($name,"relay_0_kWh","unknown");; my $temp = ReadingsVal($name,"temperature","-100");;"<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage($onl)."</a> <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\">".FW_makeImage($light)."</a><div>Verbrauch: $cons / Total: $total/ Temp: $temp °C</div>"}   model      shelly1_w_energy_meassuring   readingList shellies/shellyplug-s-268497/relay/0:.* state  shellies/shellyplug-s-268497/relay/0:.* relay0  shellies/shellyplug-s-268497/input/0:.* input0  shellies/shellyplug-s-268497/online:.* online  shellies/announce:.* { $EVENT =~ m,..id...shellyplug-s-268497...mac.*, ? json2nameValue($EVENT) : undef }  shellies/shellyplug-s-268497/announce:.* { json2nameValue($EVENT) }  shellies/shellyplug-s-268497/relay/0/power:.* relay_0_power  shellies/shellyplug-s-268497/relay/0/power:.* { my $compare = $EVTPART0 < 100 ? "off":"on"; ReadingsVal($NAME,"loadState","off") ne $compare ? { 'loadState' => $compare } : undef }  shellies/shellyplug-s-268497/temperature:.* temperature  shellies/shellyplug-s-268497/overtemperature:.* overtemperature  shellies/shellyplug-s-268497/relay/0/energy:.* relay_0_energy  shellies/shellyplug-s-268497/relay/0/energy:.* {'relay_0_kWh' => sprintf("%.2f",$EVENT/60/1000)}  shellies/shellyplug-s-268497/longpush/0:.* longpush_0
    shellyplug_s_268497:shellies/shellyplug-s-268497/temperature_f:.* temperature_f   room       Favoriten,Garage,MQTT2_DEVICE   setList    relay0:on,off,toggle shellies/shellyplug-s-268497/relay/0/command $EVTPART1  off:noArg shellies/shellyplug-s-268497/relay/0/command off  on:noArg shellies/shellyplug-s-268497/relay/0/command on  x_update:noArg shellies/shellyplug-s-268497/command update_fw  x_mqttcom shellies/shellyplug-s-268497/command $EVTPART1   webCmd     :

    Danke

    LG
    Helmut

    Hallo Kai, 87insane

    was mich wundert - der plug_s zeigt nicht immer einen Wert beim Verbrauch an!

    Habe auch schon einen anderen Plug_s verwendet? Es handelt sich um einen Indesit

    Kühl-Gefrierer - da hat doch mindesten 100 Watt Verbrauch???

    Ich möchte eine zuverlässige Anzeige ob die 2 Geräte mit Strom versorgt werden oder nicht.

    Da war meinGedanke an den Verbrauch?

    Oder muss ich hier relay_0_energy statt _0_power nehmen?

    Washer zeigt nur Standby an?

    Guten Abend

    nachdem der in der Garage stehende Tiefkühler plötzlich an der Steckdose keine Strom mehr hatte (Doppelsteckdose für 2 Kühler - eine davon defekt) und ich zum Glück den Inhalt noch rechtzeitig retten konnte, habe ich nun für jeden Tiefkühler einen Shelly Plug_s dazwischen gesteckt.

    Ich habe das Template Shelly_1_w_engery_meassuring gewählt.

    Nun habe ich bei einem beim Reading relay_0_power werte stehen und beim anderen steht nur 0.00

    Mein Ziel wäre es, mit einem DOIF bei Unterschreiten von z.B. 1 eine Meldung zu versenden. Natürlich kann ich auf on/off

    die Meldung absetzten.

    Eine Idee, wo hier der Fehler liegen kann?

    Hänge mal von jedem Shelly ein List an.

    Ohne Power:

    Code
    Internals:   CID        shellyplug_s_266FC0   DEF        shellyplug_s_266FC0   DEVICETOPIC KuehlGefrierKombi   FUUID      5decf5b8-f33f-b033-da6b-c838f2ba063ea4b3   IODev      myBroker   LASTInputDev myBroker   MSGCNT     717   NAME       KuehlGefrierKombi   NR         516   STATE      on   TYPE       MQTT2_DEVICE   myBroker_MSGCNT 717   myBroker_TIME 2019-12-08 18:38:14   READINGS:     2019-12-08 17:39:43   fw_ver          20191127-095857/v1.5.6@0d769d69     2019-12-08 17:39:43   id              shellyplug-s-266FC0     2019-12-08 17:39:43   ip              10.0.0.85     2019-12-08 17:36:28   loadState       off     2019-12-08 17:39:43   mac             2CF432266FC0     2019-12-08 17:39:43   new_fw          false     2019-12-08 17:39:43   online          true     2019-12-08 18:38:14   overtemperature 0     2019-12-08 18:38:14   relay0          on     2019-12-08 18:38:14   relay_0_energy  1095     2019-12-08 18:38:14   relay_0_kWh     0.02     2019-12-08 18:38:14   relay_0_power   0.00     2019-12-08 18:38:14   state           on     2019-12-08 18:38:14   temperature     19.06     2019-12-08 18:38:14   temperature_f   66.30
    Attributes:   IODev      myBroker   comment    To get appropriate loadState values: Change the default limit "100" in readingList to your needs.   devStateIcon {my $onl = ReadingsVal($name,"online","false") eq "true"?"10px-kreis-gruen":"10px-kreis-rot";; my $light = ReadingsVal($name,"state","off");; my $cons = ReadingsVal($name,"relay_0_power","unknown");; my $total = ReadingsVal($name,"relay_0_kWh","unknown");; my $temp = ReadingsVal($name,"temperature","-100");;"<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage($onl)."</a> <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\">".FW_makeImage($light)."</a><div>Verbrauch: $cons / Total: $total/ Temp: $temp °C</div>"}   getList    power:noArg shellies/shellyplug-s-266FC0/relay/power power   model      shelly1_w_energy_meassuring   readingList shellies/shellyplug-s-266FC0/relay/0:.* state  shellies/shellyplug-s-266FC0/relay/0:.* relay0  shellies/shellyplug-s-266FC0/input/0:.* input0  shellies/shellyplug-s-266FC0/online:.* online  shellies/announce:.* { $EVENT =~ m,..id...shellyplug-s-266FC0...mac.*, ? json2nameValue($EVENT) : undef }  shellies/shellyplug-s-266FC0/announce:.* { json2nameValue($EVENT) }  shellies/shellyplug-s-266FC0/relay/0/power:.* relay_0_power  shellies/shellyplug-s-266FC0/relay/0/power:.* { my $compare = $EVTPART0 < 100 ? "off":"on"; ReadingsVal($NAME,"loadState","off") ne $compare ? { 'loadState' => $compare } : undef }  shellies/shellyplug-s-266FC0/temperature:.* temperature  shellies/shellyplug-s-266FC0/overtemperature:.* overtemperature  shellies/shellyplug-s-266FC0/relay/0/energy:.* relay_0_energy  shellies/shellyplug-s-266FC0/relay/0/energy:.* {'relay_0_kWh' => sprintf("%.2f",$EVENT/60/1000)}  shellies/shellyplug-s-266FC0/longpush/0:.* longpush_0
    shellyplug_s_266FC0:shellies/shellyplug-s-266FC0/temperature_f:.* temperature_f   room       Favoriten,Garage,MQTT2_DEVICE   setList    relay0:on,off,toggle shellies/shellyplug-s-266FC0/relay/0/command $EVTPART1  off:noArg shellies/shellyplug-s-266FC0/relay/0/command off  on:noArg shellies/shellyplug-s-266FC0/relay/0/command on  x_update:noArg shellies/shellyplug-s-266FC0/command update_fw  x_mqttcom shellies/shellyplug-s-266FC0/command $EVTPART1   webCmd     :

    Mit richtiger Anzeige

    Code
    Internals:   CID        shellyplug_s_268497   DEF        shellyplug_s_268497   DEVICETOPIC Tiefkuehler   FUUID      5decf781-f33f-b033-ffe1-e9b5216c82f00302   IODev      myBroker   LASTInputDev myBroker   MSGCNT     743   NAME       Tiefkuehler   NR         518   STATE      on   TYPE       MQTT2_DEVICE   myBroker_MSGCNT 743   myBroker_TIME 2019-12-08 18:39:50   READINGS:     2019-12-08 17:39:43   fw_ver          20191127-095857/v1.5.6@0d769d69     2019-12-08 17:39:43   id              shellyplug-s-268497     2019-12-08 17:39:43   ip              10.0.0.86     2019-12-08 18:31:30   loadState       off     2019-12-08 17:39:43   mac             2CF432268497     2019-12-08 17:39:43   new_fw          false     2019-12-08 17:39:43   online          true     2019-12-08 18:39:50   overtemperature 0     2019-12-08 18:39:50   relay0          on     2019-12-08 18:39:50   relay_0_energy  9385     2019-12-08 18:39:50   relay_0_kWh     0.16     2019-12-08 18:39:50   relay_0_power   76.81     2019-12-08 18:39:50   state           on     2019-12-08 18:39:50   temperature     20.49     2019-12-08 18:39:50   temperature_f   68.89
    Attributes:   IODev      myBroker   comment    To get appropriate loadState values: Change the default limit "100" in readingList to your needs.   devStateIcon {my $onl = ReadingsVal($name,"online","false") eq "true"?"10px-kreis-gruen":"10px-kreis-rot";; my $light = ReadingsVal($name,"state","off");; my $cons = ReadingsVal($name,"relay_0_power","unknown");; my $total = ReadingsVal($name,"relay_0_kWh","unknown");; my $temp = ReadingsVal($name,"temperature","-100");;"<a href=\"http://".ReadingsVal($name,"ip","none")." \"target=\"_blank\">".FW_makeImage($onl)."</a> <a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\">".FW_makeImage($light)."</a><div>Verbrauch: $cons / Total: $total/ Temp: $temp °C</div>"}   model      shelly1_w_energy_meassuring   readingList shellies/shellyplug-s-268497/relay/0:.* state  shellies/shellyplug-s-268497/relay/0:.* relay0  shellies/shellyplug-s-268497/input/0:.* input0  shellies/shellyplug-s-268497/online:.* online  shellies/announce:.* { $EVENT =~ m,..id...shellyplug-s-268497...mac.*, ? json2nameValue($EVENT) : undef }  shellies/shellyplug-s-268497/announce:.* { json2nameValue($EVENT) }  shellies/shellyplug-s-268497/relay/0/power:.* relay_0_power  shellies/shellyplug-s-268497/relay/0/power:.* { my $compare = $EVTPART0 < 100 ? "off":"on"; ReadingsVal($NAME,"loadState","off") ne $compare ? { 'loadState' => $compare } : undef }  shellies/shellyplug-s-268497/temperature:.* temperature  shellies/shellyplug-s-268497/overtemperature:.* overtemperature  shellies/shellyplug-s-268497/relay/0/energy:.* relay_0_energy  shellies/shellyplug-s-268497/relay/0/energy:.* {'relay_0_kWh' => sprintf("%.2f",$EVENT/60/1000)}  shellies/shellyplug-s-268497/longpush/0:.* longpush_0
    shellyplug_s_268497:shellies/shellyplug-s-268497/temperature_f:.* temperature_f   room       Favoriten,Garage,MQTT2_DEVICE   setList    relay0:on,off,toggle shellies/shellyplug-s-268497/relay/0/command $EVTPART1  off:noArg shellies/shellyplug-s-268497/relay/0/command off  on:noArg shellies/shellyplug-s-268497/relay/0/command on  x_update:noArg shellies/shellyplug-s-268497/command update_fw  x_mqttcom shellies/shellyplug-s-268497/command $EVTPART1   webCmd     :


    Schönen Abend

    Helmut

    Hallo und vielen Dank.

    Jetzt stimmt die Optik wieder :saint: und der grüne Punkt ist auch klickbar und man(n) kommt wieder auf die Weboberfläche.

    Das ist ein super Service von dir!!!

    Schönen Tag

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    Guten Morgen,

    melde mich erst jetzt da ich auf Kurzurlaub war.....

    Also mein Shelly2 hat im 2ten Kanal noch immer einen roten Punkt obwohl ich ihn neu gestartet habe und auch das empfohlene x_mqttcom gemacht habe (das ist übrigens nur im 1. Kanal verfügbar!)

    Gruß

    Helmut

    guten Morgen

    Kein Problem. Ich nutze dafür Fully am Androiden.

    Gesteuert wird bei mir alles auf einem RPi 4. auf dem läuft FHEM und somit

    Kann ich verschiedenste Anbieter (Aktoren steuern, Sensoren empfangen)

    Läuft schon seit einigen Jahren ohne Probleme

    Sobald du dich dem Tablet (Kamera) näherst wird es für Zeit x aktiv.


    Gruß Helmut

    danke für die ausführliche Info.

    Ich dachte bis jetzt, der rote Punkt in FHEM bedeutet- keine Verbindung zum Shelly

    Wobei, wenn MQTT - dann gibt es ja keine Cloud. Also müsste jeder Shelly in FHEM „rot“ sein

    Hauptsache er lässt sich schalten.
    gute Nacht. Werde morgen nochmal drüber nachdenken

    Lg Helmut

    Guten Abend,

    habe meinen Shelly 2 erfolgreich verbunden (Mittlerweile habe ich schon eine kleine Sammlung verschiedenster Shelly's) :thumbup::thumbup:

    Habe das attrTemplate "shelly2_split" ausgewählt.

    Beide Kanäle lassen sich schalten aber CH2 ist "rot" - obwohl die WEBOberfläche mit der fixen IP erreichbar ist.

    Das reading power ist auch ident. Obwohl Ch1 "on" und Ch2 "off"

    List vom Ch1 GrillerBeleuchtung

    Code
    Internals:   CID        shellyswitch_32C160   DEF        shellyswitch_32C160   DEVICETOPIC GrillerBeleuchtung   FUUID      5dc6f8b5-f33f-ee2d-ea95-f16b28e77fb3031c   FVERSION   10_MQTT2_DEVICE.pm:0.204650/2019-11-06   IODev      myBrokerHaus   LASTInputDev myBrokerHaus   MSGCNT     704   NAME       GrillerBeleuchtung   NR         604   STATE      on   TYPE       MQTT2_DEVICE   myBrokerHaus_MSGCNT 704   myBrokerHaus_TIME 2019-11-09 19:52:21   READINGS:     2019-11-09 19:52:21   energy          1269     2019-11-09 18:42:55   fw_ver          20190821-094904/v1.5.2@4148d2b7     2019-11-09 18:42:55   id              shellyswitch-32C160     2019-11-09 19:52:21   input0          0     2019-11-09 19:52:21   input_1         0     2019-11-09 18:42:55   ip              10.0.0.70     2019-11-09 18:42:55   mac             84F3EB32C160     2019-11-09 18:42:55   new_fw          false     2019-11-09 18:42:55   online          true     2019-11-09 19:52:21   power           17.73     2019-11-09 19:52:21   relay0          on     2019-11-09 19:52:21   state           on
    Attributes:   IODev      myBrokerHaus   comment    Channel 1 for MQTT2_shellyswitch_32C160, see also MQTT2_shellyswitch_32C160_CH2   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>" }   getList    power:noArg shellies/shellyswitch-32C160/relay/power power   model      shelly2_split   readingList shellies/shellyswitch-32C160/relay/0:.* state  shellies/shellyswitch-32C160/relay/0:.* relay0  shellies/shellyswitch-32C160/input/0:.* input0  shellies/shellyswitch-32C160/online:.* online  shellies/shellyswitch-32C160/announce:.* { json2nameValue($EVENT) }  shellies/announce:.* { $EVENT =~ m,..id...shellyswitch-32C160...mac.*, ? json2nameValue($EVENT) : undef }
    shellyswitch_32C160:shellies/shellyswitch-32C160/relay/power:.* power
    shellyswitch_32C160:shellies/shellyswitch-32C160/relay/energy:.* energy
    shellyswitch_32C160:shellies/shellyswitch-32C160/input/1:.* input_1   room       MQTT2_DEVICE,Terrasse   setList    off:noArg shellies/shellyswitch-32C160/relay/0/command off  on:noArg shellies/shellyswitch-32C160/relay/0/command on  x_update:noArg shellies/shellyswitch-32C160/command update_fw  x_mqttcom shellies/shellyswitch-32C160/command $EVTPART1

    und List vom CH2

    Code
    Internals:   CID        shellyswitch_32C160   DEF        shellyswitch_32C160   DEVICETOPIC WB_GrillerZaun   FUUID      5dc6f936-f33f-ee2d-b28b-c7e81d3dc3625a07   FVERSION   10_MQTT2_DEVICE.pm:0.204650/2019-11-06   IODev      myBrokerHaus   LASTInputDev myBrokerHaus   MSGCNT     568   NAME       WB_GrillerZaun   NR         605   STATE      off   TYPE       MQTT2_DEVICE   myBrokerHaus_MSGCNT 568   myBrokerHaus_TIME 2019-11-09 19:53:21   READINGS:     2019-11-09 18:38:43   associatedWith  GrillerBeleuchtung     2019-11-09 19:53:21   energy          1286     2019-11-09 19:53:21   input_1         0     2019-11-09 19:53:21   power           17.73     2019-11-09 19:53:21   state           off
    Attributes:   IODev      myBrokerHaus   comment    Channel 2 for MQTT2_shellyswitch_32C160   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>" }   getList    power:noArg shellies/shellyswitch-32C160/relay/power power   model      shelly2_split   readingList shellies/shellyswitch-32C160/relay/1:.* state
    shellyswitch_32C160:shellies/shellyswitch-32C160/relay/power:.* power
    shellyswitch_32C160:shellies/shellyswitch-32C160/relay/energy:.* energy
    shellyswitch_32C160:shellies/shellyswitch-32C160/input/1:.* input_1   room       MQTT2_DEVICE,WB   setList    off:noArg shellies/shellyswitch-32C160/relay/1/command off  on:noArg shellies/shellyswitch-32C160/relay/1/command on

    Beim Klick auf den grünen Punkt bekomme ich die WEbOberfläche vom Shelly2 mit beiden Kanälen

    Beim Klick auf den roten Punkt, Klarerweise nix.

    Würde mich weniger stören - nur die Optik ist nicht so schön und .....

    die Power Anzeige ist identisch....

    Was mach ich hier falsch?

    Nice eve

    Helmut