First off, I know just enough to make me dangerous.
I was trying to build my own ecoplug.bin with the following:
#if defined ECOPLUG
#define REL_PIN1 15
#define LED_PIN1 0
#define KEY_PIN1 13
#define EXT_PIN 14
YAY, I serial flashed a NodeMCU first with no problems!.
Then I successfully OTA flashed a .bin I created to NodeMCU, with no problems.
BUT when I OTA bin flashed my generic ESP8266 plug, I bricked it.
I’m guessing I don’t have the flash setting (Flash size, mode, Erase…) right when exporting to binary? (I also tried Erase: everything, which kinda worked, as button toggles relay, but it didn’t connect to AP, so I’m unable to use that plug too.)
BTW, the .bin files created here OTA flashes fine.
I really don’t want to brick another plug.
It would be GREAT if someone could build a generic.bin that would allow you to set REL, LED, KEY and EXT PINs via web.
Any help would be appreciated