nikshriv / cync_lights

Home Assistant Integration for controlling Cync switches, plugs, and bulbs
178 stars 63 forks source link

Error after logging into Cync to connect light switch #100

Open robertsfeir opened 5 months ago

robertsfeir commented 5 months ago

Hi there. I have a Wifi Cync Light switch, on my network. I've followed the install instructions. I can get through username/pass login followed by 2FA auth code, but the interface throws an error:

"Invalid or unsupported Cync configuration, please ensure there is at least one WiFi connected Cync device in your Home(s)"

In the logs I see this:

This error originated from a custom integration.

Logger: custom_components.cync_lights.config_flow Source: custom_components/cync_lights/config_flow.py:105 integration: Cync Lights (documentation) First occurred: 10:41:44 AM (1 occurrences) Last logged: 10:41:44 AM

IndexError: list index out of range

Perhaps it's returning 0 devices so it's throwing this error?

Thing is on my iPhone in the Cync app I can see the device, it is connected to WiFi, and over cell I can control it, so it's definitely connected to the cloud. When I log into my cync account via web it doesn't show any devices because only cameras are supported there. So not quite clear if this is a bug (the ioor should probably be caught) or something else I didn't do?

herm95 commented 3 months ago

@nikshriv is there any information that could be given on this? I was going to open an issue as I'm having this exact experience. I validated in the Cync app that i'm connected via WIFI when my bluetooth is off.

adamfluegge commented 1 month ago

I too am having this issue

OphanimLLC commented 3 days ago

same issue