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.1.x

    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

    Test Adapter fb-checkpresence v0.1.x

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

      @ple
      Hast du in den Netzwerk Einstellungen der Fritzbox die Checkbox "Zugriff für Anwendungen zulassen" angehakt?
      Funktioniert diese URL http://fritz.box:49000/tr64desc.xml im Browser?

      1 Reply Last reply Reply Quote 0
      • P
        ple last edited by

        Jup, ist aktiv. Das os ist zwar alt, aber heist noch genauso.
        Neustart hab ich schon ne paar mal versucht.

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

          @ple
          Kannst du die Instanz mal auf debug stellen und dann den Log posten.

          1 Reply Last reply Reply Quote 0
          • P
            ple last edited by

            Debug, hätte ich auch mal drauf kommen können.

            fb-checkpresence.0	2019-11-16 11:48:00.428	debug	(30967) checkPresence scheduled
            fb-checkpresence.0	2019-11-16 11:48:00.428	error	(30967) Error checkPresence: TypeError: Cannot read property 'message' of undefined
            fb-checkpresence.0	2019-11-16 11:48:00.427	error	(30967) soapAction error undefined
            fb-checkpresence.0	2019-11-16 11:48:00.427	debug	(30967) body response: {"statusCode":500,"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	2019-11-16 11:48:00.425	debug	(30967) state fb-checkpresence.0.info.lastUpdate changed: 2019-11-16T10:48:00.004Z (ack = true)
            fb-checkpresence.0	2019-11-16 11:48:00.425	debug	(30967) state fb-checkpresence.0.info.connection changed: true (ack = true)
            fb-checkpresence.0	2019-11-16 11:48:00.425	debug	(30967) state fb-checkpresence.0.devices changed: 16 (ack = true)
            fb-checkpresence.0	2019-11-16 11:48:00.417	debug	(30967) getHostNo: 16
            fb-checkpresence.0	2019-11-16 11:48:00.415	debug	(30967) body response: {"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	2019-11-16 11:47:26.150	debug	(30967) system.adapter.admin.0: logging true
            
            M afuerhoff 2 Replies Last reply Reply Quote 0
            • M
              mameier1234 @ple last edited by

              @ple Ich hatte in meiner Fritzbox plötzlich Meldungen ala "Anmeldung von (ip-des-iobrokers) von unbekannt..

              Dann habe ich im Adapter nochmal die Anmeldedaten neu eingetragen, dann ging es wieder...

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

                @ple
                Was hast du bei History Adapter in den Einstellungen eingetragen? Generell werden Daten ausgelesen. Er läuft aber mittendrin auf einen Fehler.

                1 Reply Last reply Reply Quote 0
                • P
                  ple last edited by

                  History ist im fb Adapter deaktiviert. Ansonsten nutze ich nur den sql Adapter.

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

                    @ple
                    Du kannst History oder SQL einstellen. Die Funktion des Adapters basiert darauf.

                    Z 1 Reply Last reply Reply Quote 0
                    • P
                      ple last edited by

                      Hab schon beides probiert, der Fehler bleibt der gleiche.

                      afuerhoff 2 Replies Last reply Reply Quote 0
                      • Z
                        zahnheinrich @afuerhoff last edited by

                        @afuerhoff
                        Influx geht nicht?
                        Würde deinen Adapter auch gerne nutzen.

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

                          @zahnheinrich
                          Ich hab Influx schon auf der Todo Liste. Kann noch etwas dauern. Allerdings kann ich es selbst nicht testen.

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

                            @ple
                            Muss ich mal versuchen nachzustellen.

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

                              @afuerhoff
                              ich kann dich auch gerne auf mein System lassen, falls du noch was benötigst.

                              Gruß

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

                                @ple
                                Danke. Ich schaue erst mal. Melde mich wieder

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

                                  @ple
                                  Hallo, hab noch mal mit meinen Adapter-Log verglichen. Ich glaube, dass die Authentifizierung nicht funktioniert. Der Fritzbox User muss im Menü "System/FRITZ!Box-Benutzer" die Berechtigung für "FRITZ!Box Einstellungen" haben. Ich habe dafür extra einen eigenen User auf meiner Fritzbox angelegt.
                                  Wichtig ist auch, dass im Menü "System/FRITZ!Box-Benutzer/Anmeldung im Heimnetz" die Einstellung "Anmeldung mit FRITZ!Box-Benutzernamen und Kennwort" ausgewählt ist.

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    ple last edited by

                                    Ich mach heute mal mal Screenshots, aber bin mir sicher das alles so eingerichtet ist. Hab schon einige Users angelegt mit allen haken die man setzen kann;-)

                                    Das die als ipclient läuft ist egal? Also Router wollte ich die ja nicht einsetzen, nur einzig für Anwesenheit.

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

                                      @afuerhoff sagte in [Neuer Adapter] iobroker.fb-checkpresence:

                                      @zahnheinrich
                                      Ich hab Influx schon auf der Todo Liste. Kann noch etwas dauern. Allerdings kann ich es selbst nicht testen.

                                      Teste gerne mit !

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        ple last edited by ple

                                        so, hier dann mal die Screenshots
                                        Bildschirmfoto 2019-11-17 um 20.02.40.png Bildschirmfoto 2019-11-17 um 20.51.54.png Bildschirmfoto 2019-11-17 um 20.52.30.png Bildschirmfoto 2019-11-17 um 20.53.00.png

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

                                          @ple
                                          Das sieht alles ok aus.
                                          Kannst du den Log mal nach Adapter filtern und dann mit der Funktion "LOG HERUNTERLADEN" den Stand vom aktuellen Datum hier mal einstellen. Damit werden die Daten nicht abgeschnitten und ich kann die kpl. Antworten der Fritzbox sehen.

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            ple last edited by ple

                                            2019-11-18 15:57:04.968 - info: fb-checkpresence.0 (18758) Got terminate signal TERMINATE_YOURSELF
                                            2019-11-18 15:57:04.970 - info: fb-checkpresence.0 (18758) cleaned everything up...
                                            2019-11-18 15:57:04.970 - info: fb-checkpresence.0 (18758) terminating
                                            2019-11-18 15:57:04.970 - info: fb-checkpresence.0 (18758) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                                            2019-11-18 15:57:05.567 - info: host.iobroker instance system.adapter.fb-checkpresence.0 terminated with code 156 (156)
                                            2019-11-18 15:57:07.482 - info: host.iobroker instance system.adapter.fb-checkpresence.0 started with pid 25639
                                            2019-11-18 15:57:08.218 - debug: fb-checkpresence.0 (25639) Redis Objects: Use Redis connection: 127.0.0.1:6379
                                            2019-11-18 15:57:08.237 - debug: fb-checkpresence.0 (25639) Objects client ready ... initialize now
                                            2019-11-18 15:57:08.239 - debug: fb-checkpresence.0 (25639) Objects create PubSub Client
                                            2019-11-18 15:57:08.239 - debug: fb-checkpresence.0 (25639) Objects client initialize lua scripts
                                            2019-11-18 15:57:08.247 - debug: fb-checkpresence.0 (25639) objectDB connected
                                            2019-11-18 15:57:08.248 - debug: fb-checkpresence.0 (25639) Redis States: Use Redis connection: 127.0.0.1:6379
                                            2019-11-18 15:57:08.250 - debug: fb-checkpresence.0 (25639) Objects connected to redis: 127.0.0.1:6379
                                            2019-11-18 15:57:08.252 - debug: fb-checkpresence.0 (25639) States create PubSub Client
                                            2019-11-18 15:57:08.253 - debug: fb-checkpresence.0 (25639) statesDB connected
                                            2019-11-18 15:57:08.264 - debug: fb-checkpresence.0 (25639) States connected to redis: 127.0.0.1:6379
                                            2019-11-18 15:57:08.333 - info: fb-checkpresence.0 (25639) starting. Version 0.0.7 in /opt/iobroker/node_modules/iobroker.fb-checkpresence, node: v10.16.3
                                            2019-11-18 15:57:08.364 - info: fb-checkpresence.0 (25639) start fb-checkpresence: ip-address: xxxxxxx polling interval: 1 (*/1 * * * *)
                                            2019-11-18 15:57:08.367 - debug: fb-checkpresence.0 (25639) createGlobalObjects
                                            2019-11-18 15:57:08.698 - debug: fb-checkpresence.0 (25639) body response: {"statusCode":200,"body":"\n\n\n\n16\n\n\n","headers":{"date":"Mon, 18 Nov 2019 14:57:08 GMT","server":"FRITZ!Box Fon WLAN 7270 v3 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7270 v3 74.06.06","connection":"close","content-length":"345","content-type":"text/xml; charset=\"utf-8\"","ext":""},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"xxxxxxxxxxxxxxxx:49000/upnp/control/hosts"},"method":"POST","headers":{"SoapAction":"urn:dslforum-org:service:Hosts:1#GetHostNumberOfEntries","Content-Type":"text/xml","charset":"utf-8","content-length":448}}}
                                            16
                                            2019-11-18 15:57:08.705 - debug: fb-checkpresence.0 (25639) getHostNo: 16
                                            2019-11-18 15:57:08.714 - debug: fb-checkpresence.0 (25639) state fb-checkpresence.0.devices changed: 16 (ack = true)
                                            2019-11-18 15:57:08.714 - debug: fb-checkpresence.0 (25639) state fb-checkpresence.0.info.connection changed: true (ack = true)
                                            2019-11-18 15:57:08.715 - debug: fb-checkpresence.0 (25639) state fb-checkpresence.0.info.lastUpdate changed: 2019-11-18T14:57:08.368Z (ack = true)
                                            2019-11-18 15:57:08.716 - debug: fb-checkpresence.0 (25639) body response: {"statusCode":500,"body":"\n\n\n\ns:Client\nUPnPError\n\n\n401\nInvalid Action\n\n\n\n\n","headers":{"date":"Mon, 18 Nov 2019 14:57:08 GMT","server":"FRITZ!Box Fon WLAN 7270 v3 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7270 v3 74.06.06","connection":"close","content-length":"433","content-type":"text/xml; charset=\"utf-8\""},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"xxxxxxxxxxxx:49000","port":"49000","hostname":"xxxxxxxxxxxxxx","hash":null,"search":null,"query":null,"pathname":"/upnp/control/hosts","path":"/upnp/control/hosts","href":"http://xxxxxxxxxxxxxxxxx:49000/upnp/control/hosts"},"method":"POST","headers":{"SoapAction":"urn:dslforum-org:service:Hosts:1#X_AVM-DE_GetHostListPath","Content-Type":"text/xml","charset":"utf-8","content-length":452}}}
                                            s:Client
                                            UPnPError
                                            401
                                            Invalid Action
                                            2019-11-18 15:57:08.717 - error: fb-checkpresence.0 (25639) soapAction error undefined
                                            2019-11-18 15:57:08.718 - error: fb-checkpresence.0 (25639) Error checkPresence: TypeError: Cannot read property 'message' of undefined
                                            2019-11-18 15:57:08.718 - debug: fb-checkpresence.0 (25639) checkPresence first run
                                            2019-11-18 15:57:08.729 - debug: fb-checkpresence.0 (25639) state fb-checkpresence.0.info.connection changed: false (ack = true)
                                            2019-11-18 15:57:09.532 - debug: fb-checkpresence.0 (25639) system.adapter.admin.0: logging true
                                            
                                            afuerhoff 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            410
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            fb-checkpresence adapter
                                            30
                                            346
                                            44194
                                            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