Giter Site home page Giter Site logo

georideha's People

Contributors

ptimatth avatar sigri44 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

georideha's Issues

KeyError: 'deviceButtonAction'

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:37

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 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?

data updated every 10 minutes

hello,

Is it normal that my georide data is updated every 10 minutes? I have the impression that the georide 3 disconnects and reconnects 10 minutes later on home assistant.

Is there a solution to switch to real time?
image_2024-01-11_213458731

Error with jwt.decode, missing "algorithms" argument

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:49

Error 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 ? :)

Unable to login

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...

Error setting up entry [email protected] for georide

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'

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.