diff options
author | Kaufman Home Automation <[email protected]> | 2023-06-02 14:07:04 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-06-02 14:07:04 -0700 |
commit | 0c1a12a968fc856c8079860b7ee4430b836aa07b (patch) | |
tree | abae946cc8ddac035bc2b0dcaf4286b6b272f3f1 | |
parent | 253431fe2a7591723d7868a4e5580836b31a3d23 (diff) | |
download | PLF10-0c1a12a968fc856c8079860b7ee4430b836aa07b.tar.gz PLF10-0c1a12a968fc856c8079860b7ee4430b836aa07b.zip |
Update README.md
-rw-r--r-- | README.md | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -17,17 +17,6 @@ wifi: ssid: !secret wifi_ssid password: !secret wifi_password -########################## -## Re: Binary Size Error -## ESPHome now adds API encryption by default. When the plug firmware is compiled, API encrytion -## makes the binary file too big to OTA update. We recommend that you remove API encryption -## by commenting out or removing the following lines to allow easy OTA. Otherwise, you can keep API -## encryption by changing the package line above to kauf-plug-minimal.yaml as an intermediate -## firmware before immediately switching back to kauf-plug.yaml. -########################## -# api: -# encryption: -# key: ... ``` ## Repo Contents @@ -136,13 +125,16 @@ Holding the plug's button for 30 seconds will clear any programmed Wi-Fi credent ## Troubleshooting ### Binary Size Error -ESPHome began adding API encryption by default, which makes the plug binary files too big to OTA update. If you are getting the message `ERROR Error binary size: Error: ESP does not have enough space to store OTA file. Please try flashing a minimal firmware (remove everything except ota)`, then you need to remove API encryption by commenting it out or deleting the following lines: +ESPHome began adding API encryption by default, which may make the plug binary files too big to OTA update. kauf-plug.yaml v2.03 removed the light entities and replaced them with switch entities to toggle lights and number entities to control brightness. This change reduced the binary size and OTA should now work with API encryption without a problem. + +If you are still getting the message `ERROR Error binary size: Error: ESP does not have enough space to store OTA file.`, we recommend that you remove API encryption by commenting out or deleting the following lines: ``` # api: # encryption: # key: ... ``` + If you want to keep API encryption, you can flash first with the kauf-plug-minimal.yaml file each time you need to update or upgrade, and then revert back to the kauf-plug.yaml. |