Ja, sogar bis hinter die xte Kommastelle.
Läuft gut.
Ja, sogar bis hinter die xte Kommastelle.
Läuft gut.
Nennt sich HQ-Widget.
Die Bilder von den Pfeilen, oder was auch immer, am besten als *.png aus'm Internet laden.
@tstueben:
Ingo, ich habe auf GitHub den Shelly Adapter jetzt so angepasst, dass er im Rolladen Modus als Button agiert. Wert ist kurz true und dann gleich false. Status ist wie appolon77 beschrieben abzufragen
Gesendet von iPhone mit Tapatalk `
Super!!
Eben funktionierts!
Vielen Dank Euch!
Hallo,
danke für Eure Mühe.
Update habe ich gemacht auf 0.2.3.
Ohne die Option "Taster" also als Schalter, hatte es auch vorher funktioniert.
Das Problem ist, das der Button optisch nicht zurückspringt und optisch geschaltet bleibt, ist dann ja als Schalter definiert.
Somit muss man diesen wieder händlich zurückschalten auf 0.
Auch ein entfernen der Werte false/true bei Wert min: max: im Widget, bringt leider nix.
Wie habt Ihr denn optisch Euro Rolladenschalter visualisiert?
8872_grunstellung.jpg
8872_nach_abgelaufener_zeit.jpg
8872_aktiv_zeit_l_uft_ab.jpg
Anbei drei Bilder vom Widget open/pause/close mit den Datenpunkten vom Shelly.
Getastet wird open/pause/close.
Widget "open" angeklickt:
shelly.0 2018-09-30 23:54:24.428 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay0.Switch {"val":false,"ack":true,"ts":1538344464424,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538344464424}
shelly.0 2018-09-30 23:54:24.413 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 23:54:24.412 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":15361,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 23:54:24.345 debug REST Response {"state":"stop","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"open"}
shelly.0 2018-09-30 23:54:24.325 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"stop","duration":30}
shelly.0 2018-09-30 23:54:24.324 debug RollerUp: {"go":"stop","duration":30}
shelly.0 2018-09-30 23:54:24.324 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Open {"val":false,"ack":false,"ts":1538344464319,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538344464319}
shelly.0 2018-09-30 23:54:23.419 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay0.Switch {"val":true,"ack":true,"ts":1538344463414,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538344463414}
shelly.0 2018-09-30 23:54:23.412 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,1],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 23:54:23.412 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":15105,"Uri-Path":"cit/s"} / {"G":[[0,112,1],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 23:54:23.347 debug REST Response {"state":"open","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"open"}
shelly.0 2018-09-30 23:54:23.323 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"open","duration":30}
shelly.0 2018-09-30 23:54:23.322 debug RollerUp: {"go":"open","duration":30}
shelly.0 2018-09-30 23:54:23.322 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Open {"val":true,"ack":false,"ts":1538344463315,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538344463315}
Widget "close" angeklickt:
shelly.0 2018-09-30 23:56:10.289 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay1.Switch {"val":false,"ack":true,"ts":1538344570285,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538344570285}
shelly.0 2018-09-30 23:56:10.284 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 23:56:10.283 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":15873,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 23:56:10.217 debug REST Response {"state":"stop","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"close"}
shelly.0 2018-09-30 23:56:10.200 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"stop","duration":30}
shelly.0 2018-09-30 23:56:10.200 debug RollerDown: {"go":"stop","duration":30}
shelly.0 2018-09-30 23:56:10.199 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Close {"val":false,"ack":false,"ts":1538344570195,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538344570195}
shelly.0 2018-09-30 23:56:09.308 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay1.Switch {"val":true,"ack":true,"ts":1538344569304,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538344569304}
shelly.0 2018-09-30 23:56:09.302 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,1],[0,111,0]]}
shelly.0 2018-09-30 23:56:09.301 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":15617,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,1],[0,111,0]]}
shelly.0 2018-09-30 23:56:09.220 debug REST Response {"state":"close","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"close"}
shelly.0 2018-09-30 23:56:09.201 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"close","duration":30}
shelly.0 2018-09-30 23:56:09.200 debug RollerDown: {"go":"close","duration":30}
shelly.0 2018-09-30 23:56:09.199 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Close {"val":true,"ack":false,"ts":1538344569189,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538344569189}
Widge "open" "gedrückt" gehalten:
shelly.0 2018-09-30 23:57:47.699 debug REST Response {"state":"stop","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"open"}
shelly.0 2018-09-30 23:57:47.680 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"stop","duration":30}
shelly.0 2018-09-30 23:57:47.680 debug RollerUp: {"go":"stop","duration":30}
shelly.0 2018-09-30 23:57:47.679 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Open {"val":false,"ack":false,"ts":1538344667675,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538344667675}
shelly.0 2018-09-30 23:57:46.979 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay0.Switch {"val":false,"ack":true,"ts":1538344666975,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538344666975}
shelly.0 2018-09-30 23:57:46.973 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 23:57:46.973 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":16385,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 23:57:16.989 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay0.Switch {"val":true,"ack":true,"ts":1538344636985,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538344636985}
shelly.0 2018-09-30 23:57:16.983 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,1],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 23:57:16.982 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":16129,"Uri-Path":"cit/s"} / {"G":[[0,112,1],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 23:57:16.927 debug REST Response {"state":"open","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"open"}
shelly.0 2018-09-30 23:57:16.878 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"open","duration":30}
shelly.0 2018-09-30 23:57:16.877 debug RollerUp: {"go":"open","duration":30}
shelly.0 2018-09-30 23:57:16.877 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Open {"val":true,"ack":false,"ts":1538344636873,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538344636873}
Ich habe die "CoAP data ignored" Punkte entfernt, sonst wird das Log zu lang.
8872_close.jpg
8872_pause.jpg
8872_open.jpg
Also…
wie schon geschrieben, ist das Problem nur wenn ich ein Tast-Signal vorgebe.
Lasse ich das Signal anstehen,durch gedrückt lassen des Widgets oder ändern auf schaltend, läuft die vorgegebene Zeit ab und das Relais fällt ab.
Duration in Iobroker auf 30sek gestellt, bringt nichts, Relais fällt wieder ab.(Tastend)
Zu sehen auch in der App, Symbol ändert sich kurz und springt dann auf up oder down.
Schaltend funktionierts (30sek)
Über die Shelly-App geschaltet, eingestellte Zeit in der App von 20sek,läuft und schaltet nach Zeit ab.
Alles auch paralell zu sehen in Iobroker unter Objekte bei Relay0 und Relay1 (false/true)
oder in der App.
Sind die Settings in der Shelly-App für Iobroker (außer natürlich Rollermode) irgendwie relevant??
Ich habe im Haus, Standard Jalousieschalter mit zwei Wippen verbaut und dementsprechend auch die Settings in der App angepasst.
Input Buttons Mode - Open&Close Buttons - Use seperate buttons for open&close
Button-Type - Momentary - Press Button 1 for open and Button 2 for close.
Mode - Roller Shutter
Nicht dass das irgendwie dazwischen funkt...
Ach, lässt mir jetzt keine Ruhe…
Hat leider nix gebracht.
Wechselt nur wieder kurz von false auf true.
Hier das Log:
shelly.0 2018-09-30 21:13:08.720 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay1.Switch {"val":false,"ack":true,"ts":1538334788714,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538334788714}
shelly.0 2018-09-30 21:13:08.712 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 21:13:08.712 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":52736,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 21:13:08.633 debug REST Response {"state":"stop","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"close"}
shelly.0 2018-09-30 21:13:08.611 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"stop","duration":20}
shelly.0 2018-09-30 21:13:08.610 debug RollerDown: {"go":"stop","duration":20}
shelly.0 2018-09-30 21:13:08.609 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Close {"val":false,"ack":false,"ts":1538334788604,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538334788604}
shelly.0 2018-09-30 21:13:08.456 debug CoAP data ignored: {"3332":"SHSW-44#062073#1","3412":38400,"3420":16640,"Uri-Path":"cit/s"} / {"G":[[0,111,0],[0,112,0],[0,121,0],[0,122,0],[0,131,0],[0,132,0],[0,141,0],[0,142,0]]}
shelly.0 2018-09-30 21:13:07.731 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay1.Switch {"val":true,"ack":true,"ts":1538334787726,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538334787726}
shelly.0 2018-09-30 21:13:07.724 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,1],[0,111,0]]}
shelly.0 2018-09-30 21:13:07.723 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":52480,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,1],[0,111,0]]}
shelly.0 2018-09-30 21:13:07.625 debug REST Response {"state":"close","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"close"}
shelly.0 2018-09-30 21:13:07.597 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"close","duration":20}
shelly.0 2018-09-30 21:13:07.597 debug RollerDown: {"go":"close","duration":20}
shelly.0 2018-09-30 21:13:07.596 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Close {"val":true,"ack":false,"ts":1538334787590,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538334787590}
Hallo,
Version 0.2.1 war drauf.
Habs deinstalliert und nochmal neu installiert.
Bin aber im Moment auf der Arbeit und hab nur Zugriff über iobroker.pro
Melde mich morgen nochmal.
Bitte hier das Log:
shelly.0 2018-09-30 19:54:59.666 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay1.Switch {"val":false,"ack":true,"ts":1538330099662,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538330099662}
shelly.0 2018-09-30 19:54:59.660 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 19:54:59.660 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":44544,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 19:54:59.593 debug REST Response {"state":"stop","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"close"}
shelly.0 2018-09-30 19:54:59.562 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"stop"}
shelly.0 2018-09-30 19:54:59.562 debug RollerDown: {"go":"stop"}
shelly.0 2018-09-30 19:54:59.561 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Close {"val":false,"ack":false,"ts":1538330099556,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538330099556}
shelly.0 2018-09-30 19:54:59.144 debug CoAP data ignored: {"3332":"SHSW-21#9F61D7#1","3412":38400,"3420":257,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 19:54:59.115 debug CoAP data ignored: {"3332":"SHSW-21#9F6203#1","3412":38400,"3420":1793,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 19:54:58.657 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay1.Switch {"val":true,"ack":true,"ts":1538330098651,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538330098651}
shelly.0 2018-09-30 19:54:58.650 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,1],[0,111,0]]}
shelly.0 2018-09-30 19:54:58.649 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":44288,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,1],[0,111,0]]}
shelly.0 2018-09-30 19:54:58.582 debug REST Response {"state":"close","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"close"}
shelly.0 2018-09-30 19:54:58.561 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"close"}
shelly.0 2018-09-30 19:54:58.560 debug RollerDown: {"go":"close"}
shelly.0 2018-09-30 19:54:58.560 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Close {"val":true,"ack":false,"ts":1538330098555,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538330098555}
shelly.0 2018-09-30 19:54:58.374 debug CoAP data ignored: {"3332":"SHSW-21#9F5FF6#1","3412":38400,"3420":22272,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 19:54:57.896 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay0.Switch {"val":false,"ack":true,"ts":1538330097893,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538330097893}
shelly.0 2018-09-30 19:54:57.892 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 19:54:57.892 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":44032,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 19:54:57.828 debug REST Response {"state":"stop","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"open"}
shelly.0 2018-09-30 19:54:57.812 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"stop"}
shelly.0 2018-09-30 19:54:57.812 debug RollerUp: {"go":"stop"}
shelly.0 2018-09-30 19:54:57.811 debug stateChange shelly.0.SHSW-21#9F6224#1.Shutter.Open {"val":false,"ack":false,"ts":1538330097809,"q":0,"from":"system.adapter.cloud.0","user":"system.user.admin","lc":1538330097809}
shelly.0 2018-09-30 19:54:56.912 debug stateChange shelly.0.SHSW-21#9F6224#1.Relay0.Switch {"val":true,"ack":true,"ts":1538330096908,"q":0,"from":"system.adapter.shelly.0","user":"system.user.admin","lc":1538330096908}
shelly.0 2018-09-30 19:54:56.906 debug Status update received for SHSW-21#9F6224#1: {"G":[[0,112,1],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 19:54:56.905 debug CoAP status package received: {"3332":"SHSW-21#9F6224#1","3412":38400,"3420":43776,"Uri-Path":"cit/s"} / {"G":[[0,112,1],[0,122,0],[0,111,0]]}
shelly.0 2018-09-30 19:54:56.837 debug REST Response {"state":"open","power":0,"is_valid":true,"safety_switch":false,"stop_reason":"normal","last_direction":"open"}
shelly.0 2018-09-30 19:54:56.817 debug Call REST GET http://192.168.178.30/roller/0 with {"go":"open"}
shelly.0 2018-09-30 19:54:56.817 debug RollerUp: {"go":"open"}
8872_shelly3.jpg