OK, facepalm. I was about to explain how my DHCP server isn’t actually the gateway, but then I checked the gateway and I had left it’s DHCP server on. So the gateway was assigning the IP to the EmonPi. I turned off the DHCP server on the gateway, and now everything’s working fine.

That explains why the EmonPi would sometimes get the right IP, and sometimes not. But it doesn’t explain why the 15-20 other devices that come and go always have the right IP. Oh well, the problem’s solved, best not to fall down a rabbit hole.

Thanks for your help, Bill & Brian.

1 Like