• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Looking for Austrian Testers

Scheduled Pinned Locked Moved Development
16 Posts 4 Posters 7.0k Views 4 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.
  • S Offline
    strawberry 3.141 Project Sponsor Module Developer
    last edited by Apr 2, 2017, 11:21 PM

    I created an addon for my module MMM-Fuel.

    [card:fewieden/MMM-Fuel]

    Now it also supports Austria’s gas stations.

    To test do the following:

    git clone https://github.com/fewieden/MMM-Fuel.git
    cd MMM-Fuel
    git checkout develop
    npm install --productive
    

    Then add the module to the config file (for Austria there is no API key needed).

    {
        module: "MMM-Fuel",
        position: "top_right",
        config: {
            lat: 48.19659782973711,
            lng: 16.183596614516993,
            types: ["diesel"], // spritpreisrechner.at supports the types "diesel", "e5" and "gas"
            provider: "spritpreisrechner",
            ...
        }
    }
    

    @kurt @schlachtkreuzer6 @flo80 @spedja @cpramhofer @gerbin @Pegasus @schmo90 @miek

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

    K N S 3 Replies Last reply Apr 4, 2017, 6:55 AM Reply Quote 1
    • K Offline
      kurt @strawberry 3.141
      last edited by Apr 4, 2017, 6:55 AM

      @strawberry-3.141
      Hi
      Installed yesterday this modul and it’s working fine, first showing the stations with the lowest prices and after a while the ones which are nearest to the koordinates you gave in under lat: and lng:
      Cool thing for us :flag_at: and Thanks a lot strawberry for your help again, as I am not a champ in installing modules :rolling_eyes:
      Greetings from Vienna
      kurt

                            {
                             module: "MMM-Fuel",
                             position: "top_right",
                       config: {
                             lat: 48.218403,
                             lng: 16.331819,
                             types: ["diesel", "e5"], // spritpreisrechner.at supports the types "diesel", "e5" and "gas"
                             provider: "spritpreisrechner",
                             
                               } 
      

      0_1491288343571_Spritpreise.jpeg

      1 Reply Last reply Reply Quote 2
      • N Offline
        nogE
        last edited by Apr 4, 2017, 6:12 PM

        Hi,

        Installed --> startet --> works perfectly, all filling stations around me are visible. Good work!!

        cu
        Egon

        1 Reply Last reply Reply Quote 1
        • N Offline
          nogE
          last edited by Apr 4, 2017, 6:39 PM

          Hi,

          “normal” Benzin e5 not working

          S 1 Reply Last reply Apr 4, 2017, 7:26 PM Reply Quote 1
          • S Offline
            strawberry 3.141 Project Sponsor Module Developer @nogE
            last edited by Apr 4, 2017, 7:26 PM

            @nogE can you send me your config to investigate?

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

            N 1 Reply Last reply Apr 4, 2017, 8:31 PM Reply Quote 0
            • N Offline
              nogE
              last edited by Apr 4, 2017, 8:28 PM

              Hi,

              please take a look.

              	{
              		"module": "MMM-Fuel",
              		"position": "bottom_right",
              		"config": {
              			"lat": 48.131927,
              			"lng": 13.463719,
              			"types": [
              				"diesel"
              			],
              			"provider": "spritpreisrechner"
              		},
              		"classes": "default for_all"
              	},
              

              thx

              S 1 Reply Last reply Apr 4, 2017, 8:32 PM Reply Quote 0
              • N Offline
                nogE @strawberry 3.141
                last edited by Apr 4, 2017, 8:31 PM

                @strawberry-3.141
                Hi,
                wrong config file. sorry

                {
                		"module": "MMM-Fuel",
                		"position": "bottom_right",
                		"config": {
                			"lat": 48.131927,
                			"lng": 13.463719,
                			"types": [
                				"diesel",
                				"e5"
                			],
                			"provider": "spritpreisrechner"
                		},
                		"classes": "default for_all"
                	},
                
                1 Reply Last reply Reply Quote 1
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer @nogE
                  last edited by strawberry 3.141 Apr 4, 2017, 8:38 PM Apr 4, 2017, 8:32 PM

                  @nogE if you want diesel and benzin you have to do

                  types: [
                    "diesel",
                    "e5"
                  ]
                  

                  EDIT ok i will check it

                  EDIT2 ok found an issue, trying to fix it now.

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

                  N 1 Reply Last reply Apr 4, 2017, 8:47 PM Reply Quote 0
                  • N Offline
                    nogE @strawberry 3.141
                    last edited by Apr 4, 2017, 8:47 PM

                    @strawberry-3.141
                    maby it could help: my config.js file is created with MMM-Admin-Interface

                    S 1 Reply Last reply Apr 4, 2017, 9:05 PM Reply Quote 0
                    • S Offline
                      strawberry 3.141 Project Sponsor Module Developer @nogE
                      last edited by Apr 4, 2017, 9:05 PM

                      @nogE the problem was related to the code not the config

                      should be fixed now, get the changes with git pull inside the MMM-Fuel directory.

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

                      N 1 Reply Last reply Apr 4, 2017, 11:25 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        6/16
                        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