MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. htilburgs
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 3
    • Topics 22
    • Posts 204
    • Groups 0

    Harm Tilburgs

    @htilburgs

    Started with a MagicMirror in the Covid19 period and now I'm hooked to it.
    Currently I've my second Mirror.

    33
    Reputation
    1.3k
    Profile views
    204
    Posts
    3
    Followers
    0
    Following
    Joined
    Last Online
    Age 58
    Website magicmirror.tilburgs.com
    Location Netherlands

    htilburgs Unfollow Follow

    Best posts made by htilburgs

    • MMM-MyGarbage

      MMM-MyGarbage

      This a module for MagicMirror².
      This displays the schedule for your Garbage pickup. It supports multiple types of garbage bins.
      You can show the schedule using a CSV file (garbage_schedule.csv) of by using an ical URL.

      3408044a-a1b1-4ebd-8b38-4bf2f86bdd31-image.png

      Installation

      Clone this repository in your modules folder, and install dependencies:

      cd ~/MagicMirror/modules 
      git clone https://github.com/htilburgs/MMM-MyGarbage.git
      cd MMM-MyGarbage
      npm install 
      

      Update

      When you need to update this module:

      cd ~/MagicMirror/modules/MMM-MyGarbage
      git pull
      npm install
      

      Configuration

      Go to the MagicMirror/config directory and edit the config.js file.
      Add the module to your modules array in your config.js.

      {
              module: 'MMM-MyGarbage',
              position: 'top_right',
              header: "My Garbage Calendar",
              disabled: false,
              config: {
                      weeksToDisplay: 4,
                      limitTo: 99,
                      dateFormat: "dddd LL",
                      alert: true,
                      fade:true,
                      fadePoint: 0.25,
                      dataSource: "ical",                         // csv (schedule_garbage.csv | ical (put URL in icalUrl)
                      icalUrl: "PLACE_HERE_PUBLIC_ICAL_URL",      // only used if dataSource is "ical"
                      debug: false,                               // Only set on true for debugging 
                      binColors: {                                // Define custom Bin Colors
                                  GreenBin: "#00A651",
                                  PaperBin: "#0059ff",
                                  GarbageBin: "#787878",
                                  PMDBin: "#ffff00",
                                  OtherBin: "#B87333"
                                  },
                      icalBinMap: {                                // Map iCal event names to standard bin names
                                  "PAPIER": "PaperBin",
                                  "GFT": "GreenBin",
                                  "PMD": "PMDBin",
                                  "REST": "GarbageBin",
                                  "KERSTBOOM": "OtherBin",
                                  }
                      }
      },
      

      Module configuration

      Here is the documentation of options for the modules configuration:

      Option Description
      weeksToDisplay How many weeks into the future to show collection dates.

      Number
      Default: 2
      limitTo Limit the display to the spcified number of pickups.

      Number
      Default: 99
      dateFormat Format to use for the date of events

      Default: dddd D MMMM (e.g. January 18)
      Possible values: See https://momentjs.com/
      alert (optional) Show alert, if remaining entries in csv file fall under this threshold

      Number
      Default: false
      fade Fade the future events to black. (Gradient).

      Default:
      true
      Possible values: true or false
      fadePoint Where to start fade?

      Default:
      0.25
      Possible values: 0 (top of the list) - 1 (bottom of list)
      dataSource Select datasource your're using

      Default:
      "csv"
      Possible values: "csv" or "ical"
      icalUrl Fill in your (public) ical URL
      Only use in combination with dataSourc: "ical"
      debug For debugging the module when failure

      Default:
      false
      Possible values: true or false
      binColors Define your own Bin Colors
      icalBinMap Define the EXACT names as provided in the iCal Calendar.
      The names will be matches with the type of Bin.
      If there is no match, otherBin wil be used.

      Creating and using your Garbage Schedule for use with dataSource CSV

      You can use this module by creating your own Garbage Schedule file with the name garbage_schedule.csv
      An example file garbage_schedule.csv is added.

      Create a CSV based on the following template:

      WeekStarting,Greenbin,GarbageBin,PaperBin,PMDBin,OtherBin
      03/07/18,1,0,1,0,0
      03/14/18,1,1,1,0,0
      03/21/18,1,0,1,0,1
      03/28/18,1,1,1,1,0
      

      Default there are 3 bins defined (green, gray and blue) If you need more garbage bins, simply add an extra column in the garbage_schedule.csv file. The name is the color you like the bin to have.

      Add lines for each garbage pickup date as needed.
      The date format needs to be specified as MM/DD/YY (e.g.: 05/28/18 for 28-May-2018)

      Colors can be defined in the config.js file:

      • Legacy Values:
        • GreenBin (defaults to #00A651)
        • GarbageBin (defaults to #787878)
        • PaperBin (defaults to #0059ff)
        • PMDBin (defaults to #ffff00)
        • OtherBin (defaults to #B87333)
      • Any CSS color string (red, chocolate, cornflowerblue, etc…)
      • Any HEX-Color (#FF0000, #8c8c8c, etc)
      • Any rgb, rgba or hsl value if in double quotes (“rgb(128,65,98)”, “rgba(134,56,32,0.5)”, “hsl(0, 100%, 50%)”, etc.)

      The following is VERY important:

      • The CSV file must be delimited using commas
      • The date format needs to be specified as MM/DD/YY (e.g.: 05/28/18 for 28-May-2018)
      • The remaining fields of each line specify whether the particular waste product is scheduled to be picked up on the given date. A value of 0 means no pick up. A value of ANYTHING ELSE means the product will be picked up. Using the first pick up date entry in the template above, 1,0,1 means that green and blue will be picked up on that date, while gray will not be picked up.

      Save the file as garbage_schedule.csv in the MMM-MyGarbage directory and restart Magic Mirror²

      License

      The MIT License (MIT)

      Copyright © 2019 Harm Tilburgs

      Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

      The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

      The software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

      Note

      The original script is from Jeff Clarke MMM-MyWastePickup and only for the Toronto area.
      Now it has become a general script, to use in all areas all over the world.

      Versions

      1.0.0 : Initial version
      1.0.1 : Minor changes
      2.0.0 : Changed for use with CSV or with iCal Calendar

      posted in Utilities
      htilburgsH
      htilburgs
    • MMM-MyTasklist

      MMM-MyTasklist

      This a module for Magic Mirror².
      This displays a simple Tasklist, you can update through a web frontend.

      image

      image

      Installation

      Clone this repository in your modules folder, and install dependencies:

      cd ~/MagicMirror/modules 
      git clone https://github.com/htilburgs/MMM-MyTasklist.git
      cd MMM-MyTasklist
      npm install 
      

      Update

      When you need to update this module:

      cd ~/MagicMirror/modules/MMM-MyTasklist
      git pull
      npm install
      

      Configuration

      Go to the MagicMirror/config directory and edit the config.js file.
      Add the module to your modules array in your config.js.

      {
        module: "MMM-MyTasklist",
        position: "top_left",
        header: "MyTaskList",
        disabled: false,
        config: {
          tasksFile: "modules/MMM-MyTasklist/tasks.json",
          updateInterval: 300000,
          showCompleted: true,
          maxTasks: null
        }
      },
      

      Load Webinterface for updating the Tasklist

      Open a browser and type http://serverip address:8448
      So if for example you’re MagicMirror is on 192.168.0.48 then you go to http://192.168.0.48:8448

      The Webinterface for MyTasklist will be loaded and you will be able to:

      • choose language for the Webinterface
      • add tasks
      • complete tasks
      • delete tasks
      • edit tasks
      • move the order from tasks by drag-and-drop
      • filter on all, active or done tasks

      All the updates are instantly published on your Mirror

      NOTE:
      With a touchscreen you’re able to check the checkboxes on the Mirror to complete the task.

      All these changes are instantly published to the Webinterface

      Versions

      v1.0.0 - Initial release
      v1.1.0 - Update Look & Feel
      v1.1.1 - Change Webinterface port from 8123 to 8448
      v1.2.0 - Add possibility to edit the tasks in the Webinterface
      v1.2.1 - Update language selector didn’t work correct in Webinterface (always dutch after reload)

      posted in Utilities
      htilburgsH
      htilburgs
    • RE: PIR problem RPi 4B, Bullseye 64 bit

      @wyovino No, I’m not using MMM-PIR.
      I’ve documented it on my website, but it is in Dutch ;-)

      https://magicmirror.tilburgs.com/pir-configuratie/

      posted in Troubleshooting
      htilburgsH
      htilburgs
    • RE: MMM-MyWeatherForecast

      @KristjanESPERANTO
      The icons came from https://www.flaticon.com/search?word=weather partly clouded night

      I will give MMM-OneCallWeather a look for the icons, but I hope I will stay unique.

      posted in Utilities
      htilburgsH
      htilburgs
    • RE: Do you use a PIR sensor? How do you hide it?

      I made a 8 mm hole on the backside and a 2 mm hole on the frontside.
      Removed the cap from the motion sensor and placed it in the 8 mm hole.
      Works great and you can hardly see the 2 mm hole.

      Backside:
      alt text

      Frontside:
      alt text

      posted in Hardware
      htilburgsH
      htilburgs
    • RE: Get the correct JSON data

      @sdetweil Thanks, that works!
      Now I can really see what I’m doing.

      posted in Development
      htilburgsH
      htilburgs
    • RE: I am looking for a working PIR Modul/function

      @Klinge
      I had the same issue with MMM-Universal-Pir.
      The maker had made a comment ABOUT It in the readme, with the correct commands after mine e-mail.
      Read the readme and you are How to do.

      posted in Troubleshooting
      htilburgsH
      htilburgs
    • MMM-MyDutchWeather

      Description
      MyDutchWeather is a simple Module, that shows the actual weather from the KNMI 10-minutes network for any location in the Netherlands, based on your GPS coördinates .

      Screenshot
      alt text

      alt text

      alt text

      Download
      [card:htilburgs/MMM-MyDutchWeather]

      Extra
      I’m not an experienced programmer and do this for fun. Feel free to suggest any ideas.

      Versions
      07-04-2019 - v1.0.0 - Initial release
      08-04-2019 - v1.1.0 - Added option for Simple or Additional information

      posted in Utilities
      htilburgsH
      htilburgs
    • RE: Do you use a PIR sensor? How do you hide it?

      I still have to paint the frame, thinking of a kind of ‘white-wash’ so you keep seeing the wood grains. Maybe it’s less ‘obvious’.
      But you know and I know, but most visitors I’ve had didn’t even see it or looking for it 🤔

      posted in Hardware
      htilburgsH
      htilburgs
    • MMM-MyHomeWizard

      MMM-MyHomeWizard is a MagicMirror module that shows the information from the HomeWizard P1 meter and/or the HomeWizard WaterMeter.
      The HomeWizard P1 Meter gives you detailed insight into your gas consumption, electricity consumption and solar surplus.
      The HomeWizard Watermeter gives you live insight into your water consumption.

      Homepage: MMM-MyHomeWizard

      aee9f9cb-1285-4eea-a266-af54a0e06b66-image.png

      834e222c-910a-4639-91e7-ef53675a5c52-image.png

      posted in Productivity
      htilburgsH
      htilburgs

    Latest posts made by htilburgs

    • RE: MMM-MyHomeWizard

      @vansman said in MMM-MyHomeWizard:

      current_voltage data

      What do you mean with current_voltage data?
      When I look into HomeWizard, I don’t see this.

      If you mean active_voltage, than I don’t see any use to know that my voltage is 230V, because if I’m right than this never changes (I hope ;-))

      posted in Productivity
      htilburgsH
      htilburgs
    • RE: MMM-MyGarbage trash icons no color

      @JerryP
      Nice to see that everything works again.
      I did an update of the original version where you also can choose to use and iCal Calender.

      See https://github.com/htilburgs/MMM-MyGarbage for the complete explanation of the config options.

      I’m currently working on an update where you can choose how many garbage bins you like, the name and the color.
      But as with everything, it’s a hobby and I don’t have time every day, so slowly by slowly


      Goed om te horen dat alles weer werkt.
      Ik heb een update van de 1e originele versie gemaakt, waar je ook een iCal kalender kunt gebruiken.

      Zie https://github.com/htilburgs/MMM-MyGarbage voor de complete mogelijkheden van de configuratie opties.

      Ik ben momenteel bezig met een update, waarbij je zelf het aantal bakken, de naam en de kleuren kunt kiezen.
      Maar zoals met veel dingen, het blijft een hobby en ik heb helaas niet alle tijd van de wereld.

      posted in Troubleshooting
      htilburgsH
      htilburgs
    • RE: MMM-MyHomeWizard

      @vansman
      Oké, sounds good. Succes!

      posted in Productivity
      htilburgsH
      htilburgs
    • RE: MMM-MyHomeWizard

      @vansman
      Did it work?

      posted in Productivity
      htilburgsH
      htilburgs
    • RE: MMM-MyHomeWizard

      @vansman
      In the Homewizard app on your phone, you have to activatie the use of local api. What I think is strange is that when you go to

      http://192.168.178.152/api/v1/data
      

      that you don’t get any data. This mechanisme is the same as in MMM-Homewizard (see the config for your first app)

      Activating Local API
      Go to Settings > Meters > ‘‘Your meter’’, and enable Local API for the P1 Meter and/or the Water Meter at the botom of the page.

      The same for the Watermeter. If they are off, they don’t work.

      posted in Productivity
      htilburgsH
      htilburgs
    • RE: MMM-MyHomeWizard

      @MZ-BER
      It is measured with the P1 meter.
      It does both.

      posted in Productivity
      htilburgsH
      htilburgs
    • RE: MMM-MyHomeWizard

      @vansman
      The first thing I see in your configuration is

      position: 'right'
      

      As far as I know, that doesn’t work in MagicMirror and you should get an error when you’re loading MagicMirror.

      [2026-02-17 18:10:22.072] [WARN]  [check_config] Module 5 ("MMM-MyHomeWizard") uses unknown position: "right" 
      [2026-02-17 18:10:22.073] [WARN]  [check_config] Known positions are: fullscreen_below, top_bar, top_left, top_center, top_right, upper_third, middle_center, lower_third, bottom_bar, bottom_left, bottom_center, bottom_right, fullscreen_above 
      

      Can you change this to top_right and try what does happens?

      Checking your IP Addresses:
      You can check if your IP Addresses give information. Put in the next URL in a browser. If the IP Address is correct, you should get something like:

      P1 Meter: http://192.168.178.152/api/v1/data/
      Water: http://192.168.101.14/api/v1/data/

      Result:

      
        "wifi_ssid": "WiFi Network Name",
        "wifi_strength": 100,
        "smr_version": 50,
        "meter_model": "Sagemcom T210-D ESMR5.0",
        "unique_id": "ID",
        "active_tariff": 2,
        "total_power_import_kwh": 18833.243,
        "total_power_import_t1_kwh": 10804.883,
        "total_power_import_t2_kwh": 8028.36,
        "total_power_export_kwh": 0.166,
        "total_power_export_t1_kwh": 0.166,
        "total_power_export_t2_kwh": 0,
        "active_power_w": 398,
        "active_power_l1_w": 257,
        "active_power_l2_w": 27,
        "active_power_l3_w": 113,
        "active_voltage_l1_v": 230,
        "active_voltage_l2_v": 231,
        "active_voltage_l3_v": 230,
        "active_current_a": 1.726,
        "active_current_l1_a": 1.117,
        "active_current_l2_a": 0.117,
        "active_current_l3_a": 0.491,
        "voltage_sag_l1_count": 4,
        "voltage_sag_l2_count": 4,
        "voltage_sag_l3_count": 4,
        "voltage_swell_l1_count": 0,
        "voltage_swell_l2_count": 0,
        "voltage_swell_l3_count": 0,
        "any_power_fail_count": 54,
        "long_power_fail_count": 9,
        "total_gas_m3": 5595.841,
        "gas_timestamp": 260217182000,
        "gas_unique_id": "ID",
        "external": [
          {
            "unique_id": "ID",
            "type": "gas_meter",
            "timestamp": 260217182000,
            "value": 5595.841,
            "unit": "m3"
          }
        ]
      }
      
      {
        "wifi_ssid": "WiFi Network Name",
        "wifi_strength": 86,
        "total_liter_m3": 19.652,
        "active_liter_lpm": 0,
        "total_liter_offset_m3": 0
      }
      
      posted in Productivity
      htilburgsH
      htilburgs
    • RE: MMM-MyHomeWizard

      @vansman
      Good morning. This can be a lot of things. You provided no info.
      Can you pleaase post your config (without any personal info)
      When you start MM with PM2, than please stop it.
      Go to ~/MagicMirror folder and start npm start dev and look if there are any errors.

      posted in Productivity
      htilburgsH
      htilburgs
    • RE: MMM-MyWeatherForecast

      @KristjanESPERANTO
      Thanks for the advice.
      I put a comment in the readme and placed the module in the 3rd-party module list.

      posted in Utilities
      htilburgsH
      htilburgs
    • RE: MMM-MyGarbage

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

      posted in Utilities
      htilburgsH
      htilburgs