NEWS
SOLVED Shelly Adapter
-
Ja im selben Netzwerk, sie wurde ja vor der Neuinstallation auch alle angezeigt, nur leider konnte ich damals ja nicht schalten
-
äääähm ... alos Stündlicher restart muss das erste * eine 0 sein ... ansonsten: warum denn überhaupt? Und auch der Default ist nur * * * * * sondern "leer" weil an sich kein Restart beim Shelly Adapter nötig ist
-
@apollon77 Hi ich habe auch ein Problem mit meinem shelly Adapter
welcher jede min neu starte. Hab in neu aufgesetzt und bin nicht über mqtt verbunden.
Du hast davon gesprochen das es Probleme geben könnte wenn einem Repeater?
Kannst du das erklären ? befindet sich doch aber im gleichen Netz ?
Was kann ich tunBei den log kommt immer der error :

instance system.adapter.shelly.0 terminated with code 156 () -
@Home79 , kannst du bitte den Shelly Instanz deaktivieren und dann den Shelly Adapter manuell über Kommandozeile starten. Was bekommst Du jetzt angezeigt?
node node_modules/iobroker.shelly/main.js --force --logs
-
pi@raspberrypi:~ $ node node_modules/iobroker.shelly/main.js --force --logs module.js:550 throw err; ^ Error: Cannot find module '/home/pi/node_modules/iobroker.shelly/main.js' at Function.Module._resolveFilename (module.js:548:15) at Function.Module._load (module.js:475:25) at Function.Module.runMain (module.js:694:10) at startup (bootstrap_node.js:204:16) at bootstrap_node.js:625:3
-
pi@raspberrypi:~ $ node node_modules/iobroker.shelly/main.js --force --logs module.js:550 throw err; ^ Error: Cannot find module '/home/pi/node_modules/iobroker.shelly/main.js' at Function.Module._resolveFilename (module.js:548:15) at Function.Module._load (module.js:475:25) at Function.Module.runMain (module.js:694:10) at startup (bootstrap_node.js:204:16) at bootstrap_node.js:625:3
-
@Home79 sagte in Shelly Adapter:
node node_modules/iobroker.shelly/main.js --force --logs
nimm mal
node node_modules/iobroker.shelly/shelly.js --force --logs
-
@apollon77dbc14c60-4771-4906-8a7f-386b55f01437-iobroker.2019-06-04.log.pdf iobroker.2019-06-04.log.pdf
-
Mich interessiert was an der Kommandozeile wo du das manuell gestartet hast steht wenn Du das startest und er wieder abstürzt ...
-
@apollon77 sorry wo finde ich das was du meinst
-
DIe Bitte war:
- Stoppe den Adaspter
- Öffne eine Shell/SSH und wechsle ins ioBroker Verzeichnis
- führe den genannten Befehl manuell dort aus
- schicke das in der Shell ausgegebene Log mit - vor allem den Schluss wenn er wieder abstürzt
-
pi@raspberrypi:/opt/iobroker $ node node_modules/iobroker.shelly/shelly.js --force --logs starting. Version 3.0.3 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.16.0 Schedule restart: * 1,3,5-23 * * * Stating Shelly adapter in CoAP modus. Listening for Shelly packets in the network CoAP status package received: {"3332":"SHRGBW2#662476#1","3412":38400,"3420":7936,"Uri-Path":"cit/s"} / {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]} Status update received for SHRGBW2#662476#1: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]} CoAP device description request for SHRGBW2#662476#1 to 192.168.178.62(0) CoAP response: {"3332":"SHRGBW2#662476#1"} Device description received: {"3332":"SHRGBW2#662476#1"} / {"blk":[{"I":1,"D":"RGBW2"}],"sen":[{"I":111,"T":"Red","R":"0/255","L":0},{"I":121,"T":"Green","R":"0/255","L":0},{"I":131,"T":"Blue","R":"0/255","L":0},{"I":141,"T":"White","R":"0/255","L":0},{"I":151,"T":"Gain","R":"0/100","L":0},{"I":161,"T":"VSwitch","R":"0/1","L":0}],"act":[{"I":211,"D":"RGBW2","L":0,"P":[{"I":2011,"T":"Red","R":"0/255"},{"I":2021,"T":"Green","R":"0/255"},{"I":2031,"T":"Blue","R":"0/255"},{"I":2041,"T":"White","R":"0/255"},{"I":2051,"T":"Gain","R":"0/100"},{"I":2061,"T":"VSwitch","R":"0/1"}]}]} Shelly device 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1) with CoAP connected! CoAP Message for SHRGBW2#662476#1 : {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]} Create State : SHRGBW2#662476#1.color.Switch, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 State change : SHRGBW2#662476#1.color.Switch, Value: false for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1) Create State : SHRGBW2#662476#1.color.red, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 State change : SHRGBW2#662476#1.color.red, Value: 0 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1) Create State : SHRGBW2#662476#1.color.green, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 State change : SHRGBW2#662476#1.color.green, Value: 0 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1) Create State : SHRGBW2#662476#1.color.blue, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 State change : SHRGBW2#662476#1.color.blue, Value: 255 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1) Create State : SHRGBW2#662476#1.color.white, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 State change : SHRGBW2#662476#1.color.white, Value: 97 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1) Create State : SHRGBW2#662476#1.color.gain, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 State change : SHRGBW2#662476#1.color.gain, Value: 4 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1) Create State : SHRGBW2#662476#1.white0.Switch, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 Create State : SHRGBW2#662476#1.white0.brightness, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 Create State : SHRGBW2#662476#1.white1.Switch, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 Create State : SHRGBW2#662476#1.white1.brightness, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 Create State : SHRGBW2#662476#1.white2.Switch, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 Create State : SHRGBW2#662476#1.white2.brightness, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 Set state SHRGBW2#662476#1.color.AutoTimerOff, Value: 0 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1) Set state SHRGBW2#662476#1.color.AutoTimerOn, Value: 0 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1) Set state SHRGBW2#662476#1.mode, Value: "color" for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1) Set state SHRGBW2#662476#1.version, Value: "20190531-080138/v1.5.0-hotfix2@022ec015" for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1) Create State : SHRGBW2#662476#1.white3.Switch, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 Create State : SHRGBW2#662476#1.white3.brightness, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1 Set state SHRGBW2#662476#1.color.effect, Value: 0 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1) Scheduled restart. Closing Adapter terminating Closing Adapter
-
@Home79
passt das so ? sorry bin nicht ganz so drin im Thema sorry -
@Home79 sagte in Shelly Adapter:
Scheduled restart.
ääähm ?!
Schedule restart: * 1,3,5-23 * * *
Bedeutet: Neustart des Adapter jede Minute in der 1., 3. und zwischen 5-23. Stunde ... und du wunderst dich? :-))
Was willst Du denn damit bezwecken?
-
@apollon77 nein das hatte ich eingestellt soll jede stunde neu starten damit er wieder anlauft
-
@apollon77oAP connected!
CoAP Message for SHSW-1#058C2B#1 : {"G":[[0,112,0]]} Create State : SHSW-1#058C2B#1.Relay0.Switch, Payload: {"G":[[0,112,0]]}for SHSW-1#058C2B#1 State change : SHSW-1#058C2B#1.Relay0.Switch, Value: false for 192.168.178.30 (shelly1 / shelly1-058C2B / SHSW-1#058C2B#1) Set state SHSW-1#058C2B#1.Relay0.AutoTimerOff, Value: 0 for 192.168.178.30 (shelly1 / shelly1-058C2B / SHSW-1#058C2B#1) Set state SHSW-1#058C2B#1.Relay0.AutoTimerOn, Value: 0 for 192.168.178.30 (shelly1 / shelly1-058C2B / SHSW-1#058C2B#1) Set state SHSW-1#058C2B#1.version, Value: "20190531-075800/v1.5.0-hotfix2@022ec015" for 192.168.178.30 (shelly1 / shelly1-058C2B / SHSW-1#058C2B#1) Set state SHSW-1#058C2B#1.firmware, Value: false for 192.168.178.30 (shelly1 / shelly1-058C2B / SHSW-1#058C2B#1) Set state SHSW-1#058C2B#1.hostname, Value: "192.168.178.30" for 192.168.178.30 (shelly1 / shelly1-058C2B / SHSW-1#058C2B#1) Set state SHSW-1#058C2B#1.rssi, Value: -29 for 192.168.178.30 (shelly1 / shelly1-058C2B / SHSW-1#058C2B#1) Set state SHSW-21#32C173#1.rssi, Value: -78 for 192.168.178.36 (shellyswitch / shellyswitch-32C173 / SHSW-21#32C173#1) CoAP status package received: {"3332":"SHSW-1#32CA57#1","3412":38400,"3420":1280,"Uri-Path":"cit/s"} / {"G":[[0,112,0]]} Status update received for SHSW-1#32CA57#1: {"G":[[0,112,0]]} CoAP device description request for SHSW-1#32CA57#1 to 192.168.178.32(0) Connection update received for SHSW-1#32CA57#1: true Connection update received for SHSW-1#32CA57#1: true Connection update received for SHSW-1#32CA57#1: true Connection update received for SHSW-1#32CA57#1: true Connection update received for SHSW-1#32CA57#1: true Connection update received for SHSW-1#32CA57#1: true Connection update received for SHSW-1#32CA57#1: true Connection update received for SHSW-1#32CA57#1: true Connection update received for SHSW-1#32CA57#1: true Connection update received for SHSW-1#32CA57#1: true Connection update received for SHSW-1#32CA57#1: true Connection update received for SHSW-1#32CA57#1: true Connection update received for SHSW-1#32CA57#1: true Connection update received for SHSW-1#32CA57#1: true CoAP response: {"3332":"SHSW-1#32CA57#1"} Device description received: {"3332":"SHSW-1#32CA57#1"} / {"blk":[{"I":0,"D":"Relay0"}],"sen":[{"I":112,"T":"Switch","R":"0/1","L":0}],"act":[{"I":211,"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]}]} Shelly device 192.168.178.32 (shelly1 / shelly1-32CA57 / SHSW-1#32CA57#1) with CoAP connected! CoAP Message for SHSW-1#32CA57#1 : {"G":[[0,112,0]]} Create State : SHSW-1#32CA57#1.Relay0.Switch, Payload: {"G":[[0,112,0]]}for SHSW-1#32CA57#1 State change : SHSW-1#32CA57#1.Relay0.Switch, Value: false for 192.168.178.32 (shelly1 / shelly1-32CA57 / SHSW-1#32CA57#1) Set state SHSW-1#32CA57#1.Relay0.AutoTimerOff, Value: 0 for 192.168.178.32 (shelly1 / shelly1-32CA57 / SHSW-1#32CA57#1) Set state SHSW-1#32CA57#1.Relay0.AutoTimerOn, Value: 0 for 192.168.178.32 (shelly1 / shelly1-32CA57 / SHSW-1#32CA57#1) Set state SHSW-1#32CA57#1.version, Value: "20190531-075800/v1.5.0-hotfix2@022ec015" for 192.168.178.32 (shelly1 / shelly1-32CA57 / SHSW-1#32CA57#1) Set state SHSW-1#32CA57#1.firmware, Value: false for 192.168.178.32 (shelly1 / shelly1-32CA57 / SHSW-1#32CA57#1) Set state SHSW-1#32CA57#1.hostname, Value: "192.168.178.32" for 192.168.178.32 (shelly1 / shelly1-32CA57 / SHSW-1#32CA57#1) Set state SHSW-1#32CA57#1.rssi, Value: -71 for 192.168.178.32 (shelly1 / shelly1-32CA57 / SHSW-1#32CA57#1) Set state SHRGBW2#661DC9#1.rssi, Value: -69 for 192.168.178.69 (shellyrgbw2 / shellyrgbw2-661DC9 / SHRGBW2#661DC9#1) Set state SHSW-1#59E506#1.rssi, Value: -78 for 192.168.178.56 (shelly1 / shelly1-59E506 / SHSW-1#59E506#1) CoAP data ignored: {"3332":"SHSW-25#73FD07#1","3412":38400,"3420":3584,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,113,100],[0,111,0.000000],[0,121,0.000000]]} CoAP data ignored: {"3332":"SHSW-21#5B265F#1","3412":38400,"3420":5120,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,113,-1],[0,111,0.000000]]} CoAP data ignored: {"3332":"SHSW-1#59EABB#1","3412":38400,"3420":768,"Uri-Path":"cit/s"} / {"G":[[0,112,0]]} Set state SHSW-1#59EABB#1.rssi, Value: -80 for 192.168.178.55 (shelly1 / shelly1-59EABB / SHSW-1#59EABB#1) CoAP data ignored: {"3332":"SHSW-1#056E37#1","3412":38400,"3420":256,"Uri-Path":"cit/s"} / {"G":[[0,112,0]]} Set state SHSW-21#32C173#1.rssi, Value: -77 for 192.168.178.36 (shellyswitch / shellyswitch-32C173 / SHSW-21#32C173#1) CoAP data ignored: {"3332":"SHRGBW2#662476#1","3412":38400,"3420":7936,"Uri-Path":"cit/s"} / {"G":[[0,111, 0],[0,121, 0],[0,131, 255],[0,141, 97],[0,151, 4],[0,161, 0]]} Set state SHSW-1#32CA57#1.rssi, Value: -72 for 192.168.178.32 (shelly1 / shelly1-32CA57 / SHSW-1#32CA57#1) Set state SHRGBW2#661DC9#1.rssi, Value: -68 for 192.168.178.69 (shellyrgbw2 / shellyrgbw2-661DC9 / SHRGBW2#661DC9#1) CoAP data ignored: {"3332":"SHSW-25#73CDCC#1","3412":38400,"3420":2304,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,113,100],[0,111,0.000000],[0,121,0.000000]]} Set state SHSW-1#056CEE#1.rssi, Value: -68 for 192.168.178.26 (shelly1 / shelly1-056CEE / SHSW-1#056CEE#1) CoAP data ignored: {"3332":"SHSW-21#32C173#1","3412":38400,"3420":6144,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,113,100],[0,111,0.000000]]} CoAP data ignored: {"3332":"SHSW-25#5DAE1C#1","3412":38400,"3420":2304,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,113,100],[0,111,0.000000],[0,121,0.000000]]} CoAP data ignored: {"3332":"SHRGBW2#661DC9#1","3412":38400,"3420":3840,"Uri-Path":"cit/s"} / {"G":[[0,111, 0],[0,121, 0],[0,131, 255],[0,141, 87],[0,151, 10],[0,161, 0]]} CoAP data ignored: {"3332":"SHSW-1#59E506#1","3412":38400,"3420":1280,"Uri-Path":"cit/s"} / {"G":[[0,112,0]]} CoAP data ignored: {"3332":"SHSW-25#00B6B7#1","3412":38400,"3420":6656,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,113,100],[0,111,0.000000],[0,121,0.000000]]} CoAP data ignored: {"3332":"SHSW-25#73F757#1","3412":38400,"3420":5376,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,113,99],[0,111,0.000000],[0,121,0.000000]]} Set state SHSW-1#59E506#1.rssi, Value: -79 for 192.168.178.56 (shelly1 / shelly1-59E506 / SHSW-1#59E506#1) Set state SHSW-25#73F757#1.rssi, Value: -65 for 192.168.178.67 (shellyswitch25 / shellyswitch25-73F757 / SHSW-25#73F757#1) CoAP data ignored: {"3332":"SHSW-1#056CEE#1","3412":38400,"3420":1792,"Uri-Path":"cit/s"} / {"G":[[0,112,0]]} Set state SHSW-1#056CEE#1.rssi, Value: -67 for 192.168.178.26 (shelly1 / shelly1-056CEE / SHSW-1#056CEE#1) CoAP data ignored: {"3332":"SHSW-1#058C2B#1","3412":38400,"3420":1792,"Uri-Path":"cit/s"} / {"G":[[0,112,0]]} CoAP data ignored: {"3332":"SHSW-1#32CA57#1","3412":38400,"3420":1280,"Uri-Path":"cit/s"} / {"G":[[0,112,0]]} Set state SHRGBW2#661DC9#1.rssi, Value: -69 for 192.168.178.69 (shellyrgbw2 / shellyrgbw2-661DC9 / SHRGBW2#661DC9#1) CoAP data ignored: {"3332":"SHSW-25#73FD07#1","3412":38400,"3420":3584,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,113,100],[0,111,0.000000],[0,121,0.000000]]} CoAP data ignored: {"3332":"SHSW-21#5B265F#1","3412":38400,"3420":5120,"Uri-Path":"cit/s"} / {"G":[[0,112,0],[0,122,0],[0,113,-1],[0,111,0.000000]]} CoAP data ignored: {"3332":"SHSW-1#59EABB#1","3412":38400,"3420":768,"Uri-Path":"cit/s"} / {"G":[[0,112,0]]} Set state SHSW-25#73F757#1.rssi, Value: -64 for 192.168.178.67 (shellyswitch25 / shellyswitch25-73F757 / SHSW-25#73F757#1) CoAP data ignored: {"3332":"SHSW-1#056E37#1","3412":38400,"3420":256,"Uri-Path":"cit/s"} / {"G":[[0,112,0]]} Set state SHSW-25#73CDCC#1.rssi, Value: -62 for 192.168.178.64 (shellyswitch25 / shellyswitch25-73CDCC / SHSW-25#73CDCC#1) Scheduled restart. Closing Adapter CoAP data ignored: {"3332":"SHRGBW2#662476#1","3412":38400,"3420":7936,"Uri-Path":"cit/s"} / {"G":[[0,111, 0],[0,121, 0],[0,131, 255],[0,141, 97],[0,151, 4],[0,161, 0]]} terminating Closing Adapter pi@raspberrypi:/opt/iobroker $
[Mod-Edit, Bitte Logs und Code in Code-Tags einfügen, stabilostick, 04.06.19)
-
@Home79 scheint für euch Profis auch schwierig zu sein :-)... vielleicht hat jemand noch eine Idee
-
@Home79 , hast Du wie @apollon77 vorgeschlagen hat, die Schedule Einstellungen rausgenommen? Bitte einmal auf Default (* * * * * bei jeder Minute) stellen um sicher zu gehen das es nicht damit zusammenhängt.
-
äääähm ... alos Stündlicher restart muss das erste * eine 0 sein ... ansonsten: warum denn überhaupt? Und auch der Default ist nur * * * * * sondern "leer" weil an sich kein Restart beim Shelly Adapter nötig ist
-
@apollon77 , sorry meinte ich auch
-
@apollon77 also ich hab alles rausgenommen unverändert