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

Modules not showing up on KWEB or Midori

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 2 Posters 4.6k 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.
  • N Offline
    nixidee
    last edited by Nov 3, 2016, 6:23 PM

    Do you mean this?

    0_1478197257549_console.jpg

    That is this line:

    setInterval(() => {
    

    Or what did you need exactly?

    What (Kiosk)Browser do you use?

    S 1 Reply Last reply Nov 3, 2016, 9:32 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @nixidee
      last edited by Nov 3, 2016, 9:32 PM

      @nixidee yes that’s what I was talking about.

      The following lines should get you going, but the ecmascript is finalized and standard since june last year, you should probably think about switching the browser if their updates are that far behind

      MMM-soccer

      var self = this;
      setInterval(function(){
                  self.getData();
      }, this.config.api_key ? 300000 : 1800000);
      

      MMM-Fuel

      var self = this;
      return setInterval(function(){
                  self.sortByPrice = !self.sortByPrice;
                  self.updateDom(300);
      }, this.config.rotateInterval);
      

      Please create a github issue if you need help, so I can keep track

      N 1 Reply Last reply Nov 3, 2016, 10:27 PM Reply Quote 1
      • N Offline
        nixidee @strawberry 3.141
        last edited by Nov 3, 2016, 10:27 PM

        @strawberry-3.141

        Thanks for your work. Which Browser do you recomment? Both are lightweight kiosk Browsers and the pi zero needs a lightweight browser as far as I know.

        I gues, I have to clone it again and npm install it again?

        S 1 Reply Last reply Nov 4, 2016, 7:16 AM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @nixidee
          last edited by Nov 4, 2016, 7:16 AM

          @nixidee you can either do some research yourself which pi Zero browser can handle es6/ecmascript2015 features, I’m using the Same browser electron is based on (chromium) or you have to do the changes manually

          Please create a github issue if you need help, so I can keep track

          N 1 Reply Last reply Nov 4, 2016, 10:53 PM Reply Quote 0
          • N Offline
            nixidee @strawberry 3.141
            last edited by Nov 4, 2016, 10:53 PM

            @strawberry-3.141
            Well i tried Chromium but i didn’t get it to work on the Pi Zero. With the code you provided it works well. Thank you for your time.

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