Read the statement by Michael Teeuw here.
MMM-temp-ds18b20
-
Hi all,
just re-installed my Magic Mirror and I wanted to use my sensor for monitoring room temperature again.
I installed the MMM-temp-ds18b20 module. All went fine during installation, but when I edited my config and started my Magic mirror (via PM2 command), the screen just stays black (but I can see my mouse cursor). So probably, something went wrong by loading this module. Removing the module from the config and everything is okay.
Additional information: By using the command (ls /sys/bus/w1/devices) I can find my sensor, which is correctly attached to my Pi3B+ and I can read the temperature. But I realized that my sensor ID does not start with 28-XXX but rather 10-XXX.
Therefore, I edited my config like this:
modules: [
{
module: ‘MMM-temp-ds18b20’,
position: ‘top_right’,
header: ‘Temperature sensors’,
config: {
refreshInterval: 10, // in seconds
displayMode: ‘x-stack’,
sensors:[
{
id: “10-xxxxxxxxxx”,
label: “inside”
}
]
}
},
]So maybe you can help with the issue that the screen stays black.
Thank you very much!
Best regards!
-