@mehrwiedu Hat alles wunderbar geklappt. Ich musste nicht einmal eine Variable bilden. Er hat den Wert über das Blockly Script direkt in das neue Objekt geschrieben und dieses konnte ich auch einbinden.
NEWS
Best posts made by new12345
-
RE: Cloud, Alexa und Shelly
Latest posts made by new12345
-
RE: Javascript Adapter startet nicht
Mehrmals, ich habe auch schon mehrmals de und re-installiert
-
Javascript Adapter startet nicht
Ich habe heute den js controller auf 1.5.8 aktulisiert und seitdem startet der Adapter nicht mehr. Das log liefert folgende Error Meldungen:
host.raspberrypi 2019-05-15 00:08:17.307 error instance system.adapter.javascript.0 terminated with code 1 () host.raspberrypi 2019-05-15 00:08:17.307 error Caught by controller[0]: at bootstrap_node.js:625:3 host.raspberrypi 2019-05-15 00:08:17.307 error Caught by controller[0]: at startup (bootstrap_node.js:204:16) host.raspberrypi 2019-05-15 00:08:17.307 error Caught by controller[0]: at Function.Module.runMain (module.js:694:10) host.raspberrypi 2019-05-15 00:08:17.307 error Caught by controller[0]: at Function.Module._load (module.js:498:3) host.raspberrypi 2019-05-15 00:08:17.307 error Caught by controller[0]: at tryModuleLoad (module.js:506:12) host.raspberrypi 2019-05-15 00:08:17.307 error Caught by controller[0]: at Module.load (module.js:566:32) host.raspberrypi 2019-05-15 00:08:17.306 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10) host.raspberrypi 2019-05-15 00:08:17.306 error Caught by controller[0]: at Module._compile (module.js:653:30) host.raspberrypi 2019-05-15 00:08:17.306 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:52:23) host.raspberrypi 2019-05-15 00:08:17.306 error Caught by controller[0]: at require (internal/module.js:11:18) host.raspberrypi 2019-05-15 00:08:17.306 error Caught by controller[0]: at Module.require (module.js:597:17) host.raspberrypi 2019-05-15 00:08:17.306 error Caught by controller[0]: at Function.Module._load (module.js:498:3) host.raspberrypi 2019-05-15 00:08:17.306 error Caught by controller[0]: at tryModuleLoad (module.js:506:12) host.raspberrypi 2019-05-15 00:08:17.305 error Caught by controller[0]: at Module.load (module.js:566:32) host.raspberrypi 2019-05-15 00:08:17.305 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10) host.raspberrypi 2019-05-15 00:08:17.305 error Caught by controller[0]: at Module._compile (module.js:653:30) host.raspberrypi 2019-05-15 00:08:17.305 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/index.js:143:19) host.raspberrypi 2019-05-15 00:08:17.305 error Caught by controller[0]: at require (internal/module.js:11:18) host.raspberrypi 2019-05-15 00:08:17.305 error Caught by controller[0]: at Module.require (module.js:597:17) host.raspberrypi 2019-05-15 00:08:17.305 error Caught by controller[0]: at Function.Module._load (module.js:498:3) host.raspberrypi 2019-05-15 00:08:17.304 error Caught by controller[0]: at tryModuleLoad (module.js:506:12) host.raspberrypi 2019-05-15 00:08:17.304 error Caught by controller[0]: at Module.load (module.js:566:32) host.raspberrypi 2019-05-15 00:08:17.304 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10) host.raspberrypi 2019-05-15 00:08:17.304 error Caught by controller[0]: at Module._compile (module.js:653:30) host.raspberrypi 2019-05-15 00:08:17.304 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:9:12) host.raspberrypi 2019-05-15 00:08:17.304 error Caught by controller[0]: at require (internal/module.js:11:18) host.raspberrypi 2019-05-15 00:08:17.303 error Caught by controller[0]: at Module.require (module.js:597:17) host.raspberrypi 2019-05-15 00:08:17.303 error Caught by controller[0]: at Function.Module._load (module.js:498:3) host.raspberrypi 2019-05-15 00:08:17.303 error Caught by controller[0]: at tryModuleLoad (module.js:506:12) host.raspberrypi 2019-05-15 00:08:17.303 error Caught by controller[0]: at Module.load (module.js:566:32) host.raspberrypi 2019-05-15 00:08:17.303 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10) host.raspberrypi 2019-05-15 00:08:17.303 error Caught by controller[0]: at Module._compile (module.js:617:28) host.raspberrypi 2019-05-15 00:08:17.302 error Caught by controller[0]: at Object.runInThisContext (vm.js:139:10) host.raspberrypi 2019-05-15 00:08:17.302 error Caught by controller[0]: at createScript (vm.js:80:10) host.raspberrypi 2019-05-15 00:08:17.302 error Caught by controller[0]: SyntaxError: Invalid or unexpected token host.raspberrypi 2019-05-15 00:08:17.302 error Caught by controller[0]: ^ host.raspberrypi 2019-05-15 00:08:17.301 error Caught by controller[0]: Object.keys(url.query)vorEacH(functIon(cey){ host.raspberrypi 2019-05-15 00:08:17.301 error Caught by controller[0]: /opt/iobroker/node_modules/iobroker.javascript/node_modules/aws-sign2/index.js:204 host.raspberrypi 2019-05-15 00:08:15.040 info instance system.adapter.javascript.0 started with pid 28314 host.raspberrypi 2019-05-15 00:07:45.042 info Restart adapter system.adapter.javascript.0 because enabled host.raspberrypi 2019-05-15 00:07:45.041 error instance system.adapter.javascript.0 terminated with code 1 () host.raspberrypi 2019-05-15 00:07:45.041 error Caught by controller[0]: at bootstrap_node.js:625:3 host.raspberrypi 2019-05-15 00:07:45.041 error Caught by controller[0]: at startup (bootstrap_node.js:204:16) host.raspberrypi 2019-05-15 00:07:45.041 error Caught by controller[0]: at Function.Module.runMain (module.js:694:10) host.raspberrypi 2019-05-15 00:07:45.038 error Caught by controller[0]: at Function.Module._load (module.js:498:3) host.raspberrypi 2019-05-15 00:07:45.038 error Caught by controller[0]: at tryModuleLoad (module.js:506:12) host.raspberrypi 2019-05-15 00:07:45.038 error Caught by controller[0]: at Module.load (module.js:566:32) host.raspberrypi 2019-05-15 00:07:45.038 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10) host.raspberrypi 2019-05-15 00:07:45.037 error Caught by controller[0]: at Module._compile (module.js:653:30) host.raspberrypi 2019-05-15 00:07:45.029 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:52:23) host.raspberrypi 2019-05-15 00:07:45.029 error Caught by controller[0]: at require (internal/module.js:11:18) host.raspberrypi 2019-05-15 00:07:45.029 error Caught by controller[0]: at Module.require (module.js:597:17) host.raspberrypi 2019-05-15 00:07:45.028 error Caught by controller[0]: at Function.Module._load (module.js:498:3) host.raspberrypi 2019-05-15 00:07:45.028 error Caught by controller[0]: at tryModuleLoad (module.js:506:12) host.raspberrypi 2019-05-15 00:07:45.028 error Caught by controller[0]: at Module.load (module.js:566:32) host.raspberrypi 2019-05-15 00:07:45.028 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10) host.raspberrypi 2019-05-15 00:07:45.028 error Caught by controller[0]: at Module._compile (module.js:653:30) host.raspberrypi 2019-05-15 00:07:45.028 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/index.js:143:19) host.raspberrypi 2019-05-15 00:07:45.028 error Caught by controller[0]: at require (internal/module.js:11:18) host.raspberrypi 2019-05-15 00:07:45.027 error Caught by controller[0]: at Module.require (module.js:597:17) host.raspberrypi 2019-05-15 00:07:45.027 error Caught by controller[0]: at Function.Module._load (module.js:498:3) host.raspberrypi 2019-05-15 00:07:45.027 error Caught by controller[0]: at tryModuleLoad (module.js:506:12) host.raspberrypi 2019-05-15 00:07:45.027 error Caught by controller[0]: at Module.load (module.js:566:32) host.raspberrypi 2019-05-15 00:07:45.027 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10) host.raspberrypi 2019-05-15 00:07:45.027 error Caught by controller[0]: at Module._compile (module.js:653:30) host.raspberrypi 2019-05-15 00:07:45.027 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/node_modules/request/request.js:9:12) host.raspberrypi 2019-05-15 00:07:45.026 error Caught by controller[0]: at require (internal/module.js:11:18) host.raspberrypi 2019-05-15 00:07:45.026 error Caught by controller[0]: at Module.require (module.js:597:17) host.raspberrypi 2019-05-15 00:07:45.026 error Caught by controller[0]: at Function.Module._load (module.js:498:3) host.raspberrypi 2019-05-15 00:07:45.026 error Caught by controller[0]: at tryModuleLoad (module.js:506:12) host.raspberrypi 2019-05-15 00:07:45.026 error Caught by controller[0]: at Module.load (module.js:566:32) host.raspberrypi 2019-05-15 00:07:45.026 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10) host.raspberrypi 2019-05-15 00:07:45.026 error Caught by controller[0]: at Module._compile (module.js:617:28) host.raspberrypi 2019-05-15 00:07:45.025 error Caught by controller[0]: at Object.runInThisContext (vm.js:139:10) host.raspberrypi 2019-05-15 00:07:45.025 error Caught by controller[0]: at createScript (vm.js:80:10) host.raspberrypi 2019-05-15 00:07:45.025 error Caught by controller[0]: SyntaxError: Invalid or unexpected token host.raspberrypi 2019-05-15 00:07:45.025 error Caught by controller[0]: ^ host.raspberrypi 2019-05-15 00:07:45.025 error Caught by controller[0]: Object.keys(url.query)vorEacH(functIon(cey){ host.raspberrypi 2019-05-15 00:07:45.024 error Caught by controller[0]: /opt/iobroker/node_modules/iobroker.javascript/node_modules/aws-sign2/index.js:204 host.raspberrypi 2019-05-15 00:07:42.678 info instance system.adapter.javascript.0 started with pid 27760 host.raspberrypi 2019-05-15 00:07:12.661 info Restart adapter system.adapter.javascript.0 because enabled
Kann mir hier jemand helfen?
Herzlichen Dank!
LG
-
RE: Cloud, Alexa und Shelly
@mehrwiedu Hat alles wunderbar geklappt. Ich musste nicht einmal eine Variable bilden. Er hat den Wert über das Blockly Script direkt in das neue Objekt geschrieben und dieses konnte ich auch einbinden.
-
RE: Cloud, Alexa und Shelly
Herzlichen Dank für deine ausführliche Antwort!!
Ich werde es testen und berichten. -
Cloud, Alexa und Shelly
Hallo Leute,
Ich versuche gerade meine Shelly HTs im Cloud Adapter als Smart Geräte hinzuzufügen. Ich bekomme aber immer die Meldung"Das Objekt kann nicht hinzugefügt werden, da es nicht unterstützt wird". Die Shellys werden erkannt, in Vis kann ich mir die Werte anzeigen lassen aber als Smart Gerät kann ich sie nicht hinzufügen.
Hintergrund ist, dass ich mir von Alexa die Temp ansagen lassen möchte und ich habe in einigen Beiträgen die Info gefunden, dass dies nur klappt wenn ich das Gerät in den Cloud Adapter einbinde.
Was mache ich falsch?
LG
-
IFTTT for dummies
Hallo Leute,
Ich würde Eure Hilfe benötigen!
Ich möchte OK Google anwerfen und mit dem Sprachbefehl "tu etwas" mittels IFTTT ein Relais in ioBroker schalten. Ich habe mir dazu dieses Video von Elzershark angesehen https://www.youtube.com/watch?v=_p2v2_fscU8
Ich habe mir also den cloud adapter wieder installiert, auf iobroker.net den Key geholt => ist grün. (mit dem iobroker.pro account key bleibt der cloud adapter auf gelb)
Den IFTTT Key von der IFTTT homepage besorgt und im cloud adapter eingetragen. Applet auf IFTTT angelegt. Google plaudert auch die von mir vorgegebene Antwort zurück, jedoch kommt der von mir vorgegebene Text nicht im iobroker object IFTTT an. Habe auch ein Blockly script geschrieben auch hier Fehlanzeige.
Die activity Seite von IFTTT zeigt immer den Fehler 502 an.
Was mache ich hier falsch?
Vielen Dank schon mal im Voraus!
UPDATE: Gelöst, Kopierfehler im KEY, ich kann den Post nicht löschen. Kann das bitte ein Admin machen?
-
RE: JS Variable einlesen
Ich hatte recht, war bei weitem nicht die einfachste Lösung. Super, herzlichen Dank liv-in-sky. Jetzt klappt es perfekt!
-
RE: JS Variable einlesen
@liv-in-sky Hoppla hat sich überschnitten, teste ich gleich
-
RE: JS Variable einlesen
Ich habe es jetzt so gelöst, dass ein counter nebenbei mitläuft und jedesmal wenn er die richtige Zahl erreicht hat, geht die Rollo auf. Sicher nicht die eleganteste Lösung, aber es klappt
Danke nochmals für die Hilfe
-
RE: JS Variable einlesen
Vielen Dank für Eure Rückmeldungen!
War die letzten 2 Tage nicht zu Hause und kann damit erst heute es versuchen. liv-in-sky: Ich habe es soweit hinbekommen, nur löst er jetzt aus wenn ich den Wecker setzte, wenn es läutet und wenn ich sage Alexa stopp.