Persistent disconnection from WiFi
I've had my IHD/CAD for a few weeks, but I've found it's repeatedly disconnecting from my WiFi network. Most of the time, it will retry - but often it will show "Connection failed" and stop sending any data. Of course, this isn't optimal.
I have two Mikrotik APs managed with CAPsMAN, and the device is associating with one only a metre or two away. Signal strength is reported on the CAP Manager page as -47, which I assume is -47dBm, which is pretty good. TX and RX rates are good - in the 120Mbps range.
What I can't work out is why the device is disconnecting. It's being assigned an RFC1918 IPv4 address (192.168.252.x) with a 1h lease time, and it disconnects at irregular intervals - something OK for minutes at a time, sometimes disconnecting and reconnecting three or four times in a minute.
Is there any debugging information available from the IHD/CAD to diagnose why it's disconnecting?
A further update - I've moved the IHD/CAD on to a different network with a non-RFC1918 IPv4 address and the issue persists. This doesn't sound like an IP-layer issue (e.g. outbound connectivity being interrupted by address translation).
Going further thanks to J7 on the PCB, I've captured the following from the debugging output when the device disconnects and reconnects:
BSSID, MAC and IPv4 addresses masked out. I wonder if this is less of an IHD issue and more of a hardware/ESP32 issue.
For anyone coming across this post, the issue is fixed (at least for me) in firmware 1.7.4: https://forum.glowmarkt.com/index.php?p=/discussion/78/ihd-firmware-release-1-7-4#latest
I had the same issue and it turned out to be due to the fact my network was in WPA/WPA2 (mixed) authentication mode-or at least setting WPA2 resolved the issue. However, my firmware version is reporting as 1.5.0 :-( . How do I upgrade- should it happen automatically?
The first thing I'd check is that your device has outbound access to the Internet - both DNS and HTTP (and probably HTTPS) too as the IHD is probably going to have to resolve the update server's hostname to an IP address, and download the updates over a widely used protocol.