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!
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login