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

Add Joywell 5ch power strip #3216

Closed
wants to merge 1 commit into from
Closed

Add Joywell 5ch power strip #3216

wants to merge 1 commit into from

Conversation

fnordsh
Copy link

@fnordsh fnordsh commented Jul 13, 2018

@fnordsh
Copy link
Author

fnordsh commented Jul 14, 2018

Just to clarify: The article description suggests this thing has 4 channels, but in fact there are 5 relays, one for each socket and one for the included usb power supply.

@Jason2866
Copy link
Collaborator

Could you post some photos? Where are Rx, Tx, GPIO 0, Gnd?
How to disassemble? Something "special" to know?
THX!

@fnordsh
Copy link
Author

fnordsh commented Jul 14, 2018

I've posted some details in the sonoff-users group a while ago:
https://groups.google.com/forum/#!topic/sonoffusers/edE3DMJccs8

But I'll try and add some more details and/or better photos here when I get back home this afternoon/evening.

@fnordsh
Copy link
Author

fnordsh commented Jul 14, 2018

Okay, here are more details:

It's helpful to have a triangle-screwdriver:
dsc_0424a
These are the same screws we all love from the Teckin/Blitzwolf sockets.
You can use a flat or tri-wing screwdriver, if you are careful, but I'd recommend getting a matching bit, as they are not expensive.

The plastic hooks are easily loosened; I like to use a guitar pick, but a flat screwdriver works just as well.

dsc_0282
On the left is the USB power supply, on the right is the control board.

dsc_0291
Remove the plastic clip that holds the mains cable in place.
The control board is held by 3 Phillips screws.

dsc_0292

Here's the documentation for the TYWE2S module:
https://fccid.io/2ANDL-TYWE2S/User-Manual/Users-Manual-3596121

As far as I can see, GPIO0 can only be reached via a test point on the back, so you'll need to desolder the module.

dsc_0300a

After flashing Tasmota (and preferably making sure that it connects to your WLAN correctly), solder the module back in. When putting the back cover back on, make sure the socket contacts are still in the correct place. (When closed, the back cover holds them in place.)

Well, that's it!

I really like these power strips; even though flashing the firmware is a bit of work at first, it's still faster than flashing 4 or 5 single sockets, and they have the best switchable-sockets-per-euro ratio that I've found so far. Also, they look good on my workbench. :-)

If you have any further questions, just ask!

@Jason2866
Copy link
Collaborator

Thank you for your detailed how to!
Just my 2 cents, the build quality / design is not the best...

@fnordsh
Copy link
Author

fnordsh commented Jul 14, 2018

@Jason2866

Just my 2 cents, the build quality / design is not the best...

I agree, it looks a bit cheap, and the button feels a bit fragile.
But I'm sufficiently confident that it won't burn my house down. :-)

@fnordsh
Copy link
Author

fnordsh commented Jul 14, 2018

@Jason2866
Out of curiosity: What are your main concerns, and how would you improve it?
I think I'd have added an air gap between the mains and the 3V parts of the control board, and the socket contacts could probably be fixated better. But at least they've included a fuse.

@Jason2866
Copy link
Collaborator

The things you mentioned. Low Voltage to Ac voltage "spaces" wiring and cable management.
Finally soldered connections in power strip, that isnt the best idea. After VDE this isnt allowed....
Better is crimpend or Punktgeschweißt (i dont know the english word)
The Power rails if the got warm maybe get deformed and this makes bad contact
and than it got hotter....

@fnordsh
Copy link
Author

fnordsh commented Jul 14, 2018

The power strip has indeed only the CE symbol, no VDE. (I think the latter is not mandatory in the EU, but it's still interesting to know.)

@fnordsh
Copy link
Author

fnordsh commented Jul 14, 2018

It'd be interesting to know about other available options. There are some other power strips on Amazon that look like they're probably ESP8266-based, but this is the only one with 4 sockets that I know of.

@Jason2866
Copy link
Collaborator

I think all ESP based devices are from China, and the build so many dangerous things.
It is a lottery maybe there isnt any really very well build one.

@fnordsh
Copy link
Author

fnordsh commented Jul 14, 2018

You're probably right about the lottery thing. In my opinion, the original Sonoff S20 have a much better internal design than some of the "no-name" clones, or the Teckin/Blitzwolf ones, for example. (But the latter have power measurement and look at least okay-ish to me.)

@Jason2866
Copy link
Collaborator

Yes, i have original! Sonoffs too. Build quality is for China good.
I bougt a few days ago a gosund powermeter socket. It is not as bad...
But i never would connect or switch devices which needs much current unattended for a longer time.

@fnordsh
Copy link
Author

fnordsh commented Jul 23, 2018

Hi, just to make sure I'm not doing anything wrong here: Is there any kind of protocol I should adhere to, to get my PR merged? Or should I just wait more patiently? 🙂

@ascillato
Copy link
Contributor

Please, be patient 👍

@fnordsh
Copy link
Author

fnordsh commented Jul 23, 2018

Okay! 🙂

@arendst
Copy link
Owner

arendst commented Jul 23, 2018

Why are you so eager to add this device to Tasmota?

The proposed changes can be implemented by using the Generic device easily...

@fnordsh
Copy link
Author

fnordsh commented Jul 23, 2018

Of course that's possible - which is true for most of the over 40 devices already in there, I suppose.

It just would be nice not having to look up the correct settings for 7 different GPIOs every time I set up one of these devices. In fact, I do have this patch in my custom builds, but every time you add a device upstream, I get conflicting device id numbers, which can lead to problems...

One time I had to reflash a power strip because the ids changed and the device would not boot properly with the new settings (the same id now being used to indicate another device). Maybe it expected some sensor that was not present? I don't know. It just wouldn't connect to my WLAN any more and I couldn't make it go into setup mode either. Since these things need to be soldered apart for flashing (see above) that was rather annoying.

Now, these are by no means unsolvable problems, but it would still be nice if I wouldn't need to worry about it any more. And, I imagine, others would also benefit from the added convenience of not having to figure out the GPIO settings themselves (or at least not having to google them every time).

I take it you are reluctant to merge this because you don't want to clutter the list of devices too much?

@arendst
Copy link
Owner

arendst commented Jul 23, 2018

It's your last sentence and the fact how many people are using these devices.

Feel free to initiate a poll to find out how many users are using what device.

@fnordsh
Copy link
Author

fnordsh commented Jul 23, 2018

I see. Thank you for the feedback.

@ascillato2
Copy link
Collaborator

Thanks for sharing your ideas. By now, This PR is not going to be merged in order to mantain the device list in the firmware as short as possible. Please, if you have further questions or ideas, do not hesitate on contacting us in the Tasmota Discord Chat. Thanks.

@ascillato2 ascillato2 closed this Oct 1, 2018
@fnordsh
Copy link
Author

fnordsh commented Feb 11, 2019

This is actually the same device as the "MANZUKO smart power strip" which was merged in #4590 on Dec. 11, 2018. I'm not sure what made you change your mind, but happy to see it got integrated after all.

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

Successfully merging this pull request may close these issues.

5 participants