Giter Club home page Giter Club logo

Comments (8)

tillsteinbach avatar tillsteinbach commented on July 30, 2024

I believe it should work with the e-up. Anyway it should not fail on login. You can try by downloading the WeConnect ID app. If your car appears there it should be compatible.
Can you double check that user and password are ok?
Do you have "fancy" special characters in the password that might cause problems on the console?

from weconnect-mqtt.

Sillium avatar Sillium commented on July 30, 2024

I believe it should work with the e-up. Anyway it should not fail on login. You can try by downloading the WeConnect ID app. If your car appears there it should be compatible.

If you're talking about the iOS app, yes, it works there.

Can you double check that user and password are ok? Do you have "fancy" special characters in the password that might cause problems on the console?

I do have an exclamation mark in the password. I tried double-quoting the passwords in the command (--password "<redacted>"), but with the same result. Should I try to change the password?

from weconnect-mqtt.

tillsteinbach avatar tillsteinbach commented on July 30, 2024

There are two iOS Apps, one is called "WeConnect" the other one "WeConnect ID. The one with "ID" is using the same datasource as I am using.

The exclamation mark is a challenge (in bash at least). So this could be a reason. You could try to use single quotes '' maybe or use an netrc file to provide the password like described here: https://github.com/tillsteinbach/WeConnect-mqtt#credentials
To try if the password is the problem you could even leave out the password and just provide the username. The. It should ask you to type in the password.

from weconnect-mqtt.

Sillium avatar Sillium commented on July 30, 2024

First of all: Thank you for your time and for responding this quick.

I tried changing my password to something simpler for the time being. It works in both apps, "We Connect" and "WeConnect ID" on my iPhone. I verified by logging out an then logging in again with the new password.

However, it does not work when not giving a password at all when executing weconnect-mqtt. The prompt appears, but it gives the same error after entering my (new) password. I'll try the .netrc way anyway now.

from weconnect-mqtt.

Sillium avatar Sillium commented on July 30, 2024

Result using the .netrc file is the same:

[opc@node-red ~]$ weconnect-mqtt --mqttbroker localhost --prefix weconnect
INFO:weconnect-mqtt:Connect to WeConnect
Traceback (most recent call last):
  File "/usr/local/bin/weconnect-mqtt", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/weconnect_mqtt/weconnect_mqtt.py", line 115, in main
    mqttCLient.connectWeConnect(username=username, password=password)
  File "/usr/local/lib/python3.6/site-packages/weconnect_mqtt/weconnect_mqtt.py", line 136, in connectWeConnect
    self.weConnect = weconnect.WeConnect(username=username, password=password, updateAfterLogin=False)
  File "/usr/local/lib/python3.6/site-packages/weconnect/weconnect.py", line 113, in __init__
    self.login()
  File "/usr/local/lib/python3.6/site-packages/weconnect/weconnect.py", line 210, in login
    raise APICompatibilityError('No credentials form found')
weconnect.weconnect.APICompatibilityError: No credentials form found

from weconnect-mqtt.

tillsteinbach avatar tillsteinbach commented on July 30, 2024

Ah, I have a suspicion! You probably installed an old incompatible version (you can check with --version) because your python is 3.6 and some time ago I had to raise the minimum Python version to 3.7.
What you need to do is uninstall WeConnect-mqtt, update your python to 3.7 or newer and install it again.

from weconnect-mqtt.

Sillium avatar Sillium commented on July 30, 2024

That was the problem, thanks a lot!

from weconnect-mqtt.

tillsteinbach avatar tillsteinbach commented on July 30, 2024

Great! I have to find out if I can somehow revoke versions in pypi that have become incompatible with the API

from weconnect-mqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.