• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

mm-system-temperature

Scheduled Pinned Locked Moved Troubleshooting
13 Posts 5 Posters 6.9k Views 4 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.
  • P Offline
    PointPubMedia
    last edited by Aug 1, 2016, 5:50 PM

    I’m always having a fetching data… is it possible that the plugin can’t handle Celcius temperature from the system command ?

    1 Reply Last reply Reply Quote 0
    • K Offline
      kckndrgn
      last edited by Aug 1, 2016, 6:45 PM

      The module worked for me, running on RPi 3. The plugin is just executing a script, then stripping off extra data.

      What system are you running the module on?

      1 Reply Last reply Reply Quote 0
      • P Offline
        PointPubMedia
        last edited by Aug 1, 2016, 7:16 PM

        It’s always “System temperature: fetching…”

        M 1 Reply Last reply Aug 1, 2016, 8:53 PM Reply Quote 0
        • M Offline
          MichMich Admin @PointPubMedia
          last edited by Aug 1, 2016, 8:53 PM

          @PointPubMedia I’m the autor of that module (and the MagicMirror² system), so I might be able to help.
          On what Raspberry Pi version are you running the module? What version of Node.js are you running? What version of the OS are you running?

          I personally use the celsius temp as well, so that shouldn’t be the issue.

          1 Reply Last reply Reply Quote 0
          • P Offline
            PointPubMedia
            last edited by Aug 1, 2016, 9:16 PM

            guys… don’t know why… but it’s working AFTER a reboot… sorry to wasting your time ;)

            1 Reply Last reply Reply Quote 0
            • P Offline
              PointPubMedia
              last edited by Aug 1, 2016, 9:22 PM

              @MichMich Would need some help about CSS with your module…

              I would like to use it at bottom_bar

              with
              div.mmm-systemtemperature div.module-content {
              text-align: right;
              }

              And also change the fontsize and dimmed to false… like I did with the MMM-ip module

              1 Reply Last reply Reply Quote 0
              • P Offline
                PointPubMedia
                last edited by Aug 1, 2016, 9:25 PM

                Can we change the prepend string without touching the code directly ?

                K 1 Reply Last reply Aug 1, 2016, 9:52 PM Reply Quote 0
                • K Offline
                  kckndrgn @PointPubMedia
                  last edited by Aug 1, 2016, 9:52 PM

                  @PointPubMedia Yes, the prepend string is in the config

                  modules: [
                      {
                          module: 'mmm-systemtemperature',
                          position: 'top_center', // This can be any of the regions.
                          classes: 'small dimmed', // Add your own styling. Optional.
                          config: {
                             **prepend: 'your string'**
                          }
                      }
                  ]
                  ~~~
                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    PointPubMedia
                    last edited by Aug 1, 2016, 11:46 PM

                    prepend in the config is not working. That change nothing…

                    K 1 Reply Last reply Aug 2, 2016, 12:58 AM Reply Quote 0
                    • K Offline
                      kckndrgn @PointPubMedia
                      last edited by Aug 2, 2016, 12:58 AM

                      @PointPubMedia
                      Sorry,
                      the correct syntax is prependString per the documentation:

                      prependString: 'Pi 3 Temp: '
                      

                      worked on my system.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        8/13
                        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