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
PowStro Basic Support #1419
Comments
Please submit a PR and also add them to the wiki.
|
Hi, I also received a PowStro instead of a Sonoff. As I am not quite familiar with the development part and git (sorry for that and many thanks for all the good things you are doing) is the powstro support already available in the SonOTA update way? |
Received Powstro also. as pointed out by camfarmer these boards are being sold as sonoff's, but are totally different. I see the pr for tasmota OTA. Has this been imlemented? Cant find it on the list of available devices, or instruction on soldering and/or flashing instruction could suffice till implemented Thanks ! |
After some messing around, I was able to reprogram the PowStro with Tasmota. First you need to solder some wires to pins 3.3v, gnd, tx, rx. for reference, 3.3v is the top left pin. use the manual found at: https://fccid.io/2AKBPESP8266-S3/User-Manual/User-Manual-3594791.iframe for pin outs. upload the usual way. once uploaded, you need to configure the pins since they are different than a normal sonoff. GPIO4 is the relay I hope this helps someone. Also, don't buy these on purpose, they are cheap and complicated... just stick with Sonoff!!! |
I have not been able to get SonOTA to work with the PowStro switches. Using
nmap, I have not been able to locate an open port. The next step would be
to try and observe the mobile app upgrading the firmware, if it even has
that capability.
I have only been able to program these switches using the hard wired method.
…On Tue, Jan 2, 2018 at 12:54 PM hbg1979 ***@***.***> wrote:
Hi, I also received a PowStro instead of a Sonoff. As I am not quite
familiar with the development part and git (sorry for that and many thanks
for all the good things you are doing) is the powstro support already
available in the SonOTA update way?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1419 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhJm6oZrooN57cWVUzbY9OSupP6HwjGhks5tGomJgaJpZM4RLmTC>
.
|
That's to be expected, SonOTA is hijacking the sonoff update mechanism to
install tasmota on the device, PowStro will have it's own update mechanism and
servers, so will be different than the sonoff one.
|
I have everything connected as depicted in the above picture, and and it powers by the cp2102 converter, i can see tx and rx coming and going, but i keep getting
|
Oh sprry,I forgot to mention when powering up, connect Gpio 0 to gnd with a jumper wire. When it is in flash mode, the lights will stay solid on. |
pferona -- Thank You very much .. That did it ...got it flashed and hooked up to my Domoticz Broker .. Your assistance is so very greatly appreciated .. |
I got one of these powstro switches when i really wanted a sonoff as well. I have been trying to flash the firmware without success. I grabbed the newest release, 5.11. attached pins just as described, shorted gpio0 to ground and all lights are lit up, I hit upload in arduino ide and get "warning: espcomm_sync failed error: espcomm_open failed". What am I missing? |
I must have been to tired when i was messing with this. I did in fact have the rx and tx reversed. sadly when i was wiring it I wrote down the wire colors and what they were when i was plugging them in, but hence wrote them down wrong. lol. |
Hi there! Thanks to all the help in this thread flashing the device was no problem. I would also opt for activating the PowStro device configuration in the sonoff_template.h by default. I wrote my own configuration and just discovered someone already added one to the commented section at the end of the file after finishging mine ;-) The PowStro actually offers two LEDs (one dual LED red & green). the other gpio are as gven above: As the switch is not connected to gpio 0, entering the flash mode requires a jumper wire to "press the button" (pull gpio 0 to GND). The same holds true for the initial configuration, in case you did not flash a binary customized with your wifi setting. I did this right after flashing by using the 3.3V supply I used during flashing to power up the ESP, emulating the 4x button press with the jumper wire (as realized later that I had a typo in my SSID). My device definition in sonoff_template.h looks like this:
Even though this might not be correct for the LEDs (either both should be inverted, or both normal), this gives me the following nice LED states: The GPIO 0, 2, 5, 14 are unused but easily accessible on the module. Hence I set them to "user". They might be used for additional sensors. I would, however, only recommend sensors directly soldered to the PCB, with well insulated wires. The power supply of the PowStro is a buck converter. Hence, the "low voltage Vcc" is referenced to one of the mains input wires (either L or N, depending on how you wire the input)! The general PowStro PCB layout is not bad. It is fine, if you do not plan modifying/extending your wifi switch with additional sensors. As the price is not noticeably lower the the original sonoff, however, I follow the recommendation of pferona: do not buy it on purpose, go for the original! Best regards |
I also received the powstro switches and have been struggling with them for the last 3 hours… Is there any way to use sonOTA for these? They use a different WiFi (SmartLife-****) with no password, so sonOTA fails to recognize it. It seems the only way to flash tasmota on the device is by the above mentioned soldering method, which wouldn't be the issue, but since I do not have a FTDI adapter at hand, I'm out of luck for now. It sucks that just because some idiot reseller wanted to save a couple of cents, I now have to spent more money to make them work for me. Like it's been said already, go with the original, and don't buy them off eBay at all. Most of them don't even tell you they're sending you something different, some of them say they send out sonoff/powstro randomly and they're exactly the same (which is a lie) and others only sell the powstro, but at least they're honest about it. Either way, I haven't found a listing that reliably sells original sonoff switches. |
Hello |
After flashing you can no longer use the Smart Life application. Do you see the powstro in the client list of your router? If you see the IP in the router then you should be able to access it. OR .. the web server of the powstro device is not working. Did you put the SSID and password in the wifi area of the user_config.h tab and then recompile and upload? |
sejoki on ebay seller reliablemate were real sonoffs course ymmv .. |
yes, I typed everything as you just wrote. |
can you connect to the device by taking your computer and then using your wifi on your computer can you connect directly to the powtro? If your flash was successful if i remember correctly the device webserver starts as dhcp 192.168.4.1 and your computer gets the ip of 192.168.4.2 .. you should be able to set it up from there. If not here is the visual/written guide I used ...also if you look at the tasmota git there outlines some of the setup with the aruino ide: |
The latest version of Tasmota 5.11.1b if you use the github address .. does shorten steps from the video as alot of the libraries needed are included in the source file .. The latest version 5.11.1 source also has a library file TasmotaSerial-1 that is needed if you compile the latest version. |
Hi, |
I have been able to disable the red and green LEDs by not specify the associated GPIO pin, but I have not figured out how to disable the blue LED. This LED is on the esp8266 module and I am guessing that it is tied to the relay GPIO pin (GPIO 4). Thus I don't think it is possible to disable the blue LED without physically removing it. |
Hey guys |
@Halo3000 i dont do something different. I dont know how to help you here sorry 😢 |
I finally made it |
Thanks for that feedback Halo3000 ! |
Ok, I've managed to do it. So, for the folks that will come here in the future:
|
@ reloxx13 Your picture was very helpful. Thanks. But there must still be a bug in it(TXD-Pinout) The pinout is the following schematic module: GND ,TXD I connected it this way and connected the module (pressing gio0 on ground and module key. Then the LED lights up green constantly. Flash with: And it works!! yeah Many thanks cpiekacz! Great help ! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem. |
An ebay seller sent me some PowStro switches in place of the Sonoff Basic switches that I bought.
https://www.dhgate.com/product/wholesale-powstro-smart-wifi-switch-ac-90/401010862.html
So I opened them up and discovered that they were using an esp8266 module. Then I found some information on the module and a datasheet.
https://fccid.io/2AKBPESP8266-S3
https://fccid.io/2AKBPESP8266-S3/User-Manual/User-Manual-3594791.iframe
I have added support for this PowStro switch to Sonoff-Tasmota. Is anyone interested in me submitting a pull request for this addition?
I did have to connect wires to the UART pins in order to initially flash these switches. It would be nice to figure out a way to use the SonOTA script to initially flash the PowStro switches.
The text was updated successfully, but these errors were encountered: