home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.72k stars 28.87k forks source link

Cannot see GreenSun device #94820

Open thisisbenwoo opened 1 year ago

thisisbenwoo commented 1 year ago

The problem

Hello, I purchased a smart switch branded GreenSun, but it uses the VeSync app. It measures the voltage, power, etc. This is a picture of it: image Everything works on my Android app, but I really want to bring in the data about energy consumption into HA. I installed the VeSync integration. In Settings | Integration VeSync is loaded, and Integration entries shows my account, but there are no entities or devices. Does the device need to be branded Etekcity to work? Thank you. b

What version of Home Assistant Core has the issue?

2023.6.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

vesync

Link to integration documentation on our website

https://www.home-assistant.io/integrations/vesync

Diagnostics information

config_entry-vesync-9eebd77d10ee912d24b8facb263d98f9.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

I purchased my device from Amazon France: https://www.amazon.fr/GreenSun-Programmable-Consommation-Electrique-Compatible/dp/B0BS61QJ7N?pd_rd_w=a8KA5&content-id=amzn1.sym.5d383c63-2adc-448d-95ee-0a4cc1f5763b&pf_rd_p=5d383c63-2adc-448d-95ee-0a4cc1f5763b&pf_rd_r=09SA12JV6TGWYMN35DSB&pd_rd_wg=62qZ7&pd_rd_r=00491b3d-552a-4995-b8a1-6a45f68b1aaa&pd_rd_i=B0BS61QJ7N&ref_=pd_bap_d_grid_rp_0_1_ec_t&th=1

home-assistant[bot] commented 1 year ago

Hey there @markperdue, @webdjoe, @thegardenmonkey, mind taking a look at this issue as it has been labeled with an integration (vesync) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `vesync` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign vesync` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


vesync documentation vesync source (message by IssueLinks)

timluther commented 1 year ago

I have the same issue

entropy75 commented 11 months ago

I also have this issue, works fine in the vesync app, but not showing up as a device in HA.

xtension74 commented 11 months ago

+1 on issue. Don't know if it might help, but there is tuya integration mentioned on the packaging, but when I try to discover the device with Tuya app, it doesn't find it, so very VeSync only oriented.

TrixXxAs commented 11 months ago

I have the same problem and everything i tried does not help.

JDIDDLY commented 10 months ago

+1 same issue here. Purchased a UK socket and installed via VeSync app (tried to with Tuya/Smart Life, but was unable to find the device). VeSync integration on HA cannot find the device

ajaufura commented 10 months ago

Hi. same issue here. The vesync integration is OK but no device is showing up.

Roadis commented 10 months ago

Just for your Information. The corresponding Javascript library doesn't have the Greensun device in it yet. I would add it myself but I don't have the right urls for this device. https://github.com/webdjoe/pyvesync/issues/194 When someone is good at breaking SSL Pinning on Android devices we could add it pretty simple.

issue-triage-workflows[bot] commented 7 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

jmplonka commented 7 months ago

Started working on this issue also.

I was able to add a new DeviceType to pyvesync, so that at least the names and device types (all WYSMTOD16A) are returned.

Next, I'm trying to implement toggle switch and get energy data.

Therefore I've dumped the traffic, but don't know exactly how to extract the necessary data like:

Helpers.call_api(
            '/outdoorsocket15a/v1/device/devicestatus',
            'post',
            headers=Helpers.req_headers(self.manager),
            json_object=body,
        )

or is there a webfrontend for vesync.com?

TomHilde commented 6 months ago

Same issue here.

Anything new in this case?

Yoeky commented 5 months ago

I also have 4 of those GreenSun plugs I'd love to get included in Home Assistant and ended up here while looking for help. Is there anything I can do to help get this working? Is there a tutorial on how to gather the debug info that a software developer might need?

KevinK79 commented 5 months ago

Same issue here..

StartDustTC commented 4 months ago

+1 have a GreenSun plug with energy measurement, all fine with Android App, device not detected by the integration in Home Assistant

blinddark commented 3 months ago

Same issue here. I can't see the Green Sun product in HomeAssistant.

JazzMetal commented 3 months ago

Same issue here. 8 devices, desperately looking to use them with HA

Rob1801 commented 2 months ago

Habe mir eine Smarte Steckdose gekauft um den Ertrag Bon meinem Balkonkraftwerk Solar zu messen und kann dies auch in der Smartlife App sehen aber nicht in Homeassistent.

snope commented 1 month ago

Same here, bought way too many of those. Would love to see an integration. Big thanks!

bananacookie commented 2 weeks ago

Same for me, still looking for solutions.