Hi all,
I have an office with 4 gateways. Two was enough, but ever since our wifi access points were updated, the gateways regularly are offline for an hour or more. It appears as if the DHCP lease expires and the gateway fails to renegotiate a new connection. I believe the normally green LED is blinking red during the event.
I have somewhat hacked a solution by simply adding some more gateways for the time being.
Anyone know a better solution. My IT department is not very forthcoming if it comes to whitelisting the devices or other solutions like a static IP or permanent lease.
Can the WiFi drop off be triggered by renewing DHCP lease with a new IP?
@Alexey ^ pinging you here
Hi @gouwzee, I tested how DHCP lease expiration is handled and found no issues. The gateway just gets a new IP and establishes connections with this new IP.
It would be very helpful if you could connect one of the gateways to a computer via USB and use a serial port monitor to record the gateway’s log.
That is interesting! I didn’t know of that feature. Can I download a log or is it a streaming log? Is there a manual somewhere how to do this?
Hey @gouwzee ,
Yes, we have a Python script available in our GitHub repository that allows you to record log.
- First, make sure you have Python 3 installed on your computer, if not download and install from Download Python | Python.org
- Download file “ruuvi_gw_log.py” from ruuvi.gateway_esp.c/scripts at master · ruuvi/ruuvi.gateway_esp.c · GitHub to your computer.
- Connect Ruuvi Gateway to your computer with USB cable.
- Open terminal and run the script with command “python3 ruuvi_gw_log.py”