dba2016 / sc2mqtt Goto Github PK
View Code? Open in Web Editor NEWSkoda Connect 2 MQTT
Skoda Connect 2 MQTT
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.
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.
Hi, are there any plans to develop it further?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.