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

    Posts

    Recent Best Controversial
    • RE: NSW Fuel Prices

      Seems like your government employes the same lazy folk as mine, it’s still pending.

      0_1541187504545_e946f0ab-bf8b-43fc-8ea3-6656de668e3f-grafik.png

      posted in Requests
      strawberry 3.141S
      strawberry 3.141
    • RE: NSW Fuel Prices

      @k3tan meanwhile I was able to login, but I’m still in a pending state :(

      posted in Requests
      strawberry 3.141S
      strawberry 3.141
    • RE: Issue displaying images in alerts

      @tagriel the url would be https://github.com/fewieden/MMM-soccer

      but the only thing you need is a module let’s call it imageserver, which is only responsible as an image host.

      directory structure:

      MagicMirror
      - modules
        - imageserver
          - public
            - kids.png
          - imageserver.js
          - node_helper.js
      

      imageserver.js

      Module.register("imageserver", {});
      

      node_helper.js

      const NodeHelper = require('node_helper');
      module.exports = NodeHelper.create({});
      

      config.js

      {
      	module: "imageserver"
      },
      

      command

      MM.getModules()[0].notificationReceived("SHOW_ALERT", {title: 'My Title', message: 'Some Text', imageUrl: '/imageserver/kids.png'}, {name: 'test'});
      

      0_1540843796205_93d389de-7eb6-4713-bab0-630e13884ac2-grafik.png

      posted in Bug Hunt
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-NFL Issues

      @danielloftus you didn’t close the modules array, you missed commas and you placed quotes.

              {
      	        module: 'MMM-NFL',
      	        position: 'bottom_right',
      	        config: {
      		        colored: true,
      			helmets: true,
      			reloadInterval: 3000
          		}
      	},
      ]
      
      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: Issue displaying images in alerts

      @tagriel if you open the image in an icognito window of your browser, can you see it? Otherwise the settings are probably still broken.

      If the local path doesn’t work, you can make use of the internal web server of the magic mirror. you can add a public directory in a module, like i did in the v2 of MMM-soccer and access the images via /MMM-soccer/image.png

      posted in Bug Hunt
      strawberry 3.141S
      strawberry 3.141
    • RE: NSW Fuel Prices

      @k3tan I registered for an api key, but every time I’m trying to login the page times out. I will try again in a couple of days.

      posted in Requests
      strawberry 3.141S
      strawberry 3.141
    • RE: Issue displaying images in alerts

      It works for me, see screenshot. You can type this in the developer console to try it yourself, the command requires the alert module to be the first module in the config or you adjust the index accordingly. MM.getModules()[0].notificationReceived("SHOW_ALERT", {title: 'My Title', message: 'Some Text', imageUrl: 'https://picsum.photos/200/300'}, {name: 'test'});

      0_1540733410853_8346bf4d-d771-44a6-8611-bc2c1e1b47a7-grafik.png

      The question now is why it doesn’t work for you?

      • Do you have the alert module in the config?
      • Are the alerts displayed at all without the picture?
      • Can you trigger the alerts when they do not contain a picture?
      posted in Bug Hunt
      strawberry 3.141S
      strawberry 3.141
    • RE: help converting code for module...

      @justjim1220 if you don’t even have the data in js, you can also execute it in the node helper and parse the response https://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: help converting code for module...

      @justjim1220 if the variable doesn’t even exist, the rest of the code cannot work at all. first you should make sure that you have your data in the variable and then the second step is displaying it.

      It seems like you’re trying to do the ui before you have the data.

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: help converting code for module...

      @justjim1220 I can’t work with your powershell logs. You’re trying to access the variable Temps in js like your first line. var checkSensorTemps = Temps["\root\wmi:MSAcpi_ThermalZoneTemperature"]["ACPI\ThermalZone"]["THRM_0"];
      can you do console.log(Temps) so I can see the structure?

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: help converting code for module...

      @justjim1220 do you have a log of the structure of Temps

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: NSW Fuel Prices

      @k3tan I registered for an api key. Because I had a really good time when I lived in Australia I might integrate it in the MMM-fuel module.

      posted in Requests
      strawberry 3.141S
      strawberry 3.141
    • RE: Some Calendar Icons Missing

      @lazyboy0284 you’re lucky someone integrated the fontawsome v5 with backwards compatibility and it was merged today into the develop branch https://github.com/MichMich/MagicMirror/pull/1427

      posted in Bug Hunt
      strawberry 3.141S
      strawberry 3.141
    • RE: Some Calendar Icons Missing

      Fontawesome has breaking changes https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4 it needs to be changed in the core project and in the way over 100 modules that are more or less maintained by other people. There is also a discussion somewhere on the magicmirror project.

      posted in Bug Hunt
      strawberry 3.141S
      strawberry 3.141
    • RE: help converting code for module...

      @justjim1220 this is not JavaScript, there are errors on all lines. Not sure why you didn’t see errors, are you sure you called that function?

      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice

      @richland007 I’m sorry I can’t really tell you something other than what I find googling myself, I never experienced sth similar other than couldn’t open device resource is busy.

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice

      @richland007 it looks like it is a problem between alsa and pulseaudio https://sourceforge.net/p/cmusphinx/discussion/help/thread/c39732a2/

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      @surger13 sadly the second german bundesliga is not in the free plan https://www.football-data.org/coverage it would cost 49€ a month.

      posted in Sport
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice

      @richland007 can you check the following to see if another program can access the mic https://scribles.net/voice-recording-on-raspberry-pi/

      Is there already another Programm running in the background which is accessing the mic?

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice

      @richland007 can you please enable temporarily the more detailed debug log with debug: true?

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • 1
    • 2
    • 7
    • 8
    • 9
    • 10
    • 11
    • 84
    • 85
    • 9 / 85