Git Product home page Git Product logo

Comments (6)

Chimpepe avatar Chimpepe commented on July 18, 2024 1

Thanks! I'll check it.
Interesting thing, it's working a one Raspberry Pi4 but not on the Pi5 I'm currently setting up as a replacement for the Pi4. But it's most probably not related to the issue 😅

from teslamateagile.

MattJeanes avatar MattJeanes commented on July 18, 2024 1

Pi 4/5 have the same architecture so should be no problem, make sure you're using the latest/same version on both in case it's working on an older version but not on a newer one. Please open a new issue about that one if you need any more help though so we don't clutter this one! 😄

from teslamateagile.

MattJeanes avatar MattJeanes commented on July 18, 2024

Hi there, this error means that Tibber's API returned no data for the query. I am unfortunately unable to test this myself because I don't have a valid Tibber access token anymore.

If you want to take this to Tibber's support and see what they say, this is the raw GraphQL request that would have been sent:

// POST https://api.tibber.com/v1-beta/gql
{
    "query": "\r\nquery PriceData($after: String, $first: Int) {\r\n    viewer {\r\n        homes {\r\n            currentSubscription {\r\n                priceInfo {\r\n                    range(resolution: HOURLY, after: $after, first: $first) {\r\n                        nodes {\r\n                            total\r\n                            startsAt\r\n                        }\r\n                    }\r\n                    current {\r\n                        total\r\n                        startsAt\r\n                        level\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    }\r\n}\r\n",
    "operationName": "PriceData",
    "variables": {
        "after": "MjAyNC0wMi0yM1QwNzoyNjoyNi4wMDAwMDAwKzAwOjAw",
        "first": 2
    }
}

This essentially means, starting at 2024-02-23T07:26:26 (UTC) get me the 2 next prices which should cover the full range of your charging session.

Hope this helps! I could have a look and see what I could find with your access token, but it is a very sensitive thing so you should not really give that out to anyone you don't completely trust.

from teslamateagile.

MattJeanes avatar MattJeanes commented on July 18, 2024

Hi @Chimpepe, did you get a chance to check this out - how did it go?

from teslamateagile.

Chimpepe avatar Chimpepe commented on July 18, 2024

Hey Matt, sorry for don't getting back to you on this. I don't know why but it works on the next day without any adjustments

from teslamateagile.

MattJeanes avatar MattJeanes commented on July 18, 2024

Maybe a temporary API issue on Tibber's end then 🤷🏻

Thanks for letting me know, I'll close this issue off then 🙂

from teslamateagile.

Related Issues (20)

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.