SONOFF S55FR Waterproof Wi-Fi Socket under Tasmota

Moderator: bbiernat

Post Reply
User avatar
pancio
Administrator
Posts: 48
Joined: 18 September 2013, 23:02 - Wed
Location: SILESIA

SONOFF S55FR Waterproof Wi-Fi Socket under Tasmota

Post by pancio »

Hi,

Today I'll show you how to prepare SONOFF S55FR Waterproof Wi-Fi Socket for Home Assistant under Tasmota environment. You may buy it on Banggood or Aliexpress, his price is abound 12$, so it's chip waterproof device in my opinion.
S55 unboxing
S55 unboxing
socket0.jpeg (490.31 KiB) Viewed 134 times

Preparing to flash

According to PCB variant which I received, flashing on-air (with tuya-convert software) is not possible any more. But don't worry. PCB was designed with all required PINs which are necessary to flash device with chip USB<->RS232 (TTL) converter:

Caution! ESP 8266/8285 don't like voltage higher than 3.6V. Your USB<>RS232 converter should work for 3.3V!
S55 PINs header
S55 PINs header
S55-pinheader.png (1.1 MiB) Viewed 134 times
In case, there is no necessary to disassemble device... you may solder dupoints directly to empty pinout header.. just like that:
Connected dupoints
Connected dupoints
connected2.png (1001.82 KiB) Viewed 134 times
The finally, connect dupoints to USB2RS232 converter:
Ready to flash
Ready to flash
connected2usb2rs232.jpeg (1.15 MiB) Viewed 134 times
Wait wait... what about GPIO00 which is necessary to enable programming mode for ESP? Don't worry, you don't need to solder any more cable. Required signal is connected to switch placed on S55 case :-)


Flashing
The flashing process is very easy:
1. Download Tasmota image from http://ota.tasmota.com/tasmota/release/tasmota.bin (current version is 9.3.1)
2. Connect USB2RS232 to PC with pressed switch on S55 case (release it after a few seconds)
3. Flash ESP8285 by using command:

Code: Select all

python3 ./esptool.py -p /dev/ttyUSB0 write_flash -fm dout 0x0 tasmota-9.3.1.bin
Flashing progress
Flashing progress
flashing.jpeg (2.86 MiB) Viewed 134 times
4. When finished, unplug USB2RS232 converter, plug it again and check that tasmota_xxxxx SSID is visible in your WiFi environment.
5. Connect to tasmota_xxxxx SSID, open web browser and go to address: http://192.168.4.1
6. In configuration/Other section put to Template area:

Code: Select all

{"NAME":"Sonoff S55","GPIO":[17,255,0,255,255,0,0,0,21,56,0,0,0],"FLAG":0,"BASE":1}
Don't forgot set Activate tick!
Save, and wait for restart...
7. Optionally, prepare device for Home Assistant:
Click console and type command:

#Enable HA discovery

Code: Select all

SetOption19 1
#Display IP

Code: Select all

SetOption53 1
#Save last state

Code: Select all

PowerOnState 3
That's all!
Have a nice socket :-)

Post Reply