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

    Posts

    Recent Best Controversial
    • 7May24 - Error EXT-Pages

      Hi;

      I am using EXT-Pages and it gives the following error message when run in debug as it does not show anything on the screen: Error attached as below:

      EXT-Pages.js:6 Uncaught (in promise) TypeError: Cannot read properties of null (reading ‘classList’)
      at Class.Loaded (EXT-Pages.js:6:6709)
      at Class.notificationReceived (EXT-Pages.js:6:1618)
      at sendNotification (main.js:99:12)
      at Object.sendNotification (main.js:650:4)
      at Class.sendNotification (module.js:341:6)
      at Class.socketNotificationReceived (MMM-GoogleAssistant.js:6:3439)
      at module.js:231:9
      at Socket. (socketclient.js:32:4)
      at Emitter.emit (index.mjs:136:20)

      How Do I resolve this - ?

      thank you;
      regards,
      Neel

      posted in Troubleshooting
      N
      nkc
    • MagicMirror (vers:2.27) : split Error - 07May2024

      MagicMirror (vers:2.27.0) : split error occurs on every single module - 07May2024

      Hello;

      I have had troubles getting MM up - it was all working normal until it just crached - wth error as attached below :

      magicmirror@2.27.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js run dev

      [2024-05-07 09:21:07.079] [LOG] Starting MagicMirror: v2.27.0
      [2024-05-07 09:21:07.144] [LOG] Loading config …
      [2024-05-07 09:21:07.157] [LOG] config template file not exists, no envsubst
      [2024-05-07 09:21:07.197] [LOG] Loading module helpers …
      [2024-05-07 09:21:07.202] [LOG] No helper found for module: clock.
      [2024-05-07 09:21:08.086] [ERROR] (node:27333) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading ‘split’)
      at loadModule (/home/pi/MagicMirror/js/app.js:156:27)
      at loadModules (/home/pi/MagicMirror/js/app.js:213:10)
      at async App.start (/home/pi/MagicMirror/js/app.js:261:3)
      (Use electron --trace-warnings ... to show where the warning was created)
      [2024-05-07 09:21:08.089] [ERROR] (node:27333) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
      [2024-05-07 09:21:17.744] [INFO] System information:

      SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; raspberry: [object Object]; virtual: false

      OS: platform: linux; distro: Raspbian GNU/Linux; release: 11; arch: arm; kernel: 6.1.47-v7+

      VERSIONS: electron: 29.3.2; used node: 20.9.0; installed node: 20.8.0; npm: 10.1.0; pm2: 5.3.1

      OTHER: timeZone: Australia/Sydney; ELECTRON_ENABLE_GPU: undefined

      It crashes on every single module - I tested it by just having one module in the modules folder and the error above is same for all the modules. Here I have tested with ‘clock’ - and hence the errors above.
      The MM does not start.

      Can you please advise on how to fix the above issue.

      Thank you.
      Regards,
      Neel

      posted in Troubleshooting
      N
      nkc
    • RE: Open weather Api 3.0

      Hi Just to clarify - I just need to change the api version number from 2.5 to 3.0 or Do I need to subscribe again for api version 3.0. ?
      Thanks,
      Neel.

      posted in Utilities
      N
      nkc
    • MMM-Fuel

      Hi,

      There seems something has changed with the MMM-Fuel that it does not work.
      When starting up MagicMirror the MMM-Fuel gives the following error message - as attached below :
      [01.04.2024 16:43.25.295] [LOG] [MMM-Fuel]Failed to refresh token FetchError: invalid json response body at https://api.onegov.nsw.gov.au/oauth/client_credential/accesstoken?grant_type=client_credentials reason: Unexpected token ‘<’, "<!DOCTYPE "… is not valid JSON
      at /home/pi/MagicMirror/modules/MMM-Fuel/node_modules/node-fetch/lib/index.js:272:32
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async refreshToken (/home/pi/MagicMirror/modules/MMM-Fuel/apis/nsw.js:47:32)
      at async module.exports (/home/pi/MagicMirror/modules/MMM-Fuel/apis/nsw.js:218:5)
      at async Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js:25:33) {
      type: ‘invalid-json’
      }

      Can some please tell us what is the problem and how it can be fixed.

      Thank you and much appreciated.
      Regards,
      Neel.

      posted in Utilities
      N
      nkc
    • MMM-bitcoin - Does not work anymore

      Hello, MMM-bitcoin does not work anymore for me, nothing is being displayed on the magic mirror.

      Thanks.

      posted in Troubleshooting
      N
      nkc
    • RE: REQUEST : SEMS PORTAL for Magic Mirror

      @JerryP : Hi Jerry - Are you willing to share this code - Where can I find your code ?

      Thank you.

      posted in Requests
      N
      nkc
    • Re: [Magic Mirror Module Development - Powershell embeded](/topic/17537/magic-mirror-module-development-powershell-embeded)

      Re: Magic Mirror Module Development - Powershell embeded

      Guys, simply put - how can I runt a powershell script within a module - a new module - and obtain its output !

      thanks.

      posted in Development
      N
      nkc
    • RE: REQUEST : SEMS PORTAL for Magic Mirror

      @Fifteen15Studios : Need a magic Mirror solution - not anything else - the solution will get the values from sems portal api’s - I have a powershell script which works - it needs to be converted to a Magic Mirror Module - if anyone is interested in reverse engineering this script to a magic mirror module - please let me know.

      Thank you and regards.

      posted in Requests
      N
      nkc
    • Magic Mirror Module Development - Powershell embeded

      Hi All, How are you.

      Please note I am not a developer, My question is … How can I embed and run a powershell script or code from a Magic Mirror module and return its result to a payload(or data).

      I have a pwershell script which I’d like to convert to a Magic Mirror module and since my background is not too technical , I need help or any suggestions or ideas.

      Thank you.

      Regards.

      posted in Development
      N
      nkc
    • MMM-uber - not working !

      Hi Developers and helpers,
      I have tried mmm-uber module and is not working, I had a read on ubers website, it mentions that it has a new way of authorization, So I gather the mmm-uber module is doing the old way that is using a server token in the request statment.

      Can this be looked at or fixed.

      Thank you,
      nkc.

      posted in Troubleshooting
      N
      nkc
    • 1
    • 2
    • 3
    • 2 / 3