Sonoff S20 Pow R1 not working

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
UserChristian
Normal user
Posts: 22
Joined: 17 Feb 2020, 12:43
Location: Germany

Sonoff S20 Pow R1 not working

#1 Post by UserChristian » 26 Feb 2020, 13:08

Yesterday I flashed my S20 POW (HW S20 EU Vers. 1.3) with the normal 1MB Firmware (ESP_Easy_mega-20200222_normal_ESP8266_1M.bin).
That was working fine, but I cannot select the energy meter (HLW8012) on the device menu.
Later I tried to Flash the bin file for the S20 POW (ESP_Easy_mega-20200222_hard_SONOFF_POW_4M1M.bin), but with that file the Wi-Fi is not working.
Now I am not sure, what I must do, because the 4MB bin file is maybe to big for my Sonoff and on the normal one I could not found the energy meter.

User avatar
ThomasB
Normal user
Posts: 1065
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Sonoff S20 Pow R1 not working

#2 Post by ThomasB » 26 Feb 2020, 17:37

Your S20 POW may be a version with only 1MB flash. So try the bin file named with "hard_other_POW_ESP8285_1M"

- Thomas
Last edited by ThomasB on 26 Feb 2020, 20:01, edited 1 time in total.

UserChristian
Normal user
Posts: 22
Joined: 17 Feb 2020, 12:43
Location: Germany

Re: Sonoff S20 Pow R1 not working

#3 Post by UserChristian » 26 Feb 2020, 19:46

Now I can read the consumption, but I am not able to connect to emoncms.
Is it possible to get the normal ESP_Easy_mega-20200222_hard_SONOFF_POW_xxx.bin file in the 1MB version.
Thank you in advance.

User avatar
ThomasB
Normal user
Posts: 1065
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Sonoff S20 Pow R1 not working

#4 Post by ThomasB » 27 Feb 2020, 00:03

If emoncms is not connecting, and you have reconfirmed the controller settings, then try using ESPEasy's log to aid your debugging. Perhaps the debug level log messages will provide some insight to the connecting issue.

If you are using rules to publish the values then be aware that new parsing requirements may be required in your messages to emoncms:
https://github.com/letscontrolit/ESPEasy/issues/2724

Regarding the 1MB firmware file: From looking at the build options, it appears that the ESP_Easy_mega-20200222_hard_other_POW_ESP8285_1M.bin file is correct for a 1MB Sonoff POW. The only notable difference in the build environment is the flash size, as shown in the snippet below.

Code: Select all

[env:hard_SONOFF_POW_4M1M]
extends                   = esp8266_4M1M, hard_esp82xx
platform                  = ${hard_esp82xx.platform}
platform_packages         = ${hard_esp82xx.platform_packages}
build_flags               = ${hard_esp82xx.build_flags} 
                            ${esp8266_4M1M.build_flags}
                            -D PLUGIN_SET_SONOFF_POW


; Build including power measurement plugins for those devices that have only 1M flash.
; For example those made by BlitzWolf SHP
[env:hard_other_POW_ESP8285_1M]
extends                   = esp8266_1M_OTA, hard_esp82xx
platform                  = ${hard_esp82xx.platform}
platform_packages         = ${hard_esp82xx.platform_packages}
build_flags               = ${hard_esp82xx.build_flags} 
                            ${esp8266_1M_OTA.build_flags}
                            -D PLUGIN_SET_SONOFF_POW
BTW, it seems that the Sonoff POW v2.0 has 4MB flash. Those would use the hard_SONOFF_POW_4M1M build.

- Thomas

Post Reply

Who is online

Users browsing this forum: No registered users and 120 guests