Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. dubalda
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 15
    • Best 2
    • Groups 0

    dubalda

    @dubalda

    6
    Reputation
    51
    Profile views
    15
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    dubalda Follow

    Best posts made by dubalda

    • UK Lock-down mirror

      Hi all,

      Having started lock-down in the UK working from home and trying to home school my kids, this project has been a welcome distraction. I’ve finally managed to complete my mirror and have spent hours going through the various threads to get things working so I thought I’d share my final product. I was keen to use a PIR sensor to turn off the mirror when no one was there, and I have to admit it’s working perfectly.

      These are the modules that I’m using:

      MMM-PIR-Sensor
      MMM-WeatherOrNot
      currentweather
      weatherforecast
      MMM-MyCalendar - this includes our family Google calendar and UK Bank Holidays
      MMM-Spotify
      MMM-GoogleFit
      MMM-TFL
      MMM-LondonTransitStatus
      newsfeed - BBC News and the Financial Times at the top and M25 (motorway) feed at the bottom
      MMM-Strava

      I did setup MMM-GoogleAssistant and MMM-Assistant2Display which worked well when I was testing the but I couldn’t find a good way to mount a microphone and speakers so decided to exclude them.

      I got the frame built by a local carpenter and added a plug socket behind the unit, I wasn’t keen having a wire hanging down in case my kids yanked it! They’re still only small.

      I received three different samples for the two-way mirror:

      Pilkington MirroView 75/20 Generation Two (glass)
      Pilkington MirroView 50/50 Generation Two (glass)
      A generic acrylic two-way mirror

      As I’m using a 27" monitor I was told an acrylic sheet will have imperfections/distortion with reflections and I definitely found that when I compared the three samples. If I was creating a smaller mirror it would be an option. I spent a long time deliberating between the MirroView 75/20 and 50/50 glass. In the end I went for the 75/20 as it’s more reflective in my hallway (and just a little bit darker). I was keen to get a good reflection even when the monitor is in place as my wife used the previous mirror just before she leaves the house. I didn’t want any complaints from head office!

      Anyway…I hope you like it. Since returning to work I’ve found the MMM-TFL module really useful as it shows you which Underground lines have issues and the Google Fit step count is a good motivator to get up and going.

      Thanks again to everyone who contributes to the forums, I found it extremely useful and would be lost with out it.

      Cheers

      Mirror1.jpg

      Mirror3.jpg

      Mirror2.jpg

      posted in Show your Mirror
      D
      dubalda
    • RE: UK Lock-down mirror

      @cluelesscarter Sorry for the delayed response, things seem to be hectic at work as people are returning to the office! I’m going to keep hold of the samples as I might need a different glass depending on the size/lighting conditions of my next mirror.

      On a positive note I purchased them from https://www.mirrorsandglass.co.uk/ who will refund the same costs if you purchase your glass afterwards. That’s what I did and the customer service was excellent. I really wouldn’t bother with acrylic. Give mirror and glass a try, the refund policy for samples is really straight forward.

      I hope that helps.

      posted in Show your Mirror
      D
      dubalda

    Latest posts made by dubalda

    • RE: MMM-COVID19

      @sdetweil I think the issue was due to the api having to be paid for. In the end I changed to MMM-COVID19-SPARKLINE which working fine. Thanks for your help!

      posted in Health
      D
      dubalda
    • RE: MMM-COVID19

      Thanks…I’ll have a look.

      posted in Health
      D
      dubalda
    • RE: MMM-COVID19

      I’ve tried…

      curl -H “x-rapidapi-host: coronavirus-monitor-v2.p.rapidapi.com” -H “x-rapidapi-key: xxx” ‘https://coronavirus-monitor-v2.p.rapidapi.com/coronavirus/cases_by_country.php’

      And have copied the key (copy/paste) exactly from the website but get the message…

      “message”:“You are not subscribed to this API.”

      I think I’ll just get the Covid numbers from the news! Thanks for your help @sdetweil !

      posted in Health
      D
      dubalda
    • RE: MMM-COVID19

      Sorry to hear you’re in hospital! Hopefully it’s nothing to serious.

      I tried…

      https://coronavirus-monitor.p.rapidapi.com/coronavirus/united_states_cases.php&api_key=xxx

      and received.

      {“message”:“Invalid API key. Go to https://docs.rapidapi.com/docs/keys for more info.”}

      RapidAPI does see it’s free service. I’ve amened the entries in node_helper.js back to the their defaults but still no joy there. Very strange.

      posted in Health
      D
      dubalda
    • RE: MMM-COVID19

      Hi Sam,

      I just get "{“message”:“Invalid API key. Go to https://docs.rapidapi.com/docs/keys for more info.”}

      Sorry, perhaps I missing something here…are you refering this URL

      https://coronavirus-monitor-V2.p.rapidapi.com/coronavirus/cases_by_country.php

      Thx

      posted in Health
      D
      dubalda
    • RE: MMM-COVID19

      Hi guys,

      I’m not getting much luck getting this to work. I just get the header and no errors in the log.

      {
      module: “MMM-COVID19”,
      position: “top_left”,
      config: {
      updateInterval: 300000,
      worldStats: true,
      delta: true,
      lastUpdateInfo: true,
      countries: [ “Argentina”, “China”, “Italy”, “Spain” ],
      headerRowClass: “small”,
      rapidapiKey : “xxx”
      }
      },

      I’ve also amended the node_helper.js for the module to include the new rapidhost URLs

      var byCountryUrl = ‘https://coronavirus-monitor-V2.p.rapidapi.com/coronavirus/cases_by_country.php’

      getGlobalStats: function(key) {
      var self = this
      var options = {
      method: ‘GET’,
      url: worldStatsUrl,
      headers: {
      //‘x-rapidapi-host’: ‘coronavirus-monitor.p.rapidapi.com’,
      ‘x-rapidapi-host’: ‘coronavirus-monitor-v2.p.rapidapi.com’,
      ‘x-rapidapi-key’: key
      }
      }

      getStatsByCoutry: function(key) {
      var self = this
      var options = {
      method: ‘GET’,
      url: byCountryUrl,
      headers: {
      //‘x-rapidapi-host’: ‘coronavirus-monitor.p.rapidapi.com’,
      ‘x-rapidapi-host’: ‘coronavirus-monitor-v2.p.rapidapi.com’,
      ‘x-rapidapi-key’: key
      }
      }

      Any help would be great!

      Thanks

      posted in Health
      D
      dubalda
    • RE: MMM-PIR-Sensor and mirror not waking up.

      Hi @sdetweil ,

      I finally managed to use PM2 and here what I see in the error log when my mirror crashes.

      [1554:1214/202715.173231:FATAL:memory_linux.cc(42)] Out of memory.

      It’s strange as I never had this issue before and I haven’t been using any new modules. Any suggestions?

      posted in Development
      D
      dubalda
    • RE: MMM-PIR-Sensor and mirror not waking up.

      Thanks Sam, I currently don’t use PM2 to start my mirror. I manually run “npm start”.

      I was hoping there are some log files to see why it freezes.

      posted in Development
      D
      dubalda
    • MMM-PIR-Sensor and mirror not waking up.

      Re: MMM-PIR-Sensor Guide with Edits and Updates

      Hi all,

      Recently my mirror seems to lock in sleep mode even if I’m infront of my PIR sensor. This seems to happen randomly as the PIR sensor has been working fine. The only way to resolve it is to power off my raspberry pi and turn it back on.

      Has anyone else experienced this? And do you know where I can find log files to investigate the issue?

      Thanks

      Dav

      posted in Development
      D
      dubalda
    • RE: UK Lock-down mirror

      @cluelesscarter Sorry for the delayed response, things seem to be hectic at work as people are returning to the office! I’m going to keep hold of the samples as I might need a different glass depending on the size/lighting conditions of my next mirror.

      On a positive note I purchased them from https://www.mirrorsandglass.co.uk/ who will refund the same costs if you purchase your glass afterwards. That’s what I did and the customer service was excellent. I really wouldn’t bother with acrylic. Give mirror and glass a try, the refund policy for samples is really straight forward.

      I hope that helps.

      posted in Show your Mirror
      D
      dubalda