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

    • 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.2.x

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

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

      Kann man eine json haben wo die aktiven und die inaktiven getrennt sind?

      Kann ich noch mit einbauen.

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

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

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

        Kann man eine json haben wo die aktiven und die inaktiven getrennt sind?

        Kann ich noch mit einbauen.

        Oh das wäre super 😀👍

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

          Hallo,

          ich hab noch zwei json Table unter fb-devices eingebaut. Bitte nochmal aus Github aktualisieren.

          sigi234 1 Reply Last reply Reply Quote 1
          • M
            mameier1234 @Neuschwansteini last edited by Negalein

            Neue Fehler mit der aktuellen Version von Github...

            fb-checkpresence.0	2020-02-09 16:21:04.831	error	(7876) getActive: undefined
            fb-checkpresence.0	2020-02-09 16:21:04.830	error	(7876) soapAction GetSpecificHostEntry -> undefined
            

            hier das Debug-Log

            fb-checkpresence.0	2020-02-09 16:21:08.416	debug	(7876) getDeviceInfo unknown: 101
            fb-checkpresence.0	2020-02-09 16:21:08.416	debug	(7876) getDeviceInfo active: 71
            fb-checkpresence.0	2020-02-09 16:21:05.661	debug	(7876) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:05.592	debug	(7876) checkPresence first run
            fb-checkpresence.0	2020-02-09 16:21:05.591	debug	(7876) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:04.831	error	(7876) getActive: undefined
            fb-checkpresence.0	2020-02-09 16:21:04.830	error	(7876) soapAction GetSpecificHostEntry -> undefined
            fb-checkpresence.0	2020-02-09 16:21:04.768	debug	(7876) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:04.723	debug	(7876) request url https://192.168.160.254: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://
            fb-checkpresence.0	2020-02-09 16:21:04.723	debug	(7876) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:04.721	debug	(7876) getActive [{"Name":"Martin","Active":"true","Kommt":"2020.02.09 01:54:02","Geht":"2020.02.09 01:38:02"},{"Name":"Claudia","Active":"true","Kommt":"2020.02.09 03:55:03","Geht":"2020.02.09 03:26:
            fb-checkpresence.0	2020-02-09 16:21:04.693	debug	(7876) getActive Dennis 0
            fb-checkpresence.0	2020-02-09 16:21:04.692	debug	(7876) 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/\">\n
            fb-checkpresence.0	2020-02-09 16:21:04.603	debug	(7876) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:04.538	debug	(7876) request url https://192.168.160.254: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://
            fb-checkpresence.0	2020-02-09 16:21:04.538	debug	(7876) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:04.503	debug	(7876) getActive [{"Name":"Martin","Active":"true","Kommt":"2020.02.09 01:54:02","Geht":"2020.02.09 01:38:02"},{"Name":"Claudia","Active":"true","Kommt":"2020.02.09 03:55:03","Geht":"2020.02.09 03:26:
            fb-checkpresence.0	2020-02-09 16:21:04.478	debug	(7876) getActive Vanessa 0
            fb-checkpresence.0	2020-02-09 16:21:04.477	debug	(7876) 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/\">\n
            fb-checkpresence.0	2020-02-09 16:21:04.454	debug	(7876) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:04.384	debug	(7876) request url https://192.168.160.254: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://
            fb-checkpresence.0	2020-02-09 16:21:04.383	debug	(7876) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:04.364	debug	(7876) getActive [{"Name":"Martin","Active":"true","Kommt":"2020.02.09 01:54:02","Geht":"2020.02.09 01:38:02"},{"Name":"Claudia","Active":"true","Kommt":"2020.02.09 03:55:03","Geht":"2020.02.09 03:26:
            fb-checkpresence.0	2020-02-09 16:21:04.362	debug	(7876) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:04.333	debug	(7876) getActive Claudia 1
            fb-checkpresence.0	2020-02-09 16:21:04.332	debug	(7876) 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/\">\n
            fb-checkpresence.0	2020-02-09 16:21:04.301	debug	(7876) request url https://192.168.160.254: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://
            fb-checkpresence.0	2020-02-09 16:21:04.301	debug	(7876) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:04.297	debug	(7876) getActive [{"Name":"Martin","Active":"true","Kommt":"2020.02.09 01:54:02","Geht":"2020.02.09 01:38:02"},
            fb-checkpresence.0	2020-02-09 16:21:04.271	debug	(7876) getActive Martin 1
            fb-checkpresence.0	2020-02-09 16:21:04.270	debug	(7876) 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/\">\n
            fb-checkpresence.0	2020-02-09 16:21:04.227	debug	(7876) request url https://192.168.160.254: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://
            fb-checkpresence.0	2020-02-09 16:21:04.222	debug	(7876) getDeviceList: [{"Index":"1","IPAddress":"192.168.160.67","MACAddress":"24:5B:A7:BE:7F:28","Active":"1","HostName":"AppleWanClaudia","InterfaceType":"802.11","X_AVM-DE_Port":"0","X_AVM-DE_Speed
            fb-checkpresence.0	2020-02-09 16:21:04.008	debug	(7876) body <?xml version="1.0" encoding="UTF-8"?> <List> <!-- devicehosts :102 --> <Item> <Index>1</Index> <IPAddress>192.168.160.67</IPAddress> <MACAddress>24:5B:A7:BE:7F:28</MACAddress> <Active>1<
            fb-checkpresence.0	2020-02-09 16:21:03.244	debug	(7876) 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/\">\n
            fb-checkpresence.0	2020-02-09 16:21:03.008	debug	(7876) request url https://192.168.160.254: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://
            fb-checkpresence.0	2020-02-09 16:21:03.006	debug	(7876) 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/\">\n
            fb-checkpresence.0	2020-02-09 16:21:02.997	debug	(7876) request url http://192.168.160.254:49000/upnp/control/hosts body: <?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://s
            fb-checkpresence.0	2020-02-09 16:21:02.995	debug	(7876) sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:02.995	debug	(7876) createMemberObjects Hilde
            fb-checkpresence.0	2020-02-09 16:21:02.995	debug	(7876) sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:02.994	debug	(7876) createMemberObjects Dennis
            fb-checkpresence.0	2020-02-09 16:21:02.994	debug	(7876) sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:02.994	debug	(7876) createMemberObjects Vanessa
            fb-checkpresence.0	2020-02-09 16:21:02.993	debug	(7876) sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:02.993	debug	(7876) createMemberObjects Claudia
            fb-checkpresence.0	2020-02-09 16:21:02.992	debug	(7876) sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
            fb-checkpresence.0	2020-02-09 16:21:02.991	debug	(7876) createMemberObjects Martin
            fb-checkpresence.0	2020-02-09 16:21:02.991	debug	(7876) createGlobalObjects
            fb-checkpresence.0	2020-02-09 16:21:02.989	debug	(7876) sslPort 49443
            fb-checkpresence.0	2020-02-09 16:21:02.987	debug	(7876) 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/\">\n
            fb-checkpresence.0	2020-02-09 16:21:02.976	debug	(7876) request url http://192.168.160.254:49000/upnp/control/deviceinfo body: <?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="htt
            fb-checkpresence.0	2020-02-09 16:21:02.975	info	(7876) service GetSecurityPort is supported
            fb-checkpresence.0	2020-02-09 16:21:02.955	info	(7876) service X_AVM-DE_GetSpecificHostEntryByIP is supported
            fb-checkpresence.0	2020-02-09 16:21:02.933	info	(7876) service GetSpecificHostEntry is supported
            fb-checkpresence.0	2020-02-09 16:21:02.899	info	(7876) service X_AVM-DE_GetHostListPath is supported
            fb-checkpresence.0	2020-02-09 16:21:02.848	debug	(7876) configuration familymembers: [{"familymember":"Martin","macaddress":"8C:86:1E:61:D8:9B","comment":"","enabled":true},{"familymember":"Claudia","macaddress":"84:AD:8D:B8:F6:06","comment":"","ena
            fb-checkpresence.0	2020-02-09 16:21:02.847	debug	(7876) configuration dateformat: yyyy.mm.dd hh:MM:ss
            fb-checkpresence.0	2020-02-09 16:21:02.847	debug	(7876) configuration history: history.0
            fb-checkpresence.0	2020-02-09 16:21:02.847	debug	(7876) configuration user: Broker
            fb-checkpresence.0	2020-02-09 16:21:02.847	info	(7876) start fb-checkpresence: ip-address: 192.168.160.254 polling interval: 2 Min.
            fb-checkpresence.0	2020-02-09 16:21:02.524	info	(7876) starting. Version 0.2.2 in C:/ioBroker/node_modules/iobroker.fb-checkpresence, node: v10.19.0
            fb-checkpresence.0	2020-02-09 16:20:59.419	debug	2
            fb-checkpresence.0	2020-02-09 16:20:59.419	debug	(7876) States create System PubSub Client
            fb-checkpresence.0	2020-02-09 16:20:59.304	debug	(7876) States create User PubSub Client
            fb-checkpresence.0	2020-02-09 16:20:58.610	debug	(7876) Redis States: Use Redis connection: 0.0.0.0:9000
            fb-checkpresence.0	2020-02-09 16:20:58.608	debug	(7876) objectDB connected
            fb-checkpresence.0	2020-02-09 16:20:58.602	debug	(7876) Objects connected to redis: 0.0.0.0:9001
            fb-checkpresence.0	2020-02-09 16:20:58.578	debug	(7876) Objects client initialize lua scripts
            fb-checkpresence.0	2020-02-09 16:20:58.578	debug	(7876) Objects create User PubSub Client
            fb-checkpresence.0	2020-02-09 16:20:58.577	debug	(7876) Objects create System PubSub Client
            fb-checkpresence.0	2020-02-09 16:20:58.573	debug	(7876) Objects client ready ... initialize now
            fb-checkpresence.0	2020-02-09 16:20:58.518	debug	(7876) Redis Objects: Use Redis connection: 0.0.0.0:9001
            
            afuerhoff 1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @sigi234 last edited by

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

              Kann man eine json haben wo die aktiven und die inaktiven getrennt sind? (Fritzbox devices )

              allerdings ist ja die Fritte seeeeehr träge was Angabe von aktiv/inaktiv betrifft.
              Das kann auch mal 10 Minuten dauern.
              zum Checken der Präsenz ist das nicht schnell genug

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

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

                Neue Fehler mit der aktuellen Version von Github...

                Hallo, ich habe die Fehlermeldung noch optimiert. Bitte von Github nochmal aktualisieren. Evtl. ist der Fehler dann klarer.

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

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

                  allerdings ist ja die Fritte seeeeehr träge

                  Hallo, das erkennen von aktiv sollte sehr schnell gehen. Das erkennen von Inaktiv dauert bis zu 10 Minuten.

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

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

                    Hallo,

                    ich hab noch zwei json Table unter fb-devices eingebaut. Bitte nochmal aus Github aktualisieren.

                    Kann man noch die Anzahl der Inaktiven Devices anzeigen?

                    Screenshot (1612).png

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

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

                      Kann man noch die Anzahl der Inaktiven Devices anzeigen?

                      Ist drin. Bitte neu von Github installieren.

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

                        @afuerhoff
                        Hi, super, vielen Dank, ging ja schnell! Funktioniert.
                        Bekomme jetzt beim Starten des Adapters Fehler mit der History:

                        	at tryOnImmediate (timers.js:676:5)
                        history.0	2020-02-09 18:08:08.683	warn	at runCallback (timers.js:705:18)
                        history.0	2020-02-09 18:08:08.683	warn	at Immediate.setImmediate [as _onImmediate] (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:227:41)
                        history.0	2020-02-09 18:08:08.683	warn	at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4803:41)
                        history.0	2020-02-09 18:08:08.683	warn	at Object.message (/opt/iobroker/node_modules/iobroker.history/main.js:146:25)
                        history.0	2020-02-09 18:08:08.683	warn	at processMessage (/opt/iobroker/node_modules/iobroker.history/main.js:224:9)
                        history.0	2020-02-09 18:08:08.683	warn	at getHistory (/opt/iobroker/node_modules/iobroker.history/main.js:812:41)
                        history.0	2020-02-09 18:08:08.683	warn	(1967) TypeError: Cannot read property 'start' of undefined
                        history.0	2020-02-09 18:08:08.662	warn	(1967) States system pmessage io.messagebox.system.adapter.history.0 {"command":"getHistory","message":{"result":[],"step":null,"error":null},"from":"system.adapter.fb-checkpresence.0","callback":{"m
                        fb-checkpresence.0	2020-02-09 18:08:08.558	warn	(14975) Unknown command: getHistory
                        fb-checkpresence.0	2020-02-09 18:08:08.557	warn	(14975) Unknown command: getHistory
                        fb-checkpresence.0	2020-02-09 18:08:08.553	warn	(14975) Unknown command: getHistory
                        
                        afuerhoff 1 Reply Last reply Reply Quote 0
                        • afuerhoff
                          afuerhoff Developer @Neuschwansteini last edited by

                          @ilovegym
                          Den Fehler kann ich mir jetzt überhaupt nicht erklären. Kommt der jedesmal nach Start des Adapters? Kannst Du evtl. nochmal von Github installieren.

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

                            @afuerhoff kam jetzt nicht mehr... Hab nochmals von git installiert... Hmm Mal beobachten.. 🙂

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

                              Hier das selbe.
                              Von Github drüber installiert, keine Fehler mehr.
                              Sauber, hast Du das hinbekommen! 👍 👍

                              1 Reply Last reply Reply Quote 0
                              • G
                                guergen last edited by guergen

                                Die Datenbankverarbeitung scheint nicht richtig zu funktionieren, habe ein Issue dazu aufgemacht...

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

                                  @guergen

                                  Hallo, es funktioniert so, wie ich es implementiert habe. Der Adapter legt nach Start die Einstellungen für einen Family Member fest. Wie wichtig ist für Dich der Alias?
                                  Kannst Du mal den Reiter Tabelle zum Datenpunkt aus der History posten.

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

                                    @afuerhoff Das Problem ist, dass Grafana aus der Datenbank den von FB-Presence gelieferten Daten nicht findet! In der Datenbank sind sie ja drin.
                                    Wichtig ist der Alias nicht wirklich, habe nur alle Datenpunkte entsprechend benannt um Sie in Grafana schnell zu finden!

                                    Hier die Einstellungen:
                                    d5597020-5027-4c3b-959d-71cfbe18751d-grafik.png
                                    eda30eb9-994b-4b5b-8898-6f4a971c9d36-grafik.png

                                    Hier die History-Einstellungen:
                                    8acaaf4a-7fd4-4292-957f-ac3a8b27b2fd-grafik.png

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

                                      kurze Frage bzgl. InfluxDB. Habe gerade den fb-checkpresende Adapter aus GIT installiert. InfluxDB läuft schon länger auf meinem Broker ... trotzdem hab ich da nur die Auswahl "disabled" oder "History" ?

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

                                        @harrym Scroll mal...

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

                                          @guergen
                                          Ich meinte die Daten aus der History
                                          History.JPG

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

                                            @guergen DANKE! da wär ein hinweis toll ^_^

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            763
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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