@cowboysdude Jeez, I didn’t even see this, sorry… Thank you!!
Read the statement by Michael Teeuw here.
Best posts made by Wiltify
-
RE: Possible Error in My Code?
-
RE: Possible Error in My Code?
@Mykle1 @Sean Ha, I got so sucked up into adding modules I forgot to reply. Thanks Sean for pointing that out, I ran a command, which I can’t remember but it ended with "Config:check: and looks for errors, and it pointed out out the brackets so I changed those as well as something else. Mykle, thanks for pushing me to learn :) Already a huge fan of this community.
Latest posts made by Wiltify
-
MMM-OnScreenMenu Not Working
Source code:
modules: [ { module: "MMM-OnScreenMenu", position: "bottom_left", config: { touchMode: true; enableKeyboard: true, } }]};
When I comment this part out, it compiles with no errors.
-
College Team Stats
Currently designing a MM as a Christmas Present for my girlfriend. I think it would be sweet if I could have a module that displays West Virginia Universities upcoming games/scores for their basketball and football games. (Respective Seasons) Of course, to make worth while, make you could make a config to where you can pick which college to follow, that way it is a bit ore useful for other people.
-
RE: Possible Error in My Code?
@Mykle1 @Sean Ha, I got so sucked up into adding modules I forgot to reply. Thanks Sean for pointing that out, I ran a command, which I can’t remember but it ended with "Config:check: and looks for errors, and it pointed out out the brackets so I changed those as well as something else. Mykle, thanks for pushing me to learn :) Already a huge fan of this community.
-
RE: Possible Error in My Code?
@Mykle1 Yes, but the module site has them inside of brackets instead of quatations, does that vary between developers formatting?
-
RE: Possible Error in My Code?
@Mykle1 I have that, must not have copied when I brought it into here, whoops…
-
RE: Possible Error in My Code?
I don’t know if I downloaded the fitbit module correct, something maybe wrong in my code first?
* * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "en", timeFormat: 24, units: "imperial", modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left", config: { timeFormat: "12", displaySeconds: "false", showPeriod: "true", timezone: "America/New_York" } }, { module: "currentweather", position: "top_left", config: { locationID: "4839416", //ID from http://www.openweathermap.org/help/city_list.txt appid: "a8fcb80620f43f70c4e6141e5e0f09dc", units: "imperial", roundTemp: "true", degreeLabel: "true", showHumidity: "true" } }, { module: "weatherforecast", position: "top_left", config: { locationID: "4839416", appid:"a8fcb80620f43f70c4e6141e5e0f09dc", units: "imperial", roundTemp: "true", showRainAmount: "true" } }, { module: 'MMM-fitbit', position: 'top_center', config: [ credentials: { client_id: , client_secret: , }, resources: [ 'steps', 'floors', 'caloriesOut', 'distance', 'activeMinutes', 'sleep', 'heart' ], update_interval: 60 ] } ] };
-
RE: Possible Error in My Code?
@cowboysdude Jeez, I didn’t even see this, sorry… Thank you!!
-
Possible Error in My Code?
Help a noob please. I am trying to configure the clock module. Says there are syntax errors in my code when I add “config” and add parameters. It runs fine without the config added. What am I doing wrong? Thanks from a noob.
Code:
* * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "en", timeFormat: 24, units: "imperial", modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" config: { timeFormat: "12", displaySeconds: "false", showPeriod: "true", timezone: "America/New_York" } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}