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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Test Adapter fb-checkpresence v0.2.x

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

      @SBorg
      Ich muss mal prüfen, ob das wirklich an der Fritzbox liegt. Danke für die Info.

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

        @afuerhoff History-Adapter Error...
        hatte das hier schonmal angesprochen, kam damals einmal, dann war es weg.. jetzt kommt der Fehler immer, wenn ich etwas and er Config des FB-Checkpresence Adapters ändere:

        2020-02-12 16:40:41.667  - info: host.iobroker stopInstance system.adapter.fb-checkpresence.0 (force=false, process=true)
        2020-02-12 16:40:41.669  - info: host.iobroker stopInstance system.adapter.fb-checkpresence.0 send kill signal
        2020-02-12 16:40:42.225  - info: host.iobroker instance system.adapter.fb-checkpresence.0 terminated with code 156 (156)
        2020-02-12 16:40:44.975  - info: host.iobroker instance system.adapter.fb-checkpresence.0 started with pid 16504
        2020-02-12 16:40:47.198  - error: history.0 (14174) uncaught exception: Cannot read property 'push' of null
        2020-02-12 16:40:54.545  - error: fb-checkpresence.0 (16504) checkPresence: TypeError: Cannot read property 'history.0' of undefined
        2020-02-12 16:40:55.294  - error: fb-checkpresence.0 (16504) checkPresence: TypeError: Cannot read property 'history.0' of undefined
        2020-02-12 16:40:55.820  - error: fb-checkpresence.0 (16504) checkPresence: TypeError: Cannot read property 'history.0' of undefined
        2020-02-12 16:40:47.211  - error: history.0 (14174) TypeError: Cannot read property 'push' of null
            at storeCached (/opt/iobroker/node_modules/iobroker.history/main.js:182:34)
            at Object.objectChange (/opt/iobroker/node_modules/iobroker.history/main.js:131:21)
            at Immediate.options.objectChange.function.setImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:1506:94)
            at runCallback (timers.js:705:18)
            at tryOnImmediate (timers.js:676:5)
            at processImmediate (timers.js:658:5)
        2020-02-12 16:41:13.873  - error: history.0 (14174) exception by stop: Cannot read property 'push' of null
        
        

        Sei so lieb und schau dir nochmal das starten und aufrufen von history an.. irgendwas läuft da ins leere..

        afuerhoff 2 Replies Last reply Reply Quote 0
        • afuerhoff
          afuerhoff Developer @Neuschwansteini last edited by

          @ilovegym
          Wird gemacht.

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

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

            History-Adapter Error...

            Ich habe mir das mal angesehen. Ich kann den Fehler bei mir nicht nachstellen. Kannst Du den Loglevel mal auf Debug stellen und dann den Log posten.

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

              @afuerhoff mach ich, hab wegen einem anderen Fehler ( kann mit den aktuellen Latest-Versionen keine Scripte speichern oder ändern ), gerade ein Admin-Downgrade auf 4.0.0 und javascript-adapter 4.3.4 am laufen..

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

                @afuerhoff

                Hallo, bekomme jetzt immer das:

                fb-checkpresence.0	2020-02-13 19:58:55.700	info	(8484) Sarah: No history before this day is available (lastVal = null)
                fb-checkpresence.0	2020-02-13 19:58:55.587	info	(8484) Ilse: No history before this day is available (lastVal = null)
                fb-checkpresence.0	2020-02-13 19:58:55.343	info	(8484) Sigi: 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
                  Hallo, hast Du evtl. einen Alias in der History bei den Datenpunkten angegeben?

                  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
                    Hallo, hast Du evtl. einen Alias in der History bei den Datenpunkten angegeben?

                    Screenshot (1687).png

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

                      @sigi234
                      Kannst Du einmal auf die Tabellenwerte in der History umschalten. Sind dort Werte vom Vortag oder früher vorhanden.

                      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 einmal auf die Tabellenwerte in der History umschalten. Sind dort Werte vom Vortag oder früher vorhanden.

                        Ja

                        Screenshot (1690).png

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

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

                          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
                            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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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