hi,
my Shelly 1 does not have original firmware on it, I purchase from Voltio.cz it has custom HomeKit firmware, I would like to test your firmware, could you help me flash via https://github.com/espressif/esptool ? or do know a better way to refresh your firmware on a Mac via FTDI (Serial header) ?
Thanks
Andy.
You can flash the Shelly1 over a wired connection using mos. Download and install mos following these instructions:
https://mongoose-os.com/docs/mongoose-os/quickstart/setup.md
You can then use mos to flash the shelly-homekit-Shelly1.zip file. It may be a good idea to first dump your current flash contents, so you can go back to the Voltio.cz-provided firmware if needed.
ok got it installed, just waiting for my FTDI tool to be delivered, could you explain how to dump firmware ?, I'm new to all this
once you've connected the serial port and put the device into boot-loader mode (by driving gpio0 low), to dump entire flash:
$ mos flash-read --platform esp8266 --esp-baud-rate 921600 flash.bin
this should produce a 2M flash.bin file.
to flash this (or any other Mongoose OS-based) firmware:
$ mos flash --esp-baud-rate 921600 shelly-homekit-Shelly1.zip
to later flash it back:
$ mos flash-write --platform esp8266 --esp-baud-rate 921600 0 flash.bin
mos will use the first available serial port, which is usually the correct one. but if you have multiple in your system, add --port PORT to each command, where PORT is the name of the serial port of the FTDI adapter - one of the COMx devices on Windows, /dev/ttyUSBx on Linux, etc.
really appreciate all the help, when you say boot-loader mode (by driving gpio0 low), how do I do that ?
ok, i will write up detailed instructions with pictures tonight
thanks a lot, you got a PayPal for donations?
i am not accepting donations at this time, but thanks for offering!
@andyblac see here.
Thanks
On 7 Feb 2020, at 20:03, Deomid Ryabkov notifications@github.com wrote:
@andyblac https://github.com/andyblac see here https://github.com/mongoose-os-apps/shelly-homekit/blob/master/docs/flashing.md.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/mongoose-os-apps/shelly-homekit/issues/2?email_source=notifications&email_token=AAATA4FP5NQNR45AU4CVPT3RBW5CNA5CNFSM4KRGHLR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELENV4Y#issuecomment-583588595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAATA4HERCSBG5TRG6ZUJ3LRBW5CNANCNFSM4KRGHLRQ.
Most helpful comment
ok, i will write up detailed instructions with pictures tonight