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

Gosund WP3 TASMOTA GPIO Configuration #49

Closed
meingraham opened this issue Jan 29, 2019 · 16 comments
Closed

Gosund WP3 TASMOTA GPIO Configuration #49

meingraham opened this issue Jan 29, 2019 · 16 comments
Labels
new device A confirmation for a new device

Comments

@meingraham
Copy link
Contributor

For the wiki: Gosund WP3
Generic Module
GPIO4: Switch1
GPIO12: LED2i
GPIO13: LED1i
GPIO14: Relay1

@ragenhe
Copy link

ragenhe commented Jan 29, 2019

This should work also for WP5, as it is the same plug, with a different number. Will confirm after work. Thanks for sharing @meingraham!

@meingraham
Copy link
Contributor Author

WP5 is a newer design... and may have different GPIO configuration. Let us know.

If the WP3 configuration doesn't work, @digiblur has a procedure in his latest YouTube livestream to determine the proper GPIO configuration. Here's how I would summarize that:

  • Set every GPIO (excluding, at first, "dedicated" like Tx/Rx) to relays. Save configuration. Use web GUI toggles to find which GPIO control relays and LEDs. If unable to find relays and LEDs, set the "dedicated" GPIO and retry. Set the "active" GPIO to associate them with the RelayX or LEDX. Operation may dictate regular or inverted (RelayXi/LEDXi).
  • Set every remaining GPIO (excluding, at first, "dedicated" like Tx/Rx) to Switches. Save configuration. Display Status 8 (sensors) in the Console to see the current state of the GPIO. Then, while pressing the button(s), display Status 8 again. Whichever GPIO changes state is the GPIO tied to the button. If none change state, then configure the "dedicated" GPIO and retry. Change the GPIO to a Button (may need to determine whether the internal pull-up is used or not - ButtonXn for no pull-up). If you want to use short-press/long-press functionality (described in a couple other of Travis' videos), configure the button as a Switch instead.
  • Set remaining GPIO to None

Mike

@ragenhe
Copy link

ragenhe commented Jan 29, 2019

I watched that video this morning. It closes the loop on what I need to do. While I was "researching" I came across a pdf letter from Gosund to the FCC. They advised that all of the models were the same and had different model numbers for marketing purposes. On Amazon the WP5 is "upgraded". I will report back my findings tonight.
Thanks!
Ragen

@merlinschumacher merlinschumacher added the new device A confirmation for a new device label Jan 29, 2019
@merlinschumacher
Copy link
Contributor

Thanks for your contribution!

@meingraham
Copy link
Contributor Author

meingraham commented Jan 29, 2019

@merlinschumacher,

Thank you for this project!

I'm not sure if one is able to set a particular page as editable or if the setting has to apply to the entire repository. If the former, you may want to consider making that page editable by the user community to save yourself some work... and possibly to make the page more dynamic/accurate. I saw a couple of comments on other forums about new devices and configurations but they hadn't provided them since they were not able to edit the page and had not thought about how to provide you with the information.

Regards.

Mike

@digiblur
Copy link
Contributor

@merlinschumacher yes. I fully agree! Or even just a few of us be able to edit things in as I would like to put several configs in there as well.

@ragenhe
Copy link

ragenhe commented Jan 29, 2019

For the wiki: Gosund WP3
Generic Module
GPIO4: Switch1
GPIO12: LED2i
GPIO13: LED1i
GPIO14: Relay1

Works like a charm on WP5 as well.

@merlinschumacher
Copy link
Contributor

@merlinschumacher,

Thank you for this project!

I'm not sure if one is able to set a particular page as editable or if the setting has to apply to the entire repository. If the former, you may want to consider making that page editable by the user community to save yourself some work... and possibly to make the page more dynamic/accurate. I saw a couple of comments on other forums about new devices and configurations but they hadn't provided them since they were not able to edit the page and had not thought about how to provide you with the information.

Regards.

Mike

Thanks for the tip. I changed the wiki to be publicly editable.

@dvanderb
Copy link

For the wiki: Gosund WP3
Generic Module
GPIO4: Switch1
GPIO12: LED2i
GPIO13: LED1i
GPIO14: Relay1

Works like a charm on WP5 as well.

Did you have any issues/what did you flash to the WP5? I flashed the default tasmota binary that was included. I can access the HTTP page for the device and set the GPIO config.. but I never hear the relay click over when turning on and off.

@ragenhe
Copy link

ragenhe commented Mar 12, 2019 via email

@dvanderb
Copy link

dvanderb commented Mar 13, 2019

Yeah just tried this on a 2nd one with the same issue. Even set to Button1 but the button isn't causing the Relay to click over either. Attaching config screenshot just to so someone can say if something looks amiss.
image

No issues. I flashed the default as well. I did change Switch1 to button1 so I could use the button on the side for manual control. Module Type: Generic (18) right?

On Tue, Mar 12, 2019 at 3:40 PM David van der Bokke < @.***> wrote: For the wiki: Gosund WP3 Generic Module GPIO4: Switch1 GPIO12: LED2i GPIO13: LED1i GPIO14: Relay1 Works like a charm on WP5 as well. Did you have any issues/what did you flash to the WP5? I flashed the default tasmota binary that was included. I can access the HTTP page for the device and set the GPIO config.. but I never hear the relay click over when turning on and off. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#49 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AS3V6kH0KVS9MIZjz3yO9af2n8Ca5NJ6ks5vWAKegaJpZM4aYYIA .

@meingraham
Copy link
Contributor Author

See if this procedure helps identify your configuration issues - https://github.com/arendst/Sonoff-Tasmota/wiki/Configuration-Procedure-for-New-Devices

@dvanderb
Copy link

Thanks I figured it out. Looks like not all Gosund WP5 are created equal. All of mine are from the same batch and I've tried two with the same result. In my case I had to use the same config as the Teckin SP10 as referenced in: SynAckFin/TuyOTA#6 (comment)

See if this procedure helps identify your configuration issues - https://github.com/arendst/Sonoff-Tasmota/wiki/Configuration-Procedure-for-New-Devices

@meingraham
Copy link
Contributor Author

I updated the Tuya-Convert supported devices wiki to add the SP10 and to reference that configuration for the WP5.

@pcgeek86
Copy link

I have 4x of the Gosund WP5 outlets, and I used the following configuration.

  • When the socket is ON, the RED LED is on
  • When the socket is OFF, no LEDs are on

Question: How can I configure the blue LED to turn on?

image

@pcgeek86
Copy link

pcgeek86 commented Aug 28, 2020

I ended up using this configuration, which keeps the blue "link" LED active

image

Here's the template:

{"NAME":"Gosund-WP5","GPIO":[0,0,0,0,17,0,0,0,56,157,21,0,0],"FLAG":0,"BASE":18}

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

No branches or pull requests

6 participants