-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
I have a Cupra Born, and I'd love to help make this. #26
Comments
Good new, and congratulations to your new car. I hope you love it :) |
Yes it is working! I can send you screenshots or whatever you need if you want. Would it be easier to discuss this via Discord or would you like to keep everything in Github? |
Just let me know what information you need :) |
I would prefer if we could keep the discussion here at GitHub to allow potentially others to also try it out. Also it helps a bit my working style as I can answer asynchronously :) If we have confidential parts let's use an email. Are you a bit experienced in SW development and using python? I have a first version in a separate branch that we could use for initial testing. |
I have some experience in python, but I have no idea what steps I should take when trying this out. Could you explain what I should do? |
sure, I guess it won't work out of the box, but we can try continuing from there with the error messages we get. |
|
Can you do a |
I'm on 3.8.8 |
hmmmm, can you try to install it like that: |
ah sorry you need to execute that in the |
Initialize WeConnectLoginupdateprint resultsdoneThat's what it said in command prompt. What now? |
so on the positive side: you did not get an error :) on the negative side: also no data. |
The file is empty :( |
hmmm, ok, new try: |
I assume the last line should be I get the error about WeConnect not having attribute 'Brand'. I tried doing the pip3 install -e . but that doesn't help |
no, after the |
what does |
Without python works, but gives the same error about the attribute 'Brand'. weconnect-li --version gives the same error as well |
maybe it has overwritten the library, can you do a |
yes, but I think it still overwrite the package. Can you now do a |
It still gives the attribute error |
grrr. Maybe try a |
|
ok, that is better. now we can go back to: |
The Cache file is empty, the token file has, well, tokens. |
Well it turns out that my Cupra Car is actually a Seat :) |
Could you share your updated endpoints here? What model / year car do you have? |
Sure. |
Hi together, I like to thank all the guys who have developed the different tools. Without them the integration won´t be possible. In the following I document the way in to make it easier for successors.
|
Hi all, sorry for the stupid question, but is there a short instruction how to install the software for the Cupra Born? I have it since last week and I would like to install the HA component. If I download the zip-file I see a folder "custom_components.". Is it all to move this folder to the custom_components folder in HA? Thanks, |
ok, I used the wrong We Connect version. Now it works. Thanks for support |
@madmic1314 Regarding installation, you shouldn't need to do any of that and, in fact, it will cause you problems. Just copy the contents of the latest zip into custom_components using your preferred mechanism (I use Samba, but whatever works) and restart HA. Now you can add the integration through devices & services. You need to search for "volkswagen weconnect id". Do not use HACS or anything else at this time - it's unnecessary and can certainly cause problems due to library version conflicts with the original source component. There is no need to install anything relating to the original ID integration beforehand. This keeps coming up and I will properly fork this library when I have time as there is clearly some confusion here. Once this is done it should be installable through HACS and it will then allow coexistence with the ID.x version of the library. @Spartacus68 There's a couple of buttons exposed through the integration - start and stop climate, start and stop charge. You can add them to the UI, but personally I prefer to wrap them in a template switch:
Right now, you can only control climate and charging. If anyone knows how to do more than this on the Cupra Born, feel free to share :) |
Apologies for the mislead - this was how I installed when this first came about. Agree anything that can clear things up would make life easier. |
Hey, thanks for support. It works for me and the CUPRA Born. A pity is, that WeConnect is not working with my GOLF 7 anymore. If there is a chance to have both inparallel it would be great. |
@Spartacus68 That'll come when I sort the proper fork out. I'll try to sort over the coming days... |
Not sure if it's just the Cupra API or this integration, but on the Cupra Born, whilst the overall door lock status is working, as are individual door locks, windows and open/closed status, the entity binary_sensor.cupra_born_door_lock_status is always showing as Locked. It never changes. Is there anything I can do to help debug this at all? |
Hello Cupra Born owner, |
@mart-ch |
After I updated HA to the latest beta (Home Assistant 2023.6.0b1) version this morning, the cupra born integration no longer works. Now I get this message in HA: Logger: homeassistant.setup Setup failed for custom integration volkswagen_we_connect_id: Requirements for volkswagen_we_connect_id not found: ['weconnect-cupra-daern==0.49.18']. Do you have any idea why the cupra born integration no longer works? |
Suspect it's related to a change in supported Python versions in 2023.6. Was wondering if anything would break...now I know! Bear with me and I'll check it out tonight. Can you look to see if there's anything else in the logs. If you can, would you enable debug for the component and see if that helps. |
It say in the braking changes that they now use Python 3.11 and all integrations need to support that version. |
I see this now also : Logger: homeassistant.util.package Unable to install package weconnect-cupra-daern==0.49.18: ERROR: Cannot install weconnect-cupra-daern==0.49.18 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts |
Not quite sure what's going on. I've just installed it onto a test machine with Python 3.11 and it all install and ran fine without any issues. I suspect that something else is going on with the new HA version that I won't be able to diagnose until I get my hands on it when properly released in a day or two and I can see what's going on. I suggest that you roll back to stable HA for now until I've had chance to do this. |
OK, new version which should fix this: Let me know how you get on. |
Yes |
Hi all, I'm very pleased to announce a new, standalone Cupra Born integration, available today! This is available from here and, for HA users (which I think is most people using it), it can now be installed using HACS (see the readme). There is also a thread on the HA forums. Few notes:
On a matter of practical detail, in order to switch over, you will need to completely remove the old component prior to installing this one. This involves a two-step process of deleting the integration from Devices & Services and then deleting the files from the Going forward, for this new component please report defects and/or product suggestions directly against the project rather than in this thread. I'll leave it up to @tillsteinbach as to whether he wants to leave this thread to cover any future implementation within WeConnect, or close it off with a pointer across to this new component. Huge thanks to @tillsteinbach and @alangibson who originated this project and hopefully we can keep things moving forward now. |
Wow! Awosome work! Can't wait to test it out in the coming week when my car should arrive... 🥰 |
........
Hi @Intenos . Thank you for your post, I have followed it to integrate my Cupra Born in Openhab. alias: SetChargingTarget
|
Hi there! I recently picked up my Cupra Born and I'd love to make this work with my car as well. Could you tell me what I can do to help?
The text was updated successfully, but these errors were encountered: