MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-temp-ds18b20

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 453 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      core
      last edited by

      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!

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @core
        last edited by

        @core probably this

        https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy