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

    pietervanharen

    @pietervanharen

    0
    Reputation
    226
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    pietervanharen Unfollow Follow

    Latest posts made by pietervanharen

    • DFRobot mmWave Human Presence Detection Sensor

      I’ve bought a couple DFRobot mmWave sensors and intend to use that to trigger the screen of my Magic Mirror.

      But the only wire schemas I can find are for the ESPHome or an Arduino, while I would like to wire it directly to the GPIO ports of my Raspberry Pi 4 that’s running Magic Mirror.

      I’ve looked at the MMM-Screen-Powersave-Notification that uses a HC-SR501 PIR sensor, but I couldn’t work out how to make that work with an mmWave sensor. The PIR sensor uses a single wire to trigger the screen, while the mmWave sensor also uses a serial connection.

      Anybody have any suggestions how to get started? Of course I can just use the PIR Sensor instead, but I like to use the mmWave sensor because I can hide it in the frame.

      posted in Hardware
      P
      pietervanharen
    • RE: Google Home Hub

      thx @emlowe for your feedback

      I must admit that I hesitated going forward with this project, but I realised I’m not in to make a perfect Google Home Hub replica. I want to find out how close I can get with the features I want.

      The carousel seems similar to what Google does when you ask something. I also looked into the MMM-Page-Selector module because it seems to be a good way to define the different screens. It also seems to be working together with the MMM-Voice-Commands module.

      For now I want to make two screens working, one screensaver screen with the Google Photo background, clock and temperature. And one with some information, just to have a proof of concept.

      posted in General Discussion
      P
      pietervanharen
    • RE: Google Home Hub

      I decided to setup the “screensaver” set of modules first:

      alt text

      I managed to get the MMM-GooglePhotos module running, but somehow the photo overlaps doesn’t use the whole screen.
      To solve this I set the margin in main.css to 0 and added a padding of 30 pixels:

      margin: 0;
      padding: 30px;
      

      I also adjusted the height and width calculation:

      height: calc(100% - 90px);
      width: calc(100% - 90px);
      

      After that I setup the Clock to only show the hours and minutes in the lower left corner.

      showDate: false,
      displaySeconds: false
      

      Below that I put the CurrentWeather Module, that will only show the rounded outside temperature.

      roundTemp: true,
      onlyTemp: true
      

      The weather icon is now shown in grey, maybe I will add an additional color per icon later on.

      0_1539545561398_screensaver.png

      posted in General Discussion
      P
      pietervanharen
    • Google Home Hub

      Following the recent introduction of the Google Home Hub I was wondering if something similar could be achieved via Magic Mirror. As I have a Raspberry Pi 3B and Raspberry Pi Touchscreen with enclosure lying around the real effort would be in setting up and configuration of Magic Mirror.

      So I started putting the hardware together and installing a fresh Rasbian STRETCH (with Desktop) OS on it. I hooked it up to my Wifi network and enabled ssh.

      After doing the usual raspi-config I added lcd_rotate=2 to the config.txt to rotate the screen (and touchpoints)

      Then I installed MagicMirror and made it autostart using pm2. So I now have a default MagicMirror running on a 7" touchscreen in a enclosure. So far so good…

      Next steps would be to:

      • Configuration of my own modules in Magic Mirror
      • Setup multiple “slides” with modules
      • Find a way to show a different screen (with Google Photos backgroud, date & time and outside temperature) as a MagicMirror screensaver
      • Use the OS screensaver to turn the screen off after x minutes/hours (or more something like the Toon dim function)
      • Abandon the project halfway to start another one
      • Theme the interface
      • Turn off the OS screensaver when movement is detected
      • Show data, scenes and switches from domoticz and Home Assistant
      • I could implement Google Assistant (I don’t really care for voice assistants)
      posted in General Discussion
      P
      pietervanharen