ah, just saw that Sam recommended an ammeter…this may work, mine (another one) not.
Read the statement by Michael Teeuw here.
Posts
-
RE: Measuring power/energy cost on a 24/7 running pi
-
RE: Measuring power/energy cost on a 24/7 running pi
@merek Btw. it will not be possible to messure the amount with an ammeter. It is too low to be detected…OK, my ammeter is not able to do it…
-
RE: Measuring power/energy cost on a 24/7 running pi
@sdetweil you really pay only 8 Dollar-Cent per kw/h? We have to pay 25 up to 32 Euro-Cent in Germany:-( That are round about 29 up to 38 Dollar-Cent.
@merek it will be less, I think, but it depends what the pi is doing. The power supply sdetwel described can deliver 36 watts, but it is not needed the whole day. Different Websites say between 12 and 20 Euro a year for the pi…the costs for screen will be much more.
What you can do is to choose an other RPI-modell and/or deactivate functions you don’t need on the board (Ethernet, USB) …and buy a screen you can turn off by MM.
-
RE: MMM-SORT still needs API key ?
@sdetweil yes, I tried it but the parameter (margin/width/high etc.) drives me crazy…it was much easier for me to create a local html. And it is not time-critical. updating every 24 hours will be enough.
Thomas
-
RE: MMM-SORT still needs API key ?
@RIKKO14 as a workaround you can show the content of a website with the following HTML-code (as an example Cadiz in Spain):

Store this as a file in the modules-folder with the extension html and use SmartWebDisplay to display it.
To get another location go to https://www.tideking.com/ and use the search function to find it. Take the url and enter it in the HTML.Leads to

-
RE: No Tour de France module???
Short update, same idea as above:

This is the videotext of the german broadcast ARD, looks more like MM:-)
Built by this html (which I still can’t add as coding):

-
No Tour de France module???
Hi,
I looked today for a module for the Tour de France…and found none.
But I was able to integrate a kind of screenshot from a webside with the total results.
I would like to share it with you.
Create a file with the following content, name it tdf.html and store it in the MagicMirror-modules folder (sorry, I was not able to add it as a html-source, only as a picture, but it is standard-html and only some lines:-)):
Download and install the MMM-SmartWebDisplay if not done before and add the following part to your config.js
{ module: 'MMM-SmartWebDisplay', position: 'top_center', config: { logDebug: false, height: "1000px", width:"1000px", updateInterval: 15, NextURLInterval: 0, displayLastUpdate: false, url: ["/modules/tdf.html"], } },leads to this screen:

Thomas
-
RE: MM-Remote Android App
Hi @Klettner,
I like your App very much!It also runs if I enter the hostname instead of the IP-address. This helps me a lot because I don’t use a static IP.
Btw. I took the first apk in the list and it works on my Huawei P8Lite (Android 6.0.1).
Thank you for the App
Thomas
-
RE: Put RSS module in two places?
Hi @tf2, in my config.js, I have two newsfeed-instances:
{ module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: " 3 Podcasts", url: "http://localhost:8080/modules/Podcast.rss2" }, ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, ignoreOldItems: true, showDescription: true, broadcastNewsUpdates: true, wrapDescription: true } },and
{ module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "Tagesschau", url: "http://www.tagesschau.de/xml/rss2" }, { title: "Spiegel Online", url: "https://www.spiegel.de/schlagzeilen/index.rss" }, { title: "Radio Bonn Rhein-Sieg", url: "https://www.radiobonn.de/thema/bonn-su-429.rss" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, ignoreOldItems: true, showDescription: true, broadcastNewsUpdates: true, wrapDescription: true } },which leads to this output:

-
RE: Put RSS module in two places?
@tf2 I have two “newsfeed”-modules one over each other, both on the bottom-bar and it works
But this is an exception, if you want to double any other module you have to copy the original folder, rename the folder and use this name to change the corresponding *.js in the new folder. Additionally, rename the Module.register name inside the js-file.
You can verify your config.js here https://esprima.org/demo/validate.html for example.
Hope that helps,
Thomas -
RE: MMM-Fuel does not show any data
Hi @phistix ,
when I check your “lat” and “lng” you have in your config, it looks you are located in the netherlands…may be therefor, tankerkönig has no data for this place. So please check it again:-)
Greetings from Bonn
Thomas -
RE: Customized frames for MM
Hi,
another idea may be to look at a kitchen-store. Maybe they have a used kitchen-unit with a glas-window you can take as a front-frame. The frame behind is much easier to built because you need no miter. Just buy the wood for the back-frame in a hardware-store, ask them to cut it into pieces. Paint it as you like, should not be so expensive. -
MMM-Pages - Turn scripts on/off when enter page
Hi all,
Is it possible to start a script (Python or bash) when a specific page is entered? I use MM-Pages with a webradio on the third page. The idea is to start the webradio (mpc) combined with a script to get the lyrics of the currently played song (already developed) in case, page 3 is called. I don’t want to stress the lyrics-search if the affected page is not shown. So it would be nice have a trigger and to be able to start something on the PI.
Thank you in advance
Thomas -
RE: MoonRise Help
Hi @bhepler, looks like you live in Amerca and you took my coordinates from Germany. If you tell me your hometown, I’ll post the right data here:-)
Thomas -
RE: MoonRise Help
@bhepler and @PHAGE-GOV
I use the standard clock with these parameters://############################################################################ { module: "clock", position: "top_right", config: { // The config property is optional. // See 'Configuration options' for more information. showWeek : true, showSunTimes : true, showMoonTimes : true, lat : 50.658821, lon : 7.193084, } }, //###########################################################################To get the coordinats, use google maps, click with the right button on the position you want to know, select “was ist hier” (sorry, have no english version) and a small flag is set. A click on the flag makes it blue and the dates are displayed
-
RE: Euromillions display on MagicMirror
Why don’t you create a local html-page on the RPI and display it with MMM-SmartWebDisplay?
-
Look for a website with the requested information (for example lottoland)
-
in your local web-page, call this site and crop it to the part you need using iFrame
-
use MMM-SmartWebDisplay and link to the local html…in the config write url: [“/modules/millions.html”] if you place your local html in the modules folder
no api, no problem, works with nearly every webpage
-
-
RE: Collection of interesting Links
@Mykle1 hahaha, that was not my question!
I thought of this, for example:
https://www.meteoblue.com/de/wetter/widget/setupthree/graz_Österreich_2778067 offers a nice looking easy to customize weather-forecast:
or Highway-cameras from Nordrhein-Westfalen with livestream (https://www.verkehr.nrw/#):
also available for Bayern and Switzerlandor Rain-radar

which has a way to get the html-source exportedCreate a local HTML-page on the PI with the content from above and use MMM-SmartWebDisplay to disply it on the screen.
Greetngs
Thomas