Hi, ich benötige folgende Lösung, komme aber nicht drauf: mit iobroker lese ich meinen SunnyHomeManager 2.0 aus, funktioniert. Dann berechne ich ein paar Werte für die Visu, funktioniert. Nun muss ich die berechneten Werte meinem Loxone zur Verfügung stellen. Ich dachte: iobroker als Modbus-Slave und Loxone als Master. Wie bekomme ich den Slave zum laufen und die berechnten Werte da rein? Vermutlich stehe ich nur saudum auf dem berühmten Schlauch... thx
NEWS
Latest posts made by ritzo
-
ModBus Slave erstellen
-
RE: Wallbox Mennekes Amtron auslesen - Adapter aus Skript?
@Marc_St
Servus, leider bin ich ein absoluter Neuling mit ioBroker und habe keinerlei Ahnung von JS. Habe dein obiges Script mal kopiert und unter Scripte ein neues JS-Script erstellt. IP und PNI eingetragen. Leider funktioniert gar nichts .-(.
Die Javascript-Instanz kackt ab, wenn ich starte.
Könnte mir bitte jemand helfen? Hier der log:
host.buanet-iobroker1 2021-03-25 16:33:07.990 info Restart adapter system.adapter.javascript.0 because enabled
host.buanet-iobroker1 2021-03-25 16:33:07.989 error instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
host.buanet-iobroker1 2021-03-25 16:33:07.989 error Caught by controller[2]: at Pipe.<anonymous> (net.js:675:12)
host.buanet-iobroker1 2021-03-25 16:33:07.989 error Caught by controller[2]: at Socket.EventEmitter.emit (domain.js:483:12)
host.buanet-iobroker1 2021-03-25 16:33:07.989 error Caught by controller[2]: at Socket.emit (events.js:314:20)
host.buanet-iobroker1 2021-03-25 16:33:07.988 error Caught by controller[2]: at Socket.<anonymous> (internal/child_process.js:444:11)
host.buanet-iobroker1 2021-03-25 16:33:07.988 error Caught by controller[2]: at maybeClose (internal/child_process.js:1022:16)
host.buanet-iobroker1 2021-03-25 16:33:07.988 error Caught by controller[2]: at ChildProcess.EventEmitter.emit (domain.js:483:12)
host.buanet-iobroker1 2021-03-25 16:33:07.988 error Caught by controller[2]: at ChildProcess.emit (events.js:314:20)
host.buanet-iobroker1 2021-03-25 16:33:07.988 error Caught by controller[2]: at ChildProcess.exithandler (child_process.js:299:7)
host.buanet-iobroker1 2021-03-25 16:33:07.988 error Caught by controller[2]: at script.js.Abfrage_Amtron:53:28
host.buanet-iobroker1 2021-03-25 16:33:07.987 error Caught by controller[2]: at JSON.parse (<anonymous>)
host.buanet-iobroker1 2021-03-25 16:33:07.987 error Caught by controller[2]: SyntaxError: Unexpected end of JSON input
host.buanet-iobroker1 2021-03-25 16:33:07.987 error Caught by controller[1]: at Pipe.<anonymous> (net.js:675:12)
host.buanet-iobroker1 2021-03-25 16:33:07.987 error Caught by controller[1]: at Socket.EventEmitter.emit (domain.js:483:12)
host.buanet-iobroker1 2021-03-25 16:33:07.987 error Caught by controller[1]: at Socket.emit (events.js:314:20)
host.buanet-iobroker1 2021-03-25 16:33:07.987 error Caught by controller[1]: at Socket.<anonymous> (internal/child_process.js:444:11)
host.buanet-iobroker1 2021-03-25 16:33:07.986 error Caught by controller[1]: at maybeClose (internal/child_process.js:1022:16)
host.buanet-iobroker1 2021-03-25 16:33:07.986 error Caught by controller[1]: at ChildProcess.EventEmitter.emit (domain.js:483:12)
host.buanet-iobroker1 2021-03-25 16:33:07.986 error Caught by controller[1]: at ChildProcess.emit (events.js:314:20)
host.buanet-iobroker1 2021-03-25 16:33:07.986 error Caught by controller[1]: at ChildProcess.exithandler (child_process.js:299:7)
host.buanet-iobroker1 2021-03-25 16:33:07.986 error Caught by controller[1]: at script.js.Abfrage_Amtron:89:28
host.buanet-iobroker1 2021-03-25 16:33:07.986 error Caught by controller[1]: at JSON.parse (<anonymous>)
host.buanet-iobroker1 2021-03-25 16:33:07.985 error Caught by controller[1]: SyntaxError: Unexpected end of JSON input
host.buanet-iobroker1 2021-03-25 16:33:07.985 error Caught by controller[0]: at Pipe.<anonymous> (net.js:675:12)
host.buanet-iobroker1 2021-03-25 16:33:07.985 error Caught by controller[0]: at Socket.EventEmitter.emit (domain.js:483:12)
host.buanet-iobroker1 2021-03-25 16:33:07.985 error Caught by controller[0]: at Socket.emit (events.js:314:20)
host.buanet-iobroker1 2021-03-25 16:33:07.985 error Caught by controller[0]: at Socket.<anonymous> (internal/child_process.js:444:11)
host.buanet-iobroker1 2021-03-25 16:33:07.984 error Caught by controller[0]: at maybeClose (internal/child_process.js:1022:16)
host.buanet-iobroker1 2021-03-25 16:33:07.984 error Caught by controller[0]: at ChildProcess.EventEmitter.emit (domain.js:483:12)
host.buanet-iobroker1 2021-03-25 16:33:07.984 error Caught by controller[0]: at ChildProcess.emit (events.js:314:20)
host.buanet-iobroker1 2021-03-25 16:33:07.984 error Caught by controller[0]: at ChildProcess.exithandler (child_process.js:299:7)
host.buanet-iobroker1 2021-03-25 16:33:07.983 error Caught by controller[0]: at script.js.Abfrage_Amtron:131:28
host.buanet-iobroker1 2021-03-25 16:33:07.983 error Caught by controller[0]: at JSON.parse (<anonymous>)
host.buanet-iobroker1 2021-03-25 16:33:07.979 error Caught by controller[0]: SyntaxError: Unexpected end of JSON input
javascript.0 2021-03-25 16:33:07.876 error (13217) script.js.Abfrage_Amtron: SyntaxError: Unexpected end of JSON input