MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    NSW Fuel Prices

    Scheduled Pinned Locked Moved Unsolved Requests
    21 Posts 3 Posters 11.4k Views 3 Watching
    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.
    • K Offline
      k3tan @strawberry 3.141
      last edited by

      @strawberry-3-141 Yep. That’s NSW government for you. Mine is also still pending. zzz.

      1 Reply Last reply Reply Quote 0
      • K Offline
        k3tan
        last edited by

        @strawberry-3-141 hey mate, mine just got approved, so I think you can expect yours soon as well

        strawberry 3.141S 2 Replies Last reply Reply Quote 0
        • strawberry 3.141S Offline
          strawberry 3.141 Project Sponsor Module Developer @k3tan
          last edited by

          @k3tan I will see if i can find time this weekend.

          Please create a github issue if you need help, so I can keep track

          1 Reply Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @k3tan
            last edited by

            @k3tan I played around a little bit this weekend. Sadly the api is documented poorly so it will take a while to figure out all pieces.

            Please create a github issue if you need help, so I can keep track

            1 Reply Last reply Reply Quote 0
            • K Offline
              k3tan
              last edited by

              @strawberry-3-141 i’d expect nothing less from our government. thanks for taking a look!

              strawberry 3.141S 1 Reply Last reply Reply Quote 0
              • strawberry 3.141S Offline
                strawberry 3.141 Project Sponsor Module Developer @k3tan
                last edited by

                @k3tan I just got a response from the support. Hopefully i can create a prototype during the Christmas holidays.

                Please create a github issue if you need help, so I can keep track

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  k3tan @strawberry 3.141
                  last edited by

                  @strawberry-3-141 fantastic, looking forward to it. thanks once again.

                  strawberry 3.141S 1 Reply Last reply Reply Quote 0
                  • strawberry 3.141S Offline
                    strawberry 3.141 Project Sponsor Module Developer @k3tan
                    last edited by strawberry 3.141

                    @k3tan I finally finished a protoype.

                    0_1545903899534_f0504b71-08e9-40ec-8c1c-0f1b31d269fb-grafik.png

                    I’m looking for people who are willing to test prices

                    • nsw australia

                    how to test:

                    • if not already done, clone the repository to your modules cd ~/MagicMirror/modules/ && git clone https://github.com/fewieden/MMM-Fuel.git
                    • go to the module cd ~/MagicMirror/modules/MMM-Fuel
                    • run git fetch
                    • run git checkout feature/api-nsw
                    • run npm i
                    • test various config options

                    [card:fewieden/MMM-Fuel]

                    Please create a github issue if you need help, so I can keep track

                    P 1 Reply Last reply Reply Quote 0
                    • K Offline
                      k3tan
                      last edited by

                      @strawberry-3-141 hey thanks for putting this together. just trying to test the config options. can you let me know what you put into your config file? API, lat,lng etc?

                      strawberry 3.141S 1 Reply Last reply Reply Quote 0
                      • strawberry 3.141S Offline
                        strawberry 3.141 Project Sponsor Module Developer @k3tan
                        last edited by strawberry 3.141

                        @k3tan https://github.com/fewieden/MMM-Fuel/blob/626b1434e64380475f6430086ce47bebb038b8ed/README.md#nsw-australia-nsw-only

                        {
                          module: "MMM-Fuel",
                          position: "top_right",
                          config: {
                            provider: 'nsw',
                            api_key: 'YOUR_API_KEY',
                            secret: 'YOUR_API_SECRET',
                            lat: -33.881964,
                            lng: 151.172128,
                            types: ["diesel", "e5"],
                            sortBy: "diesel",
                            radius: 10,
                            max: 5,
                          }
                        },
                        

                        Please create a github issue if you need help, so I can keep track

                        K 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy