Closed meingraham closed 5 years ago
This should work also for WP5, as it is the same plug, with a different number. Will confirm after work. Thanks for sharing @meingraham!
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:
RelayX
or LEDX
. Operation may dictate regular or inverted (RelayXi
/LEDXi
).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.None
Mike
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
Thanks for your contribution!
@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
@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.
For the wiki: Gosund WP3 Generic Module GPIO4: Switch1 GPIO12: LED2i GPIO13: LED1i GPIO14: Relay1
Works like a charm on WP5 as well.
@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.
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.
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 < notifications@github.com> 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 https://github.com/ct-Open-Source/tuya-convert/issues/49#issuecomment-472151502, or mute the thread https://github.com/notifications/unsubscribe-auth/AS3V6kH0KVS9MIZjz3yO9af2n8Ca5NJ6ks5vWAKegaJpZM4aYYIA .
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.
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 .
See if this procedure helps identify your configuration issues - https://github.com/arendst/Sonoff-Tasmota/wiki/Configuration-Procedure-for-New-Devices
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: https://github.com/SynAckFin/TuyOTA/issues/6#issuecomment-455742716
See if this procedure helps identify your configuration issues - https://github.com/arendst/Sonoff-Tasmota/wiki/Configuration-Procedure-for-New-Devices
I updated the Tuya-Convert supported devices wiki to add the SP10 and to reference that configuration for the WP5.
I have 4x of the Gosund WP5 outlets, and I used the following configuration.
Question: How can I configure the blue LED to turn on?
I ended up using this configuration, which keeps the blue "link" LED active
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}
For the wiki: Gosund WP3 Generic Module GPIO4: Switch1 GPIO12: LED2i GPIO13: LED1i GPIO14: Relay1