Remote Configuration
Introduction
You can configure many EPDs over USB (see Configure EPDs with the FWUpdate Tool). After the initial setup, you may need to change the configuration, for example, to rotate passwords. Use remote configuration to update EPD settings over the network.
Requirements
- EPD firmware 1.4.0 or later
- EPDs connected to Wi-Fi and an MQTT broker
- PC on the same subnet as the EPDs
- FWUpdate version 1.4.1 or later
Important Considerations
Changing credentials requires care. Remote configuration can involve these credentials:
- Wi-Fi
- MQTT
- Device password
Changing any of these during remote configuration may cause you to lose access to the device.
For Wi-Fi and MQTT, use this order:
- Create an additional account on the server.
- Update the credentials on the EPD.
- Delete the old account on the server.
If this order is not possible for your system, you can use the following sequence:
- Change the credentials on the EPD (the connection will be lost).
- Change the credentials on the server.
In this case, the EPD will be disconnected until the new credentials take effect.
Test credential changes on a single EPD before applying them to all devices.
Procedure
Remote configuration uses a JSON file to store configuration settings. It uses the same format as USB configuration. See fwupdate's README.html for details.
Apply the configuration with:
fwupdate remote-program --mqtt-url <MY_MQTT_URL> --all --config <MY_CONFIG_JSON>
The --all option updates all connected devices. To select one EPD, use --topic TOPIC instead.
The MQTT broker URL format is:
mqtt(s)://USER:PASSWORD@MQTT-BROKER:PORT