The Protopixel Gate DALI Wired comes preconfigured with a default IP address range: 172.23.11.XX, where XX is defined by two rotary switches located on the device. These switches allow you to manually assign a static IP address between 172.23.11.1 and 172.23.11.79 by simply setting the desired number on the dials.
If you are using a ProtoPixel Brain, no additional configuration is needed, the Brain automatically discovers and connects to the Gate devices on the network. However, if you are working with a ProtoPixel Brain Experience, there are two possible configuration scenarios depending on your setup.
Scenario A: You can change the Brain Experience’s IP address
If you are free to configure the Brain’s IP settings, this is the simplest setup.
Steps:
- Set the Brain’s IP address to
172.23.11.254and the MASK255.255.0.0. - Configure your network to operate within the same IP range:
172.23.11.XX. - Assign the desired IP to the Gate DALI Wired using the rotary switches (e.g., for
172.23.11.10, set the switches to10). - The Gate will now communicate with the Brain automatically, with no further configuration needed.
This setup ensures plug-and-play functionality by keeping all devices within the same IP range.
Scenario B: You cannot change the Brain Experience’s IP address
In some cases, the Brain is connected to a router or a network that uses a fixed IP scheme (e.g., 192.168.11.XX) that cannot be modified. In this case, you’ll need to manually reconfigure the Gate’s IP address.
This process allows the Gate to coexist with devices on existing networks where the default range is not viable.
Steps:
- Connect your computer directly to the Gate DALI Wired using an Ethernet cable.
- Manually assign your computer a temporary IP in the
172.23.11.XXrange (e.g.,172.23.11.100). - Open a browser and access the Gate’s info page by entering its default IP (e.g.,
http://172.23.11.10, depending on the rotary switch setting). This page allows you to verify that the device is reachable and to check basic information. - Open the terminal on your laptop.
- Copy and paste the following code into the terminal, replacing the placeholder values with your own values:
curl -X POST -H "Content-Type: application/json" -d "{
\"child\": 0, \"data\": {
\"deviceIp\" : \"192.168.11.12\",
\"deviceMask\" : \"255.255.255.0\",
\"deviceGw\" : \"192.168.11.1\",
\"brokerUrl\" : \"192.168.11.254\",
\"brokerPort\" : 1883,
\"brokerTls\" : false,
\"brokerMdns\" : \"none\",
\"ethMode\" : \"static\",
\"resetDefault\" : false
}
}" http://172.23.11.XX:8000/config
Follow this example:
curl -X POST -H "Content-Type: application/json" -d "{
\"child\": 0, \"data\": {
\"deviceIp\" : \"192.168.11.12\",
\"deviceMask\" : \"255.255.255.0\",
\"deviceGw\" : \"192.168.11.1\",
\"brokerUrl\" : \"192.168.11.254\",
\"brokerPort\" : 1883,
\"brokerTls\" : false,
\"brokerMdns\" : \"none\",
\"ethMode\" : \"static\",
\"resetDefault\" : false
}
}" http://172.23.11.XX:8000/config
🟢: Here, you need to put the desired IP address that you want to replace the current one with.
🟣: This should be the IP address of your router.
🔵: This should be the IP address of the Brain Experience.
🟤: We recommend putting "static" here to have a static IP.
🔴: This is the current IP of the Gate DALI Wired.
After copying and pasting the code and replacing the values in the terminal, press Enter. If everything goes as expected, you will receive a "status 200" and the ID of the Brain Experience.
If you’re unsure which setup fits your case, we recommend starting with Scenario A for ease of use. If that’s not possible, follow Scenario B to manually adapt the Gate to your existing infrastructure.
Comments
0 comments
Please sign in to leave a comment.