mruettgers / SMLReader

ESP8266 based smart meter (SML) to MQTT gateway
GNU General Public License v3.0
292 stars 68 forks source link

Question: OTA update possible? #29

Closed derandiunddasbo closed 3 years ago

derandiunddasbo commented 3 years ago

Is it possible to use the OTA update provided by IOTWebConf to upload new/self compiled firmware versions?

mruettgers commented 3 years ago

OTA updates should already work: http://[your-ip]/firmware (or use the link on the start page).

derandiunddasbo commented 3 years ago

Ok, thanks for the clarification. I just wanted to make sure, I won't "brick" my device by attempting an OTA update. It's sitting at a quite inaccessible place and I want to avoid having it to update over a wired connection.

derandiunddasbo commented 3 years ago

Just wanted to give a quick follow up: Building the firmware and the OTA update worked fine.

After reboot I was a bit confused at first, because I couldn't reach the web config page anymore and it didn't publish anything to the mqtt server. But then I realized, that the devices captive portal was active again and I just had to reconfigure its WiFi and mqtt settings.