Hi Stefan,
Thanks for your help so far. Now I have connected my raspberry pi directly to the router with an ethernet cable. Unfortunately it did not resolve this issue. Now after upgrading to the latest nightly I got the following log
17.08.19 13:30:07 TCPCommandPort$Session Disconnected from 127.0.0.1
17.08.19 13:30:07 TCPCommandPort Connection from 127.0.0.1
17.08.19 13:28:38 HomeServer Activated 107 of 111 Items
17.08.19 13:28:30 DTLSConnector Unexpected error occurred while processing record from peer [/192.168.1.15:5684]
17.08.19 13:28:15 TrayBarIcon SystemTray is not supported on this system
17.08.19 13:28:13 IkeaGatewayClient Timeout waiting for response from IKEA GW coaps://192.168.1.15/15001
17.08.19 13:28:12 DTLSConnector DTLS connector listening on [{0}] with MTU [{1}] using (inbound) datagram buffer size [{2} bytes]
17.08.19 13:28:09 CoapEndpoint Starting endpoint at 0.0.0.0/0.0.0.0:0
17.08.19 13:28:04 NetworkConfig Error while storing properties to /opt/nethome/lib/Californium.properties
17.08.19 13:28:04 NetworkConfig Storing standard properties in file Californium.properties
17.08.19 13:28:03 H2DatabaseTCPServer Started the H2 web server at:
https://192.168.1.99:8082, Web Console server running at
http://127.0.1.1:8082 (others can connect)
17.08.19 13:28:03 H2DatabaseTCPServer Started the H2 database server at: tcp://127.0.1.1:9092
17.08.19 13:27:59 MqttClient Connected to MQTT Server tcp://localhost
17.08.19 13:27:44 HomeItemFileLoader Loading Items from /etc/opt/nethome/config.xml
17.08.19 13:27:43 HomeManagerStarter Logging to: /var/log/nethome/HomeManager%g.log
17.08.19 13:27:43 HomeManagerStarter **Starting HomeManager 3.0-562d9**
After this I restarted nethome with "sudo nethome restart". Ikea GW stayed "disconnected" after the restart;
Source Message
17.08.19 13:45:11 HomeServer Activated 107 of 111 Items
17.08.19 13:45:10 TCPCommandPort$Session Disconnected from 127.0.0.1
17.08.19 13:45:09 TCPCommandPort Connection from 127.0.0.1
17.08.19 13:44:44 TrayBarIcon SystemTray is not supported on this system
17.08.19 13:44:41 IkeaGatewayClient Timeout waiting for response from IKEA GW coaps://192.168.1.15/15001
17.08.19 13:44:40 DTLSConnector DTLS connector listening on [{0}] with MTU [{1}] using (inbound) datagram buffer size [{2} bytes]
17.08.19 13:44:40 CoapEndpoint Starting endpoint at 0.0.0.0/0.0.0.0:0
17.08.19 13:44:39 NetworkConfig Error while storing properties to /opt/nethome/lib/Californium.properties
17.08.19 13:44:39 NetworkConfig Storing standard properties in file Californium.properties
17.08.19 13:44:38 H2DatabaseTCPServer Started the H2 web server at:
https://192.168.1.99:8082, Web Console server running at
http://127.0.1.1:8082 (others can connect)
17.08.19 13:44:37 H2DatabaseTCPServer Started the H2 database server at: tcp://127.0.1.1:9092
17.08.19 13:44:32 MqttClient Connected to MQTT Server tcp://localhost
17.08.19 13:44:05 HomeItemFileLoader Loading Items from /etc/opt/nethome/config.xml
17.08.19 13:44:04 HomeManagerStarter Logging to: /var/log/nethome/HomeManager%g.log
17.08.19 13:44:04 HomeManagerStarter **Starting HomeManager 3.0-562d9**
Then I deleted the GW item and created a new one;
17.08.19 13:48:39 CoapEndpoint Destroying endpoint at address 0.0.0.0/0.0.0.0:0
17.08.19 13:48:39 DTLSConnector DTLS connector listening on [{0}] with MTU [{1}] using (inbound) datagram buffer size [{2} bytes]
17.08.19 13:48:39 CoapEndpoint Starting endpoint at 0.0.0.0/0.0.0.0:0
17.08.19 13:48:20 CoapEndpoint Destroying endpoint at address 0.0.0.0/0.0.0.0:0
17.08.19 13:48:20 DTLSConnector Stopping DTLS connector on [{0}]
17.08.19 13:48:20 CoapEndpoint Stopping endpoint at address 0.0.0.0/0.0.0.0:36822
And then, after few minutes, this happened. The gateway is "Not Connected". I did not do anything with the ONH nor with Ikea phone app.
17.08.19 13:55:07 IkeaGatewayClient Failed request for IKEA GW, error: 4.04
(no other new lines in log)
I hope you you can figure out what's going on.
BR,
Mikko