I'm still kind of torn between full DHCP and static IP addresses on my devices.
This is my list of devices status page.
TWO parts.
1 - WiFi devices
2 - Cable devices (RasPies.)
The Wifi one is fully DHCP - though there is only 1 devices on it. (Sod's law)
The Cable part is older and has 3 permanent devices on it.
That's because they are from the ORIGINAL layout when I was a static person.
So the layout of the Cable part is kind of fixed where devices appear as they have Fixed IP addresses.
When a device connects to my network, it sends an MQTT message (SOL) with it's name and details.
Sorry. No it sends a message saying it's comms are up.
That is detected and an IFF message is sent to which it replies with it's details.
As per:
On the WiFi part, the name is taken and put where the IP address is/was.
(In the example it is GPS - old name and is wrong, but for the sake of showing.)
And it needs to be short, like 3 letters max)
Not a big deal. Just mentioning.
For better clarity this is the message received after the IFF message is sent:
{"topic":"STATUS/WIFIDEVICEID",
"payload":
"{\"WIFI_DEVICE\":\"TelePi\",
\"IP_Address\":\"192.168.17.33\",
\"Sent\":\"2026-04-23 06:51:50\"}"
,"qos":0,"retain":false,"_msgid":"c5fb675e867aa777"}
And yes, WIFI_DEVICE is a misnomer.
So I'm wanting to modify the existing code to allow this to also happen with the Fxied IP address devices.
Be it they are fixed or DHCP.
The PROBLEM if I make them fully DHCP is whey could appear ANYWHERE on the network and not just in the allocated cluster as per now.
There may be a way to force them to a specific IP address. But doesn't that defeat the idea of DHCP?
But when the IFF message reply is received, the IP number is replaced with the device's name.
That in itself isn't that easy as there is a whole subflow which monitors the device's health.
(Another story outside the scope here/now)
(Still with me? Probably not. Sorry.) ![]()
So I am not fully understanding the mechanics of the DHCP vs static part working.
and if I should go from the existing fixed to being fully DHCP controlled IP addresses.


