Hi,
The default in the .js is dateFormat: “MMM Do”, for fun have you tried “Do MMM”?
Cheers.
Retired old fart.
Hi,
The default in the .js is dateFormat: “MMM Do”, for fun have you tried “Do MMM”?
Cheers.
Hi,
I went through moment.js looking at ways to capitalize ‘domingo’ etc. I could create a function with ‘var str =’ and ‘var res =’, or do a moment.locale (“es”) define a var for months and days with uppercase and do a moment.UpdateLocale but all involving modifying the .js file.
There was a solution editing the /MagicMirror/vendor/node_modules/moment/min/moment-with-locales.js which would change every module.
However, this morning I tripped over just adding text-transform: capitalize to the .css for the module. I updated .clock and calendar_monthly. It worked. It’s simple and no messing with moment.locale and the .js
I learned some things poking around in moment.js but the .css solution was way easier.
Thank you for your insight and suggestions.
Cheers!
O.K.
and… onlyTemp: ‘true’, would not have any quotes.
bjoern,
You could run VNC (Virtual Network Computing) as well.
FYI. So it turns out that the V2 camera had a RTSP Beta load available. Not the V3.
However, the V3 now has an available Beta.
As the weather worsens during the fall months I’ll play with getting the V3 Cam going (hopefully).
Look at the news feed configuration options. Start with
updateInterval How often do you want to display a new headline? (Milliseconds)
Possible values:1000 - 60000
Default value: 10000 (10 seconds)
FYI
My ‘dev’ system hasn’t had unclutter installed. It has a mouse and keyboard attached. If my mouse is turned off (wireless) the pointer appears centered on the screen. When I turn the mouse on the pointer disappears.
Unclutter is installed on ‘playroompi’ and ‘garagepi’ systems with no pointer issues.
To verify if installed,
$ apt-cache policy unclutter
unclutter:
Installed: 8-21
Candidate: 8-21
Version table:
*** 8-21 500
500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
100 /var/lib/dpkg/status
If not,
unclutter:
Installed: (none)
Candidate: 8-21
Version table:
8-21 500
500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
Cheers
Autohiding the Mouse Pointer
Install unclutter:
sudo apt-get install unclutter
You can create an .xinitrc script to run the tool.
See https://wiki.archlinux.org/index.php/Unclutter
But a simpler option is to add a line to the end of the file:
$ nano ~/.config/lxsession/LXDE-pi/autostart
…
@unclutter -display :0 -idle 3 -root -noevents
This will add a 3 second delay, before the pointer disappears from the screen when not using it.
Hi,
Has anyone tried this camera with MotionEye/MMM-MotionEye before I purchase one?
Thanks.
I just installed AlexaControl using an Echo Dot 4 with no problems.
Hope it can work the same for you.
Cheers
If you test something 100 times always test it just once more.
This worked…
/* Forecast Header */
.MMM-OpenWeatherMapForecast .module-header {
.forecast-header wasn’t needed (even tried one time with a space between the two).
Cheers
Hi,
I’m trying to add a color to the header for the MMM-OpenWeatherMapForecast module and I’m not getting anywhere.
The .css has this default section.
/* Forecast Header */
.MMM-OpenWeatherMapForecast .module-header.forecast-header {
margin-top: 20px;
margin-bottom: 0;
}
I tried to add other fields but eventually just tried color: #7FFF00; and something that simple didn’t work.
The header I entered in config.js is displayed but I can’t get a color change, get the text capitalized, centered, etc.
The .njk Forecast Title section looks O.K. to me but maybe I’ve overlooked something silly.
Suggestions appreciated.
Regards