Comments (6)
yes, looks like I made a mess :( will need some time to fix that, sorry
from weconnect-mqtt.
Ah yes, that bug was introduced with the latest version that fetches the data slightly different. Will be fixed in the next version.
from weconnect-mqtt.
This should be fixed in 0.23.0 can you check and report back?
from weconnect-mqtt.
Tried to test it, but unfortunately docker image not working anymore after updating to 0.23.0.
I assume I fetched a new image as docker says image created 18min ago... matches info from DockerHub.
Docker failure:
docker-compose up
weconnect-mqtt_weconnect-mqtt_1 is up-to-date
Attaching to weconnect-mqtt_weconnect-mqtt_1
weconnect-mqtt_1 | Traceback (most recent call last):
weconnect-mqtt_1 | File "/usr/local/bin/weconnect-mqtt", line 5, in
weconnect-mqtt_1 | from weconnect_mqtt.weconnect_mqtt_base import main
weconnect-mqtt_1 | File "/usr/local/lib/python3.9/site-packages/weconnect_mqtt/weconnect_mqtt_base.py", line 17, in
weconnect-mqtt_1 | from weconnect import weconnect, addressable, errors, util, domain
weconnect-mqtt_1 | File "/usr/local/lib/python3.9/site-packages/weconnect/weconnect.py", line 21, in
weconnect-mqtt_1 | from weconnect.elements.vehicle import Vehicle
weconnect-mqtt_1 | File "/usr/local/lib/python3.9/site-packages/weconnect/elements/vehicle.py", line 48, in
weconnect-mqtt_1 | from weconnect.elements.helpers.request_tracker import RequestTracker
weconnect-mqtt_1 | ModuleNotFoundError: No module named 'weconnect.elements.helpers'
I now went back to 0.22.0 from docker and it's running again as expected.
from weconnect-mqtt.
Similar using 0.23.1 version docker image:
docker-compose up
Recreating weconnect-mqtt_weconnect-mqtt_1 ... done
Attaching to weconnect-mqtt_weconnect-mqtt_1
weconnect-mqtt_1 | Traceback (most recent call last):
weconnect-mqtt_1 | File "/usr/local/lib/python3.9/site-packages/weconnect_mqtt/weconnect_mqtt_base.py", line 217, in main
weconnect-mqtt_1 | mqttCLient.connectWeConnect(username=username, password=password, maxAgePictures=args.pictureCache)
weconnect-mqtt_1 | File "/usr/local/lib/python3.9/site-packages/weconnect_mqtt/weconnect_mqtt_base.py", line 287, in connectWeConnect
weconnect-mqtt_1 | self.weConnect = weconnect.WeConnect(username=username, password=password, updateAfterLogin=False, updateCapabilities=self.updateCapabilities,
weconnect-mqtt_1 | File "/usr/local/lib/python3.9/site-packages/weconnect/weconnect.py", line 210, in init
weconnect-mqtt_1 | if self.__token['expires'] is None or cast(datetime, self.__token['expires']) <=
weconnect-mqtt_1 | TypeError: can't compare offset-naive and offset-aware datetimes
weconnect-mqtt_1 |
weconnect-mqtt_1 | During handling of the above exception, another exception occurred:
weconnect-mqtt_1 |
weconnect-mqtt_1 | Traceback (most recent call last):
weconnect-mqtt_1 | File "/usr/local/bin/weconnect-mqtt", line 8, in
weconnect-mqtt_1 | sys.exit(main())
weconnect-mqtt_1 | File "/usr/local/lib/python3.9/site-packages/weconnect_mqtt/weconnect_mqtt_base.py", line 254, in main
weconnect-mqtt_1 | mqttCLient.disconnect()
weconnect-mqtt_1 | File "/usr/local/lib/python3.9/site-packages/weconnect_mqtt/weconnect_mqtt_base.py", line 282, in disconnect
weconnect-mqtt_1 | disconectPublish.wait_for_publish()
weconnect-mqtt_1 | File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 362, in wait_for_publish
weconnect-mqtt_1 | raise RuntimeError('Message publish failed: %s' % (error_string(self.rc)))
weconnect-mqtt_1 | RuntimeError: Message publish failed: The client is not currently connected.
from weconnect-mqtt.
v0.23.2 docker works fine, the userCapabilities are now gone with --no-capabilities.
Appreciate your quick fix, thank you. π
from weconnect-mqtt.
Related Issues (20)
- Skoda octavia IV benzin HOT 2
- Set Interval < 300 possible? HOT 4
- WeConnect in Verbindung mit FHEM verwenden HOT 28
- Writetopic aus den FHEM-Examples funktioniert nicht HOT 6
- Running on Ubuntu
- Error starting weconnect-mqtt HOT 2
- seit 2023-11-03 keine Daten mehr trotz upgrade HOT 2
- 0.48.3 - Warning "...please report this as a bug..." HOT 1
- Error 429 - Too many requests from your account HOT 6
- Attribute totalRange_km was miscalculated HOT 4
- An unsupported status was provided HOT 2
- No climatisation values HOT 6
- Aufruf ΓΌber FHEM funktioniert nicht, da Dateien im falschen Verzeichniss liegen HOT 3
- Vehicle is moving status HOT 5
- HV Battery temp Update HOT 1
- An unsupported status: error was provided (Climatization) HOT 1
- Allow enable Retain flag HOT 1
- how *domains/charging/chargingSettings/targetSOC_pct in Home Assistant? HOT 3
- Bug: Dockerfile USER/PASSWORD parameters are mandatory - no way to use .netrc
- Unknown attribute maxChargeCurrentAC_A HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weconnect-mqtt.