Over the air upgrade
The ESPmeter can upgrade its firmware "over the air" (OTA). Upon request of the user, the device contacts the espmeter.tclcode.com server to check if a newer firmware version is available. If so, it downloads the new firmware and reboots.Privacy considerations
In order not to lose historical information during a firmware upgrade, this data is saved on the web server during an upgrade. Measures have been put in place to ensure the data is safe. The location where the data is stored is not accessible from the internet. It is only returned to the ESPmeter as part of the upgraded file system image. It is also not possible for a hacker to emulate an ESPmeter and gain access to the data that way. The file system image will only be returned to the same IP address that uploaded the files, and only within 15 minutes after the files have been uploaded. WiFi credentials and other configuration settings such as MQTT are never uploaded to the web server at all.Upgrade procedure
There are two ways for the user to initiate a firmware upgrade:- Clicking the "Uitvoeren" button on the upgrade.html page of the built-in web server of the ESPmeter.
- During normal operation of the ESPmeter, press the button.
Problem resolution
If the ESPmeter keeps reporting "Update mislukt", there may be several causes:- Network connectivity.
- Check that the device has the necessary permissions to reach port 80 on the espmeter.tclcode.com server. Make sure your router doesn't block traffic between the ESPmeter and the server.
- The device has not gone through a hard reset since the previous update.
- Perform a hard reset of the device. This can be done either by pressing the RESET button on the side of the child circuit board, or by removing and reapplying power to the device.