[OTA] Add hourly update routine for update check (#1538)

Update check will be done at start and hourly
This commit is contained in:
Florian authored and GitHub committed 2023-03-16 07:59:39 -05:00
1 parent 3b134fce87
commit 17ce2debce
3 files changed
+15 -4

No files matched your search

+3
View File
@@ -122,6 +122,9 @@ mosquitto_pub -t "home/OpenMQTTGateway_ESP32_BLE/commands/MQTTtoSYS/firmware_upd
"version": "v1.2.0"
}'
```
OpenMQTTGateway checks at start and every hour if an update is available.
Alternatively if you want to choose the update URL you can use the command below (ESP32 and ESP8266):
Without certificate, in this case we will use the root certificate defined in User_config.h