Available from:
Itead.cc
Banggood.com
Aliexpress.com
Alza.de
Mediarath.de
Manufacturer:
Sonoff.tech
GPIO # | Component |
---|---|
GPIO00 | None |
GPIO01 | Serial Tx |
GPIO02 | None |
GPIO03 | Serial Rx |
GPIO04 | None |
GPIO05 | None |
GPIO09 | None |
GPIO10 | None |
GPIO12 | None |
GPIO13 | Led1i |
GPIO14 | None |
GPIO15 | None |
GPIO16 | None |
FLAG | None |
{"NAME":"SonoffL1","GPIO":[0,148,0,149,0,0,0,0,0,56,0,0,0],"FLAG":0,"BASE":70}
BLAKADDER
when buying from itead.cc for a 10% discount.
Serial Flashing
Please see the Hardware Preparation page for general instructions.
As always, you need to access the serial interface. The four serial pins (3V3, Rx, Tx, GND) are available at the back of the PCB and can be easily identified.
Programming the Sonoff L1 is difficult because there is no on-board-button connected to GPIO0 and GND. As with all ESP8266 modules pulling GPIO0 to GND is needed to put the chip in programming mode. You need to connect GPIO0 and GND during power up.
GND can be found on at the back (same serial pin as you connect your serial programmer to). GPIO0 can be accessed with a small pin needle or wire, it is the second pin from the right. See picture below:
General remark
The controller housing indicates that the arrows of the LED strip and the housing should match, but arrows are not always visible. They need to be connected with both sides ‘up’:
If you want to control MusicMode, Music Sensitivity and Speed from HA, create the below rules on the device and import this blueprint in HA and create an automation based on it.
  GitHub Link
Rule2 on var1#State do Backlog L1MusicSync %value%,x,x; Event checkvar=%var1% endon on Event#checkvar=1 do Publish %topic%/musicsync ON endon on Event#checkvar=0 do Publish %topic%/musicsync OFF endon on var2#State do L1MusicSync 1,%value%,x endon on var2#state do Backlog L1MusicSync; Publish %topic%/sensitive %value% endon on var3#State do L1MusicSync 1,x,%value% endon on var3#State do Backlog L1MusicSync; Publish %topic%/speed %value% endon
Rule2 1
Backlog Rule3 on L1MusicSync#Mode do Publish %topic%/musicsync %value% endon on L1MusicSync#Sensitive do Publish %topic%/sensitive %value% endon on L1MusicSync#Speed do Publish %topic%/speed %value% endon; Rule3 1