Read the statement by Michael Teeuw here.
Modul Plug in RNV Abfrage
-
@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?
-
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
-
@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
-
@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]
-
-
it is possible to build a “Headline”?
I have found it :-D
Thank so sooooo much for the module
-
@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?