NEWS
Test Adapter fb-checkpresence v0.2.x
-
@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!
-
@afuerhoff said in Test Adapter fb-checkpresence v0.2.x:
@wiesel123
Hallo, hast du den letzten Teststand von Github geladen. Den Datenpunkt gibt es schon -》presence unter den MembernNoch nicht @afuerhoff , danke für den Tipp - das werde ich austesten.
VG
wiesel123 -
Hallo,
irgendwie komme ich nicht weiter, bei mir Aktualisiert der Adapter nur die Anwesenheit der Familieneinstellung den Rest leider nicht. Und ich hab keine Ahnung wo ich den Fehler gemacht habe.Raspberry 4 - 4GB – Buster
Admin - 3.7.9
History - 1.8.6
Node.js - 10.19.0
NPM - 6.13.4
js-controller - 2.2.9
fb-checkpresence.0 - 0.2.2 gestern Abend von github
FritzBox - 7490
FW. - 07.12Devices habe ich alle in die Whitelist übernommen
fb-checkpresence.0.json wird Automatisch Aktualisiert
fb-checkpresence.0.fb-devices.jsonActive und fb-checkpresence.0.fb-devices.jsonInactive
ändert sich nur nach dem Neustart des Adapters sowie die anderen Datenpunkte auch.Vielleicht hat ja wer einen Tipp für mich woran es liegen könnte
Gruß MichaelEdit: Debug noch drangehangen
-
@Michi68
Hallo, anhand der Infos kann ich nichts erkennen.
Bitte einmal das Log vom Start des Adapters bis zum Ende hier posten. -
@afuerhoff
Ich hab dir einen Link geschickt zum Download da steht dann doch was mehr drin von dem ich keinen Plan habe, keine Ahnung ob ich das so posten sollte.
Hoffe das ist ok -
@Michi68
Hallo, war ein Fehler. Bitte nochmal von Github aktualisieren und Adapterinstanz neu starten. -
@afuerhoff
Top geht jetzt, vielen Dank noch mal an dieser stelle -
@afuerhoff ich möchte mich auch bedanken, Adapter läuft für mich sehr gut.
-
Hallo,
ich habe die letzte Version von Github jetzt als Version 0.3.0 auf npm hochgeladen.
Diese Version wird auch als Stable deklariert.Danke an Alle für die Tests.
-
Morgen zusammen,
ich versuche seit ca. zwei Tagen den Adapter fb-presence zum Laufen zu bringen. Leider springt er beim Starten auf "gelb" und so bleibt er.
Im Log kommt dieser Fehler aus, DPs stehen leer.fb-checkpresence.0 2020-03-08 06:57:16.209 error (28835) getDeviceList: soapAction X_AVM-DE_GetHostListPath -> {"statusCode":401,"body":"<HTML><HEAD><TITLE>401 Unauthorized (ERR_NONE)</TITLE></HEAD><BODY><H1>401 Unauthorized</H1><BR>ERR_NONE<HR><B> fb-checkpresence.0 2020-03-08 06:57:16.161 info (28835) service GetSecurityPort is supported fb-checkpresence.0 2020-03-08 06:57:16.131 info (28835) service X_AVM-DE_GetSpecificHostEntryByIP is supported fb-checkpresence.0 2020-03-08 06:57:16.007 info (28835) service GetSpecificHostEntry is supported fb-checkpresence.0 2020-03-08 06:57:15.891 info (28835) service X_AVM-DE_GetHostListPath is supported fb-checkpresence.0 2020-03-08 06:57:15.572 info (28835) start fb-checkpresence: ip-address: fritz.box polling interval: 1 Min. fb-checkpresence.0 2020-03-08 06:57:15.516 info (28835) starting. Version 0.3.0 in /opt/iobroker/node_modules/iobroker.fb-checkpresence, node: v12.16.1 fb-checkpresence.0 2020-03-08 06:57:09.376 info (10113) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason fb-checkpresence.0 2020-03-08 06:57:09.374 info (10113) terminating fb-checkpresence.0 2020-03-08 06:57:09.372 info (10113) cleaned everything up... fb-checkpresence.0 2020-03-08 06:57:09.369 info (10113) Got terminate signal TERMINATE_YOURSELF fb-checkpresence.0 2020-03-08 06:56:57.583 error (10113) getDeviceList: soapAction X_AVM-DE_GetHostListPath -> {"statusCode":401,"body":"<HTML><HEAD><TITLE>401 Unauthorized (ERR_NONE)</TITLE></HEAD><BODY><H1>401 Unauthorized</H1><BR>ERR_NONE<HR><B>