Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New ESP8285 based 1Channel Inching/Locking 5V/12V Sonoff #453

Closed
ed1402 opened this issue May 15, 2017 · 150 comments
Closed

New ESP8285 based 1Channel Inching/Locking 5V/12V Sonoff #453

ed1402 opened this issue May 15, 2017 · 150 comments

Comments

@ed1402
Copy link

@ed1402 ed1402 commented May 15, 2017

Hi All,

I just took possession of the above new device that appears to be the new version of the old device - the pics on the Itead website has not even been updated.

This board is based on the PSF-B01 itead ESP8285 module.

I have not found any custom firmware yet that appears to work - not Tasmota, ESPEasy or Espurna seems to work.

Using Tasmota it uploads fine with success flag - but this basically puts the module in an endless switch loop with no connection to wifi as setup in config file.

Anyone have any info?

Regards,
Ed

@xinghusp
Copy link

@xinghusp xinghusp commented May 16, 2017

Hi,
I have in the same trouble.i just brought the sonoff touch few days ago,and i tried to flash the custom firmware and can't boot to the os anymore.and the serial port didn't have any output message.the wifi cannot connect and the led of the board don't blink anymore.

@sebastianlorenzen
Copy link

@sebastianlorenzen sebastianlorenzen commented May 16, 2017

@ed1402
Copy link
Author

@ed1402 ed1402 commented May 16, 2017

Yes albeit not the same as in the 1 channel device photo. That indicates an ESP8266 unit. Mone is ESP8285 based.

@xinghusp
Copy link

@xinghusp xinghusp commented May 16, 2017

The sonoff touch of mine is based on the PSF-A01 itead ESP8285 module.

@ed1402
Copy link
Author

@ed1402 ed1402 commented May 16, 2017

Some pics:
20170516_210121_001
20170516_210144

@ed1402
Copy link
Author

@ed1402 ed1402 commented May 17, 2017

OK - so I have managed to flash the unit with Arduino IDE on latest Tasmota.

I can access the web interface after restart, but the device now shows odd behaviour.
As far as I can establish the actual locking/inching function is controlled externally to the ESP8285.

When in locking mode the device acts normally as a switch, but when in inching mode and the device is either trigger by button press or web toggle it goes into a 10 second flip flop (switching on and off repeatedly) and then hangs. After a restart the device is frozen still and I have to re-flash firmware to get it active again.

I have tried multiple device selections in the device setup (Basic, Slampher, 1 Channel and both 4 channel options.)

My assumption is that the "on" command trigger a gpio either high or low and that the external inching function sends a signal back to the ESP8285 to switch off the trigger gpio. With the new firmware this does not happen and as such the device "loops" and eventually somehow corrupts the ESP8285.

Open to any ideas?

@davidelang
Copy link
Collaborator

@davidelang davidelang commented May 17, 2017

@paco-ita
Copy link

@paco-ita paco-ita commented May 19, 2017

Hello everybody!
I have received the exact same product but I can't figure out how to put it into flash mode.
Any advice?
Thanks

@apouzin
Copy link

@apouzin apouzin commented Jun 11, 2017

Hi,
I am also using the same device and struggling on putting the device into flash mode (not sure about the wirings nor the procedure for setting it up into flash mode). Any advice/help would be appreciated ! Thanks

@jktz90
Copy link

@jktz90 jktz90 commented Jun 19, 2017

Using Arduino (Ground to RST): on the PSFB01 you need to pull GPIO2 to Ground before Powerup and afterwards connect RX TX // TX RX using your Arduino. In my case there was no pinout on the PCB whatsoever, so I had to solder it directly on the PSFB01

@zizebra
Copy link

@zizebra zizebra commented Jul 9, 2017

I can only assume this device is probably the latest effort from Itead to try and stop us from using custom firmware. the relay is seem to be driven by the stc15w204s.

@levonbragg
Copy link

@levonbragg levonbragg commented Jul 11, 2017

I was able to get this sort of working... (See attached picture) I had to remove 1 IC to stop the bouncing of the relay and bridge 2 of the empty pads. Also, need to add a pull-up resistor as indicated in the pic to make the button work after removing the IC.
I tried all tasmota configurations, and it would not work.
I was able to get it working using this firmware
https://github.com/KmanOz/Sonoff-HomeAssistant
So, at least it works now, but maybe someone smarter than I can modify the tasmota firmware (which I like better) to make it work.

sonoffinching

@zizebra
Copy link

@zizebra zizebra commented Jul 11, 2017

Brilliant stuff. Didn't think about that. Will try that and see if it helps.

@arendst
Copy link
Owner

@arendst arendst commented Jul 11, 2017

The devices discussed in this issue are based on the esp8285 chip while the original device used the esp8266 chip. The main difference is the way flash is addressed and loading the default sonoff firmware on these devices will probably NOT work unless you take the following steps:

  • Initially load tasmota firmware file sonoff-touch-4ch-bnsz.bin or compile your own using the DOUT flash mode.
  • Open the configuration webpage (or use serial commands) to select module 12 1 Channel
  • If things are as I expect it should now work like a standard 1 channel inching device

@zizebra
Copy link

@zizebra zizebra commented Jul 11, 2017

Mine is definitely esp8285. That is the one I compiled and loaded on mine. I believe I tried the 1 channel and the behavior was not perfect. In my case, I noted that when using the inching method, it would work perfectly as expected but with one issue. I could turn on or off generally about 5 times in row. Thereafter, the next 2 or 3 attempts would not have effect.
I will test again just to verify that your suggested options works on this device.

@zizebra
Copy link

@zizebra zizebra commented Jul 11, 2017

levonbragg, do you still have the IC number for the chip you removed.

@levonbragg
Copy link

@levonbragg levonbragg commented Jul 11, 2017

zizebra, I do not. All of mine are blank. Looks like they were rubbed off.
After digging around, it looks like a STC15F101W series 8051 micro...

@zizebra
Copy link

@zizebra zizebra commented Jul 11, 2017

Hope itead is not trying to revive the useless ESP8266 Black board T5

@levonbragg
Copy link

@levonbragg levonbragg commented Jul 11, 2017

arendst,
I can confirm that after adding the pullup resistor, and loading the module with the sonoff-touch-4ch firmware, and setting it to "12 1 Channel" that the board seems to be working great.
Thanks for the help!

@zizebra
Copy link

@zizebra zizebra commented Jul 11, 2017

arendst, on my end there is no joy. I still see the behavior where some commands will have no effect. it usually takes up to 4 commands to get a response. thereafter the next 4-5 commands works before it stops responding again. below is a trace from webconsole. the highlighted power on commands did not work

capture

@arendst
Copy link
Owner

@arendst arendst commented Jul 11, 2017

@zizebra you have a MQTT server problem. This causes delays in command processing. If you fail to connect the MQTT server execute command mqttretry 60 to make more room for command processing.

@zizebra
Copy link

@zizebra zizebra commented Jul 11, 2017

thank you., I didn't think that to be the problem. My sd card for my PI packed up before I received this device. I will re-install the mqtt server and test

@zizebra
Copy link

@zizebra zizebra commented Jul 13, 2017

I manage to reinstall my PI yesterday. However could not test, because my sonoff kept trying to connect to the mqtt server provided in the code instead of my custom one. It will usually connect to the correct one after a couple of hours. I hope to have a good test later on.

@zizebra
Copy link

@zizebra zizebra commented Jul 13, 2017

Finally managed to test. It is definitely working perfectly with mqtt. One minor issue which I picked up is that after loading firmware, the relay default is activated. When I choose 1ch on configuration. The relay is changed to default off. Occasionally when the sonoff restarts, the relay is activated momentarily before being Switch off. Does any one have a quick workaround for this. I would like the relay start default off throughout the reboots.

arendst added a commit that referenced this issue Jul 15, 2017
5.3.0 20170715
* Major Hue rewrite which might introduce Alexa problems. If so,
initiate an issue
* Add support for Sonoff Led and BN-SZ01 Ceiling Led brightness control
to Hue
* Fix Sonoff Led Power, Dimmer and Color MQTT response (#176)
* Add commands Delay and Backlog to allow multiple commands at once
separated by ";" (#593)
* Use default flashmode DOUT to solve restart hangs on esp8285 chips
(#453, #598)
* Change Web console column width from 99 to 300 (#599)
@jktz90
Copy link

@jktz90 jktz90 commented Aug 7, 2017

You can simply use this wiring (if you have someone to help you, you dont neet so solder).
If you use an arduino to flash: connect GROUND with RESTART on your Arduino, select ESP 8285(!) in Arduino IDE and you are good to go.
img_2491

@moonfarms
Copy link

@moonfarms moonfarms commented Aug 8, 2017

hello jktz90, please if I connect my usb to uart like this it does overheat very fast, so instead I am powering the sonoff from his own usb and connecting tx rx and Ground of module to my usb to uart but I get eeprom error, I also not sure that ESP goes into Flash mode (i assume rx pin is #5 from bottom on the image and I assume the connect to ground is the second pin from left on the bottom row of connectors. Your help greatly appreciated

@jktz90
Copy link

@jktz90 jktz90 commented Aug 8, 2017

You probably plugged Ground/3V the wrong way around. You can definitely use your adapter to power the Sonoff.
Try switching RX with TX, the 5th pin from the button (where the red line points to) has to be connected to TX on your adapter.

Before you power up the Sonoff, you have to pull the pin out in the bottom to Ground (I don't have the official datasheet anymore) in order to force flash mode (I can't remember how exactly but the LED blinked differently to indicate the flash mode).

@moonfarms
Copy link

@moonfarms moonfarms commented Aug 8, 2017

3v is the square pin one (blue wire on your pic) isn it? please what pin on your pic has to go to ground to enable flash

@ascillato
Copy link
Contributor

@ascillato ascillato commented Jun 28, 2019

Turn on your relay. After 2 seconds it will turn off.

The 'active 0' part means the remaining time for turning off. For example, if you give 60 seconds, you can ask Tasmota with just the command pulsetime1 (no spaces) to know how much time is remaining.

If you need further assistant, please address this to the Tasmota support chat. Github issues are for Tasmota Software Bug reporting with the template completed. Thanks

Repository owner deleted a comment from excalq Jul 5, 2019
@witek1308
Copy link

@witek1308 witek1308 commented Aug 12, 2019

I have an issue with this relay when no wifi signal. I hope it is wrong configuration only but I don't know what combination of settings would resolve it. The problem is that when wifi signal is lost, the relay restarts but restarts and powers on. Since it is connected to a gate, it opens the gate. Single opening wouldn't be a problem but in case of longer wifi unavailability (sometimes router hangs) it periodically restarts and opens the gate on and on.
I'm on 6.6.0 (but on any SW before there was same behavior), my settings are: power off on startup, there is no PowerRetain from what I see, switchtype used to be 0 but I changed it to reversed pushbutton with PulseTime of 5. Any ideas what I can change?

@meingraham
Copy link
Collaborator

@meingraham meingraham commented Aug 12, 2019

Check the wiki FAQ entry on ghosting.

Please address your questions to the Tasmota Support Discord Chat. The chat is a better and more dynamic channel for helping you. Github issues are best used for Tasmota software feature requests and bug reporting. Troubleshooting and setup assistance is more effective using an interactive forum.

Please check the Contributing Guideline and Policy and the Support Guide.

Thanks.

Support Information

See Wiki for more information.
See Chat for more user experience.
See Community for forum.
See Code of Conduct

@ryaske
Copy link

@ryaske ryaske commented Nov 3, 2019

I wanted to reopen this (it can be immediately reclosed) JUST because I know of no other place to post this valuable information, and in my pursuit of the information I found no other place online where it is properly discussed!!

Here is how to flash your PSF-B01.
NO HARDWARE MODIFICATIONS ARE NECESSARY.
(Note I have the AC/DC 7-32V module and I will be using it as a thermostat override to power on my HVAC fan using sonoff. This should work fine for the other version on this thread too)

Use this pinout;

Use this flash boot method (press both buttons while powering it. Both LEDs need to come on.

You can flash Tasmota now.

Once booted, set it to module "1 channel (12)" in the included module list (no external template is needed).

VERY IMPORTANT
SetOption13 1

This will disable the "triple press" functionality that usually reboots ESP8266 into SmartConfig Mode.

After that, you can select via the hardware button if you want inching or locking latch, and you are good to go!

I hope this message saves someone A LOT of time. I took me quite a while to figure out why the module was going haywire.

@Pingbo
Copy link

@Pingbo Pingbo commented Jan 31, 2020

Seems like i have another new layout ...
IMG_20200131_171510

Tried several things to enter Flash Mode, without luck:

  1. Pushed both buttons and connect USB --> No LED will tun on
  2. Connected GPIOO with GND of PI --> Devies is starting as usual ( 1 LED is blinking )
  3. Tried some Pins on the bottom (the right and left one) ---> right: No LED, left: booting up as usual

Does someone have an idea?

@negmos
Copy link

@negmos negmos commented Feb 21, 2020

Seems like i have another new layout ...
IMG_20200131_171510

Tried several things to enter Flash Mode, without luck:

  1. Pushed both buttons and connect USB --> No LED will tun on
  2. Connected GPIOO with GND of PI --> Devies is starting as usual ( 1 LED is blinking )
  3. Tried some Pins on the bottom (the right and left one) ---> right: No LED, left: booting up as usual

Does someone have an idea?

I have same board aslo.. did you find a way to flash it?

@dwetchells
Copy link

@dwetchells dwetchells commented Feb 22, 2020

@armdan
Copy link

@armdan armdan commented Apr 21, 2020

Once booted, set it to module "1 channel (12)" in the included module list (no external template is needed).

VERY IMPORTANT
SetOption13 1

This will disable the "triple press" functionality that usually reboots ESP8266 into SmartConfig Mode.

thank you SOOOOO much for "SetOption13 1" fixed my all problems

@Emile7
Copy link

@Emile7 Emile7 commented Jul 16, 2020

Hello I plan to add an external antenna for the attached board. Does anyone know where to solder the external antenna lead?
7c09ea96-3a7b-11e7-8498-f53947794f2f

@lalo-uy
Copy link

@lalo-uy lalo-uy commented Jul 16, 2020

@Emile7
Copy link

@Emile7 Emile7 commented Jul 17, 2020

A picture of the bottom may help. El jue., 16 jul. 2020 a las 10:59, Emile7 (notifications@github.com) escribió:

Hello I plan to add an external antenna for the attached board. Does anyone know where to solder the external antenna lead? [image: 7c09ea96-3a7b-11e7-8498-f53947794f2f] https://user-images.githubusercontent.com/68385687/87679715-2d21f780-c785-11ea-8fc6-cecaa6870bf5.jpg — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#453 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXBW4PGZE4XKGB54G2KF7LR34BS7ANCNFSM4DLN6EFA .

back

@lalo-uy
Copy link

@lalo-uy lalo-uy commented Jul 17, 2020

@Emile7
Copy link

@Emile7 Emile7 commented Jul 17, 2020

That module has a ceramic antena, the white component in the corner. You may need to remove it in order to attach a different one. Youcan connect also connect on module pin 1. El El vie, 17 de jul. de 2020 a la(s) 01:17, Emile7 < notifications@github.com> escribió:

A picture of the bottom may help. El jue., 16 jul. 2020 a las 10:59, Emile7 @.***) escribió: … <#m_7834619719896913155_m_8465963238316833967_> Hello I plan to add an external antenna for the attached board. Does anyone know where to solder the external antenna lead? [image: 7c09ea96-3a7b-11e7-8498-f53947794f2f] https://user-images.githubusercontent.com/68385687/87679715-2d21f780-c785-11ea-8fc6-cecaa6870bf5.jpg — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#453 (comment) <#453 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXBW4PGZE4XKGB54G2KF7LR34BS7ANCNFSM4DLN6EFA . [image: back] https://user-images.githubusercontent.com/68385687/87748007-76ae2900-c7fd-11ea-9cce-c9b5c07f2444.jpeg — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#453 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXBW4IY2SWXXL4FNDVTE7DR37GD5ANCNFSM4DLN6EFA .

You mean connect to pin1 without removing the ceramic antenna?

@lalo-uy
Copy link

@lalo-uy lalo-uy commented Jul 18, 2020

@lb4207
Copy link

@lb4207 lb4207 commented Jul 19, 2020

I hope this message saves someone A LOT of time. I took me quite a while to figure out why the module was going haywire.

Thanks ryaske for the information on that version of the board.
I'm about to flash mine but it needs a very fine pointed soldering iron and a steady hand to solder onto the pads by the chip. Don't the Rx and Tx appear anywhere else on the board?

PS. I've had a look at the datasheet for the ESP8285 and it shows both pins 14 and 26 as Tx during flash programming and pin 25 as Rx during flash programming which is different to what you show.

@pbouna321
Copy link

@pbouna321 pbouna321 commented Aug 14, 2020

Seems like i have another new layout ...
IMG_20200131_171510
Tried several things to enter Flash Mode, without luck:

  1. Pushed both buttons and connect USB --> No LED will tun on
  2. Connected GPIOO with GND of PI --> Devies is starting as usual ( 1 LED is blinking )
  3. Tried some Pins on the bottom (the right and left one) ---> right: No LED, left: booting up as usual

Does someone have an idea?

I have same board aslo.. did you find a way to flash it?

Same, can't find much on this version.

@KBrownConsulting
Copy link

@KBrownConsulting KBrownConsulting commented Aug 14, 2020

Seems like i have another new layout ...
IMG_20200131_171510
Tried several things to enter Flash Mode, without luck:

  1. Pushed both buttons and connect USB --> No LED will tun on
  2. Connected GPIOO with GND of PI --> Devies is starting as usual ( 1 LED is blinking )
  3. Tried some Pins on the bottom (the right and left one) ---> right: No LED, left: booting up as usual

Does someone have an idea?

I have same board aslo.. did you find a way to flash it?

Same, can't find much on this version.

I'll admit, these boards are a pain to flash because you have to connect directly to the chip, but there's a bunch of info on this board, pictures and all in this very thread...? I just flashed 4 of them this week using info mostly from here...

As far as getting it into flashing mode, that's actually quite easy once you know what to do:

Simply hold down BOTH buttons as you power up the device. If you hold the buttons down long enough (about 3-5 sec), when you release them the board will automatically be in flashing mode. You can tell the board is ready to be flashed if the red LED next to the blue relay & the LED next to the button closer to the edge of the board are on steady/solid red. If you don’t hold the buttons down long enough or immediately release them after powering the board up, the relay will toggle on & off repeatedly and the LED will slowly flash matching the state of the relay. In this case simply press the button closer to the edge of the circuit board once & it will put the board into flash mode.

Here’s a quick YouTube video (not mine) showing how to easily get the board into flashing mode.

Now actually getting a successful flash once it's in flashing mode can still be a royal pain in my experience if you're just hand holding pins to the chip. I literally had to make around 30 attempts on one of the boards I flashed. The Tasmotizer software simply wasn't detecting the board so wouldn't start flashing. Not sure what the problem was as 2 of the others I flashed worked first try.

After you've got the board flashed you can get it working properly in Tasmota by simply going to Configure Module & selecting Module: 1 Channel (12)

There's no need to configure a template as best I can tell so I haven't tested it, but if you do want to configure a template (instead of using the Module method) then here's the template you should probably check out: 1 Channel Inching/Self-Locking Relay (Even though the pictures are different this should be the same device. You'll notice at the bottom they link to the same video I did above.)

The last important thing about this device that I've discovered but have not seen well documented is that even after you've got Tasmota loaded, the mode button (closer to the edge of the device) still toggles the device between a hardware based inching vs self-locking mode.

Importantly, if you want to use the Tasmota "PulseTime" command (basically a software controlled inching mode) it appears the device MUST be in self-locking mode. (The LED by the mode button should be ON.)

Hope that helps.

@pbouna321
Copy link

@pbouna321 pbouna321 commented Aug 14, 2020

I'll admit, these boards are a pain to flash because you have to connect directly to the chip, but there's a bunch of info on this board, pictures and all in this very thread...? I just flashed 4 of them this week using info mostly from here...

Hey KBrown, If you follow the thread you will see there appears to be two different versions of this board. The one quoted here from OP does not contain the 4 pins as shown in the image below.

37117875-6ce0241c-2220-11e8-8a70-6b4a9b67a025

This is the board he was talking about, and the board I have. There is no 3v pin.
37117875-6ce0241c-2220-11e8-8a70-6b4a9b67a025

@KBrownConsulting
Copy link

@KBrownConsulting KBrownConsulting commented Aug 14, 2020

I'll admit, these boards are a pain to flash because you have to connect directly to the chip, but there's a bunch of info on this board, pictures and all in this very thread...? I just flashed 4 of them this week using info mostly from here...

Hey KBrown, If you follow the thread you will see there appears to be two different versions of this board. The one quoted here from OP does not contain the 4 pins as shown in the image below.

37117875-6ce0241c-2220-11e8-8a70-6b4a9b67a025

This is the board he was talking about, and the board I have. There is no 3v pin.
37117875-6ce0241c-2220-11e8-8a70-6b4a9b67a025

You're right, I did overlook that detail, sorry! But even so... As long as the main chip hasn't changed (which it doesn't look like it has) I wouldn't expect the flashing procedure to change any... You shouldn't need any of those holes. I didn't use any of them for flashing.

@silmaril464
Copy link

@silmaril464 silmaril464 commented Aug 22, 2020

Seems like i have another new layout ...
IMG_20200131_171510
Tried several things to enter Flash Mode, without luck:

  1. Pushed both buttons and connect USB --> No LED will tun on
  2. Connected GPIOO with GND of PI --> Devies is starting as usual ( 1 LED is blinking )
  3. Tried some Pins on the bottom (the right and left one) ---> right: No LED, left: booting up as usual

Does someone have an idea?

I have same board aslo.. did you find a way to flash it?

Same, can't find much on this version.

hi! i am in same situation, i have de same board.
Any news about this?

@pbouna321
Copy link

@pbouna321 pbouna321 commented Aug 22, 2020

Seems like i have another new layout ...
IMG_20200131_171510
Tried several things to enter Flash Mode, without luck:

  1. Pushed both buttons and connect USB --> No LED will tun on
  2. Connected GPIOO with GND of PI --> Devies is starting as usual ( 1 LED is blinking )
  3. Tried some Pins on the bottom (the right and left one) ---> right: No LED, left: booting up as usual

Does someone have an idea?

I have same board aslo.. did you find a way to flash it?

Same, can't find much on this version.

hi! i am in same situation, i have de same board.
Any news about this?

Not that I am aware of. I ended up returning mine to Amazon and getting a D1 Mini with Relay Shield, I actually got 2 for the same price as this board. Plugged in via USB and flashed with Tasmota, so much easier than trying to mess with this board.

@h3ld3rkid
Copy link

@h3ld3rkid h3ld3rkid commented Aug 25, 2020

Ppl. Its possible flash this esp, i cant find tje layout scheme... thnkx

FDCC3EDA-D7F0-4C65-B44A-062786524514

@armdan
Copy link

@armdan armdan commented Aug 25, 2020

yes, it is. Look above posts

@h3ld3rkid
Copy link

@h3ld3rkid h3ld3rkid commented Aug 26, 2020

yes, it is. Look above posts

Mine doenst.t have the little holes to gbd and 3.3v if you see

@cadavre
Copy link

@cadavre cadavre commented Sep 16, 2020

37117875-6ce0241c-2220-11e8-8a70-6b4a9b67a025

Anyone tried to connect ds18b20 (or any other) temperature sensor to this board?

Looks like no GPIOx is connected to the pins so only way is to connect straight into ESP? Which pin, any suggestions?

@CirrusSR22Joe
Copy link

@CirrusSR22Joe CirrusSR22Joe commented Oct 18, 2020

The WiFi module is actually an ESP8285 SMT Module

GPIO Pins of the ESP8285

@CirrusSR22Joe
Copy link

@CirrusSR22Joe CirrusSR22Joe commented Oct 18, 2020

I think it is an ESP-M1
GPIO Pins of the ESP8285 Snip2

@ukd4ve
Copy link

@ukd4ve ukd4ve commented Dec 20, 2020

yes, it is. Look above posts

Mine doenst.t have the little holes to gbd and 3.3v if you see

My board looks like yours too. I managed to flash it by soldering 4 wires to the contacts on the little board PSF-B01 board.

The pinouts from here helped:
https://www.hagensieker.com/wordpress/2019/02/08/flashing-single-channel-inching-relay-sonoff-with-tasmota/
And when I connected it to my computer to flash it with Tasmotizer, I used this method to get it into flashing mode:
https://www.youtube.com/watch?v=E0WBoFCcnYY

Soldering the 4 small contacts in a row was a bit tricky, but it worked nicely.

IMG_3458

@hhaim
Copy link

@hhaim hhaim commented Aug 9, 2021

I was able to get this sort of working... (See attached picture) I had to remove 1 IC to stop the bouncing of the relay and bridge 2 of the empty pads. Also, need to add a pull-up resistor as indicated in the pic to make the button work after removing the IC.
I tried all tasmota configurations, and it would not work.
I was able to get it working using this firmware
https://github.com/KmanOz/Sonoff-HomeAssistant
So, at least it works now, but maybe someone smarter than I can modify the tasmota firmware (which I like better) to make it work.

sonoffinching

There is no need to mess with the board,

  1. Connect the lines to tx/rx/ gp0 to ground
  2. The normal tasmota image works just fine, you just need to press (once) on the upper bottom to change mode (led is on) and select (12) in tasmota type of board (1 channel)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests