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.8k 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.
    • PointPubMediaP Offline
      PointPubMedia
      last edited by

      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

        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
        • PointPubMediaP Offline
          PointPubMedia
          last edited by

          It’s always “System temperature: fetching…”

          MichMichM 1 Reply Last reply Reply Quote 0
          • MichMichM Offline
            MichMich Admin @PointPubMedia
            last edited by

            @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
            • PointPubMediaP Offline
              PointPubMedia
              last edited by

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

              1 Reply Last reply Reply Quote 0
              • PointPubMediaP Offline
                PointPubMedia
                last edited by

                @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
                • PointPubMediaP Offline
                  PointPubMedia
                  last edited by

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

                  K 1 Reply Last reply Reply Quote 0
                  • K Offline
                    kckndrgn @PointPubMedia
                    last edited by

                    @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
                    • PointPubMediaP Offline
                      PointPubMedia
                      last edited by

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

                      K 1 Reply Last reply Reply Quote 0
                      • K Offline
                        kckndrgn @PointPubMedia
                        last edited by

                        @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
                        • 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