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.
    • H
      helfi9999 @afuerhoff last edited by

      @afuerhoff habe mal den Adapter auf debug gestellt bekomme folgende Meldungen:


      fb-checkpresence.0 2019-10-31 21:20:19.547 debug 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/">\n<s:H
      fb-checkpresence.0 2019-10-31 21:20:19.514 debug 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/">\n<s:H
      fb-checkpresence.0 2019-10-31 21:20:19.500 debug 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/">\n<s:H
      fb-checkpresence.0 2019-10-31 21:20:19.482 debug state fb-checkpresence.0.info.lastUpdate changed: 2019-10-31T20:20:19.264Z (ack = true)
      fb-checkpresence.0 2019-10-31 21:20:19.482 debug state fb-checkpresence.0.info.connection changed: true (ack = true)
      fb-checkpresence.0 2019-10-31 21:20:19.481 debug 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/">\n<s:H
      fb-checkpresence.0 2019-10-31 21:20:19.463 debug state fb-checkpresence.0.devices changed: 49 (ack = true)
      fb-checkpresence.0 2019-10-31 21:20:19.463 debug hostNo: 49
      fb-checkpresence.0 2019-10-31 21:20:19.456 debug 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/">\n<s:B
      history.0 2019-10-31 21:20:19.309 info {"common":{"custom":{"history.0":{"changesOnly":true,"debounce":0,"retention":31536000,"maxLength":10,"changesMinDelta":0,"aliasId":"","enabled":true}}},"from":"system.adapter.history.0","user":"syste
      history.0 2019-10-31 21:20:19.309 info enabled logging of fb-checkpresence.0.Thomas Handy, Alias=false
      fb-checkpresence.0 2019-10-31 21:20:19.293 debug sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
      fb-checkpresence.0 2019-10-31 21:20:19.293 debug createMemberObjects Thomas Handy
      fb-checkpresence.0 2019-10-31 21:20:19.293 debug createGlobalObjects
      fb-checkpresence.0 2019-10-31 21:20:19.292 info start fb-checkpresence: ip-address: 192.168.178.1 polling interval: 1 (*/1 * * * *)
      fb-checkpresence.0 2019-10-31 21:20:18.599 info starting. Version 0.0.5 in /opt/iobroker/node_modules/iobroker.fb-checkpresence, node: v10.15.2
      host.intelnuc-GB-BACE-3160 2019-10-31 21:20:16.147 info instance system.adapter.fb-checkpresence.0 started with pid 19583
      host.intelnuc-GB-BACE-3160 2019-10-31 21:20:13.647 info instance system.adapter.fb-checkpresence.0 terminated with code 156 ()
      Caught 2019-10-31 21:20:13.647 error by controller[0]: (node:18726) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process wit
      Caught 2019-10-31 21:20:13.647 error by controller[0]: (node:18726) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecti
      Caught 2019-10-31 21:20:13.647 error by controller[0]: (node:18726) UnhandledPromiseRejectionWarning: Credentials incorrect
      fb-checkpresence.0 2019-10-31 21:20:13.614 info cleaned everything up...
      host.intelnuc-GB-BACE-3160 2019-10-31 21:20:13.600 info stopInstance system.adapter.fb-checkpresence.0 killing pid 18726
      host.intelnuc-GB-BACE-3160 2019-10-31 21:20:13.600 info stopInstance system.adapter.fb-checkpresence.0
      fb-checkpresence.0 2019-10-31 21:20:13.602 info cleaned everything up...
      host.intelnuc-GB-BACE-3160 2019-10-31 21:20:13.599 info object change system.adapter.fb-checkpresence.0

      1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @helfi9999 last edited by

        @helfi9999 ich habe nicht aktualisiert, habe direkt die version installiert und bei mir funktioniert es.

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

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

          @afuerhoff habe auch das Problem seitdem ich auf Version 0.0.5 aktualisiert habe keine Verbindung mehr alle Mitglieder stehen nur noch auf false obwohl ich den Adapter deinstalliert habe und den Router neugestartet habe sowie den Adapter neu installiert habe.

          Hast du mal die Fritzbox neu gestartet.

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

            @afuerhoff ja habe ich auch gemacht

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

              Hallo,
              hatte das gleiche Problem, 0.0.5 drüber installiert. Fehler bei PresenceAll. Dann alles deinstalliert, neu installiert und eingestellt. Jetzt ist der Fehler weg. Der Auswahldialog für SQL ist beim Einstellen nicht zu sehen, erst, wenn man ganz nach unten scollt, kann man den SQL auswählen. Habe in den Familieneinstellungen die MAC-Adresse hinterlegt.

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

                Info: Ich habe noch einen Fehler in der Tabellenauflistung (Komme, Gehe) entdeckt. Wird demnächst behoben.

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

                  @afuerhoff habe nochmals alles deinstalliert und neu installiert jetzt funktioniert alles

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

                    @helfi9999
                    Danke für die Rückmeldung.

                    1 Reply Last reply Reply Quote 0
                    • Negalein
                      Negalein Global Moderator @afuerhoff last edited by

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

                      Hast du mal kpl. deinstalliert und neu installiert?
                      Das hat schon mal geholfen. Ich kann den Fehler so nicht nachvollziehen.

                      Sorry für die späte Rückmeldung.

                      Also, ich habe den Adapter deinstalliert, neu gebootet, neu installiert.

                      Was mir jetzt auffällt,

                      • bei 1 Mitglied steht weder true noch false
                      • der "aus Liste hinzufügen" Button funktioniert nicht

                      objects - ioBroker (3).png

                      Log:

                      fb-checkpresence.0	2019-11-01 18:17:46.899	debug	sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                      fb-checkpresence.0	2019-11-01 18:17:46.898	debug	createMemberObjects Laura
                      fb-checkpresence.0	2019-11-01 18:17:46.896	debug	sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                      fb-checkpresence.0	2019-11-01 18:17:46.894	debug	createMemberObjects Lisi
                      fb-checkpresence.0	2019-11-01 18:17:46.892	debug	sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                      fb-checkpresence.0	2019-11-01 18:17:46.891	debug	createMemberObjects Nega
                      fb-checkpresence.0	2019-11-01 18:17:46.890	debug	createGlobalObjects
                      fb-checkpresence.0	2019-11-01 18:17:46.888	info	start fb-checkpresence: ip-address: 10.0.1.1 polling interval: 1 (*/1 * * * *)
                      fb-checkpresence.0	2019-11-01 18:17:46.757	info	starting. Version 0.0.5 in /opt/iobroker/node_modules/iobroker.fb-checkpresence, node: v10.17.0
                      fb-checkpresence.0	2019-11-01 18:17:46.737	debug	statesDB connected
                      fb-checkpresence.0	2019-11-01 18:17:46.694	debug	objectDB connected
                      fb-checkpresence.0	2019-11-01 18:17:43.327	info	cleaned everything up...
                      fb-checkpresence.0	2019-11-01 18:17:43.314	info	cleaned everything up...
                      fb-checkpresence.0	2019-11-01 18:17:39.226	debug	sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                      fb-checkpresence.0	2019-11-01 18:17:39.226	debug	createMemberObjects Laura
                      fb-checkpresence.0	2019-11-01 18:17:39.225	debug	sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                      fb-checkpresence.0	2019-11-01 18:17:39.225	debug	createMemberObjects Lisi
                      fb-checkpresence.0	2019-11-01 18:17:39.223	debug	sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                      fb-checkpresence.0	2019-11-01 18:17:39.222	debug	createMemberObjects Nega
                      fb-checkpresence.0	2019-11-01 18:17:39.221	debug	createGlobalObjects
                      fb-checkpresence.0	2019-11-01 18:17:39.219	info	start fb-checkpresence: ip-address: 10.0.1.1 polling interval: 1 (*/1 * * * *)
                      fb-checkpresence.0	2019-11-01 18:17:39.083	info	starting. Version 0.0.5 in /opt/iobroker/node_modules/iobroker.fb-checkpresence, node: v10.17.0
                      fb-checkpresence.0	2019-11-01 18:17:39.055	debug	statesDB connected
                      fb-checkpresence.0	2019-11-01 18:17:39.034	debug	objectDB connected
                      fb-checkpresence.0	2019-11-01 18:17:35.658	info	cleaned everything up...
                      fb-checkpresence.0	2019-11-01 18:17:35.653	info	cleaned everything up...
                      
                      afuerhoff 1 Reply Last reply Reply Quote 0
                      • afuerhoff
                        afuerhoff Developer @Negalein last edited by

                        @Negalein
                        Hast Du die Fritzbox auch mal neu gestartet.

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

                          Hallo,

                          ich habe noch den Fehler bzgl. der html und json Tabellen behoben. Version 0.0.6 ist auf Github veröffentlicht.

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

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

                            Hallo,

                            ich habe noch den Fehler bzgl. der html und json Tabellen behoben. Version 0.0.6 ist auf Github veröffentlicht.

                            Datum Anzeige, kann man die ändern?

                            Sat Nov 02 2019 00:35:00 GMT+0100 (Mitteleuropäische Normalzeit)

                            Screenshot (472).png

                            afuerhoff 1 Reply Last reply Reply Quote 0
                            • Negalein
                              Negalein Global Moderator @afuerhoff last edited by

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

                              @Negalein
                              Hast Du die Fritzbox auch mal neu gestartet.

                              Ja, auch das hat nicht geholfen

                              1 Reply Last reply Reply Quote 0
                              • Negalein
                                Negalein Global Moderator last edited by

                                @afuerhoff

                                auch mit 0.0.6 hat sich das Problem nicht verändert.

                                Vielleicht hilft dir das Log etwas.
                                Ist vom Start des Adapters!
                                Es steht auch in Zeile 30 was mit error: Invalid date

                                fb-checkpresence.0	2019-11-02 01:11:40.463	debug	state fb-checkpresence.0.Laura.historyHtml changed: <table class="mdui-table"><thead><tr><th>Status</th><th>Date</th></tr></thead><tbody><tr><td><div class="mdui-red-bg mdui-state mdui-card">abwesend<
                                fb-checkpresence.0	2019-11-02 01:11:40.462	debug	state fb-checkpresence.0.Laura.history changed: [{"Active":"false","Date":"01.11.YYYY 06:05:11"},{"Active":"false","Date":"02.11.YYYY 12:52:49"},{"Active":"true","Date":"02.11.YYYY 12:52:53"},{"Active
                                fb-checkpresence.0	2019-11-02 01:11:40.459	debug	state fb-checkpresence.0.Laura.absent.sum_day changed: 55 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.457	debug	state fb-checkpresence.0.Laura.present.sum_day changed: 17 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.432	debug	state fb-checkpresence.0.presence changed: true (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.432	debug	state fb-checkpresence.0.presenceAll changed: true (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.432	debug	state fb-checkpresence.0.html changed: <table class="mdui-table"><thead><tr><th>Name</th><th>Status</th><th>Kommt</th><th>Geht</th></tr></thead><tbody><tr><td>Lisi</td><td><div class="mdui-green-bg md
                                fb-checkpresence.0	2019-11-02 01:11:40.432	debug	state fb-checkpresence.0.json changed: [{"Name":"Lisi","Active":"true","Kommt":"02.11.YYYY 12:52:53","Geht":"02.11.YYYY 12:52:49"},{"Name":"Laura","Active":"true","Kommt":"02.11.YYYY 01:03:01","Geht":
                                fb-checkpresence.0	2019-11-02 01:11:40.432	debug	sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                fb-checkpresence.0	2019-11-02 01:11:40.432	debug	checkPresence first run
                                fb-checkpresence.0	2019-11-02 01:11:40.431	debug	sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                fb-checkpresence.0	2019-11-02 01:11:40.397	debug	state fb-checkpresence.0.Laura.absent.since changed: 0 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.397	debug	state fb-checkpresence.0.Laura.present.since changed: 9 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.397	debug	state fb-checkpresence.0.Lisi.historyHtml changed: <table class="mdui-table"><thead><tr><th>Status</th><th>Date</th></tr></thead><tbody><tr><td><div class="mdui-red-bg mdui-state mdui-card">abwesend</
                                fb-checkpresence.0	2019-11-02 01:11:40.396	debug	state fb-checkpresence.0.Lisi.history changed: [{"Active":"false","Date":"01.11.YYYY 06:05:11"},{"Active":"true","Date":"02.11.YYYY 12:48:30"},{"Active":"false","Date":"02.11.YYYY 12:52:49"},{"Active"
                                fb-checkpresence.0	2019-11-02 01:11:40.392	debug	state fb-checkpresence.0.Lisi.absent.sum_day changed: 48 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.386	debug	state fb-checkpresence.0.Lisi.present.sum_day changed: 24 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.372	debug	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/\">\n<s:B
                                fb-checkpresence.0	2019-11-02 01:11:40.361	debug	sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                fb-checkpresence.0	2019-11-02 01:11:40.350	debug	sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                fb-checkpresence.0	2019-11-02 01:11:40.334	debug	state fb-checkpresence.0.Lisi.absent.since changed: 0 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.332	debug	state fb-checkpresence.0.Lisi.present.since changed: 19 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.323	debug	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/\">\n<s:B
                                fb-checkpresence.0	2019-11-02 01:11:40.144	debug	state fb-checkpresence.0.Nega.historyHtml changed: <table class="mdui-table"><thead><tr><th>Status</th><th>Date</th></tr></thead><tbody><tr><td><div class="mdui-red-bg mdui-state mdui-card">abwesend</
                                fb-checkpresence.0	2019-11-02 01:11:40.144	debug	state fb-checkpresence.0.Nega.history changed: [{"Active":"false","Date":"01.11.YYYY 05:59:59"},{"Active":"true","Date":"02.11.YYYY 12:48:28"}] (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.142	debug	state fb-checkpresence.0.Nega.absent.sum_day changed: 48 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.138	debug	state fb-checkpresence.0.Nega.present.sum_day changed: 24 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.115	debug	sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                fb-checkpresence.0	2019-11-02 01:11:40.098	debug	sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                fb-checkpresence.0	2019-11-02 01:11:40.086	error	error: Invalid date
                                fb-checkpresence.0	2019-11-02 01:11:40.079	debug	state fb-checkpresence.0.Nega.absent.since changed: 0 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.075	debug	state fb-checkpresence.0.Nega.present.since changed: 23 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.066	debug	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/\">\n<s:H
                                fb-checkpresence.0	2019-11-02 01:11:40.051	debug	state fb-checkpresence.0.guest changed: false (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.049	debug	state fb-checkpresence.0.activeDevices changed: 44 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.049	debug	state fb-checkpresence.0.guest.count changed: 0 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.047	debug	state fb-checkpresence.0.guest.listJson changed: [] (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:40.043	debug	state fb-checkpresence.0.guest.listHtml changed: <table class="mdui-table"><thead><tr><th>Hostname</th><th>IPAddress</th><th>MACAddress</th></tr></thead><tbody></body></table> (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:39.603	debug	url: http://10.0.1.1:49000/devicehostlist.lua?sid=6274da6e70531621
                                fb-checkpresence.0	2019-11-02 01:11:39.602	debug	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/\">\n<s:H
                                fb-checkpresence.0	2019-11-02 01:11:39.570	debug	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/\">\n<s:H
                                fb-checkpresence.0	2019-11-02 01:11:39.570	debug	state fb-checkpresence.0.info.lastUpdate changed: 2019-11-02T00:11:39.464Z (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:39.570	debug	state fb-checkpresence.0.info.connection changed: true (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:39.569	debug	state fb-checkpresence.0.devices changed: 77 (ack = true)
                                fb-checkpresence.0	2019-11-02 01:11:39.549	debug	hostNo: 77
                                fb-checkpresence.0	2019-11-02 01:11:39.547	debug	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/\">\n<s:B
                                fb-checkpresence.0	2019-11-02 01:11:39.498	debug	sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                fb-checkpresence.0	2019-11-02 01:11:39.498	debug	createMemberObjects Laura
                                fb-checkpresence.0	2019-11-02 01:11:39.498	debug	sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                fb-checkpresence.0	2019-11-02 01:11:39.498	debug	createMemberObjects Lisi
                                fb-checkpresence.0	2019-11-02 01:11:39.498	debug	sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                fb-checkpresence.0	2019-11-02 01:11:39.498	debug	createMemberObjects Nega
                                fb-checkpresence.0	2019-11-02 01:11:39.498	debug	createGlobalObjects
                                fb-checkpresence.0	2019-11-02 01:11:39.497	info	start fb-checkpresence: ip-address: 10.0.1.1 polling interval: 1 (*/1 * * * *)
                                fb-checkpresence.0	2019-11-02 01:11:39.352	info	starting. Version 0.0.6 in /opt/iobroker/node_modules/iobroker.fb-checkpresence, node: v10.17.0
                                fb-checkpresence.0	2019-11-02 01:11:35.765	info	cleaned everything up...
                                fb-checkpresence.0	2019-11-02 01:11:35.755	info	cleaned everything up...
                                
                                afuerhoff 2 Replies Last reply Reply Quote 0
                                • afuerhoff
                                  afuerhoff Developer @Negalein last edited by

                                  @Negalein
                                  Was für ein Datumsformat hast du eingestellt. Da scheint etwas nicht zu passen.

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

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

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

                                    Hallo,

                                    ich habe noch den Fehler bzgl. der html und json Tabellen behoben. Version 0.0.6 ist auf Github veröffentlicht.

                                    Datum Anzeige, kann man die ändern?

                                    Sat Nov 02 2019 00:35:00 GMT+0100 (Mitteleuropäische Normalzeit)

                                    Screenshot (472).png

                                    Im Post 191 steht dazu etwas.

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

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

                                      @afuerhoff

                                      auch mit 0.0.6 hat sich das Problem nicht verändert.

                                      Vielleicht hilft dir das Log etwas.
                                      Ist vom Start des Adapters!
                                      Es steht auch in Zeile 30 was mit error: Invalid date

                                      fb-checkpresence.0	2019-11-02 01:11:40.463	debug	state fb-checkpresence.0.Laura.historyHtml changed: <table class="mdui-table"><thead><tr><th>Status</th><th>Date</th></tr></thead><tbody><tr><td><div class="mdui-red-bg mdui-state mdui-card">abwesend<
                                      fb-checkpresence.0	2019-11-02 01:11:40.462	debug	state fb-checkpresence.0.Laura.history changed: [{"Active":"false","Date":"01.11.YYYY 06:05:11"},{"Active":"false","Date":"02.11.YYYY 12:52:49"},{"Active":"true","Date":"02.11.YYYY 12:52:53"},{"Active
                                      fb-checkpresence.0	2019-11-02 01:11:40.459	debug	state fb-checkpresence.0.Laura.absent.sum_day changed: 55 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.457	debug	state fb-checkpresence.0.Laura.present.sum_day changed: 17 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.432	debug	state fb-checkpresence.0.presence changed: true (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.432	debug	state fb-checkpresence.0.presenceAll changed: true (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.432	debug	state fb-checkpresence.0.html changed: <table class="mdui-table"><thead><tr><th>Name</th><th>Status</th><th>Kommt</th><th>Geht</th></tr></thead><tbody><tr><td>Lisi</td><td><div class="mdui-green-bg md
                                      fb-checkpresence.0	2019-11-02 01:11:40.432	debug	state fb-checkpresence.0.json changed: [{"Name":"Lisi","Active":"true","Kommt":"02.11.YYYY 12:52:53","Geht":"02.11.YYYY 12:52:49"},{"Name":"Laura","Active":"true","Kommt":"02.11.YYYY 01:03:01","Geht":
                                      fb-checkpresence.0	2019-11-02 01:11:40.432	debug	sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                      fb-checkpresence.0	2019-11-02 01:11:40.432	debug	checkPresence first run
                                      fb-checkpresence.0	2019-11-02 01:11:40.431	debug	sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                      fb-checkpresence.0	2019-11-02 01:11:40.397	debug	state fb-checkpresence.0.Laura.absent.since changed: 0 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.397	debug	state fb-checkpresence.0.Laura.present.since changed: 9 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.397	debug	state fb-checkpresence.0.Lisi.historyHtml changed: <table class="mdui-table"><thead><tr><th>Status</th><th>Date</th></tr></thead><tbody><tr><td><div class="mdui-red-bg mdui-state mdui-card">abwesend</
                                      fb-checkpresence.0	2019-11-02 01:11:40.396	debug	state fb-checkpresence.0.Lisi.history changed: [{"Active":"false","Date":"01.11.YYYY 06:05:11"},{"Active":"true","Date":"02.11.YYYY 12:48:30"},{"Active":"false","Date":"02.11.YYYY 12:52:49"},{"Active"
                                      fb-checkpresence.0	2019-11-02 01:11:40.392	debug	state fb-checkpresence.0.Lisi.absent.sum_day changed: 48 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.386	debug	state fb-checkpresence.0.Lisi.present.sum_day changed: 24 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.372	debug	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/\">\n<s:B
                                      fb-checkpresence.0	2019-11-02 01:11:40.361	debug	sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                      fb-checkpresence.0	2019-11-02 01:11:40.350	debug	sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                      fb-checkpresence.0	2019-11-02 01:11:40.334	debug	state fb-checkpresence.0.Lisi.absent.since changed: 0 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.332	debug	state fb-checkpresence.0.Lisi.present.since changed: 19 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.323	debug	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/\">\n<s:B
                                      fb-checkpresence.0	2019-11-02 01:11:40.144	debug	state fb-checkpresence.0.Nega.historyHtml changed: <table class="mdui-table"><thead><tr><th>Status</th><th>Date</th></tr></thead><tbody><tr><td><div class="mdui-red-bg mdui-state mdui-card">abwesend</
                                      fb-checkpresence.0	2019-11-02 01:11:40.144	debug	state fb-checkpresence.0.Nega.history changed: [{"Active":"false","Date":"01.11.YYYY 05:59:59"},{"Active":"true","Date":"02.11.YYYY 12:48:28"}] (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.142	debug	state fb-checkpresence.0.Nega.absent.sum_day changed: 48 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.138	debug	state fb-checkpresence.0.Nega.present.sum_day changed: 24 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.115	debug	sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                      fb-checkpresence.0	2019-11-02 01:11:40.098	debug	sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                      fb-checkpresence.0	2019-11-02 01:11:40.086	error	error: Invalid date
                                      fb-checkpresence.0	2019-11-02 01:11:40.079	debug	state fb-checkpresence.0.Nega.absent.since changed: 0 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.075	debug	state fb-checkpresence.0.Nega.present.since changed: 23 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.066	debug	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/\">\n<s:H
                                      fb-checkpresence.0	2019-11-02 01:11:40.051	debug	state fb-checkpresence.0.guest changed: false (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.049	debug	state fb-checkpresence.0.activeDevices changed: 44 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.049	debug	state fb-checkpresence.0.guest.count changed: 0 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.047	debug	state fb-checkpresence.0.guest.listJson changed: [] (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:40.043	debug	state fb-checkpresence.0.guest.listHtml changed: <table class="mdui-table"><thead><tr><th>Hostname</th><th>IPAddress</th><th>MACAddress</th></tr></thead><tbody></body></table> (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:39.603	debug	url: http://10.0.1.1:49000/devicehostlist.lua?sid=6274da6e70531621
                                      fb-checkpresence.0	2019-11-02 01:11:39.602	debug	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/\">\n<s:H
                                      fb-checkpresence.0	2019-11-02 01:11:39.570	debug	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/\">\n<s:H
                                      fb-checkpresence.0	2019-11-02 01:11:39.570	debug	state fb-checkpresence.0.info.lastUpdate changed: 2019-11-02T00:11:39.464Z (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:39.570	debug	state fb-checkpresence.0.info.connection changed: true (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:39.569	debug	state fb-checkpresence.0.devices changed: 77 (ack = true)
                                      fb-checkpresence.0	2019-11-02 01:11:39.549	debug	hostNo: 77
                                      fb-checkpresence.0	2019-11-02 01:11:39.547	debug	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/\">\n<s:B
                                      fb-checkpresence.0	2019-11-02 01:11:39.498	debug	sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                      fb-checkpresence.0	2019-11-02 01:11:39.498	debug	createMemberObjects Laura
                                      fb-checkpresence.0	2019-11-02 01:11:39.498	debug	sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                      fb-checkpresence.0	2019-11-02 01:11:39.498	debug	createMemberObjects Lisi
                                      fb-checkpresence.0	2019-11-02 01:11:39.498	debug	sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0
                                      fb-checkpresence.0	2019-11-02 01:11:39.498	debug	createMemberObjects Nega
                                      fb-checkpresence.0	2019-11-02 01:11:39.498	debug	createGlobalObjects
                                      fb-checkpresence.0	2019-11-02 01:11:39.497	info	start fb-checkpresence: ip-address: 10.0.1.1 polling interval: 1 (*/1 * * * *)
                                      fb-checkpresence.0	2019-11-02 01:11:39.352	info	starting. Version 0.0.6 in /opt/iobroker/node_modules/iobroker.fb-checkpresence, node: v10.17.0
                                      fb-checkpresence.0	2019-11-02 01:11:35.765	info	cleaned everything up...
                                      fb-checkpresence.0	2019-11-02 01:11:35.755	info	cleaned everything up...
                                      

                                      Laut Log werden Daten übertragen. Das Log passt aber nicht zum vorher geposteten Bild. Was ich schon mal hatte war, dass die Daten in ioBroker nicht aktualisiert angezeigt wurden. Hab die Url dann neu geladen.
                                      Mit dem Invalid Date kann ich im Moment noch nicht zuordnen.

                                      1 Reply Last reply Reply Quote 0
                                      • Negalein
                                        Negalein Global Moderator @afuerhoff last edited by

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

                                        Was für ein Datumsformat hast du eingestellt. Da scheint etwas nicht zu passen.

                                        dd.mm.YYYY hh:MM:ss

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

                                        Was ich schon mal hatte war, dass die Daten in ioBroker nicht aktualisiert angezeigt wurden. Hab die Url dann neu geladen.

                                        Welche URL meinst du?

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

                                          @Negalein
                                          im Date Format müssen die YYYY durch yyyy ersetzt werden.
                                          siehe auch hier https://www.npmjs.com/package/dateformat.
                                          Mit Url meinte ich die ioBroker Objekte Seite. Einfach mal neu laden.

                                          Negalein 1 Reply Last reply Reply Quote 0
                                          • Negalein
                                            Negalein Global Moderator @afuerhoff last edited by

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

                                            @Negalein
                                            im Date Format müssen die YYYY durch yyyy ersetzt werden.
                                            siehe auch hier https://www.npmjs.com/package/dateformat.

                                            Ah ok. Ich habe YYYY genommen, da dies im Adapter auch als YYYY geschrieben aufscheint.

                                            Mit Url meinte ich die ioBroker Objekte Seite. Einfach mal neu laden.

                                            Hab ich bestimmt schon 50x gemacht.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            656
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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