Starting with version 5.0.2 of Gravio, you can configure the WAN settings of Gravio Hub2 using an SD card.
Setup Procedure
Write the following five lines and save the file as “wanconfig.txt.” Modify the blue parts to suit your environment.
——— wanconfig.txt ——
apn APN name
open-hubkit true or false
open-coord true or false
open-mqtt true or false
open-um true or false
—————————————-
apn | APN name for connection |
open-hubkit | true – Opens HubKit’s port to the WAN side. false – Does not expose HubKit’s port |
open-coord | true – Opens the coordinator’s port to the WAN side. false – Does not expose the coordinator’s port |
open-mqtt | true – Opens the MQTT port for communication with Gravio node server to the WAN side. false – Does not expose the MQTT port |
open-um | true – Opens the Configuration Manager’s port to the WAN side. false – Does not expose the Configuration Manager’s port |
Copy this file to an SD card, insert the card into the Gravio Hub, and turn on the power.
If a wificonfig.txt is present on the SD card, the Wifi settings will be prioritized using the wificonfig.txt.
Need more help with this?
Join our slack community for help