Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Pi 3 als Bluetooth LE Scanner (Beispielscript)

    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

    Pi 3 als Bluetooth LE Scanner (Beispielscript)

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

      ich ändere das aber mal, wenn ich wieder daheim bin

      Gesendet von iPhone mit Tapatalk

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

        @ruhr70:

        ich ändere das aber mal, wenn ich wieder daheim bin `

        Habe das dazu noch gefunden:
        ` > First we would like to thank all our loyal users, especially the ones who have donated!

        Since we have been subject to abuse of our API from several large companies and smart phone app creators who have incorrectly implemented our API, we have essentially been DDoSed for the past few months. (and our SSL cert expiring doh)

        We have tested the new site a few times during off-peak hours and the results are extremely promising! If you would like to help test our beta site, please Contact Us and let us know you are interested in the beta. We will get back to you with a link when the beta is live.

        Our current site will continue to operate without the API enabled and once the beta site goes live, all (correct) API queries will be backward compatible with the new website.

        Please feel free to contact us via our Contact Us page with any questions, improvements, requests, ideas, or anything at all you may have.

        Especially if you have any improvements or feature requests for the new site, we will accomidate and pack as many features as we can into the new site before it goes live!

        Thank you! `

        Gruß

        Rainer

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

          Bin jetzt wohl irgendwie auf eine andere Seite von MacVendors gekommen.

          Danach machst du alles richtig.

          Bei korrekter Abfrage über die API kommt der Name zurück, sollte dieser nicht bekannt/zuzuordnen sein kommt ein 404.

          Das könntest du ggf. abfangen und in ein "unbekannter Hersteller" o.ä. umwandeln.

          Gruß

          Rainer

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

            Weiß jemand, ob es schon einen Bluetooth 5.0 Stick gibt, der auch für einen Raspberry PI kompatibel ist?

            Derzeit muß ich meine Jacke an einem speziellen Platz aufhängen, damit meine Anwesenheit erkannt wird.

            Damit wäre dann, wenn ich der Spezfikation Glauben schenken darf endgültig Schluß.

            Gruß,

            Mathias

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

              Hat sich erledigt!

              Ich habe den alten Raspberry PI 3B von meiner ehemaligen Raspberrymatic genommen. Das Funkmodul steckt jetzt auf einem Pi2 B und schlummert in der Schublade vor sich hin.

              Jetzt geht's Dank internem Funkmodul des PI 3B in der ganzen Wohnung.

              Gruß,

              Mathiaa

              Gesendet von meinem SM-N915FY mit Tapatalk

              1 Reply Last reply Reply Quote 0
              • A
                andreas.walte last edited by

                Hallo Zusammen

                bin Blutiger Anfänger habe mir 2 G-Tags gekauft und wollte diese als Anwesenheitserkennung nutzen

                2.) "noble" in der Javascript Instanz (Config) eintragen (ohne Anführungszeichen)

                3.) globales Skript: logs() (Post Nr. 2) in die globalen Skripte kopieren und starten

                4.) Bluetooth Scanner Skript (Post Nr. 3) in Skripte kopieren und starten

                ich kann leider damit nichts anfangen…......

                aller Anfang ist schwer erbitte um hilfe

                lg

                1 Reply Last reply Reply Quote 0
                • O
                  oetti last edited by

                  Hallo zusammen,

                  wer von euch nutzt den BT0015 für diese Lösung? Welche Erfahrung habt ihr bzgl. der Reichweite damit gemacht?

                  Lt. Datenblatt sollen es 100m sein, was ich nicht so recht glauben kann. Die Hälfte würde mir schon reichen.

                  Gefühlt ist bei mir nach 10m Feierabend.

                  Wie sieht's bei euch aus? Habt ihr Alternativen mit Antenne, welche deutlich weiter reichen?

                  Gruß

                  oetti

                  1 Reply Last reply Reply Quote 0
                  • O
                    oetti last edited by

                    Hallo,

                    nach langem Testen habe ich noch einige Fragen zum Script, da mittlerweile gar keine Devices mehr im ioBroker angelegt werden.

                    Auf meinem Raspberry habe ich 2 Devices:

                    Devices:
                            hci1    B8:27:EB:90:0F:31
                            hci0    00:1A:7D:DA:71:0C
                    
                    

                    Wobei hci0 aus meiner Sicht der USB-Dongle (BT0015) ist:

                    hci1:   Type: Primary  Bus: UART
                            BD Address: B8:27:EB:90:0F:31  ACL MTU: 1021:8  SCO MTU: 64:1
                            UP RUNNING
                            RX bytes:98424 acl:0 sco:0 events:5223 errors:0
                            TX bytes:30993 acl:0 sco:0 commands:3154 errors:0
                    
                    hci0:   Type: Primary  Bus: USB
                            BD Address: 00:1A:7D:DA:71:0C  ACL MTU: 310:10  SCO MTU: 64:8
                            UP RUNNING
                            RX bytes:246821 acl:0 sco:0 events:9588 errors:0
                            TX bytes:34039 acl:0 sco:0 commands:3886 errors:0
                    
                    

                    EIn Scan über beide Geräte findet auch 2 v. 3 G-Tags (ca. 3m und 7m entfernt). Der 3. G-Tag (ca. 15m entfernt) wird von beiden nicht gefunden (siehe auch meine Frage einen Beitrag weiter vorher).

                    hcitool -i hci1 lescan
                    LE Scan ...
                    D8:E0:E1:A3:86:42 (unknown)
                    7C:2F:80:97:1E:CB (unknown)
                    7C:2F:80:97:1F:2A (unknown)
                    7C:2F:80:97:1F:2A Gigaset G-tag
                    07:B6:01:54:36:EA (unknown)
                    42:C5:B6:51:47:74 (unknown)
                    42:C5:B6:51:47:74 (unknown)
                    7C:2F:80:97:1E:CB Gigaset G-tag
                    D8:E0:E1:A3:86:42 [TV] Samsung 6 Series (40)
                    
                    hcitool -i hci0 lescan
                    LE Scan ...
                    7C:2F:80:97:1F:2A (unknown)
                    7C:2F:80:97:1F:2A Gigaset G-tag
                    7C:2F:80:97:1E:CB (unknown)
                    7C:2F:80:97:1E:CB Gigaset G-tag
                    42:C5:B6:51:47:74 (unknown)
                    42:C5:B6:51:47:74 (unknown)
                    7C:2F:80:97:1F:2A (unknown)
                    7C:2F:80:97:1F:2A Gigaset G-tag
                    42:C5:B6:51:47:74 (unknown)
                    42:C5:B6:51:47:74 (unknown)
                    42:C5:B6:51:47:74 (unknown)
                    42:C5:B6:51:47:74 (unknown)
                    42:C5:B6:51:47:74 (unknown)
                    42:C5:B6:51:47:74 (unknown)
                    7C:2F:80:97:1F:2A (unknown)
                    7C:2F:80:97:1F:2A Gigaset G-tag
                    
                    

                    Im ioBroker taucht mittlerweile nichts mehr davon auf. Sämtliche Instanzen habe ich mehrfach neugestartet - o.E.

                    9347_unbenannt.png

                    Folgende Fragen dazu:

                    1. Welches Bluetooth-Device wird denn vom Script abgefragt/genutzt (hic0 oder hci1 oder beide??)

                    2. Muss beim Device noch irgendetwas angegeben werden? Ich habe bis jetzt lediglich "hcitool -i hciX up" gemacht. Mehr nicht.

                    3. Siehe mein Beitrag vorher, sind 10m beim BT0015 wirklich alles?

                    4. Warum werden keine Objekte mehr angelegt?

                    Ich höre jetzt erst einmal auf. Nach müde kommt bekanntlich doof 😉

                    Vllt fällt euch irgendetwas zu den oberen Fragen ein.

                    Danke

                    oetti

                    1 Reply Last reply Reply Quote 0
                    • C
                      calliou1234 last edited by

                      Hallo,
                      steht das script nicht mehr zum download?
                      Oder bin ich zu blöd...
                      Der Download Link verweist aus die Ausgangssseite.
                      Grüße Thomas

                      Psycho0verload 1 Reply Last reply Reply Quote 0
                      • Psycho0verload
                        Psycho0verload @calliou1234 last edited by

                        @calliou1234 327_bluetooth_ble_0.4.1.js

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        772
                        Online

                        31.8k
                        Users

                        79.9k
                        Topics

                        1.3m
                        Posts

                        28
                        254
                        57353
                        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