how did you get the sun/moon to come up and in color like that ?
could you post some of the code to that
how did you get the sun/moon to come up and in color like that ?
could you post some of the code to that
The console logs display this, sorry dont know what it means
Uncaught TypeError: console.log is not a function MMM-Traffic.js.135
at Class.socketNotificationRecieved (MMM-Traffic.js.135)
at module.js.250
at socket. <anonymous> (socketclient.js.39)
at Socket../node_modules/component-emitter/index.js.Emitter.Emit (index.js.145)
at Socket.emitEvent (socket.js.253)
at Socket.onevent (socket.js.240)
at Socket.MMSocket.self.socket.onevent (socketclient.js.33)
at Socket.onpacket (socket.js.204)
at Manager.<anonymous> (index.js.21)
at Socket../node_modules/component-emitter/index.js.Emitter.Emit (index.js.145)
@mrega you were close
fade : false,
timeFormat : "absolute",
dateFormat : "DD MMM",
that fixed it thank you !
can you explain what the follow is 'Fade: false/ true ’ what does this refer to or alter?
and what does the “absolute” refer back too ?
mine doesn’t even display the default date as per this doc, I would copy a picture but it has a bunch of private appointments in there.
Default value: MMM Do (e.g. Jan 18th)
mine displays (for example)
'appointment 03/10/2021
not sure if this is what you mean, but still nothing changes, all dates are still MM/DD/YYYY
Showtime: “absolute”, no idea where this is mentioned in the document, unsure where it goes.
dateFormat - config option, in the configuration
// The config property is optional.
// If no config is set, an example calendar is shown.
// See ‘Configuration options’ for more information.
{
module: “calendar”,
header: “AU Holidays”,
position: “top_left”,
config: {
showtime: "absolute",
dateFormat: “DD MMM”,
calendars: [
{
symbol: “calendar-check”,
url: “https://calendar.google.com……”
},
]
},
},
as for reading the document, I have ctrl+f ’ showtime’ , ‘Not calendar’ all these things you mention in each post, so unless we are reading different documents … I have zero idea where you are getting the information from
you can keep being condescending as much as you want, trying my best i have been doing this for around 7 days.
This thread could of been 3 posts long, describe the issue, post an answer with an explanation and a last reply of thankyou this helps alot.
does the showtime: “absolute”, go out of the modules up where it has language, log level, timeformat, units?
i tried in there didnt make any difference
i put in down in the module in serval places didnt change, tried both “L” and “DD MMM” on the dateFormat.
{
module: “calendar”,
header: “AU Holidays”,
position: “top_left”,
config: {
calendars: [
{
symbol: “calendar-check”,
url: “https://calendar.google.com……”
dateFormat: “L”,
},
]
},
},
this is my current config code, i have tried placing it in both positions as shown (one at a time) still doesnt change anything on the calendar.
I got the ‘L’ command from here https://momentjs.com/docs/#/parsing/string-format/
DD MMM didnt work
{
module: “calendar”,
header: “AU Holidays”,
position: “top_left”,
config: {
dateFormat: “L”,
calendars: [
{
symbol: “calendar-check”,
url: “https://calendar.google.com……”
dateFormat: “L”,
},
]
},
},
i get it sam, you can paste the user guide and documents all day. i have read them but dont understand the format them hence my posts.
evening all,
I just need to change the format on my calendar for up coming events which is being displayed in US format MM/DD/YYYY
I would like to change it to DD MMM
{
module: “calendar”,
header: “AU Holidays”,
position: “top_left”,
config: {
dateformat: “DD MMM”,
calendars: [
{
symbol: “calendar-check”,
url: “https://calendar.google.com…” }
]
}
},
https://docs.magicmirror.builders/modules/calendar.html#configuration-options
where does the ‘dateformat’ go?
IS DD MMM a correct format?
in my Mapbox account i see there have been 11 API requests (from 100,000 free) using the ‘default public token’ in the account page.
so i think its using the data, but my MM is just sitting on :
(car icon) Loading …
it was the billing set up preventing it all, i enabled it read its free up to a certain amount of searches, just need to read into it a bit more to see how many times you can use it per month etc without incurring a cost
yes as above
key: ‘my google API’,
origin: ‘my personal address straight from google’,
destination1: ‘Work:my work address straight from google’,
trying to configure this module
https://github.com/SamLewis0602/MMM-Traffic
got a token from Mapbox as per the instructions, got it to appear on my MM, but just says ‘loading’
nothing ever comes up ??
{
module: “MMM-Traffic”,
position: “top_left”,
config: {
accessToken: “your_key_here”,
originCoords: “-84.398848,33.755165”,
destinationCoords: “-84.504259,33.88210”,
firstLine: “{duration} mins”,
secondLine: “Home To School”,
}
},
thanks i got it to work using the one you suggested !
I got the weather and weather forecast going using Openweather
i just used the name 'Canberra, Australia.
It states to use the City ID number from ‘Openweather’ but when i opened the city ID list in wordpad, the list is all scrambled in like wingdigs font.
anyone know how to fix the text or look up Canberra Australia City ID??
Raspberry Pi image to the background
I placed the picture into the /CSS folder
where does this text go ??
body {
background-Image: url(“raspberry.png”);
background-Color: #cccccc;
}
is there anything i need to add to centre it into the middle of the screen ?
google traffic times
I followed these steps from the webpage
Navigate into your MagicMirror’s ~/MagicMirror/modules folder
execute git clone https://github.com/pjestico/MMM-GoogleTrafficTimes.git
A new folder will be created, please navigate into it. Run npm install in ~/MagicMirror/modules/MMM-GoogleTrafficTimes
{
module: ‘MMM-GoogleTrafficTimes’,
position: ‘top_left’,
config: {
key: ‘my google API’,
origin: ‘my personal address straight from google’,
destination1: ‘Work:my work address straight from google’,
AvoidHighways: false,
AvoidTolls: false,
},
now this exutes fine, but nothing appears???
Thanks @BravoOscar
I only used the url: “https://www.news.com.au/content-feeds/latest-news-national/” as thats what was in the above post.
Ill have a search around for a rss one.
I noticed you put, disabled: false, as per below in your post, can you expand on what that does ? does that separate them ?
{
disabled: false,
module: “newsfeed”,
position: “bottom_bar”,
config: {
thanks ?