Giter Club home page Giter Club logo

fhem-tesla's People

Contributors

stefanw-startrac avatar sw-home avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fhem-tesla's Issues

Occasional complete fhem shutdown

Script crashes fhem Process each now and then with the following Error:

malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<!DOCTYPE html>\n<ht...") at ./FHEM/49_TeslaCar.pm line 211.

Known bug?

Support new Tesla-API authentication

I was asked (by family) to check whether I could update this program to use the new authentication API as documented here:

However, I currently do not have the required time (I, for example, do not have experience with Perl nor a Tesla account to test with).

My findings are below:

The tesla-api documentation does look like it is sufficiently complete.
In addition, the repo provides an implementation of the API using Ruby:

A diff with the before/after of the authentication implementation can be seen here: https://github.com/timdorr/tesla-api/compare/75e79d34fdbfbfd4ef5978ae45e6bbef96ac4ed5...master?diff=split#
The relevant file is lib/tesla_api/client.rb.

Observed changes (and rough commentary based on a first glance):

The main job seems to be the parsing/scraping of the HTTP results.

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.