MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-Tibber

    Utilities
    7
    17
    2675
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sdetweil @TheGizmo last edited by sdetweil

      @TheGizmo supposedly it called for something at this url

      const gqlEndpoint = “https://api.tibber.com/v1-beta/gql”

      and thinks it got a good response as it is parsing the data

       .then(res => {
                      resO = JSON.parse(res.body);
                      resolve(resO.data.viewer.homes[0].currentSubscription.priceInfo) < --- this line fails
      

      the api IS called beta , “v1-beta”, so maybe they changed the response

      you could add a line to dump out the returned data

       .then(res => {
                      resO = JSON.parse(res.body);
                      console.log("tibber response="+ resO);  // < --- add this line
                      resolve(resO.data.viewer.homes[0].currentSubscription.priceInfo) 
      

      Sam

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • T
        TheGizmo last edited by

        So, I woke up today, and guess what.
        I have Tibber data. It have pulled some data during the night

        0_1576052377712_Screen Shot 2019-12-11 at 09.18.47.png

        S 1 Reply Last reply Reply Quote 0
        • S
          sdetweil @TheGizmo last edited by

          @TheGizmo cool, and weird!..

          Sam

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • O
            ottopaulsen last edited by

            Hi all.

            I haven’t gotten any notifications from this forum, so I was not aware of the conversation until today, when @kennethnilssen mentioned it on github. Sorry about that.

            I believe the issue with the this.log() statement in node_helper.js is solved and fixed in the latest version on Github.

            I just received my Tibber Pulse, so I am currently working on showing consumption, and will also look in to real time consumption (as asked by @retroflex), so I am currently doing a major upgrade.

            To @lavolp3 's question about Highcharts, yes, as I understand their license terms, it is free to use for non-commercial purposes, like this obviously is.

            If you have bug reports or change suggestions, I prefer them as github issues.

            Cool to see so many people using this 🙂 It is inspiring!

            1 Reply Last reply Reply Quote 0
            • O
              ottopaulsen last edited by

              Hi folks, I just updated the MMM-Tibber module, so now it also shows consumption, if you have Tibber Pulse installed. Please help testing, and report bugs on Github.

              1 Reply Last reply Reply Quote 1
              • S
                siggmur last edited by

                Just tested and it works great!

                If I could come with a request, it would be not to show the graphs but only the data. So that I could only see the current consumption or by hours and the current pricing.

                1 Reply Last reply Reply Quote 0
                • A
                  Aardal1 last edited by

                  Thanks for a fantastic module!

                  Its working great, except the consumption curve in the graph.

                  Capture.PNG

                  The only config line I have for the module is the “tibbertoken”.
                  Do I need to add the consumption curve config, or should it be enabled as default?

                  1 Reply Last reply Reply Quote 1
                  • 1
                  • 2
                  • 2 / 2
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy