Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Probleme mit CUL 868

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Probleme mit CUL 868

    This topic has been deleted. Only users with topic management privileges can see it.
    • a200
      a200 last edited by

      @Bluefox:

      Kannst du vom git ausprobieren? `

      Heute Abend. Hier in Hessen haben wir heute keinen Feiertag! ;(

      1 Reply Last reply Reply Quote 0
      • a200
        a200 last edited by

        @Bluefox:

        Kannst du vom git ausprobieren? `

        yup! jetzt gehts. Danke.

        1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators last edited by

          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:

          ttyACM0
          

          Dann 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/ttyACM0
          

          Nach einem restart der Instanz lief er aber.

          Gruß

          Rainer

          1 Reply Last reply Reply Quote 0
          • a200
            a200 last edited by

            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

            1 Reply Last reply Reply Quote 0
            • a200
              a200 last edited by

              entwarnung. im experten-modus sind die werte des CULs sichtbar.
              1597_a3.png

              1 Reply Last reply Reply Quote 0
              • eric2905
                eric2905 last edited by

                @a200:

                entwarnung. im experten-modus sind die werte des CULs sichtbar. `
                Vorsicht, das sind die Werte des Adapters selber - keine "Empfangsdaten".

                Gruß,

                Eric

                1 Reply Last reply Reply Quote 0
                • a200
                  a200 last edited by

                  Ja, das sehe ich auch so. Denn bis jetzt wurden keine Geräte gefunden.

                  1 Reply Last reply Reply Quote 0
                  • Dutchman
                    Dutchman Developer Most Active Administrators last edited by

                    @a200:

                    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 ?

                    1 Reply Last reply Reply Quote 0
                    • a200
                      a200 last edited by

                      @Dutchman:

                      mal zur neuier und fehler suche, was fuer geraete moechtest du den mit dem CUL 868 betreiben ? `

                      Thermometer. der wird in fhem problemlos gefunden. ich wollte mir den umweg und die ressourcen über fhem sparen.
                      1597_a4.png

                      1 Reply Last reply Reply Quote 0
                      • Bluefox
                        Bluefox last edited by

                        Kannst du paar Logs besorgen? MIT debug Level.

                        1 Reply Last reply Reply Quote 0
                        • a200
                          a200 last edited by

                          Kann ich gerne machen. Allerdings erst morgen.

                          Danke und LG

                          1 Reply Last reply Reply Quote 0
                          • a200
                            a200 last edited by

                            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.cul
                            

                            Irgendwelche Vorschläge Bluefox?

                            1 Reply Last reply Reply Quote 0
                            • a200
                              a200 last edited by

                              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
                              
                              1 Reply Last reply Reply Quote 0
                              • Bluefox
                                Bluefox last edited by

                                @a200:

                                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:

                                https://github.com/hobbyquaker/cul/pull/4/files

                                GermanBluefox created this issue in hobbyquaker/cul

                                closed Small fix #4

                                1 Reply Last reply Reply Quote 0
                                • a200
                                  a200 last edited by

                                  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.js
                                  
                                  

                                  was mache ich falsch, bei der installation? muss ich vorher das cul paket https://github.com/hobbyquaker/cul installieren?

                                  1 Reply Last reply Reply Quote 0
                                  • Bluefox
                                    Bluefox last edited by

                                    @a200:

                                    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.js
                                    
                                    

                                    was 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?

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post

                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate
                                    FAQ Cloud / IOT
                                    HowTo: Node.js-Update
                                    HowTo: Backup/Restore
                                    Downloads
                                    BLOG

                                    780
                                    Online

                                    31.9k
                                    Users

                                    80.3k
                                    Topics

                                    1.3m
                                    Posts

                                    5
                                    18
                                    2752
                                    Loading More Posts
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    Community
                                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                    The ioBroker Community 2014-2023
                                    logo