NEWS
SOLVED Shelly Adapter
-
Hab ich schon gemacht. DANKE....Moment Shelly ist weg, ich installiere neu!
-
So langsam fehlen mir die Worte. Anbei das Log der Neuinstallation. Leider immer noch auf ROT.
$ ./iobroker add shelly --host raspberrypi NPM version: 6.5.0 npm install iobroker.shelly --production --save --prefix "/opt/iobroker" (System call) host.raspberrypi install adapter shelly got /opt/iobroker/node_modules/iobroker.shelly/admin upload [2] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/words.js words.js application/javascript upload [1] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/shelly.png shelly.png image/png upload [0] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/index_m.html index_m.html text/html host.raspberrypi object system.adapter.shelly created host.raspberrypi create instance shelly host.raspberrypi object shelly.0.info.connection created host.raspberrypi object shelly.0.info created host.raspberrypi object system.adapter.shelly.0.outputCount created host.raspberrypi object system.adapter.shelly.0.inputCount created host.raspberrypi object system.adapter.shelly.0.uptime created host.raspberrypi object system.adapter.shelly.0.memRss created host.raspberrypi object system.adapter.shelly.0.memHeapTotal created host.raspberrypi object system.adapter.shelly.0.memHeapUsed created host.raspberrypi object system.adapter.shelly.0.connected created host.raspberrypi object system.adapter.shelly.0.alive created host.raspberrypi object system.adapter.shelly.0 created process exited with code 0
-
host.raspberrypi 2019-02-12 16:59:51.548 error instance system.adapter.shelly.0 terminated with code 0 (OK) host.raspberrypi 2019-02-12 16:59:50.074 info instance system.adapter.shelly.0 started with pid 10547 host.raspberrypi 2019-02-12 16:59:50.061 info object change system.adapter.shelly.0 host.raspberrypi 2019-02-12 16:59:49.979 info Restart adapter system.adapter.shelly.0 because enabled host.raspberrypi 2019-02-12 16:59:49.979 error instance system.adapter.shelly.0 terminated with code 0 (OK) shelly.0 2019-02-12 16:59:49.918 info Starting shelly.0 in version 2.1.0 shelly.0 2019-02-12 16:59:49.905 info starting. Version 2.1.0 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.0 shelly.0 2019-02-12 16:59:49.785 debug statesDB connected shelly.0 2019-02-12 16:59:49.714 debug objectDB connected
-
-
Vielen DANK, jetzt ist der Adapter auf grün. Hoffentlich kann ich dann endlich die Shelly steuern, sobald alle gefunden wurden!
-
This post is deleted! -
Was kann ich denn noch tun, habe den Adapter nun seit einem Tag auf grün, aber leider sind in den Objekten immer noch keine Shelly`s sichtbar?
-
Hat keiner eine Idee? Es werden immer noch keine Shelly`s angezeigt!?!
-
Und die Shelly Geräte sind definitiv im gleichen Netzwerk? UDP Pakete werden weitergeleitet? Keine Repeater die Sie ggf verschlucken?
-
Ja im selben Netzwerk, sie wurde ja vor der Neuinstallation auch alle angezeigt, nur leider konnte ich damals ja nicht schalten
-
@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