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

Scheduled Pinned Locked Moved Utilities
55 Posts 28 Posters 31.4k 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.
  • H Offline
    htilburgs
    last edited by Mar 7, 2019, 2:54 PM

    Currently this is not possible, because the icons are embedded in file ‘garbage_icons.svg’. You can create you’re own garbage_icons.svg file. Keep in mind that the icons are 24x24 pixels.

    (still trying to learn JS, but not afraid to ask) ☺

    1 Reply Last reply Reply Quote 0
    • C Offline
      Chris62
      last edited by Apr 11, 2019, 4:59 PM

      @htilburgs

      Hi,

      I would really like to use this module. However, despite following the install instructions, and without changing any of the defaults other than the header (we usually say rubbish in the UK, rather than garbage), I get two instances of the module loading. Also, when I open the default csv file in Excel for instance, the dates do not all seem to be the same. Some are formatted left and some are formatted right in the cell. Surely they should all be the same. I have not altered this file at all but when the module loads in MM2, (twice as mentioned) I just get an entry for ‘Today’ and a grey bin icon.

      Chris

      H 1 Reply Last reply Apr 11, 2019, 5:02 PM Reply Quote 0
      • H Offline
        htilburgs @Chris62
        last edited by Apr 11, 2019, 5:02 PM

        @Chris62 can you post a picture and the config.js?

        (still trying to learn JS, but not afraid to ask) ☺

        1 Reply Last reply Reply Quote 0
        • W Offline
          werffje
          last edited by Apr 11, 2019, 8:05 PM

          I have done everything as described but the module keeps on indicating Loading Loading, what am I doing wrong?

          Regards, Marius

          H 1 Reply Last reply Apr 11, 2019, 8:45 PM Reply Quote 0
          • H Offline
            htilburgs @werffje
            last edited by Apr 11, 2019, 8:45 PM

            @werffje I’m sorry to hear that, but if it’a keep saying loading, than there is a configuration error. Can you post your config. js.
            Further take a look at the java console in you browser if you can see an error.

            (still trying to learn JS, but not afraid to ask) ☺

            1 Reply Last reply Reply Quote 0
            • H Offline
              htilburgs
              last edited by htilburgs Apr 18, 2019, 2:46 PM Apr 12, 2019, 7:21 AM

              On my TEST System, I just did a fresh install of MM2 and after that a fresh install of MMM-MyGarbage. Copy and Paste the configuration as in the README.md into the config.js and no errors. MMM-MyGarbage displays 2 entries with the garbage_schedule.csv that is installed with the git clone…

              @Chris62, @werffje, if you still expirience problems, than:

              • add config.js into reply
              • look at the javascript console if you see any errors in the Console tab

              Open Javascript Console:
              Press Command+Option+J (Mac) or Control+Shift+J (Windows, Linux, Chrome OS) to open the Console

              • any other information that maybe relevant

              I’ll look at it and try to reproduce and/or correct the issue.

              (still trying to learn JS, but not afraid to ask) ☺

              1 Reply Last reply Reply Quote 0
              • C Offline
                Chris62
                last edited by Apr 12, 2019, 9:36 AM

                Hi,

                Thanks for your reply. I have fixed it now. I loaded the csv file into excel to alter the dates but something was wrong with the formatting and I just couldn’t get it to work. Anyway, I loaded up MM into a Ubuntu virtual machine and changed the dates in notepad. I sorted out the config issue (I moved the position within the config file to make it easier to read but accidentally did copy rather than cut and paste so I had two loading), fired it up and it worked like a charm. I have now copied everything to my Pi and it now works there too.

                Just a quick question, I only have two bins, blue and green, is it possible to remove the column for the other one without mucking it up, or should I just set all the values to zero?

                Thanks

                Chris

                H 1 Reply Last reply Apr 12, 2019, 10:24 AM Reply Quote 0
                • H Offline
                  htilburgs @Chris62
                  last edited by Apr 12, 2019, 10:24 AM

                  @Chris62 Good to hear it’s fixed.
                  You can do both

                  • Remove the unused column entirly
                  • Fill the unused column with zero’s

                  As of version v1.2.0 you can also use you’re own column names, as long as they are color names. The garbage bin is showed in the color of the name of the column.

                  example
                  WeekStarting,Green,Brown
                  04/15/19,1,1

                  0_1555064642027_MMM-MyGarbage-colors.png

                  (still trying to learn JS, but not afraid to ask) ☺

                  1 Reply Last reply Reply Quote 1
                  • W Offline
                    werffje
                    last edited by Apr 12, 2019, 9:35 PM

                    OMG I’m such a noob forgive me, I forgot the alert: 4 line in my config.js

                    It works great now, thanks !!

                    H 1 Reply Last reply Apr 12, 2019, 9:36 PM Reply Quote 0
                    • H Offline
                      htilburgs @werffje
                      last edited by Apr 12, 2019, 9:36 PM

                      @werffje :thumbs_up_light_skin_tone:

                      (still trying to learn JS, but not afraid to ask) ☺

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 1 / 6
                      • 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