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.

    Modul Plug in RNV Abfrage

    Scheduled Pinned Locked Moved Solved Requests
    9 Posts 2 Posters 4.4k Views 2 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.
    • G Offline
      Guschdl @yawns
      last edited by

      @yawns said in Modul Plug in RNV Abfrage:

      The vendor provided an api-key really fast and sending queries to their server is somehow simple. To go on I need a more detailed description of what you want to see on your mirror.

      Hello yawns.
      I want to see a ticker about a train station in the neary my home.

      I have a Api Key and I have two “Curl with link” with the data i wont to see…
      but i dont know this to use.

      I post the two links:

      Station 1:

      curl ‘http://rnv.the-agent-factory.de:8080/easygo2/rest/regions/rnv/modules/stationmonitor/element?hafasID=5553&time=null&uiSource=LINE’
      -H ‘User-Agent: easy.GO Client Android v1.2.1 (Mozilla/5.0 (Linux; Android 4.4.4; Nexus 4 Build/KTU84Q) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/33.0.0.0 Mobile Safari/537.36)’
      -H ‘Accept-Language: de’
      -H ‘Accept: application/json’

      Station 2:

      curl ‘http://rnv.the-agent-factory.de:8080/easygo2/rest/regions/rnv/modules/stationmonitor/element?hafasID=5553&transportFilter=1&time=null&uiSource=LINE’
      -H ‘User-Agent: easy.GO Client Android v1.2.1 (Mozilla/5.0 (Linux; Android 4.4.4; Nexus 4 Build/KTU84Q) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/33.0.0.0 Mobile Safari/537.36)’
      -H ‘Accept-Language: de’
      -H ‘Accept: application/json’

      can you help me?

      1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator
        last edited by

        Ok, understood. I don’t know if I find the time tomorrow. Maybe I have to wait until Wednesday to continue with the module. I keep you posted

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          Guschdl @yawns
          last edited by

          @yawns said in Modul Plug in RNV Abfrage:

          Ok, understood. I don’t know if I find the time tomorrow. Maybe I have to wait until Wednesday to continue with the module. I keep you posted

          thanks you so much

          yawnsY 1 Reply Last reply Reply Quote 0
          • yawnsY Offline
            yawns Moderator @Guschdl
            last edited by yawns

            @Guschdl
            All right, I’m almost done. The module will need some tweaking and some cleanup, but you can use it. I will provide some installation and configuration instructions this evening (my wife is working long this evening :D ). Feel free to provide feedback and improvements.

            [card:yawnsde/MMM-RNV]

            G 2 Replies Last reply Reply Quote 3
            • G Offline
              Guschdl @yawns
              last edited by

              @yawns
              Woooow

              Thank you so much.

              I Have test ist…
              it’s great

              1 Reply Last reply Reply Quote 0
              • G Offline
                Guschdl @yawns
                last edited by Guschdl

                @yawns

                it is possible to build a “Headline”?

                I have found it :-D

                Thank so sooooo much for the module

                yawnsY 1 Reply Last reply Reply Quote 0
                • yawnsY Offline
                  yawns Moderator @Guschdl
                  last edited by yawns

                  @Guschdl
                  Hi, glad you like it. Please let me know if anything should be changed.

                  I updated the module.

                  • some more error handling
                  • added some tweaks in case the start time is after midnight, then the parsing failed
                  • added the alert ticker if some alert is present
                  • updated the readme
                  • removed odd default value for stationID from the module

                  Please run a “git pull” inside the MMM-RNV directory to receive the update. Please update your config file in case you left out the stationID.

                  Maybe @paviro or another moderator could mark this as resolved?

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