Previously known as psycik
Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight
![]() ![]() |
For something this specific you'd be way, way better posting in the Unifi forums.
muppet:
For something this specific you'd be way, way better posting in the Unifi forums.
been there done that...you beat them in the fact that you actually replied...and it's normally faster to get resolution here than there.
Previously known as psycik
Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight
Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)
Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.
Previously known as psycik
Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight
I would suggest to always clear the config.gateway.json before updating the controller but unfortunately you're past that point :P
You could try removing the gateway.json, doing a factory reset to the USG and adopting it again in the controller. Then add all the DHCP reservations on the controller, not the gateway.json. If you still need some other manual configs in the gateway.json, it may be a good idea to check if the config structure didn't change before adding it to the controller again.
As far as I know the only DHCP provider on a UniFi network is the USG (or USG-P4, USG-XG), not the controller. You may need to manually set the IPs on the controller and USG config after doing the USG factory reset.
What controller version are you using? Did it recommended a specific USG firmware version? What other settings do you have in the gateway.json?
delebru:
I would suggest to always clear the config.gateway.json before updating the controller but unfortunately you're past that point :P
You could try removing the gateway.json, doing a factory reset to the USG and adopting it again in the controller. Then add all the DHCP reservations on the controller, not the gateway.json. If you still need some other manual configs in the gateway.json, it may be a good idea to check if the config structure didn't change before adding it to the controller again.
As far as I know the only DHCP provider on a UniFi network is the USG (or USG-P4, USG-XG), not the controller. You may need to manually set the IPs on the controller and USG config after doing the USG factory reset.
What controller version are you using? Did it recommended a specific USG firmware version? What other settings do you have in the gateway.json?
Yeah I think that's what I might need to do going forward. I think they're adding more into the controller, so things like static machine ips/names look like they're starting to conflict by being in the config.json.
Also looks like they're using dnsmasq more....so I might be better to start using that for static names (I prefer to have it in a file to hidden int he controller db/settings).
Previously known as psycik
Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight
Ah yup, if you want to have it all in the config.gateway.json (CGJ :P) you will probably need to:
Not sure if there's an easier way but that would be my approach.
![]() ![]() |