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
71.16k stars 29.85k forks source link

Cannot integrate Linear (GoControl) garage door opener into Home Assistant #124256

Open rckingsley opened 3 weeks ago

rckingsley commented 3 weeks ago

The problem

I'm attempting to integrate a Linear (GoControl) Zwave garage door controller into my Home Assistant environment. The physical device is installed, and is paired with my Zwave stick. However, the only entities that are provided (after pairing the opener) are 'Ping', 'Last Seen', and 'Status' (and 7 other miscellaneous diagnostic entities). There is nothing provided that actually will tell the opener to open/close the garage door.

I also tried (from the Home Assistant website) adding the Linear Garage Door integration, but it asked me to sign in. After some digging, I found that (apparently) it wants a login to the 'VeSync' site, so I created a userid/password, and added the VeSync integration to my Home Assistant environment. When I attempted the Linear integration again, after entering my VeSync credentials, I get an "Unexpected error".

Note: I tried to drag/drop the VeSync debug log, but it wouldn't allow it.

What version of Home Assistant Core has the issue?

core-2024.8.2

What was the last working version of Home Assistant Core?

core-2024.8.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Linear Garage Door

Link to integration documentation on our website

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

Diagnostics information

I tried to drag/drop the VeSync debug log, but this website wouldn't allow it.

Example YAML snippet

n/a

Anything in the logs that might be useful for us?

Logger: homeassistant.components.linear_garage_door.config_flow
Source: components/linear_garage_door/config_flow.py:86
integration: linear_garage_door (documentation, issues)
First occurred: 2:12:25 PM (1 occurrences)
Last logged: 2:12:25 PM

Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/linear_garage_door/config_flow.py", line 86, in async_step_user
    info = await validate_input(self.hass, user_input)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/linear_garage_door/config_flow.py", line 50, in validate_input
    sites = await hub.get_sites()
            ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 189, in async_wrapped
    return await copy(fn, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 111, in __call__
    do = await self.iter(retry_state=retry_state)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 153, in iter
    result = await action(retry_state)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/tenacity/_utils.py", line 99, in inner
    return call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/tenacity/__init__.py", line 418, in exc_check
    raise retry_exc.reraise()
          ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/tenacity/__init__.py", line 185, in reraise
    raise self.last_attempt.result()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 114, in __call__
    result = await fn(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/linear_garage_door/__init__.py", line 257, in get_sites
    "SendingUserID": self._user_id,
                     ^^^^^^^^^^^^^
AttributeError: 'Linear' object has no attribute '_user_id'

Additional information

n/a

home-assistant[bot] commented 3 weeks ago

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

Code owner commands Code owners of `linear_garage_door` 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 linear_garage_door` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


linear_garage_door documentation linear_garage_door source (message by IssueLinks)

IceBotYT commented 3 weeks ago

Hi, I appreciate the report.

Do you use this/this app to control your garage door? This is what the integration was intended for.

If you use a different app, could you send a link to it here? I recently added support for the new Nice G.O. app releasing in 2024.9.0.

rckingsley commented 3 weeks ago

My intent is to use Home Assistant (which I already use to control switches / plugs / sensors) to be able to open/close the garage door.  I currently have a sensor that detects whether the garage door is open or not, but cannot remotely open/close it.  My preference is to have a single app to handle all of my home automation devices and such.Thanks.Rick KingsleyOn Aug 19, 2024, at 3:21 PM, IceBotYT @.***> wrote:Hi, I appreciate the report. Do you use this/this app to control your garage door? This is what the integration was intended for. If you use a different app, could you send a link to it here? I recently added support for the new Nice G.O. app releasing in 2024.9.0.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

IceBotYT commented 3 weeks ago

Okay. What did you use previously to control these garage doors remotely before switching to Home Assistant? This may be an issue for the Z-Wave integration you use.

This integration (linear_garage_door) is for users who use the app I linked above.

rckingsley commented 3 weeks ago

Nothing until now.  A few weeks ago I tried a different Z-wave switch (Zooz), but that switch disabled my wall switch (which is unacceptable), so I returned it and am now trying the Linear.This is my first attempt.  Until this, the garage door was (and still is) controlled either by a wall switch or remotes in the cars.The Home Assistant website has a page dedicated to the Linear garage door integration, and that website was what I used to attempt to add that integration.  For all of my other Zwave devices, just pairing the device to my HA system automatically generated entities that would control the device - but not in this case.Rick KingsleyOn Aug 19, 2024, at 4:46 PM, IceBotYT @.***> wrote:Okay. What did you use previously to control these garage doors remotely? This may be an issue for the Z-Wave integration you use. This integration (linear_garage_door) is for users who use the app I linked above.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

IceBotYT commented 3 weeks ago

Okay. What Z-Wave integration do you use?

IceBotYT commented 3 weeks ago

And what model garage door opener do you use? Is this something you added onto your garage door?

rckingsley commented 3 weeks ago

I am not sure what yo are asking in the 1st question.

As I noted in my original request, I am using the ‘Home Assistant’ product for my home automation.

Normally, when I pair a Zwave device to my HA system, devices and entities are created that I can use to control those devices. However, when I paired the GoControl to my Zwave stick, although ’some’ entities were created (like Ping, Last Seen, Status, etc.), there was nothing created that would actually allow me to ’tell’ the GoControl device to open/close the door.

I then went to the ‘Linear Garage Door https://www.home-assistant.io/integrations/linear_garage_door/’ page on the Home Assistant website and attempted to add that integration to my HA system. However, it due to some sort of authentication issue (I guess) with VeSync (which apparently is needed for me to install that integration). I did create a userid and password for VeSync, and added the VeSync integration, but I now get an ‘unknown error’ message after I enter the requested userid/password.

My garage door opener is a Chamberlain Liftmaster model 3575S.

Note that the problem I am facing doesn’t appear to have anything to do with the type of garage door opener I have. Since I can’t get my Hope Assistance setup to actually create an entity that will allow me to ‘ask’ the GoControl to open/close the garage door (and Home Assistant doesn’t have a clue what kind of opener I have), it is unlikely that “any” brand of opener would work with the way things are right now.

Rick Kingsley

On Aug 19, 2024, at 6:03 PM, IceBotYT @.***> wrote:

Okay. What Z-Wave integration do you use?

And what model garage door opener do you use? Is this something you added onto your garage door? — Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/124256#issuecomment-2297720745, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKC5LAHXNE5QT5RS5KETZWTZSKBT7AVCNFSM6AAAAABMYR2LFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJXG4ZDANZUGU. You are receiving this because you authored the thread.

home-assistant[bot] commented 3 weeks ago

Hey there @home-assistant/z-wave, mind taking a look at this issue as it has been labeled with an integration (zwave_js) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `zwave_js` 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 zwave_js` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


zwave_js documentation zwave_js source (message by IssueLinks)

elupus commented 3 weeks ago

Please provide diagnostic information from the device added when you added the zwave garage door opener to ha.

rckingsley commented 3 weeks ago

Will have to restore an old backup and do it again.  The only diagnostic information I currently have is when trying to install the Linear integration from the Home Assistant website - using the VeSync integration that (apparently) is required for the Linear integration.Hopefully will get the standard Zwave integration diagnostic in the next couple of days.Rick KingsleyOn Aug 21, 2024, at 10:54 PM, Joakim Plate @.***> wrote: Please provide diagnostic information from the device added when you added the zwave garage door opener to ha.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

joostlek commented 3 weeks ago

I am honestly not sure where the link between vesync and linear comes from. They are 2 different companies doing different things.

kpine commented 3 weeks ago

@rckingsley If you have one of the GoControl Z-Wave GD00Z-X devices, it works with the Z-Wave integration not the Linear integration. That Linear integration presumably works with their line of smart GDOs as it requires a mobile app.

The description of your problem does not sound like any kind of HA issue. I'd suggest seeking help from the community forums or Discord. Most likely the device was included without security, meaning you are either missing the required security keys, or there was an error during inclusion and it needs to be excluded and re-included. The support channels can help you with that instead of here.

https://www.home-assistant.io/help/#communication-channels

rckingsley commented 2 weeks ago

Something else is going on here.

Quite a while ago, I had connected a Z-Wave sensor (Zooz ZSE11), and it worked great (showing light, movement, temperature, humidity). A few weeks ago, it "disappeared", so many of my Home Assistant cards and automations showed errors.

When I unpaired an repaired that sensor, the 'new' configuration showed basically the same thing as what I saw when I tried to pair the GoControl garage door opener. It just showed a "Node nn" device, with 3 entities (Ping, last seen, and node status). The manufacture, model, type were all showing as "unknown".

It is almost as though Home Assistant isn't seeing (or ignoring) the data coming from the Z-wave device when it is being paired.

Is it possible that since I am using an older Z-Wave stick (Aeotec ZW090 Z-Stick Gen5) and I have to manually pair the Z-Wave device to the stick (instead of doing it through Home Assistant) is causing Home Assistant to not get all of the information it needs? A different Z-wave device also 'disappeared', but when I manually un-paired/re-paired that device, everything worked fine.

Needless to say, I don't have a clue how to proceed...