Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [gelöst] Gerät per Mac Adr & Blockly ansprechen

    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

    [gelöst] Gerät per Mac Adr & Blockly ansprechen

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

      @Aphofis sagte in Gerät per Mac Adr & Blockly ansprechen:

      das gibt arp -a aus

      pi@AquaPi:~ $ arp -a
      

      ja, und ist da die gesuchte MAC dabei?

      Aphofis 1 Reply Last reply Reply Quote 0
      • Aphofis
        Aphofis @haselchen last edited by

        @haselchen
        Ich abeite intensiv seid 2 Jahren an dem Aquarium System und kann die Geräte im Schlaf einstellen. Ich denke nicht das ich irgendwas übersehen habe. auch MQTT ist korekt eingestellt

        1 Reply Last reply Reply Quote 0
        • Aphofis
          Aphofis @fastfoot last edited by Aphofis

          @fastfoot
          Nein!
          Das ist das gelistete Gerät

          Aqua-Control.fritz.box (192.168.0.57) auf 2c:f4:32:57:b7:14 [ether] auf eth0
          

          Ip Adresse stimmt
          Die Geräte MAC Adresse ist:

          98:DA:C4:7A:FF:1A
          
          F 1 Reply Last reply Reply Quote 0
          • F
            fastfoot @Aphofis last edited by

            @Aphofis sagte in Gerät per Mac Adr & Blockly ansprechen:

            Aqua-Control.fritz.box (192.168.0.57) auf [ether] auf eth0

            Aber die MAC des gelisteten Gerätes ist doch eine ganz andere! 2c:f4:32:57:b7:14

            Aphofis 1 Reply Last reply Reply Quote 0
            • Aphofis
              Aphofis @fastfoot last edited by Aphofis

              @fastfoot
              Was soll ich sagen von arp habe ich keine Ahnung!
              ich poste ja nur das was mir die konsole ausgibt
              Kann man arp irgendwie neu listen !? oder cache leeren oder so
              in der Fritzbox ist die Mac Adresse auch korekt 2C:F4:32:57:B7:14
              Nur in der arp -a abfrage stimmt sie nicht

              F harrym 3 Replies Last reply Reply Quote 0
              • F
                fastfoot @Aphofis last edited by

                @Aphofis
                wenn das das gesuchte Gerät ist, dann hat sich die MAC geändert! Würde Sinn machen dass es dann auch eine andere IP bekommt. Du kannst die IP einmal anpingen, dann wird der arp-cache refresht

                Aphofis 1 Reply Last reply Reply Quote 0
                • Aphofis
                  Aphofis @fastfoot last edited by

                  @fastfoot
                  wie mache ich das ???

                  F 1 Reply Last reply Reply Quote 0
                  • harrym
                    harrym @Aphofis last edited by

                    @Aphofis also ...

                    MAC 98:DA:C4 ==> da wird TP-Link als Vendor aufgeführt
                    MAC 2C:F4:32 ==> ist für mich sinnvoller, da sich hier Espressif Inc versteckt

                    merkste was? 😉

                    Aphofis 1 Reply Last reply Reply Quote 0
                    • Aphofis
                      Aphofis @harrym last edited by

                      @harrym
                      wo soll ich was merken !? macht der TP Link probleme !?

                      1 Reply Last reply Reply Quote 0
                      • F
                        fastfoot @Aphofis last edited by

                        @Aphofis sagte in Gerät per Mac Adr & Blockly ansprechen:

                        @fastfoot
                        Was soll ich sagen von arp habe ich keine Ahnung!
                        ich poste ja nur das was mir die konsole ausgibt
                        Kann man arp irgendwie neu listen !? oder cache leeren oder so
                        in der Fritzbox ist die Mac Adresse auch korekt 2C:F4:32:57:B7:14
                        Nur in der arp -a abfrage stimmt sie nicht

                        Du musst offensichtlich nach der 2C:F4:32:57:B7:14 suchen, warum nimmst du dann die 98:xx:xx? 🙂

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

                          und wenn am TP-Link auch ein DHCP Server läuft ... ist die Sache logisch .... FALLS!

                          Aphofis 1 Reply Last reply Reply Quote 0
                          • Aphofis
                            Aphofis @harrym last edited by Aphofis

                            @harrym
                            nein TP Link DHCP ist deaktiveirt bezieht alles von der Fritzbox
                            möglich das die Mac Adresse der drei geräte neu war durch neue Geräte eingebaut !
                            da ich den Fehler nicht gefunden hatte warum manche Geräte nicht Online ware.

                            1. Fehler den ich hatte waren Stepdown die zu wenig Ampere durchgelassen hatten. den fehler habe ich ausgebessert doch dann waren von 8 NodeMCU immer wieder mal 3 Geräte nicht erreichbar und mehr noch die Verbindung scheint abgerissen zu sein und die Geräte sind im true Zustand stehen geblieben. dh Futterautomat hatte fröhlich dosiert und Schrankbeleuchtung lief dauerhaft. alle anderen Geräte habe ich den Strom über die Schwimmer als freigabe geleitet. also nix strom nix Vliesfilter bewegung und nix steuerung nix bewegung aber warum ab und an einer der drei besagten geräte immer mal wieder verschwindet weiß ich nicht bzw mal eine andere IP adresse bekommt und am folge Tag wenn ich gucke haben die Geräte wieder ihre eigentliche IP adresse
                            1 Reply Last reply Reply Quote 0
                            • F
                              fastfoot @Aphofis last edited by

                              @Aphofis sagte in Gerät per Mac Adr & Blockly ansprechen:

                              @fastfoot
                              wie mache ich das ???

                              mit ping ip-adresse?

                              Aphofis 1 Reply Last reply Reply Quote 0
                              • Aphofis
                                Aphofis @fastfoot last edited by

                                @fastfoot
                                Hab ich

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  fastfoot @Aphofis last edited by

                                  @Aphofis sagte in Gerät per Mac Adr & Blockly ansprechen:

                                  @fastfoot
                                  Hab ich

                                  Dann ist auch der arp-cache refresht. Warum suchst du also nach 98:xx:xx anstatt nach der in der FB gelisteten (und von arp angegebenen) MAC-Adresse. Dann liefert dir die Blockly-Abfrage auch ein Ergebnis!

                                  Aphofis 2 Replies Last reply Reply Quote 0
                                  • Aphofis
                                    Aphofis @fastfoot last edited by

                                    @fastfoot ich gucke gleich muss mich fix um meinen Nachbarn kümmern!

                                    1 Reply Last reply Reply Quote 0
                                    • Aphofis
                                      Aphofis @fastfoot last edited by

                                      @fastfoot
                                      ich suche nach der Mac adresse von Aqua Control

                                      2C:F4:32:57:B7:14
                                      

                                      die in der Fritzbox gelistet ist ind im Log kommt dann nur das:

                                      			
                                      javascript.0	2020-06-23 21:49:38.795	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: http://cm?user=mein_benuitzer&password=mein_passwort
                                      javascript.0	2020-06-23 21:49:38.767	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: registered 0 subscriptions and 0 schedules
                                      
                                      F 1 Reply Last reply Reply Quote 0
                                      • F
                                        fastfoot @Aphofis last edited by

                                        @Aphofis sagte in Gerät per Mac Adr & Blockly ansprechen:

                                        @fastfoot
                                        ich suche nach der Mac adresse von Aqua Control

                                        2C:F4:32:57:B7:14
                                        

                                        die in der Fritzbox gelistet ist ind im Log kommt dann nur das:

                                        			
                                        javascript.0	2020-06-23 21:49:38.795	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: http://cm?user=mein_benuitzer&password=mein_passwort
                                        javascript.0	2020-06-23 21:49:38.767	info	(31412) script.js.ESP_Reboot.Aqu_Control_IP_Abfrage: registered 0 subscriptions and 0 schedules
                                        

                                        Die Abfrage mit der 2C:F4:32:57:B7:14 solltest du auf der Konsole machen, die Buchstaben aber klein!. Falls sie im Blockly groß geschrieben sind, ändern

                                        Aphofis 1 Reply Last reply Reply Quote 0
                                        • Aphofis
                                          Aphofis @fastfoot last edited by Aphofis

                                          @fastfoot
                                          also abfrage per konsole mache ich gleich

                                          arp -a|grep 2c:f4:32:57:b7:14| cut -f1 -d" "
                                          

                                          Pi macht gerade ein Upgrade natürlich dann wenn man es nicht gebrauchen kann

                                          harrym 1 Reply Last reply Reply Quote 0
                                          • harrym
                                            harrym @Aphofis last edited by

                                            @Aphofis

                                            ESP_Reboot.Aqu_Control_IP_Abfrage: http://cm?user=mein_b
                                            

                                            fehlt dir da nicht die IP?

                                            F Aphofis 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            615
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            158
                                            11113
                                            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