Thanks @sindy.
Behavior is improved after the config updates mentioned in the post you referred to.
As long as I do not contact the Arduino via http, connection is stable for at least one hour (assuming longer, but not tested by now).
But when I connect the Arduino via http (
http://192.168.177.170:666) to request data, just after a couple of http client connecions the IP address/connection is lost again.
Arduino connected to the FritzBox: hundreds of http request don't end into a connection issue.
So I am still guessing some additional MikroTik configuration is needed...
Server IP:2863769792
Server IP:192.168.177.170
reading 10000 samples ...
waiting for first period
starting...
0 1023 49.998 - Server IP:192.168.177.170
0 1023 49.994 - Server IP:192.168.177.170
0 1023 49.989 - Server IP:192.168.177.170
0 1023 49.995 - Server IP:192.168.177.170
0 1023 49.994 - Server IP:192.168.177.170
0 1023 49.995 - Server IP:192.168.177.170
New json client
Sending: {"analog":[496,420,990,1023,589,439],"digital":[1,0,0,0,1,0,0,0,0,0,1,1,0,0]}
... Sent json port disconnected.
0 1023 27.174 - Server IP:192.168.177.170
New json client
Sending: {"analog":[492,419,990,1023,636,474],"digital":[1,0,0,0,1,0,0,0,0,0,1,1,0,0]}
... Sent json port disconnected.
0 1023 30.485 - Server IP:192.168.177.170
0 1023 49.994 - Server IP:192.168.177.170
0 1023 49.990 - Server IP:192.168.177.170
0 1023 49.991 - Server IP:192.168.177.170
New json client
Sending: {"analog":[490,415,990,1023,610,452],"digital":[1,0,0,0,1,0,0,0,0,0,1,1,0,0]}
... Sent json port disconnected.
0 1023 30.485 - Server IP:192.168.177.170
New json client
Sending: {"analog":[491,419,990,1023,654,489],"digital":[1,0,0,0,1,0,0,0,0,0,1,1,0,0]}
... Sent json port disconnected.
0 1023 30.484 - Server IP:0.0.0.0
0 1023 49.985 - Server IP:0.0.0.0
0 1023 49.983 - Server IP:0.0.0.0
0 1023 49.985 - Server IP:0.0.0.0
0 1023 49.980 - Server IP:0.0.0.0
0 1023 49.981 - Server IP:0.0.0.0
0 1023 49.983 - Server IP:0.0.0.0
While most DHCP clients calculate the renewal time based on the lease time, some apparently want it explictly stated (sniffing the initial DHCP conversation and opening it in Wireshark would be helpful). So try
this suggestion.