MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. butchkemper
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 29
    • Groups 0

    Butch Kemper

    @butchkemper

    6
    Reputation
    107
    Profile views
    29
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Age 80
    Location Sachse, Texas, Dallas is a nearby suburb

    butchkemper Unfollow Follow

    Best posts made by butchkemper

    • My MagicMirror Display

      Here is my MagicMirror, not a mirror but a display. The hardware is:

      • Raspberry Pi 3 Model A Plus Rev 1.0
      • WEme USB 3.0 to SATA Converter Adapter for 2.5 3.5 Inch Hard Drive Disk SSD
      • 128GB 2.5 Inch SSD
      • ACER 21.5 Inch Monitor 1920x1080
      • RPios Bullseye

      The software is:

      • MagicMirror V 2.26.0 with the following modules:
      • Clock - Standard date and time display.
      • Calendar - Combines multiple Apple and Google calendar into a single display.
      • Weather - Local current and forecast weather.
      • MMM-Fuel - Local Gasbuddy fuel prices displayed for lowest price offerings at stations in town.
      • Newsfeed - Standard Newsfeed display with headlines displayed at screen bottom.

      IMG_2855.jpeg

      (Not the best possible image but you get the idea)

      It is the combined calendar display that get the most attention and was the most challenging to configure.

      I had some problems getting RPios software to operate in portrait orientation. Actually, I never was successful to get portrait mode until the Xwindows system started and was instructed to use portrait mode.

      One thing I had to do was increase the RPios swap space from the default 100MB to 2GB. Otherwise the system would get stuck in page thrashing as it got busy and swap space filled up.

      Thanks to @sdetweil for his assistance solving some issues.

      Butch

      posted in Show your Mirror
      butchkemperB
      butchkemper
    • RE: New Setup - Log Filled with "CreatePlatformSocket() failed: Address family not supported by protocol (97)"

      Sam,

      I built a new SDcard for Raspios and installed MM using your scripts. Started MM and the problem did not occur.

      Next, I rebuilt the SSD with Raspios and installed MM. Started MM and the problem did not occur at startup and I waited while tailing the logs but nothing happened.

      Next, I move my MM configuration changes, modules, and updates to the SSD. The problem did not occur at startup or after tailing the logs for a time.

      I am declaring a victory for me. But we all know, in the end, that the computer demons won.

      Butch

      posted in Troubleshooting
      butchkemperB
      butchkemper
    • RE: Default weather module stuck loading after latest MM update

      The Api has changed and the old apikey no longer works. The old api, V2.5, provided data for free and the new api, V3.0, will charge for daily data access requests that exceed 1,000. The new api requires a credit card to bill for all requests exceeding 1,000 per day.

      In addition to establishing a credit card on my account and generating a V3.0 key, I installed the MMM-OpenWeatherForecast module using these instructions:

      • Navigate into the MagicMirror modules directory.

      • Execute git clone https://github.com/Tom-Hirschberger/MMM-OpenWeatherForecast

      • Enter the new MMM-OpenWeatherForecast directory and execute npm install

      The configuration instructions and other information is located in:

      • Read the instructions in the README.md file.

      Butch

      posted in Troubleshooting
      butchkemperB
      butchkemper

    Latest posts made by butchkemper

    • RE: Magic Mirror with Pi4 OS not working with Pi5

      From my own recent experience, you have a copy of the previous config.js file but the modules cloned into the new system may not be the same as what was cloned into the old system.

      Butch Kemper

      posted in Troubleshooting
      butchkemperB
      butchkemper
    • RE: OpenWeatherForcast - Request failed with status code 401

      Problem solved. There are multiple MMM-OpenWeatherForecast repositories. The one I cloned for the new system was not the clone I was previously using. I changed to the module from Tom-Hirschberger/MMM-OpenWeatherForecast and everything began working as expected.

      I apologize for my error.

      Update: To prevent future issues, I have add a comment in config/config.js file on each module statement to remind me of the module repository location. The comment appears as: // github.com/Tom-Hirschberger/MMM-OpenWeatherForecast.

      Butch Kemper

      posted in Troubleshooting
      butchkemperB
      butchkemper
    • OpenWeatherForcast - Request failed with status code 401

      I had a MagicMirror that was running on Bullseye and I decided to upgrade to Bookworm. Note to self “Leave running systems alone”.

      Bookworm runs, MM starts up, and the modules for Calendar and MMM-Fuel are working properly. However, the MMM-OpenWeatherForecast module does not display any information and this error message is in the MagicMirror-out.log:

      ** ERROR ** Error: Request failed with status code 401
      

      There are no other error messages from OpenWeatherForecast.

      Any hints would be appreciated.

      Butch Kemper

      posted in Troubleshooting
      butchkemperB
      butchkemper
    • RE: Version 2.30.0 weather module, stuck loading, worked fine before upgrade

      @sdetweil I noticed this discretion between the Weather module documentation:

      • The “Weather” documentation has “apiKey” - large case “K”,
      • The “MMM-OpenWeatherForecast” documentation has “apikey” - small case “k”.

      Butch

      posted in Troubleshooting
      butchkemperB
      butchkemper
    • RE: Version 2.30.0 weather module, stuck loading, worked fine before upgrade

      The configuration parameters I use are:

      module "MMM-OpenWeatherForecase"
      latitude and NOT lat
      longitude and NOT lon
      apikey and NOT apiKey   <----  Notice the "K"
      

      Some MM configuration keywords have abbreviations but not all. The module README file gives the values for the keywords.

      Also, since your apikey has been revealed to the world, you should cancel the posted key and generate a new key. Always keep the apikey secret.

      Butch

      posted in Troubleshooting
      butchkemperB
      butchkemper
    • RE: MMM-OpenWeatherForecast

      @JohnGalt

      The api call daily threshold for billing is 1,000. The default setting is to update every 10 minutes and that equals to 144 daily calls.

      Butch

      posted in Troubleshooting
      butchkemperB
      butchkemper
    • RE: Default weather module stuck loading after latest MM update

      The Api has changed and the old apikey no longer works. The old api, V2.5, provided data for free and the new api, V3.0, will charge for daily data access requests that exceed 1,000. The new api requires a credit card to bill for all requests exceeding 1,000 per day.

      In addition to establishing a credit card on my account and generating a V3.0 key, I installed the MMM-OpenWeatherForecast module using these instructions:

      • Navigate into the MagicMirror modules directory.

      • Execute git clone https://github.com/Tom-Hirschberger/MMM-OpenWeatherForecast

      • Enter the new MMM-OpenWeatherForecast directory and execute npm install

      The configuration instructions and other information is located in:

      • Read the instructions in the README.md file.

      Butch

      posted in Troubleshooting
      butchkemperB
      butchkemper
    • RE: MMM-OpenWeatherForecast

      @MarcLandis Thank you for the push in the right direction. I took the time to remove all the unused options and corrected the updateInterval. Now everything is back to working.

      Now I will need to study the new options to see if I need to change anything.

      Thanks again.

      Butch

      posted in Troubleshooting
      butchkemperB
      butchkemper
    • RE: MMM-OpenWeatherForecast

      Howdy,

      I am having trouble getting MMM-OpenWeatherForecast to run and have been working my way through the problems.

      First problem was a typo of “apiKey” which caused this message to flood the .pm2/logs/MagicMirror-out.log. Problem solved by correctly spelling the variable name “apikey” - notice the subtle difference between the “K” and “k”.

      [2024-10-03 10:22:54.732] [LOG]   [MMM-OpenWeatherForecast] 3-Oct-24 10:22 ** ERROR ** No API key configured. Get an API key at https://darksky.net
      

      Once the “apikey” spelling problem was solved, the next error arrived and the log file was flooded with thousands of this message:

      code_[2024-10-03 12:09:29.002] [LOG]   [MMM-OpenWeatherForecast] 3-Oct-24 12:09 ** ERROR ** Latitude and/or longitude not provided.
      

      This error was caused by confusing documentation that made it appear the variables were “lat” and “lon” instead of “latitude” and “longitude”. Correcting the spelling eliminated the error messages.

      The current problem is this message which is again flooding the pm2 error.log:

      [2024-10-03 14:10:02.077] ^[[31m[ERROR]^[[39m ^[[31m[MMM-OpenWeatherForecast] 3-Oct-24 14:10 ** ERROR ** TypeError: fetch failed^[[39m
      

      I need a hint of where to look or what to do. I sure it is not hard but just me overlooking something.

      However,the three problems reveal that the Module contains an error that flood the log files with thousands of messages.

      Here is the portion configuration file relative to the OpenWeatherForecast module:

                              module: "MMM-OpenWeatherForecast",
                              position: "top_right",
                              header: "Current Weather",
                              config: {
                                      weatherProvider: "openweathermap",
                                      type: "hourly",
                                      units: "imperial",
                                      tempUnits: "imperial",
                                      roundTemp: true,
                                      timeFormat: 24,
                                      onlyTemp: false,
                                      appendLocationNameToHeader: true,
                                      showSun: true,
                                      fade: false,
                                      fadePoint: 1,
                                      colored: true,
                                      updateInterval: 900000,      // 15 minutes, 900 seconds
                                      maxEntries: 10,
                                      degreeLabel: true,
                                      lang: "en",
                                      location: "Sachse,Texas",
                                      locationID: "4724564", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz;
                                      latitude: 32.98579,
                                      longitude: -96.60234,
                                      apiVersion: "3.0",
                                      weatherEndpoint: "/onecall",
                                      apikey: "This is a 3.0 key"
                              }
      

      I am also confused about the updateInterval value. Previously in this module and in other modules, time intervals are given in milliseconds so 15 minutes is written as 900000.

      Thank you for reading.

      Butch

      posted in Troubleshooting
      butchkemperB
      butchkemper
    • RE: Upgrade to 2.29.0 - Cannot read properties of undefined (reading 'disableHardwareAcceleration

      @sdetweil I ran the fixuppm2 script and now MM starts when the System starts and pm2 now works.

      I just need to figure out why the MM Calendar is not starting.

      Thank you for your help.

      Butch

      bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)"
      
      
      posted in Troubleshooting
      butchkemperB
      butchkemper