The DALI gateway needs to be manually set up and connected to a node.
🔗 Related article: Operating a ProtoPixel Node
Configuring the ProtoPixel Node
Assign a static IP of 192.168.11.254 to the node using the Node web application.
Node network configuration UI
Setting up the DALI Gateway
To set up the device, use two rotating switches to assign a static IP address within the range of 192.168.11.1-192.168.11.79.
The first rotating switch sets the last digit of the IP address and can be configured between 1-79. Note that a value of 0 is not supported, as it sets the Gateway to DHCP configuration.
Connecting to the ProtoPixel Project Tool
Open the ProtoPixel Project Tool and click on "Discover Gateways". This will display all the DALI Gateway devices found on the network.
☝️ Important: For the DALI gateways to communicate with the Node, the Node's IP address must be set to 192.168.11.254. ☝️
Change DALI Gateway IP:
To change the IP of the DALI gateway, follow these steps:
- Connect your laptop directly to the gateway using an Ethernet cable.
- Make sure that the IP address of your laptop matches the IP address of the DALI Gateway.
- Perform this process outside of the Project Tool. 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://192.168.11.23:8000/config
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://192.168.11.23: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 Node.
🟤: We recommend putting "static" here to have a static IP.
🔴: This is the current IP of the gateway.
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 Node.
Comments
0 comments
Article is closed for comments.