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

MMM-Tado not working.

Scheduled Pinned Locked Moved Troubleshooting
15 Posts 3 Posters 4.3k Views 3 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.
  • W Offline
    Wrangler
    last edited by May 30, 2020, 1:37 PM

    Hello.

    I need some help, after updating to V2.11.0 the MMM-Tado module is not working, if I set module to “disable: False” everything is working ok, and after setting “Disable: true” I get a black screen with a cursor??
    No errors just a black screen.
    what dit I do;
    Reinstalling the MMM-Tado module.
    recreating config.js.
    and even did a complete fresh install of MM.
    still no luck.

    Running MM on Raspberry pi 3 Model b+

    MMM-Buienradar, works perfect
    MMM-NewPIR, works perfect
    MMM-NOAA3, works perfect
    MMM-SimpleLogo, works perfect
    MMM-SystemStats, works perfect
    MMM-Tado, Not working
    MMM-TomTomTrafficIncidents, works perfect.

    Can someone tell me where to start looking??

    Thanks, wrangler.

    S 1 Reply Last reply May 30, 2020, 1:49 PM Reply Quote 0
    • S Away
      sdetweil @Wrangler
      last edited by May 30, 2020, 1:49 PM

      @Wrangler how did u update to 2.11? there were dependency changes that force you to find each module with a package.json file and do an npm install in each such module folder

      if u had used the new upgrade script, this would have been done for you
      see https://github.com/sdetweil/MagicMirror_scripts

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • W Offline
        Wrangler
        last edited by May 30, 2020, 1:52 PM

        I updated using you’re update script ;-)

        S 1 Reply Last reply May 30, 2020, 1:59 PM Reply Quote 0
        • S Away
          sdetweil @Wrangler
          last edited by May 30, 2020, 1:59 PM

          @Wrangler i don’t know what that means… just now or before?
          show me the ~/MagicMirror/installers/upgrade.log

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          W 1 Reply Last reply May 30, 2020, 2:36 PM Reply Quote 0
          • W Offline
            Wrangler @sdetweil
            last edited by May 30, 2020, 2:36 PM

            @sdetweil

            First time I used you’re script, everything was working fine except the MMM-Tado module after the update.
            then I did a fresh install using you’re install script and started from scratch so I don’t think the log will give you the info you need but here it is:

            
            pi@MagicMirror:~/MagicMirror/installers $ nano upgrade.log 
            
              GNU nano 3.2                                                                                      upgrade.log                                                                                                  
            
               installers/mm.sh
               package-lock.json
            
            save/restore files selection = n
            restoring installers/mm.sh from repo
            restoring package-lock.json from repo
            test merge result rc='' , if empty, no conflicts
            executing merge, apply specified
            merge result rc= 0
             Already up to date.
            processor architecture is armv7l
            updating MagicMirror runtime, please wait
            
            > electron@6.1.7 postinstall /home/pi/MagicMirror/node_modules/electron
            > node install.js
            
            Downloading tmp-2885-0-electron-v6.1.7-linux-armv7l.zip
            [>                                            ] 0.0% (0 B/s)
            ^[[1000D^[[0K^[[1A^[[1000D^[[0K^[[1A^[[1000D^[[0KDownloading tmp-2885-0-electron-v6.1.7-linux-armv7l.zip
            <####>
            
            ^[[1000D^[[0K^[[1A^[[1000D^[[0K^[[1A^[[1000D^[[0KDownloading tmp-2885-1-SHASUMS256.txt-6.1.7
            [============================================>] 100.0% of 5.56 kB (5.56 kB/s)
            
            > magicmirror@2.11.0 install /home/pi/MagicMirror
            > echo "Installing vendor files ...
            " && cd vendor && npm install --loglevel=error
            
            Installing vendor files ...
            
            audited 150 packages in 6.864s
            found 8 vulnerabilities (7 low, 1 high)
              run `npm audit fix` to fix them, or `npm audit` for details
            
            > magicmirror@2.11.0 postinstall /home/pi/MagicMirror
            > npm run install-fonts && echo "MagicMirror installation finished successfully!
            "
            
            
            > magicmirror@2.11.0 install-fonts /home/pi/MagicMirror
            > echo "Installing fonts ...
            " && cd fonts && npm install --loglevel=error
            
            Installing fonts ...
            
            audited 1 package in 0.877s
            found 0 vulnerabilities
            
            MagicMirror installation finished successfully!
            
            added 3 packages from 39 contributors, removed 1 package, updated 30 packages and audited 1031 packages in 136.887s
            
            11 packages are looking for funding
              run `npm fund` for details
            
            found 27 vulnerabilities (24 low, 3 moderate)
              run `npm audit fix` to fix them, or `npm audit` for details
            npm install completed - do mei 14 20:53:51 CEST 2020 on base
            fixing sandbox permissions
            downloading dumpactivemodules script
            
            processing dependency changes for active modules with package.json files
            processing for module MMM-Buienradar please wait
            ----------------------------------
            npm notice created a lockfile as package-lock.json. You should commit this file.
            npm WARN MMM-Buienradar@1.0.1 No repository field.
            
            up to date in 1.353s
            found 0 vulnerabilities
            
            processing complete for module MMM-Buienradar
            processing for module MMM-NewPIR please wait
            ----------------------------------
            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
            
            > epoll@3.0.0 install /home/pi/MagicMirror/modules/MMM-NewPIR/node_modules/epoll
            > node-gyp rebuild
            
            make: Map '/home/pi/MagicMirror/modules/MMM-NewPIR/node_modules/epoll/build' wordt binnengegaan
              CXX(target) Release/obj.target/epoll/src/epoll.o
              SOLINK_MODULE(target) Release/obj.target/epoll.node
              COPY Release/epoll.node
            make: Map '/home/pi/MagicMirror/modules/MMM-NewPIR/node_modules/epoll/build' wordt verlaten
            
            > MMM-NewPIR@2.3.1 install /home/pi/MagicMirror/modules/MMM-NewPIR
            > scripts/installer.sh
            
            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
            npm notice created a lockfile as package-lock.json. You should commit this file.
            + electron-rebuild@1.11.0
            updated 1 package and audited 171 packages in 28.741s
            found 0 vulnerabilities
            
            - Searching dependency tree
            ✔ Rebuild Complete
            added 171 packages from 120 contributors and audited 171 packages in 127.848s
            
            2 packages are looking for funding
              run `npm fund` for details
            
            found 0 vulnerabilities
            
            processing complete for module MMM-NewPIR
            processing for module MMM-NOAA3 please wait
            ----------------------------------
            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
            npm notice created a lockfile as package-lock.json. You should commit this file.
            added 83 packages from 74 contributors and audited 83 packages in 11.955s
            
            2 packages are looking for funding
              run `npm fund` for details
            
            found 0 vulnerabilities
            
            processing complete for module MMM-NOAA3
            processing for module MMM-SystemStats please wait
            ----------------------------------
            npm notice created a lockfile as package-lock.json. You should commit this file.
            added 1 package from 1 contributor and audited 1 package in 1.621s
            found 0 vulnerabilities
            
            processing complete for module MMM-SystemStats
            restoring custom.css
            removing git alias
            Upgrade ended - do mei 14 20:57:27 CEST 2020
            
            Upgrade started - do mei 14 21:02:17 CEST 2020
            system is Linux MagicMirror 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
            the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
            user requested to force apply changes
            doing test run = false
            
            saving custom.css
            remote name = origin
            upgrading from version 2.11.0 to 2.11.0
            fetching latest revisions
            git fetch rc=0
            current branch = master
            On branch master
            Your branch is up to date with 'origin/master'.
            
            Changes not staged for commit:
              (use "git add <file>..." to update what will be committed)
              (use "git checkout -- <file>..." to discard changes in working directory)
            
                    modified:   package-lock.json
                    modified:   package.json
            
            Untracked files:
              (use "git add <file>..." to include in what will be committed)
            
                    0
                    css/save_custom.css
                    installers/pm2_MagicMirror.json
                    run-start.sh
            
            no changes added to commit (use "git add" and/or "git commit -a")
            there are 2 local files that are different than the master repo
            
               package-lock.json
               package.json
            
            save/restore files selection = n
            restoring package-lock.json from repo
            restoring package.json from repo
            test merge result rc='' , if empty, no conflicts
            executing merge, apply specified
            merge result rc= 0
             Already up to date.
            processor architecture is armv7l
            updating MagicMirror runtime, please wait
            
            > magicmirror@2.11.0 install /home/pi/MagicMirror
            > echo "Installing vendor files ...
            " && cd vendor && npm install --loglevel=error
            
            Installing vendor files ...
            
            audited 150 packages in 7.296s
            found 8 vulnerabilities (7 low, 1 high)
              run `npm audit fix` to fix them, or `npm audit` for details
            
            > magicmirror@2.11.0 postinstall /home/pi/MagicMirror
            > npm run install-fonts && echo "MagicMirror installation finished successfully!
            "
            
            
            > magicmirror@2.11.0 install-fonts /home/pi/MagicMirror
            > echo "Installing fonts ...
            " && cd fonts && npm install --loglevel=error
            
            Installing fonts ...
            
            audited 1 package in 0.849s
            found 0 vulnerabilities
            
            MagicMirror installation finished successfully!
            
            added 3 packages from 3 contributors, removed 20 packages, updated 3 packages and audited 1031 packages in 59.72s
            
            11 packages are looking for funding
              run `npm fund` for details
            found 27 vulnerabilities (24 low, 3 moderate)
              run `npm audit fix` to fix them, or `npm audit` for details
            npm install completed - do mei 14 21:03:28 CEST 2020 on base
            fixing sandbox permissions
            downloading dumpactivemodules script
            
            processing dependency changes for active modules with package.json files
            processing for module MMM-Buienradar please wait
            ----------------------------------
            npm notice created a lockfile as package-lock.json. You should commit this file.
            npm WARN MMM-Buienradar@1.0.1 No repository field.
            
            up to date in 1.384s
            found 0 vulnerabilities
            
            processing complete for module MMM-Buienradar
            processing for module MMM-NewPIR please wait
            ----------------------------------
            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
            
            > epoll@3.0.0 install /home/pi/MagicMirror/modules/MMM-NewPIR/node_modules/epoll
            > node-gyp rebuild
            
            make: Map '/home/pi/MagicMirror/modules/MMM-NewPIR/node_modules/epoll/build' wordt binnengegaan
              CXX(target) Release/obj.target/epoll/src/epoll.o
              SOLINK_MODULE(target) Release/obj.target/epoll.node
              COPY Release/epoll.node
            make: Map '/home/pi/MagicMirror/modules/MMM-NewPIR/node_modules/epoll/build' wordt verlaten
            
            > MMM-NewPIR@2.3.1 install /home/pi/MagicMirror/modules/MMM-NewPIR
            > scripts/installer.sh
            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
            npm notice created a lockfile as package-lock.json. You should commit this file.
            + electron-rebuild@1.11.0
            updated 1 package and audited 171 packages in 23.5s
            found 0 vulnerabilities
            
            - Searching dependency tree
            ✔ Rebuild Complete
            added 171 packages from 120 contributors and audited 171 packages in 84.616s
            
            2 packages are looking for funding
              run `npm fund` for details
            
            found 0 vulnerabilities
            
            processing complete for module MMM-NewPIR
            processing for module MMM-NOAA3 please wait
            ----------------------------------
            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
            npm notice created a lockfile as package-lock.json. You should commit this file.
            added 83 packages from 74 contributors and audited 83 packages in 12.286s
            
            2 packages are looking for funding
              run `npm fund` for details
            
            found 0 vulnerabilities
            
            processing complete for module MMM-NOAA3
            processing for module MMM-SystemStats please wait
            ----------------------------------
            npm notice created a lockfile as package-lock.json. You should commit this file.
            added 1 package from 1 contributor and audited 1 package in 3.883s
            found 0 vulnerabilities
            processing complete for module MMM-SystemStats
            restoring custom.css
            removing git alias
            Upgrade ended - do mei 14 21:06:07 CEST 2020
            
            Upgrade started - zo mei 17 08:02:04 CEST 2020
            system is Linux MagicMirror 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
            the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
            user requested to apply changes
            doing test run = false
            
            saving custom.css
            remote name = origin
            local version 2.11.0 already same as master 2.11.0
            restoring custom.css
            removing git alias
            Upgrade ended - zo mei 17 08:02:05 CEST 2020
            
            Upgrade started - do mei 21 08:02:38 CEST 2020
            system is Linux MagicMirror 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
            the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
            user requested to apply changes
            doing test run = false
            
            saving custom.css
            remote name = origin
            local version 2.11.0 already same as master 2.11.0
            restoring custom.css
            removing git alias
            Upgrade ended - do mei 21 08:02:39 CEST 2020
            
            Upgrade started - za mei 23 07:56:26 CEST 2020
            Upgrade started - za mei 23 07:56:26 CEST 2020
            system is Linux MagicMirror 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
            the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
            user requested to apply changes
            doing test run = false
            
            saving custom.css
            remote name = origin
            local version 2.11.0 already same as master 2.11.0
            restoring custom.css
            removing git alias
            Upgrade ended - za mei 23 07:56:27 CEST 2020
            
            Upgrade started - vr mei 29 23:01:44 CEST 2020
            system is Linux MagicMirror 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
            the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
            user requested to apply changes
            doing test run = false
            
            saving custom.css
            remote name = origin
            local version 2.11.0 already same as master 2.11.0
            restoring custom.css
            removing git alias
            Upgrade ended - vr mei 29 23:01:45 CEST 2020
            
            S 1 Reply Last reply May 30, 2020, 2:43 PM Reply Quote 0
            • S Away
              sdetweil @Wrangler
              last edited by May 30, 2020, 2:43 PM

              @Wrangler ok, got it…

              MMM-Tado has a bug really… it USES stuff but doesn’t document them

              const TadoClient = require(“tado-client”);
              const logger = require(“mocha-logger”);

              but there is no package.json, and he loads a previous copy of node_modules in his folder which is now out of synch

              so, you need to do these updates manually

              cd MMM-Tado
              rm -rf node_modules
              rm package-lock.json
              npm install tado-client --save
              npm install mocha-logger --save
              

              then you can restart MM and it should work…

              my script looks for package.json, and there isn’t one…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              W 1 Reply Last reply May 30, 2020, 2:55 PM Reply Quote 0
              • W Offline
                Wrangler @sdetweil
                last edited by Wrangler May 30, 2020, 2:57 PM May 30, 2020, 2:55 PM

                @sdetweil said in MMM-Tado not working.:

                No luck ```

                pi@MagicMirror:~/MagicMirror/modules/MMM-Tado $ npm install tado-client --save
                npm ERR! code E404
                npm ERR! 404 Not Found - GET https://registry.npmjs.org/tado-client - Not found
                npm ERR! 404 
                npm ERR! 404  'tado-client@latest' is not in the npm registry.
                npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
                npm ERR! 404 
                npm ERR! 404 Note that you can also install from a
                npm ERR! 404 tarball, folder, http url, or git url.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/pi/.npm/_logs/2020-05-30T14_54_13_631Z-debug.log
                pi@MagicMirror:~/MagicMirror/modules/MMM-Tado $
                
                pi@MagicMirror:~/MagicMirror/modules/MMM-Tado $ npm install mocha-logger --save
                npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                
                + mocha-logger@1.0.6
                removed 3 packages, updated 1 package and audited 1120 packages in 37.011s
                
                74 packages are looking for funding
                  run `npm fund` for details
                
                found 3 low severity vulnerabilities
                  run `npm audit fix` to fix them, or `npm audit` for details
                pi@MagicMirror:~/MagicMirror/modules/MMM-Tado $
                
                S 1 Reply Last reply May 30, 2020, 2:59 PM Reply Quote 0
                • S Away
                  sdetweil @Wrangler
                  last edited by May 30, 2020, 2:59 PM

                  @Wrangler yep, looks like he used a private tado-client module… there is a public node-tado-client , but some of the code would have to change…

                  sorry…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  W 1 Reply Last reply May 30, 2020, 3:07 PM Reply Quote 0
                  • W Offline
                    Wrangler @sdetweil
                    last edited by May 30, 2020, 3:07 PM

                    @sdetweil

                    Thanks for the effort, I wait for a update or try to live with it :confused_face:

                    S 1 Reply Last reply May 30, 2020, 3:43 PM Reply Quote 0
                    • S Away
                      sdetweil @Wrangler
                      last edited by May 30, 2020, 3:43 PM

                      @Wrangler I added this topic to the issue already open on the node-modules libraries
                      https://github.com/WouterEekhout/MMM-Tado/issues/8

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      W 1 Reply Last reply May 30, 2020, 4:06 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        7/15
                        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