Giter Site home page Giter Site logo

lorenzo-deluca / homeassistant-silence Goto Github PK

View Code? Open in Web Editor NEW
20.0 3.0 2.0 695 KB

Home Assistant Integration for Silence Scooter

License: GNU Affero General Public License v3.0

Python 100.00%
homeassistant homeassistant-sensor hacs homeassistant-integration home-assistant-hacs silence-scooter electric-vehicles home-automation hass silence silence-s01

homeassistant-silence's Issues

Unable to log into account

When using your python file independently I can not connect to my account getting the following error:

{'error': {'code': 400, 'message': 'EMAIL_NOT_FOUND', 'errors': [{'message': 'EMAIL_NOT_FOUND', 'domain': 'global', 'reason': 'invalid'}]}}

How do I have to input username / password corrently? Is it plaintext?

Suggest new fonction

Great work

I'm trying to record the movements to display them on the map.

I can imagine the following scenarios:

  1. Identify when the scooter is powered up, even if it is not moving, in order to limit the selections.
  2. Convert the history of coordinates into gpx tracks. With a different track each time the scooter is switched off.
  3. Automatically save tracks as gpx files for display on the map and for historical purposes.
  4. On the map, put a drop-down menu to choose your track file and display it.
  5. Bonus: download the selected gpx track.
  6. Second bonus: be able to display several tracks (map analysis, simplified history preview).

I know it's very complex but I can help (DIY level) or test, provide rendering sketches, look for tips on gpx files (advanced level).

If you're interested in this proposal, where would you like to start?

Possibility of adding Seat Mó?

Hey!
I've purchased a Seat Mó Scooter and wanted to know if there is a possibility of adding it through this component.
As far as I'm aware, the Seat Mó is almost the same scooter as the Silence Connected.
Thanks in advance

The integration no longer works

Questo errore ha avuto origine da un'integrazione personalizzata.

Logger: custom_components.silencescooter
Source: custom_components/silencescooter/api.py:145
Integration: silencescooter (documentation, issues)
First occurred: 14:03:29 (1 occurrences)
Last logged: 14:03:29

error on update api 0

error retreiving token

Thanks for this integration, unfortunately it does not work for me and fails with the following message:
[custom_components.silencescooter.sensor] token json_response={'error': {'code': 400, 'message': 'EMAIL_NOT_FOUND', 'errors': [{'message': 'EMAIL_NOT_FOUND', 'domain': 'global', 'reason': 'invalid'}]}}
[custom_components.silencescooter.sensor] Could not retrieve token (unknown).
[homeassistant.components.sensor] silencescooter: Error on device update!
Any ideas what i could try ?
The credentials are definitely correct.
Thanks,
Lukas

Max retries exceeded API Silence

Hello,

Thank a lot for your integration !

I have a lot of error in home assistant log like this

error on update api HTTPSConnectionPool(host='api.connectivity.silence.eco', port=443): Max retries exceeded with url: /api/v1/me/scooters?details=true&dynamic=true&pollIfNecessary=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff496075d0>: Failed to establish a new connection: [Errno -3] Try again'))
error on update api Expecting value: line 1 column 1 (char 0)
error on update api HTTPSConnectionPool(host='api.connectivity.silence.eco', port=443): Max retries exceeded with url: /api/v1/me/scooters?details=true&dynamic=true&pollIfNecessary=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff65006b90>: Failed to establish a new connection: [Errno -3] Try again'))
error on update api 0
error on update api HTTPSConnectionPool(host='api.connectivity.silence.eco', port=443): Max retries exceeded with url: /api/v1/me/scooters?details=true&dynamic=true&pollIfNecessary=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffff4522c6d0>: Failed to establish a new connection: [Errno -3] Try again'))

I think it's a problem to update data in sensor no ?

token in node-red

Hi Lorenzo,
I'm trying to get togen from node-red but whet I POST to

https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=AIzaSyAVnxe4u3oKETFWGiWcSb-43IsBunDDSVI

With correct header and payload with user, passwd, etc..

I get this:

�����%�Ɏ�J�E���%��]b�M�����PؘiSbHCB2� fh���P%��ƹ7"���o������������7uM�J��r��ާ���y���ۦ��{��&���m��#���G/�<ĊiR�W�F�i����hE���ܞ����G�T?����E��U�~D�:M �U���r�-�]o�J�P�jյ�����"�'b������mB�+ؤ�eH��S� =�������+��6��:��:�o}@q�>�����XI8��"��9�F�W&�}a������c8�m��i�����������h� a:�l������P��/�� g��9&��%��%k�S2�{D�]�upk5�{����«'�Xd8%m�B�{R��l�S�\����~��}zٍ��Pv�Փ�Ҝ��+�앣B_k� ��m����O|��-�o_�rV����Ȓ��X��CN{�~�R�� ���=yzTr�^ہ-�}����aˏ��N�]a���H���"w�������r�Gw�4u�=�d�\��w#>��s����g��\xf#=�偱�|���uN�3� �^]�L,�����t [�������\X��y1��N���h�K0N_� ��ȳ�b<�ς�RL0γ���>UC��I����7�'J��;���Rʼn���w�V��Z�>��AAuN[l�
��������o���HN��(��(��C^���"s�"�������x��8�g���{��W�d�g�

Any idea to how to get a JSON with the idToken?

Thx in advance.

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.