@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.

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 -
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-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.
-
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!!
-
-
RE: MMM-SystemStatsHow to change color of the icons.
@cdanielgallegos The module does not have a stylesheet and runs off the main.css. You could set the following in the custom.css but it will change the color for all the rows as they all have a class of “title” and the values have a class of “value”. That is about as much as I could get with it.
.MMM-SystemStats .title { font-size: 25px; color: orangered; } .MMM-SystemStats .vlue { color: blue; }
-
RE: Opening hours for stores/places thru Google API
@Menturan Thanks for a great module. I had the module working for a two weeks but for the past few days it has stopped working. So, I have been working through the issue and after stopping and starting the mirror I am getting results returned but it is not being sent to the screen. Is there a reason for this?
[09:48:50] - DEBUG - MMM-OpeningHours : Sending to frontend - [{"name":"Makro Store Crown Mines","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"1400"},"open":{"day":0,"time":"0900"}},{"close":{"day":1,"time":"1730"},"open":{"day":1,"time":"0830"}},{"close":{"day":2,"time":"1730"},"open":{"day":2,"time":"0830"}},{"close":{"day":3,"time":"1730"},"open":{"day":3,"time":"0830"}},{"close":{"day":4,"time":"1730"},"open":{"day":4,"time":"0830"}},{"close":{"day":5,"time":"1730"},"open":{"day":5,"time":"0830"}},{"close":{"day":6,"time":"1600"},"open":{"day":6,"time":"0800"}}],"weekday_text":["Monday: 8:30 AM â 5:30 PM","Tuesday: 8:30 AM â 5:30 PM","Wednesday: 8:30 AM â 5:30 PM","Thursday: 8:30 AM â 5:30 PM","Friday: 8:30 AM â 5:30 PM","Saturday: 8:00 AM â 4:00 PM","Sunday: 9:00 AM â 2:00 PM"]},"place_id":"ChIJl8h2VlIJlR4Rn5311bQlcXQ"},{"name":"Builders Warehouse Glen Eagles","opening_hours":{"open_now":true,"periods":[{"close":{"day":0,"time":"1600"},"open":{"day":0,"time":"0800"}},{"close":{"day":1,"time":"1800"},"open":{"day":1,"time":"0700"}},{"close":{"day":2,"time":"1800"},"open":{"day":2,"time":"0700"}},{"close":{"day":3,"time":"1800"},"open":{"day":3,"time":"0700"}},{"close":{"day":4,"time":"1800"},"open":{"day":4,"time":"0700"}},{"close":{"day":5,"time":"1800"},"open":{"day":5,"time":"0700"}},{"close":{"day":6,"time":"1700"},"open":{"day":6,"time":"0700"}}],"weekday_text":["Monday: 7:00 AM â 6:00 PM","Tuesday: 7:00 AM â 6:00 PM","Wednesday: 7:00 AM â 6:00 PM","Thursday: 7:00 AM â 6:00 PM","Friday: 7:00 AM â 6:00 PM","Saturday: 7:00 AM â 5:00 PM","Sunday: 8:00 AM â 4:00 PM"]},"place_id":"ChIJB0lb_mgPlR4Rje4UAMJnOvY"},null,null]
Latest posts made by mumblebaj
-
RE: BirdNET-PI-chart on MM2
@lmhmm Also, check the dataUrl that you have. I changed it to the one in the module Github and then it worked fine.
-
RE: BirdNET-PI-chart on MM2
@lmhmm Your config looks weird. You missing a bunch of commas.
Also, I think you may be getting the following error in the Developers Console (ctrl+shift+i). You can filter on MMM-BirdNET and see if you see the below error. -
RE: MMM-Growatt
Update v2.0.1 = 2023/08/31
- Had a request from user ruralbrewer to add support for https://server-us.growatt.com.
- Users in the US registered on the US Growatt Server are now able to use the module.
- A new Config option
usServer: true
must be added to the config/config.js. Users registered on the https://server.growatt.com need not add this option.
{ 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", usServer: true, // only used by US Registered users debug: false, // set to true if you want to create a debug log mode: "dual", // Specify 'dual' when running https://github.com/mumblebaj/MMM-Growatt.git and https://github.com/mumblebaj/MMM-Growatt-Stats.git together else specify 'single' updateInterval: 1000*60*30 //Update every 30 minutes } },
-
RE: Failed to load resource
@sdetweil On the other hand i agree with you completely as I don’t see the same issue on my dev machine. A bit puzzling to me.
-
RE: Failed to load resource
@sdetweil Well, if that was true then I should not see those errors on my MM. Which is why I am not understanding why it is throwing the errors currently.
-
RE: Failed to load resource
Thanks @sdetweil. I will make a change locally and test it.
-
RE: Failed to load resource
@MMRIZE Can you help me understand the below bit of code from the core module.js.
From the above, if options is undefined then callback is assigned to options and the module carries on it’s merry way. Is my understanding correct?
-
RE: Failed to load resource
@MMRIZE I am testing on MMM-pages on my Windows machine running MM in WSL. I am not getting the same behavior though. I will need to debug my PROD machine. Weird that it works fine on my one machine and throwing the errors on my other machine
-
RE: MMM-SpaceX Only Showing 2020 Launches
@KungFuCharlie The API has changed for this. However, it also only returns evens from last year and nothing for this year. You can check this documentation. https://github.com/r-spacex/SpaceX-API/tree/master/docs#rspacex-api-docs
-
RE: Failed to load resource
Thanks @MMRIZE. I have narrowed it down to the below from MMM-pages.
I will log an issue on the Github but I have noticed the author has requested for somebody to take over the module from him.