@sdetweil I’ll check that out; thank you!
Read the statement by Michael Teeuw here.
Posts
-
RE: Compliments module external file
Understood, but the entry in my config.js for just the line that says “compliments.” There’s no indication in config.js where that pulls from. The add-on compliments modules have extra lines with a website address, etc., but I don’t see where the core module is getting what it puts on the screen.
-
RE: Editing core modules
@sdetweil On the location ID, the documentation indicates that it is not needed if you have “location” entered. If using just “location” without “location ID” is causing the error, then I’ll make the switch. Interestingly, its only the “feels like” that is off. (I figured out the that time difference is sunrise/sunset.)
On config layouts, I may just do that. Generally, is there any required order of the config lines?
CheapDad
-
RE: Compliments module external file
May I ask a follow on question? Is the source of the core compliments editable? Meaning, not the source code, but the source of the sayings that appear on the screen. I like the existing compliments but would like to customize what actually appears on the screen.
-
RE: Editing core modules
So, I fixed my own problem but created another! For the weather module, I placed the units code and round up code as the first entries in config and it worked! Well, sort of. I do get Fahrenheit and the temperatures are rounded up, except my “feels like” output is 293 degrees!
Additionally, the time in the current weather field is about 8 hours different than the time in the time module (upper left).
The code:
{ module: "weather", position: "top_right", config: { units: "Imperial", roundTemp: "True", weatherProvider: "openweathermap", type: "current", location: "Gainesville, US", locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "663f6e5e85dfb8bf8d3293ab7cc8cbd1" } }, { module: "weather", position: "top_right", header: "Weather Forecast", config: { units: "Imperial", roundTemp: "True", weatherProvider: "openweathermap", type: "forecast", location: "Gainesville, US", locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "663f6e5e85dfb8bf8d3293ab7cc8cbd1" }
-
RE: MMM-RemoteControl: Can't see remote in MM and can't access
@sdetweil That did it; thank you! Interestingly, I still don’t see a control menu on the mirror. I can access it through another device, though, so that’s good.
-
Editing core modules
Thank you @sdetweil for helping me along. I’m working on editing the core modules to fit the config that I’d like. The problem I’m running into is that despite using the syntax that appears in the documentation, I’m getting errors.
For example, my weather module is displaying either Kelvin or Celsius and I’d like it to be imperial. According to the documentation, I think all I need to do is add:
units: “Imperial”,
to the config file and I should be golden. However, that’s not what’s happened:
{ module: "weather", position: "top_right", config: { weatherProvider: "openweathermap", type: "current", location: "Gainesville, US", locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "663f6e5e85dfb8bf8d3293ab7cc8cbd1" units: "imperial", }
For us super noobs, it might be helpful to have a sample of the config section, where a user can simply delete the lines that they don’t need.
BTW, I appreciate that will only help a very small subset of users and I’m grateful for the patience you all show us noobs.
CheapDad
-
MMM-RemoteControl: Can't see remote in MM and can't access
Noob here. I believe I’ve correctly installed the module. However, I cannot see it in the MM and I cannot access the MM from another device on my internal network. Here’s the key entries in my config.js:
The network settings:
config = { address: '0.0.0.0', // 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 or empty, is "localhost" port: 8080, basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy // you must set the sub path here. basePath must end with a / ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.0.42", "::ffff:192.168.0.50"], // 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"], useHttps: false, // Support HTTPS or not, default "false" will use HTTP httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
And for the module itself:
{ module: 'MMM-Remote-Control', // uncomment the following line to show the URL of the remote control on the mirror // position: 'bottom_left', // you can hide this module afterwards from the remote control itself config: { customCommand: {}, // Optional, See "Using Custom Commands" below showModuleApiMenu: true, // Optional, Enable the Module Controls menu secureEndpoints: true, // Optional, See API/README.md // uncomment any of the lines below if you're gonna use it // customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below // apiKey: "", // Optional, See API/README.md for details // classes: {} // Optional, See "Custom Classes" below } },
-
RE: Need help installing modules
@mykle1 Thank you. This was very helpful and I think I’m heading in the right direction.
-
RE: Forbidden" error posting
@mykle1 Good news, logging out and logging back in solved it. I have no idea what generated it. It was simply a box that said “forbidden” similar to the error you receive posting when you do not select a category.
Thank you for your help!