Print

Firmware Update ACE-GTW-4G

 

In this tutorial if for a local update: When you are close and connected to the GTW. For remote update via MQTT, see ACE-MQTT-4G Gateway: System Functions

There are 2 short chapters:

  • Update the firmware to the last version
  • Update the boot for the new firmware. Applies to new firmware from January 2022 if you have an ACE-GTW-4G of 2021 or earlier.

 

Update the firmware to the last version

Backup your ACE-MQTT-4G configuration (optional if necessary for you)

  • MQTT configuration [Gateway] > [MQTT Config File] : Copy the contents of the window
  • Gateway configuration [System] > [Backup / Flash Firmware] : [Generate archive]

Make sure your ACE-GTW-4G is connected to the Internet with a good speed (7 Go to download)

  • Check in [Network] > [Diagnostics] then click on [IPv4 Ping]

Replace all lines with these

  • in [System] > [Startup] > [Local Startup] tab

sleep 60
wget 'http://support.aceautomation.eu/_remote_gtw_files/fupdate.sh' -O /etc/config/fupdate.sh
sh /etc/config/fupdate.sh
sh /etc/mqtt-mb/mqttwd.sh
exit 0

  • and [Save]

Restart the ACE-GTW-4G by disconnecting/reconnecting the power

  • Go for a coffee (10 minutes about) during the udpate
  • Try to connect to 192.168.8.1

Update the boot for the new firmware

Make sure your ACE-GTW-4G is connected to the Internet

Replace all lines with these

  • in [System] > [Startup] > [Local Startup] tab

sleep 60
wget 'http://support.aceautomation.eu/_remote_gtw_files/hupdate.sh' -O /etc/config/hupdate.sh
sh /etc/config/hupdate.sh
sh /etc/mqtt-mb/mqttwd.sh
exit 0

  • and [Save]

Restart the ACE-GTW-4G by disconnecting/reconnecting the power

  • Go for a second coffee (3 minutes about) during the udpate
  • Try to connect to 192.168.8.1

If need, restore your ACE-MQTT-4G configuration (optional if necessary for you)

  • MQTT configuration [Gateway] > [MQTT Config File] : Paste your backup in the contents of the window and [Save]
  • Gateway configuration [System] > [Restore / ] : [Upload archive]