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

read csv-data and put it in an array

Scheduled Pinned Locked Moved Utilities
313 Posts 3 Posters 421.7k 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
    Perlchamp
    last edited by May 2, 2020, 3:45 AM

    picture

    S 1 Reply Last reply May 2, 2020, 3:46 AM Reply Quote 0
    • S Offline
      sdetweil @Perlchamp
      last edited by May 2, 2020, 3:46 AM

      @Perlchamp click on line number 122 for a stop… birthday is not defined once you leave the for loop…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • P Offline
        Perlchamp
        last edited by May 2, 2020, 3:51 AM

        yes i did. all variables are correct

        S 1 Reply Last reply May 2, 2020, 3:54 AM Reply Quote 0
        • S Offline
          sdetweil @Perlchamp
          last edited by May 2, 2020, 3:54 AM

          @Perlchamp and getDom() will be called multiple times, once before your data arrives, maybe once more than when you data is ready

          and it does the innerText statement?

          and u look at the element, and look at the inner text and its correct?

          i am running out of energy for the day… been since 6am. now 11pm

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            Perlchamp
            last edited by May 2, 2020, 3:57 AM

            122 => next => marks “return”(131) => next => marks end of 131 => next => jumped to main.js

            S 1 Reply Last reply May 2, 2020, 3:59 AM Reply Quote 0
            • S Offline
              sdetweil @Perlchamp
              last edited by May 2, 2020, 3:59 AM

              @Perlchamp mark the line for the second for(

              for(var birthday of Object.keys(this.active_birthdays)){
              			for(var name of this.active_birthdays[birthday]){              // stop on this line
              

              and remove the other stops

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • P Offline
                Perlchamp
                last edited by May 2, 2020, 4:03 AM

                the same see picture i did send to you. it’s line 122 => stop => refresh => and than like posted before
                no does nothing … ok never mind. coming from germany it’s now 06:00 in the morning did’t sleep …

                S 1 Reply Last reply May 2, 2020, 4:04 AM Reply Quote 0
                • S Offline
                  sdetweil @Perlchamp
                  last edited by May 2, 2020, 4:04 AM

                  @Perlchamp tomorrow, very close

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Perlchamp
                    last edited by May 2, 2020, 4:05 AM

                    don’t worry about me and sleep well.

                    S 1 Reply Last reply May 2, 2020, 11:38 AM Reply Quote 0
                    • S Offline
                      sdetweil @Perlchamp
                      last edited by May 2, 2020, 11:38 AM

                      @Perlchamp thx…

                      in debugging

                      put a stop on the self.updateDom() in the notiification code.
                      no place else

                      hit refresh

                      when it stops there,
                      scroll down to getdom and add a stop on the 1st for loop line

                      hit run arrow,
                      should stop in getdom now, with data

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      S 1 Reply Last reply May 2, 2020, 12:11 PM Reply Quote 0
                      • 1
                      • 2
                      • 22
                      • 23
                      • 24
                      • 25
                      • 26
                      • 31
                      • 32
                      • 24 / 32
                      24 / 32
                      • First post
                        144/313
                        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