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

    Posts

    Recent Best Controversial
    • RE: Develop module with API

      Thanks for the reply.
      I’ve an api for getting the Prayer Times.

      http://api.aladhan.com/v1/timings/19-03-2019?latitude=51.508515&longitude=-0.1254872&method=2

      In this case there a 4 parameters: date, latitude, longitude and method.
      The result is a json file

      {"code":200,"status":"OK","data":{"timings":{"Fajr":"04:34","Sunrise":"06:06","Dhuhr":"12:08","Asr":"15:23","Sunset":"18:11","Maghrib":"18:11","Isha":"19:44","Imsak":"04:24","Midnight":"00:09"},"date":{"readable":"19 Mar 2019","timestamp":"1552953600","hijri":{"date":"12-07-1440","format":"DD-MM-YYYY","day":"12","weekday":{"en":"Al Thalaata","ar":"\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621"},"month":{"number":7,"en":"Rajab","ar":"\u0631\u064e\u062c\u064e\u0628"},"year":"1440","designation":{"abbreviated":"AH","expanded":"Anno Hegirae"},"holidays":[]},"gregorian":{"date":"19-03-2019","format":"DD-MM-YYYY","day":"19","weekday":{"en":"Tuesday"},"month":{"number":3,"en":"March"},"year":"2019","designation":{"abbreviated":"AD","expanded":"Anno Domini"}}},"meta":{"latitude":51.508515,"longitude":-0.1254872,"timezone":"Europe\/London","method":{"id":2,"name":"Islamic Society of North America (ISNA)","params":{"Fajr":15,"Isha":15}},"latitudeAdjustmentMethod":"ANGLE_BASED","midnightMode":"STANDARD","school":"STANDARD","offset":{"Imsak":0,"Fajr":0,"Sunrise":0,"Dhuhr":0,"Asr":0,"Maghrib":0,"Sunset":0,"Isha":0,"Midnight":0}}}}
      

      I like to filter on the first object “timings” (Fajr until Midnight) and present this information in a table on the Mirror (HTML layout comes later)

      I’ve been looking in other modules and trying to learn, but some use node_helper, some don’t and I’m a littlebit stuck right now.

      posted in Development
      htilburgsH
      htilburgs
    • Develop module with API

      Hi all,
      Let me start saying, I’m a new MM enthousiast. I’ve several ideas for a new MM Module, but I’m not a programmer. I can read the javascript en mostly I understand how it works, but writing my own is going to be the first time.

      I like to build one from scratch and started with Head first developing mm module for extreme beginners.

      Now I’m trying to go further and in particular using an API to:

      • Get data from a site (in JSON format)
      • Extract the correct data from the JSON result
      • Display the extracted data nicely in de module

      I’m reading Javascript for Dummies, I’ve been looking on the forum and looking into existing modules, but I’m not getting there. The question is:

      Is there a template or are there sites/instructions on how to get started with what I like to do so, I can get started and figure it out (with or without the awesome support of this forum? I hope to hear from somebody!

      posted in Development
      htilburgsH
      htilburgs
    • RE: Default calendar module stopped showing iCloud events

      I didn’t create a new calendar, only for testing purposes. After finding out what the possible issue was, I’ve unchecked and thereafter checked “make public” and copied the new URL.

      Great it works for you too!! :thumbs_up_medium-light_skin_tone:

      posted in Troubleshooting
      htilburgsH
      htilburgs
    • RE: Default calendar module stopped showing iCloud events

      I had the same issue from last Monday. I was using the calendar for about 1 month (newby MagicMirror). I checked everything and as it seems nothing had changed, but get keeping “No upcoming events”.

      Then I created a new calendar and made it public. What I saw is that the URL was quite different from the one I used. I see the same with you.

      old: webcal://p01-calendarws.icloud.com/ca/subscribe/1/
      new:webcal://p40-calendars.icloud.com/published/2/

      I openend my calendar on my Macbook and set the published option off for my calendar. Than I put it back on and got a new URL with the same ‘new’ format. I put this in my MagicMirror config and everything works again (now for 1 week already).

      I hope this is the solution for your problem also…Succes!

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

      @onkelbobby, seems nice for my next mirror ;-)
      How let you this interact with the Pi and MagicMirror? Is there a module, or do you use a Python script?

      posted in Hardware
      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
    • 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: My first Mirror (45cm x 65cm) with 24" monitor (Netherlands)

      I have the spymirror. If you click on the word Pyrasied, you see what I ordered (As I said in the bullet 😉)

      posted in Show your Mirror
      htilburgsH
      htilburgs
    • My first Mirror (45cm x 65cm) with 24" monitor (Netherlands)

      After being infected with the Magic Mirror virus, I’ve decided to build one.
      It’s my first attempt with an 24" monitor. The frame is prepared for an 27" monitor, but because it’s my first mirror I first started with an old 24".

      Used parts:

      • Raspberry Pi 3B+
      • 8GB SD Card
      • PIR Infrared Motion Sensor (HC-SR501)
      • Spymirror Silver (45cm x 65 cm) – Pyrasied
      • HP 24″ LCD Scherm
      • 2x surface-mounted outlet
      • Wood – inner frame
      • Wood – outer frame

      Modules:

      • Clock
      • MMM-MyGarbage
      • MMM-DarkSkyForecast
      • MMM-MyCalendar
      • MMM-Remote-Control
      • MMM-RPI-LED

      alt text
      alt text
      alt text
      alt text

      posted in Show your Mirror
      htilburgsH
      htilburgs
    • RE: MMM-MyGarbage

      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.

      posted in Utilities
      htilburgsH
      htilburgs
    • 1
    • 2
    • 13
    • 14
    • 15
    • 16
    • 17
    • 16 / 17