Read the statement by Michael Teeuw here.
MMM-EnergyMonitor help
-
@mayfield can you show the config if the two modules, and any messenger in the console output, or in the developers window console ctrl-shift-i on the keyboard, select the console tab and scroll up to see any messages in red
-
@sdetweil said in MMM-EnergyMonitor help:
@mayfield can you show the config if the two modules, and any messenger in the console output, or in the developers window console ctrl-shift-i on the keyboard, select the console tab and scroll up to see any messages in red
Here is a photo of the console screen.
-
@mayfield open a terminal window and do
touch ~/MagicMirror/css/custom.css
that will make the error go away on next load of mm, you can do that with ctrl-r
ctrl-shift-i to get out of developer mode
-
@mayfield how about messages where u start mm
if npm start
or of pm2, then
pm2 logs --lines=50 -
@sdetweil Do I run npm start pm2 logs --lines=50?
-
@mayfield no
how do you start MM?
npm start
or
pm2
if pm2 then
pm2 logs --lines=50in eaither case u may need to redirect the output to a file
npm start > somefile.txt
or
pm2 logs --liness=50 > somefile.txt -
@sdetweil Hear are somefile.txt and my config.js
> magicmirror@2.21.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [09.10.2022 09:14.04.452] [LOG] Starting MagicMirror: v2.21.0 [09.10.2022 09:14.04.467] [LOG] Loading config ... [09.10.2022 09:14.04.483] [LOG] Loading module helpers ... [09.10.2022 09:14.04.487] [LOG] No helper found for module: alert. [09.10.2022 09:14.04.523] [LOG] Initializing new module helper ... [09.10.2022 09:14.04.526] [LOG] Module helper loaded: updatenotification [09.10.2022 09:14.04.529] [LOG] No helper found for module: clock. [09.10.2022 09:14.04.968] [LOG] Initializing new module helper ... [09.10.2022 09:14.04.977] [LOG] Module helper loaded: calendar [09.10.2022 09:14.05.125] [LOG] Initializing new module helper ... [09.10.2022 09:14.05.149] [LOG] Module helper loaded: MMM-Fronius2 [09.10.2022 09:14.05.153] [LOG] No helper found for module: MMM-EnergyMonitor. [09.10.2022 09:14.05.156] [LOG] No helper found for module: weather. [09.10.2022 09:14.05.212] [LOG] Initializing new module helper ... [09.10.2022 09:14.05.213] [LOG] Module helper loaded: newsfeed [09.10.2022 09:14.05.215] [LOG] All module helpers loaded. [09.10.2022 09:14.05.439] [LOG] Starting server on port 8080 ... [09.10.2022 09:14.05.470] [LOG] Server started ... [09.10.2022 09:14.05.472] [LOG] Connecting socket for: updatenotification [09.10.2022 09:14.05.474] [LOG] Starting module helper: updatenotification [09.10.2022 09:14.05.475] [LOG] Connecting socket for: calendar [09.10.2022 09:14.05.477] [LOG] Starting node helper for: calendar [09.10.2022 09:14.05.483] [LOG] Connecting socket for: MMM-Fronius2 [09.10.2022 09:14.05.484] [LOG] Starting module helper: MMM-Fronius2 [09.10.2022 09:14.05.486] [LOG] Connecting socket for: newsfeed [09.10.2022 09:14.05.488] [LOG] Starting node helper for: newsfeed [09.10.2022 09:14.05.489] [LOG] Sockets connected & modules started ... [09.10.2022 09:14.05.950] [LOG] Launching application. [09.10.2022 09:14.11.582] [LOG] Create new calendarfetcher for url: https://www.vic.gov.au/sites/default/files/2019-02/Victorian-school-term-dates.ics - Interval: 300000 [09.10.2022 09:14.11.670] [LOG] Create new calendarfetcher for url: https://www.vic.gov.au/sites/default/files/2021-09/Victorian-public-holiday-dates.ics - Interval: 300000 [09.10.2022 09:14.11.687] [LOG] Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 [09.10.2022 09:14.11.696] [INFO] Checking git for module: MMM-Fronius2 [09.10.2022 09:14.11.745] [INFO] Checking git for module: MMM-EnergyMonitor [09.10.2022 09:14.11.796] [INFO] Checking git for module: default [09.10.2022 09:14.12.782] [INFO] Calendar-Fetcher: Broadcasting 14 events. [09.10.2022 09:14.14.376] [INFO] Newsfeed-Fetcher: Broadcasting 34 items.
/* MagicMirror² Config Sample * * By Michael Teeuw https://michaelteeuw.nl * MIT Licensed. * * For more information on how you can configure this file * see https://docs.magicmirror.builders/configuration/introduction.html * and https://docs.magicmirror.builders/modules/configuration.html */ let 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 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"], // 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 language: "en", locale: "en-AU", logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging timeFormat: 24, units: "metric", // serverOnly: true/false/"local" , // local for armv6l processors, default // starts serveronly and then starts chrome browser // false, default for all NON-armv6l devices // true, force serveronly mode, because you want to.. no UI on this device modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check", maximumEntries: '4', //url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics" url: "https://www.vic.gov.au/sites/default/files/2019-02/Victorian-school-term-dates.ics" }, { symbol: "birthday-cake", maximumEntries: "10", url: "https://www.vic.gov.au/sites/default/files/2021-09/Victorian-public-holiday-dates.ics", } ] } }, { module: 'MMM-Fronius2', position: "top_left", header: "Solar Panels", hidden: false, ip: "192.168.2.146", updateInterval: 3000, wattConversionOptions: { enabled: true, threshold: 1200, numDecimalDigits: 2, }, offlineDetectionOptions: { numRequests: 5, // Converter is considered offline after this num of failed requests offlineInterval: 1800000, // 30 Minutes }, requestTimeout: 1000, broadcastSolarPower: true, broadcastGridPower: true, broadcastBatteryPower: true, dummyData: false, }, { module: 'MMM-EnergyMonitor', disabled: false, position: 'middle_center', hidden: false, updateInterval: 3000, energyStorage: false, width: "100px", height: "100px", lineWidth: "8px", resetCycles: 3, logNotifications: false, wattConversionOptions: { enabled: true, threshold: 1200, numDecimalDigits: 2, }, iconCssClasses: { home: "fas fa-home", grid: "fas fa-plug", energyStorage: "fas fa-battery-half", localPowerSource: "fas fa-solar-panel", } }, { module: "compliments", disabled: true, position: "lower_third" }, { module: "weather", position: "top_right", config: { weatherProvider: "openweathermap", type: "current", location: "Fawkner, AU", locationID: "2166819", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "7e845e5fc36ce2a73900ec4152ca884c" } }, { module: "weather", position: "top_right", header: "Weather Forecast", config: { weatherProvider: "openweathermap", type: "forecast", location: "Fawkner, AU", locationID: "2166819", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "7e845e5fc36ce2a73900ec4152ca884c" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}