Sonoff S20 WiFi Smart Socket

Showroom for MicroPython related hardware projects.
Target audience: Users wanting to show off their project!
User avatar
MostlyHarmless
Posts: 147
Joined: Thu Nov 21, 2019 6:25 pm
Location: Pennsylvania, USA

Re: Sonoff S20 WiFi Smart Socket

Post by MostlyHarmless » Fri Dec 20, 2019 5:11 am

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

jedie
Posts: 247
Joined: Fri Jan 29, 2016 12:32 pm
Contact:

Re: Sonoff S20 WiFi Smart Socket

Post by jedie » Fri Dec 20, 2019 5:54 am

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:

jedie
Posts: 247
Joined: Fri Jan 29, 2016 12:32 pm
Contact:

Re: Sonoff S20 WiFi Smart Socket

Post by jedie » Wed Jan 01, 2020 1:23 pm

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

kevinkk525
Posts: 754
Joined: Sat Feb 03, 2018 7:02 pm

Re: Sonoff S20 WiFi Smart Socket

Post by kevinkk525 » 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
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode

jedie
Posts: 247
Joined: Fri Jan 29, 2016 12:32 pm
Contact:

Re: Sonoff S20 WiFi Smart Socket

Post by jedie » Wed Jan 01, 2020 7:08 pm

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

Post Reply