I like things to have a static ip address following a certain pattern when it comes to my home network. This makes it a lot easier to debug when something goes wrong.
Unfortunately, my ISP provided router does not allow me to fiddle with the DHCP settings.
I just found out how to configure my Hue Bridges with a static ip address and couldn’t find a topic about this in the forum. Thought it would be nice to share.
What you have to do:
Create a new Hue Bridge api user
If you haven’t yet created your hue bridge api user, follow this guide by phillips.
Assign the ip
Get yourself a tool similar to https://addons.mozilla.org/en-US/firefox/addon/rested/ so you can send REST requests to the bridge.
- As action, use PUT
- As URL, use http://[bridge-ip]/api/[bridge-user]/config
- As body:
{ "ipaddress":"[new-ip]", "dhcp":false, "netmask": "[network-netmask]", "gateway": "[network-gateway]" }
For example:
{ "ipaddress":"192.168.0.7", "dhcp":false, "netmask": "255.255.255.0", "gateway": "192.168.0.1" }