Coder Social home page Coder Social logo

sc2mqtt's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sc2mqtt's Issues

Any interest in progress?

Hi,

do you have any interest to improve this good piece of software any further? The implementation of ioBroker can a lot stuff more, including writing of settings, status of heater etc.

I can help (send already a PR, which isn't still not included unfortunately...). But it is quite hard to understand your code... ;-) So without support from your side it won't work.

Error while getting data (line 770 - 771)

I got this error:

[INFO    ]-2020-10-25 09:40:38 Getting openid config...
[INFO    ]-2020-10-25 09:40:39 Done!
[INFO    ]-2020-10-25 09:40:39 Getting authorization...
[INFO    ]-2020-10-25 09:40:39 Done!
[INFO    ]-2020-10-25 09:40:39 Parsing authorization...
[INFO    ]-2020-10-25 09:40:39 Done!
[INFO    ]-2020-10-25 09:40:39 Sending email form...
[INFO    ]-2020-10-25 09:40:39 Done!
[INFO    ]-2020-10-25 09:40:39 Parsing email form response...
[INFO    ]-2020-10-25 09:40:39 Done!
[INFO    ]-2020-10-25 09:40:39 Sending password form...
[INFO    ]-2020-10-25 09:40:40 Done!
[INFO    ]-2020-10-25 09:40:40 Done!
[INFO    ]-2020-10-25 09:40:40 Retrieving tokens...
[INFO    ]-2020-10-25 09:40:40 Done!
[INFO    ]-2020-10-25 09:40:40 Retrieving VW tokens...
[INFO    ]-2020-10-25 09:40:41 Done!
[INFO    ]-2020-10-25 09:40:41 Tokens OK
Traceback (most recent call last):
  File "./sc2mqtt.py", line 929, in <module>
    asyncio.run(main())
  File "/usr/local/lib/python3.7/dist-packages/nest_asyncio.py", line 31, in run
    return loop.run_until_complete(future)
  File "/usr/local/lib/python3.7/dist-packages/nest_asyncio.py", line 95, in run_until_complete
    return f.result()
  File "/usr/lib/python3.7/asyncio/futures.py", line 178, in result
    raise self._exception
  File "/usr/lib/python3.7/asyncio/tasks.py", line 223, in __step
    result = coro.send(None)
  File "./sc2mqtt.py", line 69, in main
    await ad.init()
  File "./sc2mqtt.py", line 920, in init
    t = await self.getVehicleRights(car)
  File "./sc2mqtt.py", line 519, in getVehicleRights
    "followAllRedirects": True
  File "./sc2mqtt.py", line 771, in execRequest
    raise HTTPCodeException("Got HTTP%d; %s"%(r.status_code, r.text), r.status_code)
__main__.HTTPCodeException: ('Got HTTP401; {"error":{"errorCode":"gw.error.authentication","description":"Unauthorized"}}', 401)

If I comment out line 770 and 771, everything works fine and I receive correct data from the server.

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.