Not too bad those dutch railways…😁. But on topic, did you try MMM-nstreinen? See the page https://github.com/MichMich/MagicMirror/wiki/3rd-party-modules for more info
Read the statement by Michael Teeuw here.
Posts made by cirdan
-
RE: Departure info Dutch railways
-
RE: Strange Glitching on HDMI
@stickyrib with the 2.4 release a heating problem arose with heavy cpu usage due to electron. Is was adviced tot use the fkms (see post michael). When i followed up on this post both alternatives did not work out for me. One option got me star night like flickering in the widgets on screen, the other led to what you described. So I returned to the driver which was used up unto 2.3.
Never thought about powering via the monitor to be the probleproblem/solution, but I do connect it that way.So still on default screen driver and no heating problem and no flickering.
-
RE: MMM-BMW-DS (A different kind of weather module)
Yep, that’s me, thanks for the fix mate
-
RE: MMM-BMW-DS (A different kind of weather module)
Like it mykle, even an lord of the rings theme
-
RE: MMM-rain-forecast
Changed the url in my codebase, and everything works like a charm again. Tnx for pointing it out. Still love the svg part 😀
-
RE: MMM-rain-forecast
great work Charley.
Was thinking about rewriting that part with the external sparkline. Got a sudden error on my implementation a few days ago (xmlhttprequest on the sparkline invocation and load errors 404 on the jquery). Never did anything with SVG. So was heading for some coding this weekend :-)
This is what I like about open source 👍
-
RE: Displaying data from MySQL database
@wolkenaj said in Displaying data from MySQL database:
}
Copy an existing module with a node_helper.js. The graph section should go into the module js file, the php for db access rewritten into js and inserted into the node helper. Look at my rain forecast module for example https://github.com/73cirdan/MMM-rainfc
Alternative is to call the php from within the node helper
-
RE: Dutch Rainforecast graph (Buienradar)
Looks smaller than expected, are width and height set correctly in the config?
-
RE: Wrote 2 modules already, but don't know where to start for another...
For a custom build calendar module, I implemented paging to make sure not all space is occupied. In the getdom I increment a global variable domstate everytime it is called. Based on the domstate and the number of pages I calculate which page to show. In your case, on even domstate you could display language one and when odd display language two.
-
Dutch Rainforecast graph (Buienradar)
Based on a Dutch public api for rain forecast (BuienRadar).
More info on Github
Config options
The following properties can be configured:
First Header Second Header lat the latitude of your location lon the longitude of your location width controls the size of the module height controls the size of the module lineWidth the thicknes of the line lineColor the color of the line fillColor the color of the area under the line maxPower the maximum number on the y axis rainText The text you want to display in front of the last time received in the last call noRainText the text you want to display if no rain is expected untill the last time in the last call. nrOfTimeLabels optional value, adds a number of time labels under the graph, advised values: 2-5. If non existant or 0 reverts to default behaviour.