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

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

@k3tan meanwhile I was able to login, but I’m still in a pending state :(
@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'});

@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
}
},
]
@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
@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.
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'});

The question now is why it doesn’t work for you?
@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
@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.
@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?
@justjim1220 do you have a log of the structure of Temps
@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.
@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
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.
@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?
@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.
@richland007 it looks like it is a problem between alsa and pulseaudio https://sourceforge.net/p/cmusphinx/discussion/help/thread/c39732a2/
@surger13 sadly the second german bundesliga is not in the free plan https://www.football-data.org/coverage it would cost 49€ a month.
@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?
@richland007 can you please enable temporarily the more detailed debug log with debug: true?