Read the statement by Michael Teeuw here.
NSW Fuel Prices
-
@strawberry-3-141 Yep. That’s NSW government for you. Mine is also still pending. zzz.
-
@strawberry-3-141 hey mate, mine just got approved, so I think you can expect yours soon as well
-
@k3tan I will see if i can find time this weekend.
-
@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.
-
@strawberry-3-141 i’d expect nothing less from our government. thanks for taking a look!
-
@k3tan I just got a response from the support. Hopefully i can create a prototype during the Christmas holidays.
-
@strawberry-3-141 fantastic, looking forward to it. thanks once again.
-
@k3tan I finally finished a protoype.
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]
-
@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?
-
@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, } },