-
Notifications
You must be signed in to change notification settings - Fork 95
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 Support for outlets from GreenSun #194
Comments
You would need to send me packet captures. The process is involved but possible since vesync has used methods to prevent capturing packets. Happy to send you some details if you are interested. |
Here are a few logs I took: Looks like this is using the bypassV2 API that is already being used in some of the bulb handling code. |
Hi, I've a Greensun power outlet, too: No idea, if this might be helpful, but by chance I found what should be the firmware file: If you need more capture data, I'm happy to provide it. Only need your instructions how to do it (and some time 😊). Thanks, Martin |
Hey Martin, you don’t have a copy of that file by any chance? I’m only getting a access denied error when trying to access it. |
The link was wrong domain, sorry. Stupid copy&paste error … I've edited my message above and with http://testonline-fw.vesync.cn/ZY_WFBO_OTL_WYZYOGMINIPLUG_UN/v1.0.00/WYZYOGMINIPLUG_UN_ota_v1.0.00.rel.bin the download should work. |
Just subing to this thread as I have the same issue and would love to see a solution. Also happy to help with any data, but you'll need to walk me through what you need... |
Same for me :-) I'm an experienced Python developer, but it's been a while since I did anything with networks. I guess when you want packages to be captured that means using wireshark? Edit: I think I figured it out in principle:
Let's see when I find the time to actually give it a shot xD |
I can see to which domains it connects (or my smartphone):
But I don't see the specific requests as the calls are decrypted (although I'm in the middle, intercepting all traffic). |
|
btw I strongly suspect that these are devices similar to other smartplugs discussed in https://www.elektroda.pl/rtvforum/forum390.html. So if opening the device is an option, then you can flash OpenBeken and use the device via this tasmota-like interface. |
Hi together, I would also request the greensun devices within pyvesync. Currently I have one outdoor outlet for my PV. In the router this one is called GZWY-outlet and according to its MacAddress, manufacturer is "xiamenshi c-chip technology co., ltd". The other GreenSun outlets that I use are named "BSD-Outlet", according to their MacAddr, the manufacturer is "Shenzhen Phaten Tech. LTD". Don't know if that helps. I will also try to capture the traffic as mentioned here. |
Hi, I am also very interested in this thing. Is there anything new here, were you successful? |
I have 6 greensun outlets and I try this code:
output console is:
|
Adding Here also a GreenSun Plug: Amazon.de | Greensun Plug BSDOG02
API Endpoints involved: Power Statistics: Query:
Response:
Device-List: Device-Info: I created a Fiddler log if you need it @webdjoe . |
Thank you! I will begin to work on this |
For everyone who just wants to have any API to control these devices I can recommend the following instructions to open the device https://www.elektroda.com/rtvforum/topic3927458.html#21114565 |
Hello, I have an outlet from GreenSun (purchased through Amazon) which can be controlled and read via the app Vesync. Is it possible to control this socket also via pyvesync? Many thanks
The text was updated successfully, but these errors were encountered: