TR064 - maconline - presence switch go off randomly

Bad news… it´s Apple related - looks like the same problem like in the network binding with the arpping that you need maybe special refresh values?
I added 22 minutes before my Windows Laptop and 2 times both iPhones went OFF and Windows stays ON.

Tomorrow, with a fresh brain I will TRACE again and compare the logs.

Keep you posted.

1 Like

Hi @J-N-K

here the code / time when it happens - like I said the Laptop MAC is not affected:

2021-04-08 11:34:56.488 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'iPhone_Steffen_Online' changed from ON to OFF

2021-04-08 11:34:56.492 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'G_Presence' changed from ON to OFF through iPhone_Steffen_Online

2021-04-08 11:35:39.058 [INFO ] [hab.event.GroupItemStateChangedEvent] - Item 'G_Presence' changed from OFF to ON through iPhone_Steffen_Online

2021-04-08 11:35:39.062 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'iPhone_Steffen_Online' changed from OFF to ON

What happened during that time - you will see it is always NewActive 1:

11:34:38.321 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Request: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><u:GetSpecificHostEntry xmlns:u="urn:dslforum-org:service:Hosts:1"><NewMACAddress>Steffen_MAC</NewMACAddress></u:GetSpecificHostEntry></SOAP-ENV:Body></SOAP-ENV:Envelope>
11:34:38.462 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Received response: <?xml version="1.0"?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetSpecificHostEntryResponse xmlns:u="urn:dslforum-org:service:Hosts:1">
<NewIPAddress>X.X.X.100</NewIPAddress>
<NewAddressSource>DHCP</NewAddressSource>
<NewLeaseTimeRemaining>860566</NewLeaseTimeRemaining>
<NewInterfaceType>802.11</NewInterfaceType>
<NewActive>1</NewActive>
<NewHostName>Steffen_Online</NewHostName>
</u:GetSpecificHostEntryResponse>
</s:Body>
</s:Envelope>
11:34:38.498 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Request: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><u:GetSpecificHostEntry xmlns:u="urn:dslforum-org:service:Hosts:1"><NewMACAddress>Steffen_Laptop_MAC</NewMACAddress></u:GetSpecificHostEntry></SOAP-ENV:Body></SOAP-ENV:Envelope>
11:34:38.559 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Received response: <?xml version="1.0"?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetSpecificHostEntryResponse xmlns:u="urn:dslforum-org:service:Hosts:1">
<NewIPAddress>X.X.X.102</NewIPAddress>
<NewAddressSource>DHCP</NewAddressSource>
<NewLeaseTimeRemaining>862960</NewLeaseTimeRemaining>
<NewInterfaceType>802.11</NewInterfaceType>
<NewActive>1</NewActive>
<NewHostName>Steffen_Laptop_Online</NewHostName>
</u:GetSpecificHostEntryResponse>
</s:Body>
</s:Envelope>
11:34:38.579 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Request: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><u:GetInfo xmlns:u="urn:dslforum-org:service:WLANConfiguration:3"/></SOAP-ENV:Body></SOAP-ENV:Envelope>
11:34:38.657 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Re-Auth needed.
11:34:38.847 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Received response: <?xml version="1.0"?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetInfoResponse xmlns:u="urn:dslforum-org:service:WLANConfiguration:3">
<NewEnable>0</NewEnable>
<NewStatus>Disabled</NewStatus>
<NewMaxBitRate>Auto</NewMaxBitRate>
<NewChannel>11</NewChannel>
<NewSSID>Guest-WiFi</NewSSID>
<NewBeaconType>11iandWPA3</NewBeaconType>
<NewX_AVM-DE_PossibleBeaconTypes>None,11i,11iandWPA3,OWETrans</NewX_AVM-DE_PossibleBeaconTypes>
<NewMACAddressControlEnabled>0</NewMACAddressControlEnabled>
<NewStandard></NewStandard>
<NewBSSID>Guest-WiFi-MAC</NewBSSID>
<NewBasicEncryptionModes>None</NewBasicEncryptionModes>
<NewBasicAuthenticationMode>None</NewBasicAuthenticationMode>
<NewMaxCharsSSID>32</NewMaxCharsSSID>
<NewMinCharsSSID>1</NewMinCharsSSID>
<NewAllowedCharsSSID>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz !&quot;#$%&amp;&apos;()*+,-./:;&lt;=&gt;?@[\]^_`{|}~</NewAllowedCharsSSID>
<NewMinCharsPSK>64</NewMinCharsPSK>
<NewMaxCharsPSK>64</NewMaxCharsPSK>
<NewAllowedCharsPSK>0123456789ABCDEFabcdef</NewAllowedCharsPSK>
</u:GetInfoResponse>
</s:Body>
</s:Envelope>
11:35:38.870 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Request: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><u:GetSpecificHostEntry xmlns:u="urn:dslforum-org:service:Hosts:1"><NewMACAddress>Steffen_MAC</NewMACAddress></u:GetSpecificHostEntry></SOAP-ENV:Body></SOAP-ENV:Envelope>
11:35:39.008 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Received response: <?xml version="1.0"?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetSpecificHostEntryResponse xmlns:u="urn:dslforum-org:service:Hosts:1">
<NewIPAddress>X.X.X.100</NewIPAddress>
<NewAddressSource>DHCP</NewAddressSource>
<NewLeaseTimeRemaining>860566</NewLeaseTimeRemaining>
<NewInterfaceType>802.11</NewInterfaceType>
<NewActive>1</NewActive>
<NewHostName>Steffen_Online</NewHostName>
</u:GetSpecificHostEntryResponse>
</s:Body>
</s:Envelope>
11:35:39.039 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Request: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><u:GetSpecificHostEntry xmlns:u="urn:dslforum-org:service:Hosts:1"><NewMACAddress>Steffen_Laptop_MAC</NewMACAddress></u:GetSpecificHostEntry></SOAP-ENV:Body></SOAP-ENV:Envelope>
11:35:39.080 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Received response: <?xml version="1.0"?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetSpecificHostEntryResponse xmlns:u="urn:dslforum-org:service:Hosts:1">
<NewIPAddress>X.X.X.102</NewIPAddress>
<NewAddressSource>DHCP</NewAddressSource>
<NewLeaseTimeRemaining>862960</NewLeaseTimeRemaining>
<NewInterfaceType>802.11</NewInterfaceType>
<NewActive>1</NewActive>
<NewHostName>Steffen_Laptop_Online</NewHostName>
</u:GetSpecificHostEntryResponse>
</s:Body>
</s:Envelope>
11:35:39.107 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Request: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><u:GetInfo xmlns:u="urn:dslforum-org:service:WLANConfiguration:3"/></SOAP-ENV:Body></SOAP-ENV:Envelope>
11:35:39.140 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Re-Auth needed.
11:35:39.313 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Received response: <?xml version="1.0"?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetInfoResponse xmlns:u="urn:dslforum-org:service:WLANConfiguration:3">
<NewEnable>0</NewEnable>
<NewStatus>Disabled</NewStatus>
<NewMaxBitRate>Auto</NewMaxBitRate>
<NewChannel>11</NewChannel>
<NewSSID>Guest-WiFi</NewSSID>
<NewBeaconType>11iandWPA3</NewBeaconType>
<NewX_AVM-DE_PossibleBeaconTypes>None,11i,11iandWPA3,OWETrans</NewX_AVM-DE_PossibleBeaconTypes>
<NewMACAddressControlEnabled>0</NewMACAddressControlEnabled>
<NewStandard></NewStandard>
<NewBSSID>Guest-WiFi-MAC</NewBSSID>
<NewBasicEncryptionModes>None</NewBasicEncryptionModes>
<NewBasicAuthenticationMode>None</NewBasicAuthenticationMode>
<NewMaxCharsSSID>32</NewMaxCharsSSID>
<NewMinCharsSSID>1</NewMinCharsSSID>
<NewAllowedCharsSSID>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz !&quot;#$%&amp;&apos;()*+,-./:;&lt;=&gt;?@[\]^_`{|}~</NewAllowedCharsSSID>
<NewMinCharsPSK>64</NewMinCharsPSK>
<NewMaxCharsPSK>64</NewMaxCharsPSK>
<NewAllowedCharsPSK>0123456789ABCDEFabcdef</NewAllowedCharsPSK>
</u:GetInfoResponse>
</s:Body>
</s:Envelope>
11:36:15.652 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Request: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><u:GetSpecificHostEntry xmlns:u="urn:dslforum-org:service:Hosts:1"><NewMACAddress>Steffen_MAC</NewMACAddress></u:GetSpecificHostEntry></SOAP-ENV:Body></SOAP-ENV:Envelope>
11:36:15.813 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Received response: <?xml version="1.0"?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetSpecificHostEntryResponse xmlns:u="urn:dslforum-org:service:Hosts:1">
<NewIPAddress>X.X.X.100</NewIPAddress>
<NewAddressSource>DHCP</NewAddressSource>
<NewLeaseTimeRemaining>860566</NewLeaseTimeRemaining>
<NewInterfaceType>802.11</NewInterfaceType>
<NewActive>1</NewActive>
<NewHostName>Steffen_Online</NewHostName>
</u:GetSpecificHostEntryResponse>
</s:Body>
</s:Envelope>
11:36:15.844 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Request: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><u:GetSpecificHostEntry xmlns:u="urn:dslforum-org:service:Hosts:1"><NewMACAddress>Steffen_Laptop_MAC</NewMACAddress></u:GetSpecificHostEntry></SOAP-ENV:Body></SOAP-ENV:Envelope>
11:36:15.913 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Received response: <?xml version="1.0"?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetSpecificHostEntryResponse xmlns:u="urn:dslforum-org:service:Hosts:1">
<NewIPAddress>X.X.X.102</NewIPAddress>
<NewAddressSource>DHCP</NewAddressSource>
<NewLeaseTimeRemaining>862960</NewLeaseTimeRemaining>
<NewInterfaceType>802.11</NewInterfaceType>
<NewActive>1</NewActive>
<NewHostName>Steffen_Laptop_Online</NewHostName>
</u:GetSpecificHostEntryResponse>
</s:Body>
</s:Envelope>
11:36:15.941 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Request: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><u:GetInfo xmlns:u="urn:dslforum-org:service:WLANConfiguration:3"/></SOAP-ENV:Body></SOAP-ENV:Envelope>
11:36:16.022 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Re-Auth needed.
11:36:16.196 [TRACE] [ing.tr064.internal.soap.SOAPConnector] - Received response: <?xml version="1.0"?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetInfoResponse xmlns:u="urn:dslforum-org:service:WLANConfiguration:3">
<NewEnable>0</NewEnable>
<NewStatus>Disabled</NewStatus>
<NewMaxBitRate>Auto</NewMaxBitRate>
<NewChannel>11</NewChannel>
<NewSSID>Guest-WiFi</NewSSID>
<NewBeaconType>11iandWPA3</NewBeaconType>
<NewX_AVM-DE_PossibleBeaconTypes>None,11i,11iandWPA3,OWETrans</NewX_AVM-DE_PossibleBeaconTypes>
<NewMACAddressControlEnabled>0</NewMACAddressControlEnabled>
<NewStandard></NewStandard>
<NewBSSID>Guest-WiFi-MAC</NewBSSID>
<NewBasicEncryptionModes>None</NewBasicEncryptionModes>
<NewBasicAuthenticationMode>None</NewBasicAuthenticationMode>
<NewMaxCharsSSID>32</NewMaxCharsSSID>
<NewMinCharsSSID>1</NewMinCharsSSID>
<NewAllowedCharsSSID>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz !&quot;#$%&amp;&apos;()*+,-./:;&lt;=&gt;?@[\]^_`{|}~</NewAllowedCharsSSID>
<NewMinCharsPSK>64</NewMinCharsPSK>
<NewMaxCharsPSK>64</NewMaxCharsPSK>
<NewAllowedCharsPSK>0123456789ABCDEFabcdef</NewAllowedCharsPSK>
</u:GetInfoResponse>
</s:Body>
</s:Envelope>