• 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.

Bus timetable from json file

Scheduled Pinned Locked Moved Unsolved Requests
10 Posts 4 Posters 2.4k 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.
  • C Offline
    cirdan @electros
    last edited by Jun 12, 2019, 7:30 PM

    @electros you could look at mmm-bustimes. It is a similar module and also parses a json file (a different one) into a table
    Git link. https://github.com/73cirdan/MMM-bustimes

    Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

    E 1 Reply Last reply Jun 14, 2019, 5:25 PM Reply Quote 1
    • E Offline
      electros Project Sponsor @cirdan
      last edited by Jun 14, 2019, 5:25 PM

      @cirdan Sorry for late reply but in last day’s i worked away without access to my computer. I will look in that module today to see the code but please if you have some time can you show me where i need to change the code to start read one of my file M21.json for example ?

      E 1 Reply Last reply Jun 15, 2019, 4:23 PM Reply Quote 0
      • E Offline
        electros Project Sponsor @electros
        last edited by Jun 15, 2019, 4:23 PM

        Well, in the last 2 days I tried to work on this module but I did not succeed. I tried to look at how other modules are built with the same destination and I search the internet for various tutorials about js but I think I’m too old to understand:disappointed_face: :face_with_cold_sweat: .
        That being said I am willing to pay a modest amount for someone who takes the time to make this module for me. Please help me. Thank you

        1 Reply Last reply Reply Quote 0
        • C Offline
          cirdan
          last edited by Jun 15, 2019, 9:00 PM

          Its not that hard electros. Mykle isn’t the youngest either:grinning_face_with_smiling_eyes:

          Make 1 small target at a time. Eg

          1 run an existing module eg bustimes
          2 change the nodehelper to read your datasource
          3 decide on the dataformat to feed into the getdom
          4 format the dataformat

          Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

          E M 2 Replies Last reply Jun 15, 2019, 9:25 PM Reply Quote 1
          • E Offline
            electros Project Sponsor @cirdan
            last edited by Jun 15, 2019, 9:25 PM

            @cirdan it’s easy to say for you, you created that module.:grinning_face_with_smiling_eyes: But I’m still trying for a few days and nothing, no progress. The problem is I know what the module should do to display the correct data but I do not know how to put this in js.:disappointed_face:

            S 1 Reply Last reply Jun 15, 2019, 10:24 PM Reply Quote 0
            • S Offline
              sdetweil @electros
              last edited by sdetweil Jun 15, 2019, 10:28 PM Jun 15, 2019, 10:24 PM

              @electros i will help… ok, i see your data…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              E 1 Reply Last reply Jun 16, 2019, 1:13 AM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @cirdan
                last edited by Jun 16, 2019, 12:56 AM

                @cirdan said in Bus timetable from json file:

                Mykle isn’t the youngest either

                Ha! Nor am I the oldest!

                You are in very good hands, @electros. I see @sdetweil is going to help you. He has helped me in the past, too. Really, he’s a genius. :thumbsup:

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • E Offline
                  electros Project Sponsor @sdetweil
                  last edited by Jun 16, 2019, 1:13 AM

                  @sdetweil Thank you for your time. I look forward to hearing you. If you need more information please ask me. Thanks again.

                  S 1 Reply Last reply Jun 16, 2019, 3:18 AM Reply Quote 0
                  • S Offline
                    sdetweil @electros
                    last edited by Jun 16, 2019, 3:18 AM

                    @electros I sent u a private message asking for more info

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    1 / 1
                    • First post
                      6/10
                      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