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-MyGarbage

    Scheduled Pinned Locked Moved Utilities
    60 Posts 28 Posters 40.7k Views 28 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.
    • htilburgsH Offline
      htilburgs @sifuhall
      last edited by

      @sifuhall

      Did you ran ‘npm install’ afterwards?
      You have to run this in the MMM-MyGarbage directory.

      (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

      sifuhallS 1 Reply Last reply Reply Quote 0
      • sifuhallS Offline
        sifuhall @htilburgs
        last edited by

        @htilburgs I did, yes.

        htilburgsH 1 Reply Last reply Reply Quote 0
        • htilburgsH Offline
          htilburgs @sifuhall
          last edited by

          @sifuhall

          I Will have to look in it. Today I have no time.
          I come back tomorrow.

          (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

          1 Reply Last reply Reply Quote 0
          • W Offline
            wwats
            last edited by

            Hello, i have the same problem… there is loading and loading again… thanks for Your answer

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              mickecarlsson @wwats
              last edited by

              @wwats
              Check that ypu only have 1 (one) extra line at the end of the CSV-file, if you have more than one, the module crashes

              htilburgsH 1 Reply Last reply Reply Quote 0
              • htilburgsH Offline
                htilburgs @mickecarlsson
                last edited by htilburgs

                Today I published an updated version (v2.0.0) with CSV and iCal support.
                Everything has been thoroughly tested, but if you encounter any issues despite this, please let me know.

                https://github.com/htilburgs/MMM-MyGarbage/issues

                (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  mickecarlsson @htilburgs
                  last edited by

                  @htHilburgs

                  Just did the upgrade, did not work until I remembered I had done some tweaking in the MMM-MyGarbage.js so that I could name the bins as per my use. I had named them Fyrfack1, Fyrfack2 and Tradgard.
                  I just reversed that to the default names in the csv-file and modified my config to set up the colors I use.
                  My config.js section:

                              {
                                  module: 'MMM-MyGarbage',
                                  position: 'top_left',
                                  header: 'Sophämtning',
                                  config: {
                                      weeksToDisplay: '3',
                                      binColors: {          // Define custom Bin Colors
                                          GreenBin: "#8B4513",
                                          PaperBin: "#0000FF",
                                          GarbageBin: "#008000",
                                          },
                                 }
                              },```
                  Now the module is just works like the old one. 
                  Thanks for the update.
                  htilburgsH 1 Reply Last reply Reply Quote 0
                  • htilburgsH Offline
                    htilburgs @mickecarlsson
                    last edited by

                    @mickecarlsson
                    That is the risk of editing the .js file. ;-)
                    I’m glad you remembered and that you have corrected it.
                    Have fun!

                    (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

                    1 Reply Last reply Reply Quote 0
                    • htilburgsH Offline
                      htilburgs
                      last edited by

                      Just published an update:

                      2.0.1 : Update for Streamline date parsing and allow for recurring events in ical (thx to @thepagan)
                      2.1.0 : Update for CSV file and alertThreshold (add to your config.js!)
                      2.1.1 : bugfix for the alertThreshold
                      2.1.2 : Update for rare AxiosError [AggregateError] when loading iCal

                      (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

                      htilburgsH 1 Reply Last reply Reply Quote 0
                      • htilburgsH Offline
                        htilburgs @htilburgs
                        last edited by

                        Just published an update v3.0.0

                        • Add support for flexible numbers of Bins
                        • Bin names are automaticly detected
                        • Match bin colors to bin names for csv and ical
                        • Error message instead of “Loading…” when the CSV or ICAL is in wrong format
                        • Better debug information in console and in module
                        • Clean up code

                        Enjoy this new version and if you find any issues, please report them here

                        (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

                        1 Reply Last reply Reply Quote 1

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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