Your config.js should also allow listen on for 192.168.1.23. By default it is set to “localhost” only.
There is also a “ipWhitelist” which should reflect the ip address of your Mac and your PI.
Here’s my config.js relevant to listen on and ipWhitelist
var 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", "192.168.178.73", "192.168.178.76"], // 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"],
And here’s my Strava module in “config.js”
{
module: "MMM-Strava",
position: "bottom_right",
header: "Strava",
config: {
client_id: "12345",
client_secret: "123456789012345678901234567890",
mode: "chart",
chartType: "bar",
activities: ["run"],
stats: ["count", "distance", "elapsed_time", "achievements"],
period: "recent",
units: "metric",
}
},
If you’ve downloaded the Strava module and add it to your config together with the listen on and ipWhitelist you should be able to successfully register and use the module.
Good luck!
David