Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. nodejs und node red piface flow nicht mehr kompatible

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    nodejs und node red piface flow nicht mehr kompatible

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RS_Tobi @Thomas Braun last edited by RS_Tobi

      @Thomas-Braun
      Hi!
      Leider kann ich auf die alten Logs nicht mehr zugreifen.
      Jedoch hat sich etwas getan bei mir.

      Ich kann zwar nicht genau sagen was, aber wie es aussieht
      hat sich ein anderer Adapter beim installieren quer gestellt und
      wohl igendwie alles "aufgehalten"
      Keine Ahnung, ich habe iobroker gestoppt, und einen reboot gemacht und plötzlich waren die ICONS in der Auswahlliste.

      Aktuell funktionierne die ICONS noch nicht, kann es daran liegen?!

      wiringpi.png
      Es siehtt aus als würde er das wiringpi nicht finden.
      ich habe es aber über die console installiert.

      Wenn ich den befehl im IOBROKERR TERMINAL wiederhle, beomme ich als Antwort, dass es bereits auf dem neuesten Stand installiet is.

      vielleicht ist hier auc noch etwas nicht 100% richtig eingestellt.

      Tobi

      Thomas Braun R 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @RS_Tobi last edited by

        @RS_Tobi Da scheint wiringpi nicht installiert zu sein.

        R 1 Reply Last reply Reply Quote 0
        • R
          RS_Tobi @RS_Tobi last edited by

          @RS_Tobi
          wenn ich jetzt noch einen node mache
          von Input signal gleich Output signal. (Outputs habe LEDS und inputs Taster)
          Dann bekomme ich jede 10ms diese Warnung im LOG

          1392) mcp23s17_read_reg: There was a error during the SPI transaction.
          

          Wenn ich mich rech errinnere dann istt der MCP23S17 auf dem PIFACE und auch das WIRNGPI hat etwas mit dem zu tun.
          Dies müssten die GPIO steuern über das SPI des RPi

          Tobi

          1 Reply Last reply Reply Quote 0
          • R
            RS_Tobi @Thomas Braun last edited by

            @Thomas-Braun sagte in nodejs und node red piface flow nicht mehr kompatible:

            @RS_Tobi Da scheint wiringpi nicht installiert zu sein.

            wie schon geeschrieben, es ist in der version 2.5 aktuell installiert.
            ???

            Tobi

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @RS_Tobi last edited by

              @RS_Tobi

              apt policy wiringpi
              
              R 1 Reply Last reply Reply Quote 0
              • R
                RS_Tobi @Thomas Braun last edited by

                @Thomas-Braun sagte in nodejs und node red piface flow nicht mehr kompatible:

                apt policy wiringpi

                bringt:

                wiringpi:
                  Installiert:           2.50
                  Installationskandidat: 2.50
                  Versionstabelle:
                 *** 2.50 500
                        500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                        100 /var/lib/dpkg/status
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @RS_Tobi last edited by

                  @RS_Tobi pi4?
                  Da besser 2.52 installieren.

                  pi@raspberrypi:~ $ apt policy wiringpi
                  wiringpi:
                    Installiert:           2.52
                    Installationskandidat: 2.52
                    Versionstabelle:
                   *** 2.52 100
                          100 /var/lib/dpkg/status
                       2.50 500
                          500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                  
                  R 1 Reply Last reply Reply Quote 0
                  • R
                    RS_Tobi @Thomas Braun last edited by

                    @Thomas-Braun sagte in nodejs und node red piface flow nicht mehr kompatible:

                    @RS_Tobi pi4?

                    ne, PI2 oder 3 (ist verbaut, kann nicht hinsehen.
                    woher bekomme ich das?
                    2.52
                    habe meine version erst gestern mit

                    sudo apt install wiringpi
                    

                    installiert

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @RS_Tobi last edited by

                      @RS_Tobi pi2 oder 3 ist okay mit 2.50

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        RS_Tobi @Thomas Braun last edited by

                        @Thomas-Braun
                        SPI in raspi-config ist auch enable.

                        Ich danke dir schon mal für deine Hilfe.
                        aber ich muss schlafen, um 6 geht der Wecker.

                        Danke
                        Tobi

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @RS_Tobi last edited by

                          @RS_Tobi Du solltest mal schauen ob node senkrecht installiert ist

                          which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs && who -r
                          
                          R 1 Reply Last reply Reply Quote 0
                          • R
                            RS_Tobi @Thomas Braun last edited by

                            @Thomas-Braun
                            😉
                            ich weiß jetzt nicht was du mit senkrecht meinst,
                            aber iobroker habe ich schon gefühlt 20 stück aufgesetzt auch manchmal nur um was zu testen.
                            dieses Problem hatte ich aber noch nie...
                            Aber hier diene Antwort...

                            /usr/bin/nodejs
                            v10.23.0
                            /usr/bin/node
                            v10.23.0
                            /usr/bin/npm
                            6.14.8
                            nodejs:
                              Installiert:           10.23.0-1nodesource1
                              Installationskandidat: 10.23.0-1nodesource1
                              Versionstabelle:
                             *** 10.23.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                                    100 /var/lib/dpkg/status
                                 10.21.0~dfsg-1~deb10u1+rpi1 500
                                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                     Runlevel 5   2020-11-10 01:06
                            

                            Hilft das was?
                            Tobi

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @RS_Tobi last edited by Thomas Braun

                              @RS_Tobi Das ist 'sauber' im System.

                              gpio -v
                              

                              bringt vermutlich auch ein Ergebnis?

                              R 2 Replies Last reply Reply Quote 0
                              • R
                                RS_Tobi @Thomas Braun last edited by

                                @Thomas-Braun ^
                                Ja, sauber...
                                Das hier sieht auch danach aus...

                                gpio version: 2.50
                                Copyright (c) 2012-2018 Gordon Henderson
                                This is free software with ABSOLUTELY NO WARRANTY.
                                For details type: gpio -warranty
                                
                                Raspberry Pi Details:
                                  Type: Pi 2, Revision: 01, Memory: 1024MB, Maker: Sony
                                  * Device tree is enabled.
                                  *--> Raspberry Pi 2 Model B Rev 1.1
                                  * This Raspberry Pi supports user-level GPIO access.
                                
                                

                                ich werde mal den NODE RED adapter löschen und neu aufziehen.
                                Vielleicht habe ich etwas zu hastig installiert und es passte etwas nicht,
                                aber die Meldungen mit : node...... konnte nicht installiert werden habe ich jetzt nicht mehr gesehen...

                                Danke für die Hilfe

                                Tobi

                                1 Reply Last reply Reply Quote 0
                                • R
                                  RS_Tobi @Thomas Braun last edited by RS_Tobi

                                  @Thomas-Braun
                                  Hilft das vielleicht?
                                  Dies sind die Meldungen welche im ms takt auftauchen..

                                  (3906) mcp23s17_open: ERROR Could not open SPI device (/dev/spidev0.0). pifacedigital_open_noinit: ERROR Could not open MCP23S17 device.pifacedigital_open: ERROR Could not open MCP23S17 device.mcp23s1
                                  
                                  

                                  und

                                  (3906) mcp23s17_write_reg: There was a error during the SPI transaction.
                                  
                                  
                                  

                                  Hilft das was?
                                  Tobi

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @RS_Tobi last edited by

                                    @RS_Tobi Ich kenne die Hardware nicht.

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      RS_Tobi @Thomas Braun last edited by

                                      @Thomas-Braun
                                      Ich vermute immer noch nicht, dass es an der Hardware liegt.
                                      Ich habe mal etwas gestöbert,
                                      die einen meinen, es liegt am DEVICETREE und dieser soll mal disabled werden und manche schwören auf diesen patch.

                                      --- /shared/Raspi/libmcp23s17~/src/mcp23s17.c   2015-01-29 23:23:28.967496000 +0000
                                      +++ mcp23s17.c  2015-01-29 22:33:48.777496000 +0000
                                      @@ -72,6 +72,7 @@
                                           uint8_t rx_buf[sizeof tx_buf];
                                      
                                           struct spi_ioc_transfer spi;
                                      +    memset (&spi, 0, sizeof(spi));
                                           spi.tx_buf = (unsigned long) tx_buf;
                                           spi.rx_buf = (unsigned long) rx_buf;
                                           spi.len = sizeof tx_buf;
                                      @@ -98,6 +99,7 @@
                                           uint8_t rx_buf[sizeof tx_buf];
                                      
                                           struct spi_ioc_transfer spi;
                                      +    memset (&spi, 0, sizeof(spi));
                                           spi.tx_buf = (unsigned long) tx_buf;
                                           spi.rx_buf = (unsigned long) rx_buf;
                                           spi.len = sizeof tx_buf;
                                      

                                      Nur reichen meine Kentnisse jetzt nicht aus, um zu wissen was ich mit dem patch machen muss... DU?
                                      Wo kommt der hin, wie stoße ich ihn an?

                                      Danke
                                      Tobi

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @RS_Tobi last edited by

                                        @RS_Tobi Keine Ahnung was das ist. Bei Code von 2015 wäre ich aber vorsichtig, das in aktuelle Kernel zu patchen.

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          RS_Tobi last edited by

                                          ja, ich hätte ja gerne jessy lite aufm raspi,
                                          mit dem laufen alle meine Pis, aber ich habe das aktuelle
                                          iobroker 4.0 nicht auf den alten zum laufen gebracht,
                                          iobroker lief, aber ich kam bei keinen der 3 versuche in den admin.
                                          Admin war enable und die IP und Port stimmten, aber
                                          ich kam nicht in das webinterface.

                                          Deshalb habe ich es mit buster versucht, und da funktionierte alles auf das erste mal.
                                          aber das PIFACE ging nichtmehr...
                                          ;-(
                                          Tobi

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @RS_Tobi last edited by

                                            @RS_Tobi Jessie ist tot. Nicht mehr verwenden.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            939
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            2
                                            25
                                            1320
                                            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