NEWS
Probleme mit CUL 868
-
Hallo mein CUL startet nicht.
host-minime 2016-10-31 19:50:34.986 info Restart adapter system.adapter.cul.0 because enabled host-minime 2016-10-31 19:50:34.985 error instance system.adapter.cul.0 terminated with code 0 (OK) cul-0 2016-10-31 19:50:34.958 info terminating TypeError: 2016-10-31 19:50:34.916 error at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:236:12) TypeError: 2016-10-31 19:50:34.916 error at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:312:9) TypeError: 2016-10-31 19:50:34.916 error at Socket. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:394:29) TypeError: 2016-10-31 19:50:34.916 error at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3004:14) TypeError: 2016-10-31 19:50:34.916 error at Adapter.emit (events.js:166:7) TypeError: 2016-10-31 19:50:34.916 error at emitNone (events.js:67:13) TypeError: 2016-10-31 19:50:34.916 error at Adapter. (/opt/iobroker/node_modules/iobroker.cul/cul.js:32:5) TypeError: 2016-10-31 19:50:34.916 error at main (/opt/iobroker/node_modules/iobroker.cul/cul.js:42:11) TypeError: 2016-10-31 19:50:34.916 error at new Cul (/opt/iobroker/node_modules/iobroker.cul/node_modules/cul/cul.js:89:22) TypeError: 2016-10-31 19:50:34.916 error at new SerialPort (/opt/iobroker/node_modules/iobroker.cul/node_modules/cul/node_modules/serialport/lib/serialport.js:101:11) TypeError: 2016-10-31 19:50:34.916 error Invalid "baudRate" must be a number got: 9600 uncaught 2016-10-31 19:50:34.907 error exception: Invalid "baudRate" must be a number got: 9600 cul-0 2016-10-31 19:50:34.874 info starting. Version 0.0.4 in /opt/iobroker/node_modules/iobroker.cul host-minime 2016-10-31 19:50:33.437 info instance system.adapter.cul.0 started with pid 13772 host-minime 2016-10-31 19:50:33.422 info object change system.adapter.cul.0Meine Einstellungen:
"serialport": "/dev/ttyACM0", "baudrate": 9600, "mode": "SlowRF", "parse": true, "init": true, "coc": false, "rssi": true
unter FHEM geht das Ding:
CMDS BbCFiAZNkGMKUYRTVWXefmLltux CUL_0_MSGCNT 78 CUL_0_TIME 2016-10-31 19:08:32 Clients :FS20:FHT.*:KS300:USF1000:BS:HMS: :CUL_EM:CUL_WS:CUL_FHTTK:CUL_HOERMANN: :ESA2000:CUL_IR:CUL_TX:Revolt:IT:UNIRoll:SOMFY: :STACKABLE_CC:CUL_RFR::CUL_TCM97001:CUL_REDIRECT: DEF /dev/ttyACM0@9600 1034 DeviceName /dev/ttyACM0@9600 FD 11 FHTID 1034 NAME CUL_0 NR 20 PARTIAL RAWMSG HCF0420862151F4 RSSI -80 STATE Initialized TYPE CUL VERSION V 1.66 CUL868 initString X21Wer kennt sich mit CUL aus?
Danke im Voraus,
a200.
-
Super, dass der Adapter jetzt auch läuft.
Habe zwar noch keine Ahnung was und vor allem wie damit arbeiten, aber er läuft!
Ich musste auch als Port eingeben:
ttyACM0Dann kam die Fehlermeldung:
cul.0 2016-11-01 19:38:05.583 info List of port: [{"comName":"/dev/ttyS0"},{"comName":"/dev/ttyS1"},{"comName":"/dev/ttyS2"},{"comName":"/dev/ttyS3"}] cul.0 2016-11-01 19:37:30.772 error Cannot open port: Error: Error: No such file or directory, cannot open /dev/ttyACM0Nach einem restart der Instanz lief er aber.
Gruß
Rainer
-
ich sehe zwar die zustände der CUL, aber unter Objekte kann ich sie nicht sehen.
was läuft da falsch?
1597_a1.png
1597_a2.png -
entwarnung. im experten-modus sind die werte des CULs sichtbar.
1597_a3.png -
Ja, das sehe ich auch so. Denn bis jetzt wurden keine Geräte gefunden. `
mal zur neuier und fehler suche, was fuer geraete moechtest du den mit dem CUL 868 betreiben ?
-
Das ist alles, was bei mir im Log zu CUL steht:
cul.0 2016-11-02 18:59:35.608 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.cul cul.0 2016-11-02 18:59:35.479 debug statesDB connected cul.0 2016-11-02 18:59:35.453 debug objectDB connected cul.0 2016-11-02 18:58:51.451 info terminating cul.0 2016-11-02 18:58:43.608 error Cannot open port: Port is not selected cul.0 2016-11-02 18:58:43.592 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.cul cul.0 2016-11-02 18:47:52.299 info terminating cul.0 2016-11-02 15:34:53.954 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.cul cul.0 2016-11-02 15:19:14.938 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.cul cul.0 2016-11-02 14:16:38.777 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.cul cul.0 2016-11-02 14:00:59.691 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.cul cul.0 2016-11-02 13:50:33.703 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.cul cul.0 2016-11-02 13:40:07.647 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.cul cul.0 2016-11-02 13:29:41.649 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.cul cul.0 2016-11-02 12:53:10.482 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.cul cul.0 2016-11-02 12:32:18.414 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.cul cul.0 2016-11-02 12:16:39.539 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.culIrgendwelche Vorschläge Bluefox?
-
schon wieder gabs im Log eine Überraschung:
cul.0 2016-11-03 18:58:12.679 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.cul cul.0 2016-11-03 18:58:12.580 debug statesDB connected cul.0 2016-11-03 18:58:12.548 debug objectDB connected host.minime 2016-11-03 18:58:11.262 info instance system.adapter.cul.0 started with pid 17467 host.minime 2016-11-03 18:57:41.231 info Restart adapter system.adapter.cul.0 because enabled host.minime 2016-11-03 18:57:41.226 error instance system.adapter.cul.0 terminated with code 0 (OK) ReferenceError: 2016-11-03 18:57:41.186 error at FSReqWrap.wrapper [as oncomplete] (fs.js:576:17) ReferenceError: 2016-11-03 18:57:41.186 error at SerialPort. (/opt/iobroker/node_modules/iobroker.cul/node_modules/serialport/lib/serialport.js:306:7) ReferenceError: 2016-11-03 18:57:41.186 error at SerialPort. (/opt/iobroker/node_modules/iobroker.cul/node_modules/serialport/lib/serialport.js:293:14) ReferenceError: 2016-11-03 18:57:41.186 error at SerialPort._emitData (/opt/iobroker/node_modules/iobroker.cul/node_modules/serialport/lib/serialport.js:313:18) ReferenceError: 2016-11-03 18:57:41.186 error at SerialPort.module.exports.raw (/opt/iobroker/node_modules/iobroker.cul/node_modules/serialport/lib/parsers.js:7:13) ReferenceError: 2016-11-03 18:57:41.186 error at SerialPort.emit (events.js:169:7) ReferenceError: 2016-11-03 18:57:41.186 error at emitOne (events.js:77:13) ReferenceError: 2016-11-03 18:57:41.186 error at SerialPort. (/opt/iobroker/node_modules/iobroker.cul/node_modules/cul/cul.js:128:70) ReferenceError: 2016-11-03 18:57:41.186 error at parse (/opt/iobroker/node_modules/iobroker.cul/node_modules/cul/cul.js:183:43) ReferenceError: 2016-11-03 18:57:41.186 error at Object.module.exports.parse (/opt/iobroker/node_modules/iobroker.cul/node_modules/cul/lib/hms.js:47:26) ReferenceError: 2016-11-03 18:57:41.186 error data is not defined uncaught 2016-11-03 18:57:41.180 error exception: data is not defined -
schon wieder gabs im Log eine Überraschung:
cul.0 2016-11-03 18:58:12.679 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.cul cul.0 2016-11-03 18:58:12.580 debug statesDB connected cul.0 2016-11-03 18:58:12.548 debug objectDB connected host.minime 2016-11-03 18:58:11.262 info instance system.adapter.cul.0 started with pid 17467 host.minime 2016-11-03 18:57:41.231 info Restart adapter system.adapter.cul.0 because enabled host.minime 2016-11-03 18:57:41.226 error instance system.adapter.cul.0 terminated with code 0 (OK) ReferenceError: 2016-11-03 18:57:41.186 error at FSReqWrap.wrapper [as oncomplete] (fs.js:576:17) ReferenceError: 2016-11-03 18:57:41.186 error at SerialPort. (/opt/iobroker/node_modules/iobroker.cul/node_modules/serialport/lib/serialport.js:306:7) ReferenceError: 2016-11-03 18:57:41.186 error at SerialPort. (/opt/iobroker/node_modules/iobroker.cul/node_modules/serialport/lib/serialport.js:293:14) ReferenceError: 2016-11-03 18:57:41.186 error at SerialPort._emitData (/opt/iobroker/node_modules/iobroker.cul/node_modules/serialport/lib/serialport.js:313:18) ReferenceError: 2016-11-03 18:57:41.186 error at SerialPort.module.exports.raw (/opt/iobroker/node_modules/iobroker.cul/node_modules/serialport/lib/parsers.js:7:13) ReferenceError: 2016-11-03 18:57:41.186 error at SerialPort.emit (events.js:169:7) ReferenceError: 2016-11-03 18:57:41.186 error at emitOne (events.js:77:13) ReferenceError: 2016-11-03 18:57:41.186 error at SerialPort. (/opt/iobroker/node_modules/iobroker.cul/node_modules/cul/cul.js:128:70) ReferenceError: 2016-11-03 18:57:41.186 error at parse (/opt/iobroker/node_modules/iobroker.cul/node_modules/cul/cul.js:183:43) ReferenceError: 2016-11-03 18:57:41.186 error at Object.module.exports.parse (/opt/iobroker/node_modules/iobroker.cul/node_modules/cul/lib/hms.js:47:26) ReferenceError: 2016-11-03 18:57:41.186 error data is not defined uncaught 2016-11-03 18:57:41.180 error exception: data is not defined ```` `Da ist jetzt hobbyquaker dran.
Du kannst aber auch ausprobieren wenn du die Datei__/opt/iobroker/node_modules/iobroker.cul/node_modules/cul/lib/hms.js__ bei sich wie folgt änderst:
-
nach der installation:
` > root@minime:/opt/iobroker# npm install https://github.com/ioBroker/ioBroker.cul/tarball/master –production
\
serialport@4.0.4 install /opt/iobroker/node_modules/iobroker.cul/node_modules/serialport
node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAd ... arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.4 and node@4.6.1 (node-v46 ABI) (falling back to source compile with node-gyp)
make: Entering directory '/opt/iobroker/node_modules/iobroker.cul/node_modules/serialport/build'
CXX(target) Release/obj.target/serialport/src/serialport.o
CXX(target) Release/obj.target/serialport/src/serialport_unix.o
CXX(target) Release/obj.target/serialport/src/serialport_poller.o
SOLINK_MODULE(target) Release/obj.target/serialport.node
COPY Release/serialport.node
make: Leaving directory '/opt/iobroker/node_modules/iobroker.cul/node_modules/serialport/build'
iobroker.cul@0.1.0 node_modules/iobroker.cul
├── cul@0.2.1
└── serialport@4.0.4 (bindings@1.2.1, commander@2.9.0, debug@2.2.0, lie@3.1.0, nan@2.4.0, object.assign@4.0.4) `
ist mein lib verzeichnis fast leer:root@minime:/opt/iobroker/node_modules/iobroker.cul/lib# ls -la total 12 drwxr-xr-x 2 root root 4096 Nov 3 20:20 . drwxr-xr-x 6 root root 4096 Nov 3 20:20 .. -rw-r--r-- 1 root root 2577 Nov 1 09:22 utils.jswas mache ich falsch, bei der installation? muss ich vorher das cul paket https://github.com/hobbyquaker/cul installieren?
-
nach der installation:
` > root@minime:/opt/iobroker# npm install https://github.com/ioBroker/ioBroker.cul/tarball/master –production
\
serialport@4.0.4 install /opt/iobroker/node_modules/iobroker.cul/node_modules/serialport
node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAd ... arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.4 and node@4.6.1 (node-v46 ABI) (falling back to source compile with node-gyp)
make: Entering directory '/opt/iobroker/node_modules/iobroker.cul/node_modules/serialport/build'
CXX(target) Release/obj.target/serialport/src/serialport.o
CXX(target) Release/obj.target/serialport/src/serialport_unix.o
CXX(target) Release/obj.target/serialport/src/serialport_poller.o
SOLINK_MODULE(target) Release/obj.target/serialport.node
COPY Release/serialport.node
make: Leaving directory '/opt/iobroker/node_modules/iobroker.cul/node_modules/serialport/build'
iobroker.cul@0.1.0 node_modules/iobroker.cul
├── cul@0.2.1
└── serialport@4.0.4 (bindings@1.2.1, commander@2.9.0, debug@2.2.0, lie@3.1.0, nan@2.4.0, object.assign@4.0.4) `
ist mein lib verzeichnis fast leer:root@minime:/opt/iobroker/node_modules/iobroker.cul/lib# ls -la total 12 drwxr-xr-x 2 root root 4096 Nov 3 20:20 . drwxr-xr-x 6 root root 4096 Nov 3 20:20 .. -rw-r--r-- 1 root root 2577 Nov 1 09:22 utils.jswas mache ich falsch, bei der installation? muss ich vorher das cul paket https://github.com/hobbyquaker/cul installieren? `
Lasse es. Hobbyquaker hat schon erledigt. KannSt du noch mal vom gut einfach updaten?
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden