Page 2 of 2

Re: Sonoff S20 WiFi Smart Socket

Posted: Fri Dec 20, 2019 5:11 am
by MostlyHarmless
Since German used to be my primary language I have to say it:

Your UI needs proof reading! "Daten absenden" and "Cancel" on the same page?

Other than that, "Sieht gut aus!"


Gruß, Jan

Re: Sonoff S20 WiFi Smart Socket

Posted: Fri Dec 20, 2019 5:54 am
by jedie
It's just because the submit button has no text. So the browser insert the text in current browser language.

But your right, I should change this. Looks ugly.

Think the ESP8266 resources are to limited for a real dynamic translation solution.

EDIT: https://github.com/jedie/micropython-so ... cba440087f :mrgreen:

Re: Sonoff S20 WiFi Smart Socket

Posted: Wed Jan 01, 2020 1:23 pm
by jedie
I started to work on a easy way to freeze the sources by building a own firmware using docker.

It's not fully tested yet, but it seems to work. In the end you need these make targets:

Code: Select all

  compile-firmware   compiles the micropython firmware and store it here: /build/firmware-ota.bin
  yaota8266-compile  Compile ota bootloader and store it here: build/yaota8266.bin

  flash-yaota8266    Flash build/yaota8266.bin to location 0x0 via esptool.py
  flash-firmware     Flash build/firmware-ota.bin to location 0x3c000 via esptool.py
more info: https://github.com/jedie/micropython-so ... n-firmware

I also setup github actions that will run the existing pytests, compile firmware-ota.bin and yaota8266.bin, see: https://github.com/jedie/micropython-so ... ch/actions

Re: Sonoff S20 WiFi Smart Socket

Posted: Wed Jan 01, 2020 3:10 pm
by kevinkk525
This is interesting! If you got OTA working like that, I'll have to take a look in the next weeks

Re: Sonoff S20 WiFi Smart Socket

Posted: Wed Jan 01, 2020 7:08 pm
by jedie
kevinkk525 wrote:
Wed Jan 01, 2020 3:10 pm
This is interesting! If you got OTA working like that, I'll have to take a look in the next weeks
The OTA part is not working, but this thread is not the right place for this. Please follow -> viewtopic.php?f=16&t=7501&p=42713#p42713