NEWS
Shelly 3.3.4 - Ich benötige Eure Hilfe
-
Hallo,
ich bin gerade dabei an der Shelly Version 3.3.4 zu programmieren und benötige Eure Hilfe. Ich möchte gerne ein paar Dinge aufräumen und benötige dafür Eure Hilfe!
Wenn Ihr die Shellys im CoAP Modus betreibt benötige ich für folgende Geräte ein paar Infos:- Shelly 4 Pro / SHSW-44
- Shelly 2 LED / SH2LED
- Shelly Bulb / SHBLB-1
- Shelly Plug (nicht Plug S) / HPLG-1
- Shelly RGBW2 / SHRGBW2 (color und white Modus)
- Shelly RGBWW / SHRGBWW-01 (color und white Modus)
Wenn Ihr den Adapter im Debug Modus startet benötige ich die Ausgabe der mit blk beginnt. Bsp. für den Shelly 1 (SHSW-PM)
{"blk":[{"I":0,"D":"Relay0"},{"I":1,"D":"Sensors"}],"sen":[{"I":111,"T":"W","R":"0/3500","L":0},{"I":112,"T":"S","D":"Switch","R":"0/1","L":0},{"I":113,"T":"tC","R":"-40/300","L":0},{"I":114,"T":"tF","R":"-40/300","L":0},{"I":115,"T":"Overtemp","R":"0/1","L":0},{"I":118,"T":"S","D":"Input","R":"0/1/2","L":1}]}
Bitte das Gerät mit angeben wie z.B. SHSW-PM . Dieses steht davor. Wichtig, ich benötige den ganzen Text. Diesen bitte nicht abschneiden. Diesen bekommt ihr z.B. wenn ihr das Logfile downloaded.
VG
Stübi -
Hallo Stübi,
könntest Du mir sagen, wie man den Adapter im Debug-Modus startet? Dann könnte ich Dir zumindest für die Shelly Bulb Duo GU10 die entsprechenden Daten geben.
Noch eine Frage, wenn Du schon dabei bist eine neue Version aufzusetzen. Bei der o. g. Lampe kann man im eingeschalteten Zustand in der Shelly-App die Leistung in Watt ablesen. Könnte man (Du ) das auch im Adapter mit implementieren?
-
{"3332":"SHBLB-1#4210C5#1"} / {"blk":[{"I":0,"D":"RGBW"}],"sen":[{"I":111,"T":"S","D":"Red","R":"0/255","L":0},{"I":121,"T":"S","D":"Green","R":"0/255","L":0},{"I":131,"T":"S","D":"Blue","R":"0/255","L":0},{"I":141,"T":"S","D":"White","R":"0/255","L":0},{"I":151,"T":"S","D":"Gain","R":"0/100","L":0},{"I":161,"T":"S","D":"Temp","R":"3000/6500","L":0},{"I":171,"T":"S","D":"Brightness","R":"0/100","L":0},{"I":181,"T":"S","D":"VSwitch","R":"0/1","L":0}]}
{"3332":"SHRGBW2#6D8072#1"} / {"blk":[{"I":0,"D":"RGBW2"}],"sen":[{"I":118,"T":"S","D":"Input","R":"0/1","L":0},{"I":111,"T":"S","D":"Red","R":"0/255","L":0},{"I":121,"T":"S","D":"Green","R":"0/255","L":0},{"I":131,"T":"S","D":"Blue","R":"0/255","L":0},{"I":141,"T":"S","D":"White","R":"0/255","L":0},{"I":151,"T":"S","D":"Gain","R":"0/100","L":0},{"I":161,"T":"S","D":"VSwitch","R":"0/1","L":0},{"I":211,"T":"P","D":"Power","R":"0/288","L":0}]}
-
@mbw sagte in Shelly 3.3.4 - Ich benötige Eure Hilfe:
{"3332":"SHBLB-1#4210C5#1"} / {"blk":[{"I":0,"D":"RGBW"}],"sen":[{"I":111,"T":"S","D":"Red","R":"0/255","L":0},{"I":121,"T":"S","D":"Green","R":"0/255","L":0},{"I":131,"T":"S","D":"Blue","R":"0/255","L":0},{"I":141,"T":"S","D":"White","R":"0/255","L":0},{"I":151,"T":"S","D":"Gain","R":"0/100","L":0},{"I":161,"T":"S","D":"Temp","R":"3000/6500","L":0},{"I":171,"T":"S","D":"Brightness","R":"0/100","L":0},{"I":181,"T":"S","D":"VSwitch","R":"0/1","L":0}]}
{"3332":"SHRGBW2#6D8072#1"} / {"blk":[{"I":0,"D":"RGBW2"}],"sen":[{"I":118,"T":"S","D":"Input","R":"0/1","L":0},{"I":111,"T":"S","D":"Red","R":"0/255","L":0},{"I":121,"T":"S","D":"Green","R":"0/255","L":0},{"I":131,"T":"S","D":"Blue","R":"0/255","L":0},{"I":141,"T":"S","D":"White","R":"0/255","L":0},{"I":151,"T":"S","D":"Gain","R":"0/100","L":0},{"I":161,"T":"S","D":"VSwitch","R":"0/1","L":0},{"I":211,"T":"P","D":"Power","R":"0/288","L":0}]}
Super klasse!!!
-
@qqolli sagte in Shelly 3.3.4 - Ich benötige Eure Hilfe:
Hallo Stübi,
könntest Du mir sagen, wie man den Adapter im Debug-Modus startet? Dann könnte ich Dir zumindest für die Shelly Bulb Duo GU10 die entsprechenden Daten geben.
Noch eine Frage, wenn Du schon dabei bist eine neue Version aufzusetzen. Bei der o. g. Lampe kann man im eingeschalteten Zustand in der Shelly-App die Leistung in Watt ablesen. Könnte man (Du ) das auch im Adapter mit implementieren?
Moin , einfach in ioBroker auf Instanzen gehen. Dort auf Experten Modus und beim Shelly Adapter von Info auf Debug wechseln. Anschließend wieder zurück auf Info wechseln.
-
@Stuebi
{"3332":"SHBDUO-1#FB2BD9#1"} / {"blk":[{"I":0,"D":"Channel0"}],"sen":[{"I":121,"T":"S","D":"State","R":"0/1","L":0},{"I":111,"T":"S","D":"Brightness","R":"0/100","L":0},{"I":131,"T":"S","D":"ColorTemperature","R":"2700/6500","L":0},{"I":141,"T":"P","D":"Power","R":"0/9","L":0},{"I":211,"T":"S","D":"Energy counter 0 [W-min]","L":0},{"I":212,"T":"S","D":"Energy counter 1 [W-min]","L":0},{"I":213,"T":"S","D":"Energy counter 2 [W-min]","L":0},{"I":214,"T":"S","D":"Energy counter total [W-min]","L":0}]} -
@qqolli sagte in Shelly 3.3.4 - Ich benötige Eure Hilfe:
@Stuebi
{"3332":"SHBDUO-1#FB2BD9#1"} / {"blk":[{"I":0,"D":"Channel0"}],"sen":[{"I":121,"T":"S","D":"State","R":"0/1","L":0},{"I":111,"T":"S","D":"Brightness","R":"0/100","L":0},{"I":131,"T":"S","D":"ColorTemperature","R":"2700/6500","L":0},{"I":141,"T":"P","D":"Power","R":"0/9","L":0},{"I":211,"T":"S","D":"Energy counter 0 [W-min]","L":0},{"I":212,"T":"S","D":"Energy counter 1 [W-min]","L":0},{"I":213,"T":"S","D":"Energy counter 2 [W-min]","L":0},{"I":214,"T":"S","D":"Energy counter total [W-min]","L":0}]}super und Energy u. Power werde ich im 3.3.4 Release mit unterstützen. Ist schon eingebaut
-
Die CoAP Infos suche ich auch für folgende Geräte:
- Shelly 3EM
- Shelly Vintage
Danke!
-
@Stuebi mim 3EM kann ich dir am Dienstag helfen
-
Danke für die tolle Arbeit am Adapter! Ich freue mich, da endlich auch mal was "zurückgeben" zu können.
{"3332":"SHSW-PM#B1E260#1"} / {"blk":[{"I":0,"D":"Relay0"},{"I":1,"D":"Sensors"}],"sen":[{"I":111,"T":"P","D":"Power","R":"0/3500","L":0},{"I":112,"T":"S","D":"State","R":"0/1","L":0},{"I":113,"T":"T","D":"Temperature C","R":"-40/300","L":0},{"I":114,"T":"T","D":"Temperature F","R":"-40/300","L":0},{"I":115,"T":"S","D":"Overtemp","R":"0/1","L":0},{"I":118,"T":"S","D":"Input","R":"0(off)/1(on)/2(longpush)","L":0},{"I":211,"T":"S","D":"Energy counter 0 [W-min]","L":0},{"I":212,"T":"S","D":"Energy counter 1 [W-min]","L":0},{"I":213,"T":"S","D":"Energy counter 2 [W-min]","L":0},{"I":214,"T":"S","D":"Energy counter total [W-min]","L":0}]}
{"3332":"SHDM-1#D47EBD#1"} / {"blk":[{"I":0,"D":"Dimmer"}],"sen":[{"I":111,"T":"S","D":"Brightness","R":"0/100","L":0},{"I":121,"T":"S","D":"State","R":"0/1","L":0},{"I":131,"T":"S","D":"Input","R":"0(off)/1(on)/2(longpush)","L":0},{"I":141,"T":"S","D":"Input","R":"0(off)/1(on)/2(longpush)","L":0},{"I":211,"T":"S","D":"Energy counter 0 [W-min]","L":0},{"I":212,"T":"S","D":"Energy counter 1 [W-min]","L":0},{"I":213,"T":"S","D":"Energy counter 2 [W-min]","L":0},{"I":214,"T":"S","D":"Energy counter total [W-min]","L":0},{"I":311,"T":"T","D":"Temperature C","R":"-40/300","L":0},{"I":312,"T":"T","D":"Temperature F","R":"-40/300","L":0},{"I":313,"T":"S","D":"Overtemp","R":"0/1","L":0}]}
{"3332":"SHRGBW2#6CC09F#1"} / {"blk":[{"I":0,"D":"RGBW2"}],"sen":[{"I":118,"T":"S","D":"Input","R":"0/1","L":0},{"I":111,"T":"S","D":"Red","R":"0/255","L":0},{"I":121,"T":"S","D":"Green","R":"0/255","L":0},{"I":131,"T":"S","D":"Blue","R":"0/255","L":0},{"I":141,"T":"S","D":"White","R":"0/255","L":0},{"I":151,"T":"S","D":"Gain","R":"0/100","L":0},{"I":161,"T":"S","D":"VSwitch","R":"0/1","L":0},{"I":211,"T":"P","D":"Power","R":"0/288","L":0}]}
-
{"3332":"SHRGBW2#DEVICEID#1"} / {"blk":[{"I":0,"D":"RGBW2"}],"sen":[{"I":118,"T":"S","D":"Input","R":"0/1","L":0},{"I":111,"T":"S","D":"Red","R":"0/255","L":0},{"I":121,"T":"S","D":"Green","R":"0/255","L":0},{"I":131,"T":"S","D":"Blue","R":"0/255","L":0},{"I":141,"T":"S","D":"White","R":"0/255","L":0},{"I":151,"T":"S","D":"Gain","R":"0/100","L":0},{"I":161,"T":"S","D":"VSwitch","R":"0/1","L":0},{"I":211,"T":"P","D":"Power","R":"0/288","L":0}]}
-
Werden in 3.3.4 die inputs und longpush Datenpunkte eigentlich auch per CoAP Protokoll sichtbar sein? In 3.3.3 sind keine Datenpunkte für den input und longpush state zu sehen. Anscheinend sind sie nur per mqtt abrufbar? (Weil bei longpush und input steht im Skript coap -> no_display: true?) Ändert sich das irgendwas in 3.3.4 oder mach ich da einen Konfig Fehler in 3.3.3?
-
@Domingo sind sichtbar, wenn es vom Gerät und der Firmware unterstützt wird.
-
@harrym An welcher Stelle werden die bei dir gelistet?
Hab’s hier mit einem Dimmer 1 und RGBW2 im Test laufen und da konnte ich die unter „lights“ im admin von ioBroker Ansicht Objekte nicht sehen.
Die Shellys und die Firmware sollten es unterstützen. Unter der shelly Oberfläche kann ich longpush action URL‘s hinterlegen, das geht ja nur wenn longpush ausgewertet werden. Firmware der Shellys ist auf dem neusten Stand.
Hab zusätzlich mit dem npm Paket node-shellies getestet. Da werden die CoAP messages für longpush auf den inputs von den Shellys auch gesendet.
Nutzt du CoAP oder MQTT? Vielleicht liegt es daran, dass es nur per MQTT verfügbar ist? So hatte ich das „no_display: true“ unter coap im Dimmer-Code interpretiert. Ob das tatsächlich diese Bedeutung hat weiß ich aber nicht wirklich.
So sieht das bei mir aus:
-
@Stuebi sagte in Shelly 3.3.4 - Ich benötige Eure Hilfe:
Shelly 3EM
{"blk":[{"I":0,"D":"Relay0"},{"I":1,"D":"Meter0"},{"I":2,"D":"Meter1"},{"I":3,"D":"Meter2"}],"sen":[{"I":112,"T":"S","D":"State","R":"0/1","L":0},{"I":111,"T":"P","D":"Power","R":"0/26400","L":1},{"I":114,"T":"S","D":"PF","R":"0/1","L":1},{"I":115,"T":"S","D":"Current","R":"0/120","L":1},{"I":116,"T":"S","D":"Voltage","R":"0/265","L":1},{"I":121,"T":"P","D":"Power","R":"0/26400","L":2},{"I":124,"T":"S","D":"PF","R":"0/1","L":2},{"I":125,"T":"S","D":"Current","R":"0/120","L":2},{"I":126,"T":"S","D":"Voltage","R":"0/265","L":2},{"I":131,"T":"P","D":"Power","R":"0/26400","L":3},{"I":134,"T":"S","D":"PF","R":"0/1","L":3},{"I":135,"T":"S","D":"Current","R":"0/120","L":3},{"I":136,"T":"S","D":"Voltage","R":"0/265","L":3}]}
schön wenn man helfen kann