Giter VIP home page Giter VIP logo

tibber_price's Introduction

Display Tibber price on Arduino E-Paper

Print out the Tibber electric price on a Lilygo TTGO e-paper display 2.13 inch ESP32

TTGo E-Paper

Device

Used Arduino IDE with ESP32 Dev Module board settings.

Development

In the loop the time (from NTP) and electric price (from Tibber API) will be printed once every hour.

Library

  • WiFi to connect to SSID to access internet
  • HTTPClient to talk to the Tibber API (Token needed)
  • ArduinoJson to parse the response from Tibber API
  • GxEPD2 to setup and print to the E-Paper
  • Adafruit GFX Fonts
  • time.h to ask for current time from NTP

tibber_price's People

Contributors

jesperalmstrom avatar

Stargazers

 avatar

Watchers

 avatar  avatar

tibber_price's Issues

Doesn't work...

Hello,
it looks, that your programm doesn't coomunicate with Tibber, because of the Certificate.
Do you want to fix it?

Regards
Juergen

Error parsing JSON response

Hallo, would like to build a display like so, but serial puts out an "Error parsing JSON response" error.
What could that be? Many thanks

german issues

hi,

{"query": "{viewer {homes {consumption(resolution: HOURLY, last:0) {pageInfo {totalCost totalConsumption}} production(resolution: HOURLY, last:0) {pageInfo {totalProduction totalProfit}}currentSubscription {priceInfo {current {total}}}}}}" }
{"data":{"viewer":{"homes":[{"consumption":{"pageInfo":{"totalCost":0,"totalConsumption":0}},"production":{"pageInfo":{"totalProduction":0,"totalProfit":0}},"currentSubscription":{"priceInfo":{"current":{"total":0.2659}}}}]}}}

Error parsing JSON response
prepareDisplayAndShow
2023-06-07 02:02:11
showConsumtion
showConsumtion done
showProduction
showProduction done
prepareDisplayAndShow done

display = 0,00kWh 0,00 eur

is that because i don't have pulse yet?
p.s. i changed kr to eur

Edit:

**
This can and will never work.**

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.