@MMRIZE thanks so much!! Could only imagine what I would have come up with lol
Read the statement by Michael Teeuw here.
Latest posts made by bradley1982
-
RE: CalendarExt3 colour custom Css for specific name.
-
RE: CalendarExt3 colour custom Css for specific name.
@MMRIZE hi thanks so much!!!
How do i the same for another name in the config.js?
-
RE: CalendarExt3 colour custom Css for specific name.
@sdetweil Hi Sam,
thanks for picking up so quickly.
i have done this however nothing happening …
.CX3 .event .eventTransformer: (ev) => { // this transformer runs, but never returns the event called on
if (ev.title.search(‘Liam’) > -1) ev.color = ‘#FF0000’
return ev
}any ideas? thanks for your help!!
Cheers
paul
-
CalendarExt3 colour custom Css for specific name.
Hi all,
looking for some help please as really struggling to get the mirror to show different events in people names to show a different colour.
I have one calendar linked to the mirror and looking to set up the calendar has a name in the title that the text is a different colour however can’t for the life of me figure it out via the various forums etc.
This is my config set up:
{ module: "calendar", header: "Bradley Family", position: "top_left", config: { calendars: [ { fetchInterval: 7 * 24 * 60 * 60 * 1000, symbol: "calendar-check", url: " } ] } }, { module: "MMM-CalendarExt3", position: "fullscreen_below", },
I have tried various under custom ccs by none coming through:
.CX3 .event[data-calendar-name=“Evie”] {
color: #FF0000;
}.CX3 .eventTransformer: (ev) => {
if (ev.title.search(‘Evie’) > -1) ev.color = ‘#FF0000’
return ev
}.CX3 .event .eventTransformer: (ev) => {
if (ev.title.search(‘Liam’) > -1) ev.color = ‘#FF0000’
return ev
}.CX3 .event .eventTransformer: (ev) => {
if (ev.title.search(‘Liam’) > -1) ev.color = ‘#FF0000’
}
return evAny ideas? not great with this so all help appreciated!
-
RE: MMM remote
@sdetweil hi now getting this error
Connecting socket for: MMM-Remote-Control
WARNING! Could not load config file. Starting with default configuration. Error found: TypeError: Log.log is not a function -
RE: MMM remote
@sdetweil thanks very much. does it matter if i use double or single … sorry no got a clue
got it firing but error loading config
Starting MagicMirror: v2.6.0
Loading config …
Loading module helpers …
No helper found for module: alert.
No helper found for module: clock.
No helper found for module: calendar_monthly.
Initializing new module helper …
Module helper loaded: calendar
Initializing new module helper …
Module helper loaded: MMM-Todoist
Initializing new module helper …
Module helper loaded: MMM-MyScoreboard
Initializing new module helper …
Module helper loaded: MMM-OpenWeatherMapForecast
Initializing new module helper …
Module helper loaded: MMM-PhilipsHue
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘logger’
Loading module helpers …
No helper found for module: alert.
No helper found for module: clock.
No helper found for module: calendar_monthly.
Initializing new module helper …
Module helper loaded: calendar
Initializing new module helper …
Module helper loaded: MMM-Todoist
Initializing new module helper …
Module helper loaded: MMM-MyScoreboard
Initializing new module helper …
Module helper loaded: MMM-OpenWeatherMapForecast
Initializing new module helper …
Module helper loaded: MMM-PhilipsHue
Whoops! There was an uncaught exception…
{ Error: Cannot find module ‘logger’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Module.require (internal/modules/cjs/loader.js:657:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:15:13)
at Module._compile (internal/modules/cjs/loader.js:721:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:732:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3) code: ‘MODULE_NOT_FOUND’ }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issuesany ideas
-
MMM remote
Morning All.
total novice here however i have managed to get my MM working with quite a few modules on it.
I was looking to add MMM-Remote -Control however seems to be above my pay grade as can’t even get the config to fire after adding this. when i remove it is working fine.
When i run the config checker i get the below -
Line 134 col 17 Unexpected ‘‘’.
Line 135 col 19 Unexpected ‘‘’.
Line 138 col 21 Unexpected ‘“’.
Line 140 col 17 Unexpected ‘“’.
Line 135 col 17 Expected ‘}’ to match ‘{’ from line 133 and instead saw ‘:’.
Line 136 col 9 Expected ‘]’ to match ‘[’ from line 28 and instead saw ‘config’.
Line 136 col 15 Expected ‘}’ to match ‘{’ from line 11 and instead saw ‘:’.
Line 136 col 16 Missing semicolon.
Line 137 col 26 Expected an identifier and instead saw ‘,’.
Line 137 col 26 Expected an assignment or function call and instead saw an expression.
Line 137 col 27 Missing semicolon.
Line 139 col 9 Label ‘customMenu’ on showModuleApiMenu statement.
Line 139 col 9 Expected an assignment or function call and instead saw an expression.
Line 139 col 26 Missing semicolon.
Line 139 col 26 Expected ‘}’ to match ‘{’ from line 136 and instead saw ‘:’.
Line 140 col 9 Expected an assignment or function call and instead saw an expression.
Line 140 col 15 Missing semicolon.
Line 140 col 9 Unrecoverable syntax error. (82% scanned).The config for the module looks like this -
{
module: “MMM-Remote-Control”,
position: “bottom_left”,
config: {
customCommand: {}, // Optional, See “Using Custom Commands” below
customMenu: “custom_menu.json”, // Optional, See “Custom Menu Items” below
showModuleApiMenu: true, // Optional, Enable the Module Controls menu
apiKey: “”, // Optional, See API/README.md for details
}
},Any ideas?
Thanks for your help in advance
Paul -
Keeps crashing
Hi there, total newbie at code and all this and was a lock down project.
Got a pi zero and set up and all working however after a couple of days it keeps crashing and either goes back to the ‘something wrong internet page’ or goes back to the desktop with no icons and I need to unplug and plug in and run the commands and works again for the next couple of days.
Any ideas what might be causing this?
All help gratefully received!!
Many thanks
Paul