ptimatth / georideha Goto Github PK
View Code? Open in Web Editor NEWGeoRide integration for Home Assistant
License: GNU General Public License v3.0
GeoRide integration for Home Assistant
License: GNU General Public License v3.0
I currently have several motorcycles on georide (5 motorcycles of my friends) but is it possible to configure only my vehicle
Hi,
There seems a new update broke Georide on Home Assistant.
When restarting Home Assistant, I get this error :
Logger: homeassistant.config_entries
Source: custom_components/georide/init.py:226
Integration: GeoRide (documentation)
First occurred: 14:00:37 (1 occurrences)
Last logged: 14:00:37Error setting up entry [email protected] for georide
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/georide/init.py", line 98, in async_setup_entry
await context.init_context(hass)
File "/config/custom_components/georide/init.py", line 247, in init_context
await self.force_refresh_trackers()
File "/config/custom_components/georide/init.py", line 226, in force_refresh_trackers
new_georide_trackers = await self._hass.async_add_executor_job(GeoRideApi.get_trackers,
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/georideapilib/api.py", line 122, in get_trackers
trackers.append(GeoRideTracker.from_json(json_tracker))
File "/usr/local/lib/python3.9/site-packages/georideapilib/objects.py", line 544, in from_json
json['deviceButtonAction'],
KeyError: 'deviceButtonAction'
Any way to fix this?
Hi,
Since a recent update have modified jwt.decode function.
I now have the following issue when trying to load GeorideHA integration:
Logger: homeassistant.config_entries
Source: custom_components/georide/init.py:187
Integration: GeoRide (documentation)
First occurred: 16:31:49 (1 occurrences)
Last logged: 16:31:49Error setting up entry [email protected] for georide
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/georide/init.py", line 98, in async_setup_entry
await context.init_context(hass)
File "/config/custom_components/georide/init.py", line 247, in init_context
await self.force_refresh_trackers()
File "/config/custom_components/georide/init.py", line 227, in force_refresh_trackers
await self.get_token())
File "/config/custom_components/georide/init.py", line 187, in get_token
jwt_data = jwt.decode(self._token, verify=False)
File "/usr/local/lib/python3.9/site-packages/jwt/api_jwt.py", line 119, in decode
decoded = self.decode_complete(jwt, key, algorithms, options, **kwargs)
File "/usr/local/lib/python3.9/site-packages/jwt/api_jwt.py", line 86, in decode_complete
raise DecodeError(
jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode().
Can you have a link into this please ? :)
I don't know why, I can't login to georide when I will configure it.
Whereas my credentialds are working fine in browser or app...
Hi, and "V"
I am very interested in the module, I installed it from HACS, and at the initial setup, entering my email and password went well.
However I have an error message and I can't use the integration. Thanks for your help, here is the trace:
Logger: homeassistant.config_entries
Source: custom_components/georide/init.py:226
Integration: GeoRide (documentation, issues)
First occurred: 16:55:38 (1 occurrences)
Last logged: 16:55:38
Error setting up entry "[email protected]" for georide
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/georide/init.py", line 98, in async_setup_entry
await context.init_context(hass)
File "/config/custom_components/georide/init.py", line 247, in init_context
await self.force_refresh_trackers()
File "/config/custom_components/georide/init.py", line 226, in force_refresh_trackers
new_georide_trackers = await self._hass.async_add_executor_job(GeoRideApi.get_trackers,
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/georideapilib/api.py", line 129, in get_trackers
trackers.append(GeoRideTracker.from_json(json_tracker))
File "/usr/local/lib/python3.9/site-packages/georideapilib/objects.py", line 703, in from_json
GeoRideSubscription.from_json(json['subscription']) if cls.json_field_protect(json,'subscription') is not None else None,
File "/usr/local/lib/python3.9/site-packages/georideapilib/objects.py", line 962, in from_json
json['initialDate'],
KeyError: 'initialDate'
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.