konnected-io / konnected-security

Konnected connects wired sensors and switches to SmartThings, Home Assistant, Hubitat and OpenHAB
https://konnected.io
Apache License 2.0
416 stars 322 forks source link

move application to LFS #92

Closed heythisisnate closed 5 years ago

heythisisnate commented 5 years ago

A relatively new feature called Lua Flash Store (LFS) allows us to save a bunch of heap memory by moving the Konnected application code to flash storage.

qu3bec commented 5 years ago

How to get this update/feature?

heythisisnate commented 5 years ago

@qu3bec flash the 2.2.7 firmware & filesystem files from here: https://github.com/konnected-io/konnected-security/tree/master/firmware

qu3bec commented 5 years ago

Just flashed board won't boot, esplorer shows Can't auto detect firmware and then some weird characters keep typing on esplorer screen. LED on board is permanently ON

heythisisnate commented 5 years ago

@qu3bec try flashing with the command line script. I may need to update the Konnected Flash Tool. Will look into it today. https://github.com/konnected-io/konnected-security/blob/master/scripts/flash

heythisisnate commented 5 years ago

@qu3bec are you using windows or Mac? I've updated the flash tool for Mac here: https://s3.us-east-2.amazonaws.com/konnected-io/Konnected-Flash-Tool-3.1.dmg Windows version update is still in the works

qu3bec commented 5 years ago

@heythisisnate Windows. I manage to flash it us By command line but just noticed that there is a new commit to filesytem file and it’s not lot smaller in size compared to 1000KB I downloaded earlier. Why the big change in file size? Should I flash again with the new file?