@ashishtank I use MMM-Networkscanner and control my screen via that. If it does not detect my device residents then it powers the monitor off and when the device is detected on the network then it powers the monitor on. That way when I go out it powers the monitor off automatically and powers it on when I am back home.
Read the statement by Michael Teeuw here.
mumblebaj
@mumblebaj
Part-time Module Developer. Develop what I need .
Best posts made by mumblebaj
-
RE: Need help on monitor power
-
MMM-Growatt
MMM-Growatt
Module that displays data from your Growatt Inverter.
Module Dependencies:
-
growatt v0.3.0
-
Requires an account on server.growatt.com
Module Config:
{ module: "MMM-Growatt", position: "middle_center", //Works best at middle_center. May not display all that well in other positions disabled: false, config: { username: "username", password: "password", plantId: "plantId", // Can be obtained from the Growatt site by checking your Plant information. This can be accessed from the left side of the screen updateInterval: 1000*60*30 ,//Update every 30 minutes deviceSerial: "deviceSerial" //This is the device serial number. Can be found under Input Search Number. } },
Installation Steps:
cd ~/MagicMirror/modules git clone https://github.com/mumblebaj/MMM-Growatt.git cd MMM-Growatt npm install
For any issues please open an issue on the module Github Issues page
-
-
RE: MMM-Reddit "No valid posts to display"
@sdetweil I had a look and made some changes to the module and it is working. Created a PR but don’t know if the owner would accept as it has been 3 to 5 years since he last made any changes.
Guys can use the below if they want:
https://github.com/mumblebaj/MMM-Reddit -
MMM-Rugby
Description:
Module created to display World Rugby Rankings and Match data. Match Data based on a few different Rugby Competition Types and Leagues.No Subscriptions required!
- WRS - Woman’s Sevens Series 2024
- MRS - Mens Sevens Series 2024
- JMU - U20 Six Nations 2024
- MRU - Mens Rugby Union
- Six Nations 2024
- Rugby Europe International Championship 2024
- Men’s Internationals 2024
- Rugby Europe Trophy 2024
- Rugby Europe Conference 2024
- Autumn Nations Series 2024
- The Rugby Championship 2024:
Screenshots:
World Rugby Standings
Mens Rubgy Union
Woman’s Sevens
API-SPORTS League Ranking
API-SPORTS Match Data
Version 1.0.1
initialVersion 1.0.2
Added option to filter by Leagues.Upcoming Features
Filter MRU by Leagues
Version 1.1.0
-
Have updated the module to add a second option of API-SPORT.
-
API-Sports require an API-KEY so user must register for an API-KEY. API-KEY allows for 100 free requests per day.
-
Module still supports
free
option. This can be toggled betweenfree
andapiSport
by using thecollectionType
. -
Have made updates to the
free
table displays.
Version 1.1.2
Feature has now been tested and merged to live
Still in testing. Release in the next day or two.- Add an
autoUpdate
option which allows the application to manage theupdateInterval
. This will let the application update as per theupdateInterval
Sunday to Friday, i.e. ifupdateInterval
has been set to update hourly, it will update Sunday to Friday hourly but on Saturdays it will update every 30 minutes. As Saturdays are generally game day, it is best to update half-hourly to get a refreshed score for current games.
Version 1.1.3
Added translations forfr
anden
. PR’s welcome for any other language support required -
MMM-NewsAPI
My First module, so take it easy
After my mirror crashed a few weeks ago I was looking for the MMM-News module created by bugsounet but could not find it anywhere. I have since learned that he has deprecated the module and have decided to create my.
The module provides a news feed from newsapi.org.
There are various config options and these have been detailed on my MMM-NewsAPI github page. Read the config options carefully as there are restrictions on which options can be used with which. You can also test your options on the newsapi.org prior to making your config in the config.js I have provided two basic samples.
Please let me know if you have issues with it and I will assist where I can as soon as I can.
Please note, as I am in South Africa and with the time differences it may take a few hours before I get to your queries.
-
RE: My first, slim mirror at home
@uros76 Looks very nice and clean. Like the “no wires” idea. Well done.
-
MMM-WOTD
Hi Folks.
I created what some would call, YET Another Word of the Day module.
The module has an option to either get Spanish or Portuguese Word of the Day. Other languages can possibly be added at a later stage on request and if I can find a page out there for it.
I am stuck between just showing the single selected language for now and maybe building a table to display multiple language WOTD with examples. I am open to suggestions on this. (Please raise them on github)
Check out the github page for it.
https://github.com/mumblebaj/MMM-WOTDSpanish WOTD
Portuguese WOTD
Enjoy!!
Updates:
-
Added Multi-language Support - You can now add multiple languages. Languages will rotate at a configurable interval
-
Add languages in an array
["spanish", "dutch", "german"]
etc -
Add you
rotateInterval
to the config i.e.1000*30
will rotate the display every 30 seconds between the selected languages.
-
-
RE: config,js beginner
@berne You are missing a comma after the closing bracket of MMM-awesome-alexa. It should be
},
-
MMM-GasMonitor
Why
I have in the last year moved “slightly” off the grid, solar, gas stove and a gas geyser. I am able to monitor my solar production using my MMM-Growatt module but was unable to monitor my gas usage and have the ability to order a refill in time before the gas runs out.I recently ordered a Mopeka Pro Check Sensor from Amazon.com but it does not have an integrated API and only provides a Bluetooth connection to the app.
Solution
What I came up with was creating the MMM-GasMonitor module.How it works
-
You have to work out your average daily usage. Instructions included on how I achieved this on the module Github page.
-
The module will starts off with 100% tank level (you can set this yourself to match your tank level in the input.txt file). At first run it takes the daily average and add’s it to the 100% giving you a starting point of, you know it, 100%
-
Based on the refresh rate, I run daily as I worked out my daily usage average, it will calculate the new level and display it along with adjusting the Level monitor and color accordingly.
Some more examples
I am open to integrate any API into the module if anybody has one that they would like integrated to monitor their own.
As I could not find one for the Mopeka Pro monitor I went the manual calc method.
Enjoy!!
-
-
MMM-CovidStats
I have had an issue with the MMM-COVID19 module as it has stopped pulling stats since the 2nd March 2022. I decided t0 make my own from a different source. No API keys required.
See Github module page:
MMM-CovidStats
In order to get the module you need to follow these steps:Module includes a country flag for the selected countries to display.
Module is best positioned in positionmiddle_center
cd ~/MagicMirror/modules git clone https://github.com/mumblebaj/MMM-CovidStats.git cd MMM-CovidStats npm install
Options:
-
Include multiple countries
-
Include World Stats
Screenshots
-
Latest posts made by mumblebaj
-
RE: MMM-EskomSePush
ESP sent communication today:
Sometimes, we know in if a Suburb will change (or has changed) from one loadshedding block to another. The ESP App caters for this, and automagically updates the Suburb to the new Area ID so the user doesn’t need to do anything.
What this means for you: After the switch, the old Area ID will start returning HTTP 404 (Area does not exist)Have made changes to cater for this. Still need to test all these changes but as they suspended loadshedding, I am unable to test fully.
-
MMM-EskomSePush
Overview
Apologies for only showing this here now. Module has been around for almost 8 months now.For those who do not know what this is, the state power utility operator describes it as follows:
Load shedding is a controlled process that responds to unplanned events in order to protect the electricity power system from a total blackout.
For those who know what this is… You know the feeling…
So, we have a rotational system whereby the local municipality will switch off your power for a period of 2.5hrs depending on the stage we are on at that given time. There are instances where we go without 4.5hrs of power when we are at stage 6 or above. Most often we can be without power for up to 12hrs per day.
I have created this module for users to monitor their load shedding schedule and help them plan accordingly.
Link to module:
EskomSePushSome pics:
No loadshedding:
With loadshedding:
With 4.5hr schedule:
Latest Update:
- Added feature to show “No upcoming loadshedding” when there is no loadshedding for your area - Still in testing and will be released in the next few days.
-
RE: Emergency service pharmacies in Germany
@KristjanESPERANTO I think if they didn’t want you to get “inside” they would build it better. I.e. if they didn’t want you to scrape the data they would preserve it better.
The way i see it, you can use one of 2 URL’s to get the data and then scrape it. You require the area / postal code as input though and you can make the radius to search an option as well.
Pharmacy for postal/area code 80331 within 20km
https://www.aponet.de/apotheke/apothekensuche/80331/ /20Emergency Service 25km radius from postal code 65760
https://www.aponet.de/apotheke/notdienstsuche/65760/ /5Should be easy enough to scrape the data.
Anyway, they do provide widgets and the code for people to access the data.
See below link:
https://apotheken-notdienstdaten.de/aponet-download-service/ -
RE: MMM-Scenes2
@sdetweil Hence I always warn users of API limitations. if they exceed then it becomes their issue.
-
RE: Hello everyone, do you know if there is an MM module for rugby
@manu85340 That would not be a problem as you are using apiSport which does not require that.
-
RE: MMM-Scenes2
@sdetweil Thanks Sam for the explanation. So it depends on the module design and data provider etc.
-
RE: MMM-Scenes2
@sdetweil Can I ask a stupid question? When I initially started coding my first module I was advised to handle the suspend and resume in the module and picked the samples up from I think your sample module or maybe it was another module. Apologies if it was not yours.
Are we saying it is bad practice to use the two together? I.e. handling the suspend and resume etc. in module and should rather leave it out completely?
-
RE: Hello everyone, do you know if there is an MM module for rugby
@Manu85 I have also updated the L and D translations now and pushed it.
-
RE: Hello everyone, do you know if there is an MM module for rugby
@Manu85 Your config looks fine to me. This is the config I used and it works fine for me.
{ module: "MMM-Rugby", position: "top_right", disabled: false, config: { updateInterval: 1000*60*30, autoUpdate: true, rotateInterval: 30000, sport: "mru", rankingLimit: 10, matchesLimit: 10, matchesOlderThan: 20, collectionType: "apiSport", competitions: ["Six Nations 2024", "Rugby Europe Conference 2024"], apiSports: { apiSportStandingLeagueId: 16, apiSportKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", apiSportTZ: "Africa/Johannesburg", numberofGamesToDisplay: 10, apiSportsNumRankings: 10, apiSportDaysPast: 7, apiSportsDaysFuture: 14 // add games requirements league id for games to fetch } } },