NEWS
Test Adapter fb-checkpresence v0.2.x
-
@JB_Sullivan
Das kommt nicht von mir. Ich nutze eine Library hierfür.
Da zeigt auch der Link hin. -
@afuerhoff ok, mache ich heute Abend mal!
-
Adapter ab und zu Gelb:
2020-02-18 10:35:46.011 - error: fb-checkpresence.0 (6740) getActive: soapAction GetSpecificHostEntry -> {"statusCode":500,"body":"\n\n\n\ns:Client\nUPnPError\n\n\n401\nInvalid Action\n\n\n\n\n","headers":{"date":"Tue, 18 Feb 2020 09:35:44 GMT","server":"FRITZ!Box 6590 Cable UPnP/1.0 AVM FRITZ!Box 6590 Cable 148.07.12","connection":"close","content-length":"429","content-type":"text/xml; charset=\"utf-8\""},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"192.168.178.1:49443","port":"49443","hostname":"192.168.178.1","hash":null,"search":null,"query":null,"pathname":"/upnp/control/hosts","path":"/upnp/control/hosts","href":"https://192.168.178.1:49443/upnp/control/hosts"},"method":"POST","headers":{"SoapAction":"urn:dslforum-org:service:Hosts:1#GetSpecificHostEntry","Content-Type":"text/xml","charset":"utf-8","content-length":588}}}
-
Also bei mir funktioniert der Adapter nicht
Status gelb
Verbunden mit Host:wahr
Lebenszeichen:wahr
Verbunden mit fb-checkpresence:falseHier das Log dazu
fb-checkpresence.0 2020-02-18 14:13:29.930 info (8952) start fb-checkpresence: ip-address: 192.168.1.1 polling interval: 1 Min. fb-checkpresence.0 2020-02-18 14:13:29.885 info (8952) starting. Version 0.2.2 in /opt/iobroker/node_modules/iobroker.fb-checkpresence, node: v10.19.0 host.raspberrypi 2020-02-18 14:13:27.800 info instance system.adapter.fb-checkpresence.0 started with pid 8952 host.raspberrypi 2020-02-18 14:12:57.778 info Restart adapter system.adapter.fb-checkpresence.0 because enabled host.raspberrypi 2020-02-18 14:12:57.778 info instance system.adapter.fb-checkpresence.0 terminated with code 0 (NO_ERROR) host.raspberrypi 2020-02-18 14:12:57.778 error Caught by controller[0]: at Request.onRequestError (/opt/iobroker/node_modules/request/request.js:881:8) host.raspberrypi 2020-02-18 14:12:57.778 error Caught by controller[0]: at Request.emit (events.js:198:13) host.raspberrypi 2020-02-18 14:12:57.777 error Caught by controller[0]: at self.callback (/opt/iobroker/node_modules/request/request.js:185:22) host.raspberrypi 2020-02-18 14:12:57.777 error Caught by controller[0]: at Request.request [as _callback] (/opt/iobroker/node_modules/iobroker.fb-checkpresence/lib/fb.js:36:17) host.raspberrypi 2020-02-18 14:12:57.777 error Caught by controller[0]: at exports.parseString (/opt/iobroker/node_modules/iobroker.fb-checkpresence/node_modules/xml2js/lib/parser.js:369:19) host.raspberrypi 2020-02-18 14:12:57.777 error Caught by controller[0]: at Parser.parseString (/opt/iobroker/node_modules/iobroker.fb-checkpresence/node_modules/xml2js/lib/parser.js:5:59) host.raspberrypi 2020-02-18 14:12:57.777 error Caught by controller[0]: at Parser.exports.Parser.Parser.parseString (/opt/iobroker/node_modules/iobroker.fb-checkpresence/node_modules/xml2js/lib/parser.js:327:16) host.raspberrypi 2020-02-18 14:12:57.777 error Caught by controller[0]: at Parser.emit (events.js:198:13) host.raspberrypi 2020-02-18 14:12:57.776 error Caught by controller[0]: at Parser.<anonymous> (/opt/iobroker/node_modules/iobroker.fb-checkpresence/node_modules/xml2js/lib/parser.js:308:18) host.raspberrypi 2020-02-18 14:12:57.776 error Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.fb-checkpresence/lib/fb.js:37:57 host.raspberrypi 2020-02-18 14:12:57.775 error Caught by controller[0]: TypeError: Cannot read property 'search' of undefined fb-checkpresence.0 2020-02-18 14:12:57.254 info (1158) Terminated (NO_ERROR): Without reason fb-checkpresence.0 2020-02-18 14:12:57.253 info (1158) terminating fb-checkpresence.0 2020-02-18 14:12:57.248 error (1158) onReady: read ECONNRESET fb-checkpresence.0 2020-02-18 14:12:57.243 info (1158) cleaned everything up... fb-checkpresence.0 2020-02-18 14:12:57.242 error (1158) TypeError: Cannot read property 'search' of undefined at /opt/iobroker/node_modules/iobroker.fb-checkpresence/lib/fb.js:37:57 at Parser.<anonymous> (/opt/iobroker/node_modules/iobroker. fb-checkpresence.0 2020-02-18 14:12:57.241 error (1158) uncaught exception: Cannot read property 'search' of undefined fb-checkpresence.0 2020-02-18 14:11:11.461 info (1158) start fb-checkpresence: ip-address: 192.168.1.1 polling interval: 1 Min. fb-checkpresence.0 2020-02-18 14:11:11.421 info (1158) starting. Version 0.2.2 in /opt/iobroker/node_modules/iobroker.fb-checkpresence, node: v10.19.0 host.raspberrypi 2020-02-18 14:11:09.559 info instance system.adapter.fb-checkpresence.0 started with pid 1158 host.raspberrypi 2020-02-18 14:10:39.544 info Restart adapter system.adapter.fb-checkpresence.0 because enabled host.raspberrypi 2020-02-18 14:10:39.544 info instance system.adapter.fb-checkpresence.0 terminated with code 0 (NO_ERROR)
Was könnte hier sein? Alle Adapter sind auf dem neuesten Stand.
Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
Hier gehts zur Hilfe. -
@afuerhoff Der Fehler:
fb-checkpresence.0 2020-02-18 17:19:21.169 info (5074) Ralf: No history before this day is available (lastVal = null)
ist noch immer da...
Neuste Version grade von Github installiert!
Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
Hier gehts zur Hilfe. -
@sigi234 sagte in Test Adapter fb-checkpresence v0.2.x:
statusCode":500
Hallo, das ist ein Serverseitiger Fehler, der von der Fritzbox zurückgemeldet wird. Evtl. lag es an der Netzwerkverbindung. Wie oft kommt der Fehler denn?
-
@naesle sagte in Test Adapter fb-checkpresence v0.2.x:
Also bei mir funktioniert der Adapter nicht
Status gelbHallo, bitte einmal die Instanz auf Loglevel debug stellen und dann hier posten.
-
Hier mal mein Log vom Start bis zur Fehlermeldung... Die Instanz ist zwar Gelb aber funktioniert trotzdem ohne Probleme.
Vorher habe ich natürlich von Git die neuste Version installiert.
Mich nervt der Error im log bei jeder Abfrage...fb-checkpresence.0 2020-02-18 22:27:45.739 debug (5747) history Sven false time: Tue Feb 18 2020 22:27:45 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.739 debug (5747) history Sven false time: Tue Feb 18 2020 16:35:36 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.739 debug (5747) history Sven false time: Tue Feb 18 2020 16:32:12 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.738 debug (5747) history Sven false time: Mon Feb 17 2020 10:17:39 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.738 debug (5747) history Sven cntActualDay: 4 cntHistory: 4 fb-checkpresence.0 2020-02-18 22:27:45.735 debug (5747) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0 fb-checkpresence.0 2020-02-18 22:27:45.735 debug (5747) history cntActualDay: 4 fb-checkpresence.0 2020-02-18 22:27:45.733 debug (5747) checkPresence first run fb-checkpresence.0 2020-02-18 22:27:45.732 debug (5747) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0 fb-checkpresence.0 2020-02-18 22:27:45.731 error (5747) getActive: soapAction GetSpecificHostEntry -> {"statusCode":500,"body":"<?xml version=\"1.0\"?>\n<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schem fb-checkpresence.0 2020-02-18 22:27:45.673 debug (5747) history Thomas true time: Tue Feb 18 2020 22:27:45 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.673 debug (5747) history Thomas true time: Tue Feb 18 2020 21:08:35 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.673 debug (5747) history Thomas false time: Tue Feb 18 2020 16:35:36 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.673 debug (5747) history Thomas false time: Tue Feb 18 2020 16:32:12 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.672 debug (5747) history Thomas false time: Tue Feb 18 2020 07:53:39 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.672 debug (5747) history Thomas true time: Mon Feb 17 2020 22:02:39 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.672 debug (5747) history Thomas cntActualDay: 6 cntHistory: 6 fb-checkpresence.0 2020-02-18 22:27:45.670 debug (5747) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0 fb-checkpresence.0 2020-02-18 22:27:45.670 debug (5747) history cntActualDay: 6 fb-checkpresence.0 2020-02-18 22:27:45.667 debug (5747) request url https://192.168.178.1: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://sc fb-checkpresence.0 2020-02-18 22:27:45.667 debug (5747) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0 fb-checkpresence.0 2020-02-18 22:27:45.666 debug (5747) getActive [{"Name":"Vinze","Active":"true","Kommt":"2020.02.17 09:59","Geht":"2020.02.17 06:56"},{"Name":"Thomas","Active":"true","Kommt":"2020.02.18 09:08","Geht":"2020.02.18 07:53"}, fb-checkpresence.0 2020-02-18 22:27:45.663 debug (5747) getActive Thomas 1 fb-checkpresence.0 2020-02-18 22:27:45.662 debug (5747) 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-18 22:27:45.608 debug (5747) history Vinze true time: Tue Feb 18 2020 22:27:45 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.608 debug (5747) history Vinze true time: Tue Feb 18 2020 16:35:36 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.608 debug (5747) history Vinze true time: Tue Feb 18 2020 16:32:12 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.607 debug (5747) history Vinze true time: Mon Feb 17 2020 21:59:39 GMT+0100 (GMT+01:00) fb-checkpresence.0 2020-02-18 22:27:45.607 debug (5747) history Vinze cntActualDay: 4 cntHistory: 4 fb-checkpresence.0 2020-02-18 22:27:45.601 debug (5747) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0 fb-checkpresence.0 2020-02-18 22:27:45.600 debug (5747) history cntActualDay: 4 fb-checkpresence.0 2020-02-18 22:27:45.577 debug (5747) request url https://192.168.178.1: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://sc fb-checkpresence.0 2020-02-18 22:27:45.576 debug (5747) sendTo "getHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0 fb-checkpresence.0 2020-02-18 22:27:45.547 debug (5747) getActive [{"Name":"Vinze","Active":"true","Kommt":"2020.02.17 09:59","Geht":"2020.02.17 06:56"}, fb-checkpresence.0 2020-02-18 22:27:44.994 debug (5747) getActive Vinze 1 fb-checkpresence.0 2020-02-18 22:27:44.993 debug (5747) 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-18 22:27:44.910 debug (5747) request url https://192.168.178.1: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://sc fb-checkpresence.0 2020-02-18 22:27:44.907 debug (5747) getDeviceInfo blCnt: 12 fb-checkpresence.0 2020-02-18 22:27:44.907 debug (5747) getDeviceInfo activeCnt: 53 fb-checkpresence.0 2020-02-18 22:27:44.871 debug (5747) getDeviceList: [{"Index":"1","IPAddress":"192.168.178.55","MACAddress":"F8:62:14:76:F6:4E","Active":"1","HostName":"AppleWaonThomas","InterfaceType":"802.11","X_AVM-DE_Port":"0","X_AVM-DE_Speed fb-checkpresence.0 2020-02-18 22:27:44.854 debug (5747) body <?xml version="1.0" encoding="UTF-8"?> <List> <!-- devicehosts :70 --> <Item> <Index>1</Index> <IPAddress>192.168.178.55</IPAddress> <MACAddress>F8:62:14:76:F6:4E</MACAddress> <Active>1</ fb-checkpresence.0 2020-02-18 22:27:44.699 debug (5747) enableHistory.2 Sven true fb-checkpresence.0 2020-02-18 22:27:44.699 debug (5747) enableHistory.2 Thomas true fb-checkpresence.0 2020-02-18 22:27:44.698 debug (5747) enableHistory.2 Vinze true fb-checkpresence.0 2020-02-18 22:27:44.338 debug (5747) 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-18 22:27:44.329 debug (5747) sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0 fb-checkpresence.0 2020-02-18 22:27:44.328 debug (5747) sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0 fb-checkpresence.0 2020-02-18 22:27:44.328 debug (5747) sendTo "enableHistory" to system.adapter.history.0 from system.adapter.fb-checkpresence.0 fb-checkpresence.0 2020-02-18 22:27:44.294 debug (5747) request url https://192.168.178.1: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://sc fb-checkpresence.0 2020-02-18 22:27:44.293 debug (5747) sendTo "getEnabledDPs" to system.adapter.history.0 from system.adapter.fb-checkpresence.0 fb-checkpresence.0 2020-02-18 22:27:44.293 debug (5747) createMemberObjects Sven fb-checkpresence.0 2020-02-18 22:27:44.292 debug (5747) sendTo "getEnabledDPs" to system.adapter.history.0 from system.adapter.fb-checkpresence.0 fb-checkpresence.0 2020-02-18 22:27:44.292 debug (5747) createMemberObjects Thomas fb-checkpresence.0 2020-02-18 22:27:44.291 debug (5747) sendTo "getEnabledDPs" to system.adapter.history.0 from system.adapter.fb-checkpresence.0 fb-checkpresence.0 2020-02-18 22:27:44.291 debug (5747) createMemberObjects Vinze fb-checkpresence.0 2020-02-18 22:27:44.290 debug (5747) createFbDeviceObjects fb-checkpresence.0 2020-02-18 22:27:44.273 debug (5747) getDeviceList: [{"Index":"1","IPAddress":"192.168.178.55","MACAddress":"F8:62:14:76:F6:4E","Active":"1","HostName":"AppleWaonThomas","InterfaceType":"802.11","X_AVM-DE_Port":"0","X_AVM-DE_Speed fb-checkpresence.0 2020-02-18 22:27:44.217 debug (5747) body <?xml version="1.0" encoding="UTF-8"?> <List> <!-- devicehosts :70 --> <Item> <Index>1</Index> <IPAddress>192.168.178.55</IPAddress> <MACAddress>F8:62:14:76:F6:4E</MACAddress> <Active>1</ fb-checkpresence.0 2020-02-18 22:27:43.693 debug (5747) 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-18 22:27:43.541 debug (5747) request url https://192.168.178.1: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://sc fb-checkpresence.0 2020-02-18 22:27:43.540 debug (5747) 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-18 22:27:43.534 debug (5747) request url http://192.168.178.1: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://sch fb-checkpresence.0 2020-02-18 22:27:43.534 debug (5747) createGlobalObjects fb-checkpresence.0 2020-02-18 22:27:43.533 debug (5747) sslPort 49443 fb-checkpresence.0 2020-02-18 22:27:43.526 debug (5747) 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-18 22:27:43.517 debug (5747) request url http://192.168.178.1:49000/upnp/control/deviceinfo 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-18 22:27:43.516 info (5747) service GetSecurityPort is supported fb-checkpresence.0 2020-02-18 22:27:43.500 info (5747) service X_AVM-DE_GetSpecificHostEntryByIP is supported fb-checkpresence.0 2020-02-18 22:27:43.487 info (5747) service GetSpecificHostEntry is supported fb-checkpresence.0 2020-02-18 22:27:43.456 info (5747) service X_AVM-DE_GetHostListPath is supported fb-checkpresence.0 2020-02-18 22:27:43.421 debug (5747) configuration familymembers: [{"familymember":"Vinze","macaddress":"74:42:8B:3D:3F:14","comment":"","enabled":true},{"familymember":"Thomas","macaddress":"00:5B:94:83:59:FF","comment":"","enabl fb-checkpresence.0 2020-02-18 22:27:43.421 debug (5747) configuration dateformat: yyyy.mm.dd hh:MM fb-checkpresence.0 2020-02-18 22:27:43.421 debug (5747) configuration history: history.0 fb-checkpresence.0 2020-02-18 22:27:43.421 debug (5747) configuration user: Anwesend fb-checkpresence.0 2020-02-18 22:27:43.421 info (5747) start fb-checkpresence: ip-address: 192.168.178.1 polling interval: 3 Min. fb-checkpresence.0 2020-02-18 22:27:43.406 info (5747) starting. Version 0.2.2 in /opt/iobroker/node_modules/iobroker.fb-checkpresence, node: v10.19.0 fb-checkpresence.0 2020-02-18 22:27:39.689 info (5722) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason fb-checkpresence.0 2020-02-18 22:27:39.689 info (5722) terminating fb-checkpresence.0 2020-02-18 22:27:39.689 info (5722) cleaned everything up... fb-checkpresence.0 2020-02-18 22:27:39.688 info (5722) Got terminate signal TERMINATE_YOURSELF fb-checkpresence.0 2020-02-18 22:26:38.734 error (5722) 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-18 22:26:34.824 info (5722) service GetSecurityPort is supported fb-checkpresence.0 2020-02-18 22:26:34.808 info (5722) service X_AVM-DE_GetSpecificHostEntryByIP is supported fb-checkpresence.0 2020-02-18 22:26:34.793 info (5722) service GetSpecificHostEntry is supported fb-checkpresence.0 2020-02-18 22:26:34.771 info (5722) service X_AVM-DE_GetHostListPath is supported fb-checkpresence.0 2020-02-18 22:26:34.736 info (5722) start fb-checkpresence: ip-address: 192.168.178.1 polling interval: 3 Min. fb-checkpresence.0 2020-02-18 22:26:34.720 info (5722) starting. Version 0.2.2 in /opt/iobroker/node_modules/iobroker.fb-checkpresence, node: v10.19.0 fb-checkpresence.0 2020-02-18 22:26:30.987 info (5652) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason fb-checkpresence.0 2020-02-18 22:26:30.986 info (5652) terminating fb-checkpresence.0 2020-02-18 22:26:30.986 info (5652) cleaned everything up... fb-checkpresence.0 2020-02-18 22:26:30.984 info (5652) Got terminate signal TERMINATE_YOURSELF fb-checkpresence.0 2020-02-18 22:23:40.963 error (5652) 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-18 22:23:37.099 info (5652) service GetSecurityPort is supported fb-checkpresence.0 2020-02-18 22:23:37.083 info (5652) service X_AVM-DE_GetSpecificHostEntryByIP is supported fb-checkpresence.0 2020-02-18 22:23:37.069 info (5652) service GetSpecificHostEntry is supported fb-checkpresence.0 2020-02-18 22:23:37.047 info (5652) service X_AVM-DE_GetHostListPath is supported fb-checkpresence.0 2020-02-18 22:23:37.012 info (5652) start fb-checkpresence: ip-address: 192.168.178.1 polling interval: 3 Min. fb-checkpresence.0 2020-02-18 22:23:36.996 info (5652) starting. Version 0.2.2 in /opt/iobroker/node_modules/iobroker.fb-checkpresence, node: v10.19.0 fb-checkpresence.0 2020-02-18 22:23:33.441 info (2325) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason fb-checkpresence.0 2020-02-18 22:23:33.440 info (2325) terminating fb-checkpresence.0 2020-02-18 22:23:33.439 info (2325) cleaned everything up... fb-checkpresence.0 2020-02-18 22:23:33.438 info (2325) Got terminate signal TERMINATE_YOURSELF fb-checkpresence.0 2020-02-18 22:20:35.671 error (2325) 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
-
@Vinze-nt sagte in Test Adapter fb-checkpresence v0.2.x:
erObjects Sven
Kann es sein, das eine Mac-Adresse falsch angegeben ist? Bei zwei Family Membern funktioniert es nur bei einem kommt ein Server Error.
-
@afuerhoff ich kack ab das war es! Danke! Ist wieder auf Grün und läuft!
-
@guergen sagte in Test Adapter fb-checkpresence v0.2.x:
Der Fehler:
fb-checkpresence.0 2020-02-18 17:19:21.169 info (5074) Ralf: No history before this day is available (lastVal = null)ist noch immer da...
Hallo, gibt es denn schon einen Historien Eintrag vor dem heutigen Tag?
Bitte auf debug stellen und dann vom Start des Adapters bis zum Fehler posten. -
@afuerhoff Ja, im Moment sieht es so aus:
2020-02-19 13:53:21.718 - [34mdebug[39m: fb-checkpresence.0 (5074) request url https://192.168.1.99: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://schemas.xmlsoap.org/soap/envelope/" ><s:Header><h:ClientAuth xmlns:h="http://soap-authentication.org/digest/2001/10/"s:mustUnderstand="1"><Nonce>BCFD6C6DDFB2A0A8</Nonce><Auth>a78317a4d8625a4daafc0cb4ce2feb57</Auth><UserID>iobroker</UserID><Realm>F!Box SOAP-Auth</Realm></h:ClientAuth></s:Header><s:Body><u:GetSpecificHostEntry xmlns:u="urn:dslforum-org:service:Hosts:1"><NewMACAddress>CC:66:0A:3A:A0:EE</NewMACAddress></u:GetSpecificHostEntry></s:Body></s:Envelope> 2020-02-19 13:53:22.268 - [34mdebug[39m: fb-checkpresence.0 (5074) 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<s:Body>\n<u:GetSpecificHostEntryResponse xmlns:u=\"urn:dslforum-org:service:Hosts:1\">\n<NewIPAddress>192.168.1.71</NewIPAddress>\n<NewAddressSource>DHCP</NewAddressSource>\n<NewLeaseTimeRemaining>432000</NewLeaseTimeRemaining>\n<NewInterfaceType>802.11</NewInterfaceType>\n<NewActive>1</NewActive>\n<NewHostName>guergensiPhone11</NewHostName>\n</u:GetSpecificHostEntryResponse>\n</s:Body>\n</s:Envelope>","headers":{"date":"Wed, 19 Feb 2020 12:53:22 GMT","server":"FRITZ!Box 7590 (UI) UPnP/1.0 AVM FRITZ!Box 7590 (UI) 154.07.19","connection":"close","content-length":"541","content-type":"text/xml; charset=\"utf-8\"","ext":""},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"192.168.1.99:49443","port":"49443","hostname":"192.168.1.99","hash":null,"search":null,"query":null,"pathname":"/upnp/control/hosts","path":"/upnp/control/hosts","href":"https://192.168.1.99:49443/upnp/control/hosts"},"method":"POST","headers":{"SoapAction":"urn:dslforum-org:service:Hosts:1#GetSpecificHostEntry","Content-Type":"text/xml","charset":"utf-8","content-length":591}}} 2020-02-19 13:53:22.269 - [34mdebug[39m: fb-checkpresence.0 (5074) getActive Ralf 1 2020-02-19 13:53:22.273 - [34mdebug[39m: fb-checkpresence.0 (5074) getActive [{"Name":"Ralf","Active":"true","Kommt":"YYYY-53-DDP12:53:thth.nnnnnnnnnGMT","Geht":"YYYY-16-DDA08:16:thth.nnnnnnnnnGMT"} 2020-02-19 13:53:22.274 - [34mdebug[39m: fb-checkpresence.0 (5074) sendTo "getHistory" to system.adapter.influxdb.0 from system.adapter.fb-checkpresence.0 2020-02-19 13:53:22.274 - [34mdebug[39m: fb-checkpresence.0 (5074) checkPresence scheduled 2020-02-19 13:53:22.280 - [34mdebug[39m: fb-checkpresence.0 (5074) history cntActualDay: 31 2020-02-19 13:53:22.281 - [34mdebug[39m: fb-checkpresence.0 (5074) sendTo "getHistory" to system.adapter.influxdb.0 from system.adapter.fb-checkpresence.0 2020-02-19 13:53:22.289 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf cntActualDay: 31 cntHistory: 32 2020-02-19 13:53:22.289 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 13:53:22 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.289 - [32minfo[39m: fb-checkpresence.0 (5074) Ralf: No history before this day is available (lastVal = null) 2020-02-19 13:53:22.289 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 13:23:22 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.289 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 12:53:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.290 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 12:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.290 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 12:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.290 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 11:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.290 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 11:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.290 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 10:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.290 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 10:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.290 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 09:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.290 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 09:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.290 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 08:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.291 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 08:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.291 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 08:13:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.291 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 07:44:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.291 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 07:14:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.291 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 06:44:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.291 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 06:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.291 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 05:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.291 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 05:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.292 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 04:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.292 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 04:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.292 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 03:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.292 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 03:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.292 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 02:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.292 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 02:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.292 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 01:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.292 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 01:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.293 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 00:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.293 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 00:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.293 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Tue Feb 18 2020 23:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:53:22.293 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Tue Feb 18 2020 23:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.718 - [34mdebug[39m: fb-checkpresence.0 (5074) request url https://192.168.1.99: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://schemas.xmlsoap.org/soap/envelope/" ><s:Header><h:ClientAuth xmlns:h="http://soap-authentication.org/digest/2001/10/"s:mustUnderstand="1"><Nonce>BCFD6C6DDFB2A0A8</Nonce><Auth>a78317a4d8625a4daafc0cb4ce2feb57</Auth><UserID>iobroker</UserID><Realm>F!Box SOAP-Auth</Realm></h:ClientAuth></s:Header><s:Body><u:GetSpecificHostEntry xmlns:u="urn:dslforum-org:service:Hosts:1"><NewMACAddress>CC:66:0A:3A:A0:EE</NewMACAddress></u:GetSpecificHostEntry></s:Body></s:Envelope> 2020-02-19 13:54:21.802 - [34mdebug[39m: fb-checkpresence.0 (5074) 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<s:Body>\n<u:GetSpecificHostEntryResponse xmlns:u=\"urn:dslforum-org:service:Hosts:1\">\n<NewIPAddress>192.168.1.71</NewIPAddress>\n<NewAddressSource>DHCP</NewAddressSource>\n<NewLeaseTimeRemaining>432000</NewLeaseTimeRemaining>\n<NewInterfaceType>802.11</NewInterfaceType>\n<NewActive>1</NewActive>\n<NewHostName>guergensiPhone11</NewHostName>\n</u:GetSpecificHostEntryResponse>\n</s:Body>\n</s:Envelope>","headers":{"date":"Wed, 19 Feb 2020 12:54:21 GMT","server":"FRITZ!Box 7590 (UI) UPnP/1.0 AVM FRITZ!Box 7590 (UI) 154.07.19","connection":"close","content-length":"541","content-type":"text/xml; charset=\"utf-8\"","ext":""},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"192.168.1.99:49443","port":"49443","hostname":"192.168.1.99","hash":null,"search":null,"query":null,"pathname":"/upnp/control/hosts","path":"/upnp/control/hosts","href":"https://192.168.1.99:49443/upnp/control/hosts"},"method":"POST","headers":{"SoapAction":"urn:dslforum-org:service:Hosts:1#GetSpecificHostEntry","Content-Type":"text/xml","charset":"utf-8","content-length":591}}} 2020-02-19 13:54:21.803 - [34mdebug[39m: fb-checkpresence.0 (5074) getActive Ralf 1 2020-02-19 13:54:21.808 - [34mdebug[39m: fb-checkpresence.0 (5074) getActive [{"Name":"Ralf","Active":"true","Kommt":"YYYY-53-DDP12:53:thth.nnnnnnnnnGMT","Geht":"YYYY-16-DDA08:16:thth.nnnnnnnnnGMT"} 2020-02-19 13:54:21.809 - [34mdebug[39m: fb-checkpresence.0 (5074) sendTo "getHistory" to system.adapter.influxdb.0 from system.adapter.fb-checkpresence.0 2020-02-19 13:54:21.809 - [34mdebug[39m: fb-checkpresence.0 (5074) checkPresence scheduled 2020-02-19 13:54:21.816 - [34mdebug[39m: fb-checkpresence.0 (5074) history cntActualDay: 31 2020-02-19 13:54:21.816 - [34mdebug[39m: fb-checkpresence.0 (5074) sendTo "getHistory" to system.adapter.influxdb.0 from system.adapter.fb-checkpresence.0 2020-02-19 13:54:21.825 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf cntActualDay: 31 cntHistory: 32 2020-02-19 13:54:21.825 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 13:53:22 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.825 - [32minfo[39m: fb-checkpresence.0 (5074) Ralf: No history before this day is available (lastVal = null) 2020-02-19 13:54:21.825 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 13:23:22 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.825 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 12:53:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.825 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 12:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.825 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 12:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.826 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 11:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.826 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 11:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.826 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 10:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.826 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 10:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.826 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 09:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.826 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 09:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.827 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 08:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.827 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 08:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.827 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 08:13:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.827 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 07:44:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.827 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 07:14:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.828 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 06:44:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.828 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 06:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.828 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 05:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.828 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 05:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.828 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 04:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.828 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 04:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.828 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 03:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.828 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 03:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.829 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 02:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.829 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 02:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.829 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 01:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.829 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 01:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.829 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 00:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.829 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 00:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.829 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Tue Feb 18 2020 23:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:54:21.829 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Tue Feb 18 2020 23:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.717 - [34mdebug[39m: fb-checkpresence.0 (5074) request url https://192.168.1.99: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://schemas.xmlsoap.org/soap/envelope/" ><s:Header><h:ClientAuth xmlns:h="http://soap-authentication.org/digest/2001/10/"s:mustUnderstand="1"><Nonce>BCFD6C6DDFB2A0A8</Nonce><Auth>a78317a4d8625a4daafc0cb4ce2feb57</Auth><UserID>iobroker</UserID><Realm>F!Box SOAP-Auth</Realm></h:ClientAuth></s:Header><s:Body><u:GetSpecificHostEntry xmlns:u="urn:dslforum-org:service:Hosts:1"><NewMACAddress>CC:66:0A:3A:A0:EE</NewMACAddress></u:GetSpecificHostEntry></s:Body></s:Envelope> 2020-02-19 13:55:21.948 - [34mdebug[39m: fb-checkpresence.0 (5074) 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<s:Body>\n<u:GetSpecificHostEntryResponse xmlns:u=\"urn:dslforum-org:service:Hosts:1\">\n<NewIPAddress>192.168.1.71</NewIPAddress>\n<NewAddressSource>DHCP</NewAddressSource>\n<NewLeaseTimeRemaining>432000</NewLeaseTimeRemaining>\n<NewInterfaceType>802.11</NewInterfaceType>\n<NewActive>1</NewActive>\n<NewHostName>guergensiPhone11</NewHostName>\n</u:GetSpecificHostEntryResponse>\n</s:Body>\n</s:Envelope>","headers":{"date":"Wed, 19 Feb 2020 12:55:21 GMT","server":"FRITZ!Box 7590 (UI) UPnP/1.0 AVM FRITZ!Box 7590 (UI) 154.07.19","connection":"close","content-length":"541","content-type":"text/xml; charset=\"utf-8\"","ext":""},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"192.168.1.99:49443","port":"49443","hostname":"192.168.1.99","hash":null,"search":null,"query":null,"pathname":"/upnp/control/hosts","path":"/upnp/control/hosts","href":"https://192.168.1.99:49443/upnp/control/hosts"},"method":"POST","headers":{"SoapAction":"urn:dslforum-org:service:Hosts:1#GetSpecificHostEntry","Content-Type":"text/xml","charset":"utf-8","content-length":591}}} 2020-02-19 13:55:21.949 - [34mdebug[39m: fb-checkpresence.0 (5074) getActive Ralf 1 2020-02-19 13:55:21.954 - [34mdebug[39m: fb-checkpresence.0 (5074) getActive [{"Name":"Ralf","Active":"true","Kommt":"YYYY-53-DDP12:53:thth.nnnnnnnnnGMT","Geht":"YYYY-16-DDA08:16:thth.nnnnnnnnnGMT"} 2020-02-19 13:55:21.955 - [34mdebug[39m: fb-checkpresence.0 (5074) sendTo "getHistory" to system.adapter.influxdb.0 from system.adapter.fb-checkpresence.0 2020-02-19 13:55:21.955 - [34mdebug[39m: fb-checkpresence.0 (5074) checkPresence scheduled 2020-02-19 13:55:21.960 - [34mdebug[39m: fb-checkpresence.0 (5074) history cntActualDay: 31 2020-02-19 13:55:21.960 - [34mdebug[39m: fb-checkpresence.0 (5074) sendTo "getHistory" to system.adapter.influxdb.0 from system.adapter.fb-checkpresence.0 2020-02-19 13:55:21.968 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf cntActualDay: 31 cntHistory: 32 2020-02-19 13:55:21.968 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 13:53:22 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.968 - [32minfo[39m: fb-checkpresence.0 (5074) Ralf: No history before this day is available (lastVal = null) 2020-02-19 13:55:21.968 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 13:23:22 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.968 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 12:53:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.969 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 12:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.969 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 12:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.969 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 11:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.969 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 11:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.969 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 10:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.969 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 10:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.969 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 09:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.969 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 09:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.969 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 08:46:22 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.970 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 08:16:22 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.970 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 08:13:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.970 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 07:44:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.970 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 07:14:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.970 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf false time: Wed Feb 19 2020 06:44:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.970 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 06:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.970 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 05:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.970 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 05:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.971 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 04:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.971 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 04:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.971 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 03:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.971 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 03:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.971 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 02:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.971 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 02:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.971 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 01:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.971 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 01:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.971 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 00:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.972 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Wed Feb 19 2020 00:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.972 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Tue Feb 18 2020 23:50:21 GMT+0100 (GMT+01:00) 2020-02-19 13:55:21.972 - [34mdebug[39m: fb-checkpresence.0 (5074) history Ralf true time: Tue Feb 18 2020 23:20:21 GMT+0100 (GMT+01:00) 2020-02-19 13:56:13.736 - [34mdebug[39m: fb-checkpresence.0 (5074) system.adapter.admin.0: logging true
-
@guergen
Den Fehler habe ich gefunden. Die Sortierung der Werte ist im influxdb Adapter anders herum als im History Adapter. Daher funktioniert meine Auswertung nicht. Das werde ich anpassen. -
@afuerhoff ok.
Was mich aber noch wundert ist, dass wenn ich keinen Alias eingebe, die Daten gar nicht von Grafsna gefunden werden, der „Guergen1“-Eintrag hingegen ist in Grafana sichtbar, die Daten von fb-checkpresence.0.Ralf Nicht -
@guergen
Grafana kenne ich nicht. Dazu kann ich nichts sagen.
Hast du das mit dem Alias nochmal probiert. Das sollte jetzt ja auch gehen. -
@afuerhoff Ja, der Alias bleibt drin! Kann jetzt mit Grafana aten loggen und grafisch aufbereiten!
-
@afuerhoff Vielen Dank für deine Mühen - sehr guter Adapter, der genau die Funktion bringt, die ich gesucht habe! Lediglich dem Punkt von @ilovegym schließe ich mich an:
@ilovegym said in Test Adapter fb-checkpresence v0.2.x:
@afuerhoff fände es auch besser, wenn es einen zusätzlichen Datenpunkt für den member gäbe, ob true or false.
iogo kommt zur Zeit damit nicht zurecht..iogo nutze ich nicht, aber: Wenn ich den Status meines Handys über das "Status-Verzeichnis" abfrage und diesen Status in einem "Falls-Objekt" verarbeite, scheint die Logik nach einem Update dieses Falls-Objekt mehrfach zu durchlaufen. Da ich mit Telegram-Messages arbeite, erhalte ich in meinem Fall 8x dieselbe Nachricht. Mit den verschiedenen Statuus des Falls-Objekts habe ich es durchgetestet - egal, ob ich "wurde geändert" oder "wurde aktualisiert" verwende, das Ergebnis bleibt dasselbe.
Ich konnte es lösen, indem ich 2 Falls-Objekte verwende, aber das sollte (imho) nicht Sinn der Sache sein:
Ggf. habe ich den Parameter nicht korrekt verwendet, daher freue ich mich über konstruktive Kritik.
Viele Grüße und noch mal danke für deine Mühen!
wiesel -
@wiesel123
Hallo, hast du den letzten Teststand von Github geladen. Den Datenpunkt gibt es schon -》presence unter den Membern -
Hallo,
ich habe einen neuen Teststand auf Github hochgeladen. Ich hoffe, dass das leidige lastVal Verhalten der Vergangenheit angehört. Ich habe ansonsten noch ein paar Fehlerbehandlungen optimiert.
-
@afuerhoff Das lastVal verhalten ist weg!