Navigation

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

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Test Adapter fb-checkpresence v0.2.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • sigi234
      sigi234 Forum Testing Most Active @afuerhoff last edited by

      @afuerhoff sagte in Test Adapter fb-checkpresence v0.2.x:

      @sigi234
      Das log changes interval steht bei Dir auf 5s. Ist das so gewollt? Der Adapter stellt den Wert auf 0 ein.

      Was sollte man einstellen?

      afuerhoff 1 Reply Last reply Reply Quote 0
      • afuerhoff
        afuerhoff Developer @sigi234 last edited by

        @sigi234
        Wie gesagt. Der Adapter stellt 0 ein. Es werden also nur geänderte Werte gelogged.
        Bei 5 wird alle 5s ein Wert geschrieben. Ich muss mal schauen, ob das der Grund ist für die LastVal Ausgabe.

        sigi234 2 Replies Last reply Reply Quote 0
        • MathiasJ
          MathiasJ last edited by

          Die instanz ist wieder gelb 😞
          und bringt folgende Ausgabe:

          fb-checkpresence.0	2020-02-14 04:54:56.670	debug	(14899) checkPresence scheduled
          fb-checkpresence.0	2020-02-14 04:54:56.662	debug	(14899) getActive [{"Name":"Mathias","Active":"false","Kommt":"14.02.2020 02:59:33","Geht":"14.02.2020 03:34:33"}
          fb-checkpresence.0	2020-02-14 04:54:56.627	debug	(14899) getActive Mathias 0
          fb-checkpresence.0	2020-02-14 04:54:56.625	debug	(14899) response: 0 {"statusCode":200,"body":"<?xml version=\"1.0\"?>\n<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\
          fb-checkpresence.0	2020-02-14 04:54:56.599	debug	(14899) request url https://fritz.box:49443/upnp/control/hosts body: <?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schem
          fb-checkpresence.0	2020-02-14 04:54:56.580	error	(14899) getActive: soapAction GetSpecificHostEntry -> {"statusCode":500,"body":"<?xml version=\"1.0\"?>\n<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://sche
          fb-checkpresence.0	2020-02-14 04:54:56.505	debug	(14899) request url https://fritz.box:49443/upnp/control/hosts body: <?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schem
          fb-checkpresence.0	2020-02-14 04:54:56.502	debug	(14899) getDeviceList: [{"Index":"1","IPAddress":"192.168.1.20","MACAddress":"94:87:E0:22:16:17","Active":"0","HostName":"Android","InterfaceType":"","X_AVM-DE_Port":"0","X_AVM-DE_Speed":"0","X_AVM-DE
          fb-checkpresence.0	2020-02-14 04:54:56.472	debug	(14899) body <?xml version="1.0" encoding="UTF-8"?> <List> <!-- devicehosts :47 --> <Item> <Index>1</Index> <IPAddress>192.168.1.20</IPAddress> <MACAddress>94:87:E0:22:16:17</MACAddress> <Active>0</A
          fb-checkpresence.0	2020-02-14 04:54:55.919	debug	(14899) response: 1 {"statusCode":200,"body":"<?xml version=\"1.0\"?>\n<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\
          fb-checkpresence.0	2020-02-14 04:54:55.874	debug	(14899) request url https://fritz.box:49443/upnp/control/hosts body: <?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schem
          fb-checkpresence.0	2020-02-14 04:54:55.870	debug	(14899) response: 0 {"statusCode":200,"body":"<?xml version=\"1.0\"?>\n<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\
          fb-checkpresence.0	2020-02-14 04:54:55.842	debug	(14899) request url https://fritz.box:49443/upnp/control/hosts body: <?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schem
          

          Gruß,
          Mathias

          afuerhoff 1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @afuerhoff last edited by

            @afuerhoff sagte in Test Adapter fb-checkpresence v0.2.x:

            @sigi234
            Wie gesagt. Der Adapter stellt 0 ein. Es werden also nur geänderte Werte gelogged.
            Bei 5 wird alle 5s ein Wert geschrieben. Ich muss mal schauen, ob das der Grund ist für die LastVal Ausgabe.

            Neuer Log:

            host.Medion(Test)	2020-02-14 11:00:00.057	info	instance system.adapter.darksky.0 started with pid 9112
            fb-checkpresence.0	2020-02-14 10:59:13.160	info	(20816) Sarah: No history before this day is available (lastVal = null)
            fb-checkpresence.0	2020-02-14 10:59:11.566	info	(20816) Ilse: No history before this day is available (lastVal = null)
            fb-checkpresence.0	2020-02-14 10:58:50.920	info	(20816) Sigi: No history before this day is available (lastVal = null)
            fb-checkpresence.0	2020-02-14 10:58:31.233	warn	at processImmediate (timers.js:658:5)
            fb-checkpresence.0	2020-02-14 10:58:31.233	warn	at tryOnImmediate (timers.js:676:5)
            fb-checkpresence.0	2020-02-14 10:58:31.233	warn	at runCallback (timers.js:705:18)
            fb-checkpresence.0	2020-02-14 10:58:31.233	warn	at Immediate.setImmediate [as _onImmediate] (C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\states\statesInRedis.js:227:41)
            fb-checkpresence.0	2020-02-14 10:58:31.233	warn	at change (C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\adapter.js:4794:71)
            fb-checkpresence.0	2020-02-14 10:58:31.233	warn	at Object.cb (C:\Program Files\iobroker\Test\node_modules\iobroker.fb-checkpresence\main.js:491:82)
            fb-checkpresence.0	2020-02-14 10:58:31.233	warn	(20816) TypeError: Cannot read property 'val' of undefined
            
            1 Reply Last reply Reply Quote 0
            • G
              guergen @afuerhoff last edited by

              @afuerhoff Habe jetzt den Alias mal weggelassen wenn das ein Problem sein könnte. Nu habe ich zwar Einträge in der Tabelle, aber Grafana findet nichts:

              32a99b86-98a0-44cb-80ed-6d1a68477753-grafik.png
              Und in den Log steht immer noch der Fehler:
              25424167-5915-4831-9452-798cdca72540-grafik.png

              afuerhoff 1 Reply Last reply Reply Quote 0
              • afuerhoff
                afuerhoff Developer @guergen last edited by

                @guergen
                Die Meldung sollte nach einem Tag nicht mehr kommen. Ich brauche für die korrekte Funktion einen Eintrag vom Vortag oder davor.

                G sigi234 2 Replies Last reply Reply Quote 0
                • G
                  guergen @afuerhoff last edited by

                  @afuerhoff In der Tabelle oben drüber sind doch Einträge.... ansonsten kann ich Dir die morgen zur Verfügung stellen!

                  afuerhoff 1 Reply Last reply Reply Quote 0
                  • sigi234
                    sigi234 Forum Testing Most Active @afuerhoff last edited by

                    @afuerhoff sagte in Test Adapter fb-checkpresence v0.2.x:

                    Die Meldung sollte nach einem Tag nicht mehr kommen

                    Ist das selbe wie bei mir.

                    MathiasJ 1 Reply Last reply Reply Quote 0
                    • afuerhoff
                      afuerhoff Developer @MathiasJ last edited by

                      @MathiasJ sagte in Test Adapter fb-checkpresence v0.2.x:

                      error (14899) getActive: soapAction GetSpecificHostEntry -> {"statusCode":500,

                      Hallo, dies ist ein "Internal Server Error". Die Fritzbox meldet den. Evtl. gab es Netzwerkprobleme oder ähnliches. Es ist eine Sammelfehler-Meldung der Fritzbox.

                      Ist der Fehler wieder verschwunden?

                      Vinze.nt 1 Reply Last reply Reply Quote 0
                      • afuerhoff
                        afuerhoff Developer @guergen last edited by

                        @guergen sagte in Test Adapter fb-checkpresence v0.2.x:

                        In der Tabelle oben drüber sind doch Einträge

                        Sorry. Hatte ich eben auf dem Handy nicht gesehen.

                        G 1 Reply Last reply Reply Quote 0
                        • Vinze.nt
                          Vinze.nt @afuerhoff last edited by

                          @afuerhoff Diesen Fehler habe ich auch. Habe die neuste version von GIT, allerdings funktioniert de Adapter problemlos! TOP!

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

                            @sigi234
                            Ja, die Meldungen sind weg.
                            Aber:
                            Die Geräte im Gastnetz werden erkannt, mein Handy jedoch nicht.
                            Lösche ich das Handy von dieser Instanz und füge ich es Radar2 zu, wird auch dieses erkannt.

                            Gruß,
                            Mathias

                            1 Reply Last reply Reply Quote 0
                            • sigi234
                              sigi234 Forum Testing Most Active @afuerhoff last edited by

                              @afuerhoff sagte in Test Adapter fb-checkpresence v0.2.x:

                              @sigi234
                              Wie gesagt. Der Adapter stellt 0 ein. Es werden also nur geänderte Werte gelogged.
                              Bei 5 wird alle 5s ein Wert geschrieben. Ich muss mal schauen, ob das der Grund ist für die LastVal Ausgabe.

                              Habe sie noch immer, weißt du schon was?

                              afuerhoff 1 Reply Last reply Reply Quote 0
                              • afuerhoff
                                afuerhoff Developer @sigi234 last edited by

                                @sigi234
                                Ich denke, ich muss mal ein paar debug Ausgaben hinzufügen.

                                1 Reply Last reply Reply Quote 0
                                • afuerhoff
                                  afuerhoff Developer last edited by afuerhoff

                                  Hallo,

                                  ich habe die Funktion bzgl. History etwas optimiert. Ich hoffe, dass die LastVal Meldung jetzt verschwindet, wenn History Werte vor dem aktuellen Tag vorhanden sind.
                                  Der Alias Wert sollte jetzt auch beibehalten werden. Bitte von Github neu installieren und testen.

                                  sigi234 G 2 Replies Last reply Reply Quote 0
                                  • sigi234
                                    sigi234 Forum Testing Most Active @afuerhoff last edited by

                                    @afuerhoff sagte in Test Adapter fb-checkpresence v0.2.x:

                                    ich habe die Funktion bzgl. History etwas optimiert. Ich hoffe, dass die LastVal Meldung jetzt verschwindet

                                    Leider nein:

                                    fb-checkpresence.0	2020-02-16 19:37:28.110	info	(16212) xxxx: No history before this day is available (lastVal = null)
                                    
                                    afuerhoff 1 Reply Last reply Reply Quote 0
                                    • afuerhoff
                                      afuerhoff Developer @sigi234 last edited by

                                      @sigi234
                                      Kannst du mal auf debug schalten. Da müssten jetzt zusätzliche Meldungen sein.

                                      sigi234 1 Reply Last reply Reply Quote 0
                                      • sigi234
                                        sigi234 Forum Testing Most Active @afuerhoff last edited by

                                        @afuerhoff sagte in Test Adapter fb-checkpresence v0.2.x:

                                        @sigi234
                                        Kannst du mal auf debug schalten. Da müssten jetzt zusätzliche Meldungen sein.

                                        fb-checkpresence.0	2020-02-16 19:57:21.866	debug	(9120) history Sarah true time: Sun Feb 16 2020 19:46:49 GMT+0100 (GMT+01:00)
                                        fb-checkpresence.0	2020-02-16 19:57:21.866	info	(9120) Sarah: No history before this day is available (lastVal = null)
                                        fb-checkpresence.0	2020-02-16 19:57:21.866	debug	(9120) history Sarah true time: Sun Feb 16 2020 19:46:44 GMT+0100 (GMT+01:00)
                                        fb-checkpresence.0	2020-02-16 19:57:21.865	debug	(9120) history Sarah cntActualDay: 126 cntHistory: 128
                                        fb-checkpresence.0	2020-02-16 19:57:21.838	debug	(9120) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                        fb-checkpresence.0	2020-02-16 19:57:21.838	debug	(9120) history cntActualDay: 126
                                        fb-checkpresence.0	2020-02-16 19:57:21.618	debug	(9120) history Ilse true time: Sun Feb 16 2020 19:57:21 GMT+0100 (GMT+01:00)
                                        
                                        afuerhoff 1 Reply Last reply Reply Quote 0
                                        • afuerhoff
                                          afuerhoff Developer @sigi234 last edited by

                                          @sigi234
                                          Es müssten eigentlich 128 Ausgaben zu sehen sein. Wird wirklich nur die eine Zeile ausgegeben?

                                          sigi234 1 Reply Last reply Reply Quote 0
                                          • sigi234
                                            sigi234 Forum Testing Most Active @afuerhoff last edited by sigi234

                                            @afuerhoff sagte in Test Adapter fb-checkpresence v0.2.x:

                                            @sigi234
                                            Es müssten eigentlich 128 Ausgaben zu sehen sein. Wird wirklich nur die eine Zeile ausgegeben?

                                            Habe ich gekürzt, hier der Debug Log:

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            890
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            avm fb-checkpresence fritzbox soap tr-064
                                            26
                                            259
                                            24504
                                            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