Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter gsmsms 1.x.x

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter gsmsms 1.x.x

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

      spare for future use

      1 Reply Last reply Reply Quote 0
      • F
        forelleblau @mcm1957 last edited by

        @mcm1957 Funktioniert auf Raspberry Pi, js-controlller 7.02, node-js 20.18.0. Danke vielmal.

        padrino 1 Reply Last reply Reply Quote 1
        • padrino
          padrino Most Active @forelleblau last edited by

          Hi,

          habe versucht mein Nokia 6230i mit dem Adapter zum Laufen zu bringen, aber obwohl alles (für mich) vielversprechend aussieht...

          pi@raspberrypi:/dev/serial/by-id $ ls -l
          total 0
          lrwxrwxrwx 1 root root 13 Dec 22 19:54 usb-1a86_USB2.0-Serial-if00-port0 -> ../../ttyUSB0
          lrwxrwxrwx 1 root root 13 Apr 26 19:21 usb-Nokia_Nokia_6230i-if01 -> ../../ttyACM0
          pi@raspberrypi:/dev/serial/by-id $ lsusb
          Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
          Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics CH340 serial converter
          Bus 001 Device 006: ID 0421:0428 Nokia Mobile Phones 6230i Modem
          Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
          Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
          

          läuft es nicht un im Log steht nur "Error opening - {} - pls check your settings (port, serial connection) and restart the instance", egal, was ich im adapter konfiguriere. 🤷

          David G. 1 Reply Last reply Reply Quote 0
          • David G.
            David G. @padrino last edited by

            @padrino

            Hast du mal mit den Baudeinstellungen rumgespielt? Da hat bei mir die Voreinstellung nicht gepasst. Nutze aber einen GSM Stick.

            padrino 1 Reply Last reply Reply Quote 0
            • padrino
              padrino Most Active @David G. last edited by

              @david-g
              Jo, das hat leider nix gebracht.

              Schade, dass der Fehler (zumindest für mich) mit "{}" nicht aussagekräftig ist.
              Hab' irgendwie das Gefühl, da fehlt was... (aber "tty" hab ich eingetragen) 🤷

              David G. 1 Reply Last reply Reply Quote 0
              • David G.
                David G. @padrino last edited by

                @padrino

                Wie ist denn dein ganzer Pfad in der config?

                F 1 Reply Last reply Reply Quote 0
                • F
                  forelleblau @David G. last edited by forelleblau

                  @david-g
                  Ich nutze den /dev/serial/by-id -Pfad. Das war für mich jeweils die stabilste Variante. Ttyxxx kann bei einem RaspiNeustart ändern.

                  Das Verzeichnis darfst du aber nicht mit lsusb abfragen, nur mit ls. Lsusb zeigt immer das selbe.

                  David G. 1 Reply Last reply Reply Quote 0
                  • David G.
                    David G. @forelleblau last edited by David G.

                    @padrino

                    Genau, das ist der korrekte Weg.
                    Musste bei dir ja eigentlich dann /dev/serial/by-id/usb-Nokia_Nokia_6230i-if01 sein.

                    padrino 1 Reply Last reply Reply Quote 0
                    • padrino
                      padrino Most Active @David G. last edited by padrino

                      @david-g sagte in Test Adapter gsmsms 1.x.x:

                      /dev/serial/by-id/usb-Nokia_Nokia_6230i-if01

                      Also, damit hab ich es probiert, auch mit /dev/ttyACM0, zum Spaß auch mit /dev/USB0 (weil das mit dem rflink board läuft 😌), aber alles bringt den selben Fehler in Log. 😞

                      Leider spucken weder debug mode noch "silly" mehr Infos aus...

                      David G. F 2 Replies Last reply Reply Quote 0
                      • David G.
                        David G. @padrino last edited by

                        @padrino

                        Ich hatte anfangs auch was Probleme mit meinem Stick.
                        Da hab ich über die Shell versucht mich zu verbinden und per AT Befehle SMS zu senden. Hatte das auch hinbekommen. Aber ka wie das ging.
                        Hat mir ChatGPT damals gesagt.

                        Kannst ja mal testen ob es manuell klappt.

                        1 Reply Last reply Reply Quote 0
                        • F
                          forelleblau @padrino last edited by

                          @padrino
                          Anderswo habe ich folgenden Hinweis gefunden: Connect the DKU-2 data cable to the Raspberry Pi and the phone. When the Nokia 6230i is connected, it asks about being a data storage device hit no to that. According to lsusb (usbutils package) it shows up like the following to the system:
                          Bus 001 Device 010: ID 0421:0428 Nokia Mobile Phones 6230i Modem
                          To get rid of the data storage device query, simply remove the memory card from the phone. You'll need to do this if you're planning to use the phone with the Pi in an automated environment.

                          Steht zwar in Bezug zu einer anderen SMS-Software, dürfte hier aber auch gelten.
                          Werden GSM-Sticks als 'Data-Storage' erkannt ist üblicherweise ein modeswitch nötig. Ob das für Mobiltelefone auch möglich/nötig ist, weiss ich nicht.
                          Grüsse forelleblau

                          padrino 1 Reply Last reply Reply Quote 1
                          • padrino
                            padrino Most Active @forelleblau last edited by padrino

                            @forelleblau
                            Danke für den Hinweis, hilft leider nix, mein Handy hat keine Speicherkarte drin, daher beim Anschließen auch keine Auswahl (auch die USB Einstellungen sind ausgegraut).

                            Edit: Schätze, Du hast die Info von NotiPi?
                            Dort steht was von "Kernel deaktivieren", frage mich, ob ich das auch machen sollte...

                            Edit2: Hmm, hab leider keine raspi-blacklist.conf, nur eine blacklist-8192cu.conf.
                            Sorry, kenne mich sa nicht aus, deshalb lass ich das besser lieber... 😌

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            819
                            Online

                            31.7k
                            Users

                            79.8k
                            Topics

                            1.3m
                            Posts

                            gsmsms mcm1957
                            4
                            13
                            452
                            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