• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-OpenWeatherMapForecast 3.0 API calls and freeze issue

Scheduled Pinned Locked Moved Solved Troubleshooting
21 Posts 5 Posters 1.8k Views 5 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    Rags @sdetweil
    last edited by Aug 3, 2024, 2:49 PM

    @sdetweil
    YIKES !
    I had changed the helper module to
    “var url = “https://api.openweathermap.org/data/3.0/onecall?” +” as suggested in an earlier post. I also changed the config.js with weatherEndpoint: “forecast/daily”. It still did not work.
    So i am not comfortable to use a credit card for the website. So does it mean curtains for this module as far as “Free” is concerned.?

    S 1 Reply Last reply Aug 3, 2024, 3:09 PM Reply Quote 0
    • S Offline
      sdetweil @Rags
      last edited by sdetweil Aug 3, 2024, 4:37 PM Aug 3, 2024, 3:09 PM

      @Rags you didn’t need to edit the file

      my erased comments were for the default weather module

      yes, they give you 1000 api calls per day, no charge, but you must register a card

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 1 Reply Last reply Aug 3, 2024, 7:32 PM Reply Quote 0
      • J Offline
        jfields @sdetweil
        last edited by Aug 3, 2024, 4:28 PM

        @sdetweil
        I turned two more MMM-OpenWeatherMapForecast sections for a couple days and left it running. No issues that I could see. Your script seems to have fixed it. I’ll probably go back to 4 standard weather sections and one MMM-OpenWeatherMapForecast. Thank you for your help though.
        Here are the logs.

        d39d1a38-1b43-4005-b081-ad66cb32cddb-image.png 0|mm | > magicmirror@2.28.0 start
        0|mm |
        0|mm | [2024-08-01 21:20:05.292] [LOG] Loading config …
        0|mm | [2024-08-01 21:20:05.299] [LOG] Loading module helpers …
        0|mm | [2024-08-01 21:20:05.301] [LOG] No helper found for module: alert.
        0|mm | [2024-08-01 21:20:05.310] [LOG] Initializing new module helper …
        0|mm | [2024-08-01 21:20:05.312] [LOG] No helper found for module: clock.
        0|mm | [2024-08-01 21:20:05.445] [LOG] Initializing new module helper …
        0|mm | [2024-08-01 21:20:05.445] [LOG] Module helper loaded: calendar
        0|mm | [2024-08-01 21:20:05.447] [LOG] No helper found for module: weather.
        0|mm | [2024-08-01 21:20:05.447] [LOG] No helper found for module: weather.
        0|mm | [2024-08-01 21:20:05.479] [LOG] Initializing new module helper …
        0|mm | [2024-08-01 21:20:05.771] [LOG] Initializing new module helper …
        0|mm | [2024-08-01 21:20:05.772] [LOG] All module helpers loaded.
        0|mm | [2024-08-01 21:20:05.782] [LOG] Starting server on port 8080 …
        0|mm | [2024-08-01 21:20:06.923] [LOG] Server started …
        0|mm | [2024-08-01 21:20:06.929] [LOG] Connecting socket for: calendar
        0|mm | [2024-08-01 21:20:06.930] [LOG] Starting node helper for: calendar
        0|mm | [2024-08-01 21:20:06.936] [LOG] Sockets connected & modules started …
        0|mm | [2024-08-01 21:20:07.302] [LOG] Launching application.
        0|mm | [2024-08-01 21:20:08.895] [INFO] System information:
        0|mm | ### SYSTEM: manufacturer: ; model: ; raspberry: undefined; virtual: false
        0|mm | [2024-08-01 21:20:11.736] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-01 21:20:13.338] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.

        0|mm | > magicmirror@2.28.0 start
        0|mm | > DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
        0|mm |
        0|mm | [2024-08-01 21:20:05.264] [LOG] Starting MagicMirror: v2.28.0
        0|mm | [2024-08-01 21:20:05.292] [LOG] Loading config …
        0|mm | [2024-08-01 21:20:05.295] [LOG] config template file not exists, no envsubst
        0|mm | [2024-08-01 21:20:05.299] [LOG] Loading module helpers …
        0|mm | [2024-08-01 21:20:05.301] [LOG] No helper found for module: alert.
        0|mm | [2024-08-01 21:20:05.310] [LOG] Initializing new module helper …
        0|mm | [2024-08-01 21:20:05.311] [LOG] Module helper loaded: updatenotification
        0|mm | [2024-08-01 21:20:05.312] [LOG] No helper found for module: clock.
        0|mm | [2024-08-01 21:20:05.445] [LOG] Initializing new module helper …
        0|mm | [2024-08-01 21:20:05.445] [LOG] Module helper loaded: calendar
        0|mm | [2024-08-01 21:20:05.447] [LOG] No helper found for module: weather.
        0|mm | [2024-08-01 21:20:05.447] [LOG] No helper found for module: weather.
        0|mm | [2024-08-01 21:20:05.479] [LOG] Initializing new module helper …
        0|mm | [2024-08-01 21:20:05.479] [LOG] Module helper loaded: MMM-OpenWeatherMapForecast
        0|mm | [2024-08-01 21:20:05.771] [LOG] Initializing new module helper …
        0|mm | [2024-08-01 21:20:05.772] [LOG] Module helper loaded: MMM-SunRiseSet
        0|mm | [2024-08-01 21:20:05.772] [LOG] All module helpers loaded.
        0|mm | [2024-08-01 21:20:05.782] [LOG] Starting server on port 8080 …
        0|mm | [2024-08-01 21:20:06.923] [LOG] Server started …
        0|mm | [2024-08-01 21:20:06.926] [LOG] Connecting socket for: updatenotification
        0|mm | [2024-08-01 21:20:06.927] [LOG] Starting module helper: updatenotification
        0|mm | [2024-08-01 21:20:06.929] [LOG] Connecting socket for: calendar
        0|mm | [2024-08-01 21:20:06.930] [LOG] Starting node helper for: calendar
        0|mm | [2024-08-01 21:20:06.930] [LOG] Connecting socket for: MMM-OpenWeatherMapForecast
        0|mm | [2024-08-01 21:20:06.931] [LOG] ====================== Starting node_helper for module [MMM-OpenWeatherMapForecast]
        0|mm | [2024-08-01 21:20:06.932] [LOG] Connecting socket for: MMM-SunRiseSet
        0|mm | [2024-08-01 21:20:06.933] [LOG] Starting node_helper for: MMM-SunRiseSet
        0|mm | [2024-08-01 21:20:06.936] [LOG] Sockets connected & modules started …
        0|mm | [2024-08-01 21:20:07.302] [LOG] Launching application.
        0|mm | [2024-08-01 21:20:08.895] [INFO] System information:
        0|mm | ### SYSTEM: manufacturer: ; model: ; raspberry: undefined; virtual: false
        0|mm | ### OS: platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.6.31+rpt-rpi-v8
        0|mm | ### VERSIONS: electron: 31.1.0; used node: 20.14.0; installed node: 20.15.0; npm: 10.7.0; pm2: 5.4.1
        0|mm | ### OTHER: timeZone: America/Los_Angeles; ELECTRON_ENABLE_GPU: undefined
        0|mm | [2024-08-01 21:20:10.636] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics - Interval: 7200000
        0|mm | [2024-08-01 21:20:10.779] [LOG] Create new calendarfetcher for url: https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics - Interval: 7200000
        0|mm | [2024-08-01 21:20:10.802] [INFO] updatenotification: Updater Class Loaded!
        0|mm | [2024-08-01 21:20:10.803] [INFO] updatenotification: Checking PM2 using…
        0|mm | [2024-08-01 21:20:10.981] [INFO] Checking git for module: MMM-OpenWeatherMapForecast
        0|mm | [2024-08-01 21:20:11.025] [INFO] Checking git for module: MMM-SunRiseSet
        0|mm | [2024-08-01 21:20:11.046] [INFO] Checking git for module: MagicMirror
        0|mm | [2024-08-01 21:20:11.104] [INFO] updatenotification: [PM2] You are not using pm2
        0|mm | [2024-08-01 21:20:11.736] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-01 21:20:13.338] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-01 23:20:12.320] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-01 23:20:15.036] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-02 01:20:12.733] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-02 01:20:16.007] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-02 03:20:13.161] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-02 03:20:16.894] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-02 05:20:13.547] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-02 05:20:17.909] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-02 07:20:13.922] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-02 07:20:18.813] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-02 09:20:14.301] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-02 09:20:19.727] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-02 11:20:14.714] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-02 11:20:20.683] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-02 13:20:15.100] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-02 13:20:21.534] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-02 15:20:15.498] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-02 15:20:22.471] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-02 17:20:15.885] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-02 17:20:23.362] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-02 19:20:16.281] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-02 19:20:24.207] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-02 21:20:16.685] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-02 21:20:25.164] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-02 23:20:17.133] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-02 23:20:26.039] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-03 01:20:17.538] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-03 01:20:26.948] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-03 03:20:17.938] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-03 03:20:27.814] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-03 05:20:18.339] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-03 05:20:28.745] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.
        0|mm | [2024-08-03 07:20:18.699] [INFO] Calendar-Fetcher: Broadcasting 5 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
        0|mm | [2024-08-03 07:20:29.567] [INFO] Calendar-Fetcher: Broadcasting 122 events from https://calendar.google.com/calendar/ical/mycalhex%40group.calendar.google.com/private-number/basic.ics.

        S 1 Reply Last reply Aug 3, 2024, 4:38 PM Reply Quote 0
        • J jfields has marked this topic as solved on Aug 3, 2024, 4:30 PM
        • S Offline
          sdetweil @jfields
          last edited by sdetweil Aug 3, 2024, 4:40 PM Aug 3, 2024, 4:38 PM

          @jfields cool, thanks for the feedback. . I’ll submit a pull request to fix the base

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • J Offline
            jfields @sdetweil
            last edited by Aug 3, 2024, 7:32 PM

            @sdetweil and @Rags

            You can limit your calls as well. For example, I have mine set to 2,000. I get the 1,000 for free, and allow for another 1,000. This happened once while I was troubleshooting my issue here. I got to just over 1,900 calls total and the charge was $1.35 USD. You can set the max call limit to whatever you want.

            980bbd1d-e740-474b-8471-ca7d74990c3a-image.png

            d122d114-92ea-4212-8228-82f3ac317be9-image.png

            S 1 Reply Last reply Aug 3, 2024, 7:35 PM Reply Quote 1
            • S Offline
              sdetweil @jfields
              last edited by Aug 3, 2024, 7:35 PM

              @jfields very helpful, thanks

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 3
              • 2 / 3
              2 / 3
              • First post
                20/21
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy