<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[27&quot; custom framed magic mirror -  fun to get done]]></title><description><![CDATA[<p dir="auto">First and foremost, thanks to Michael Teeuw for creating the MagicMirror and to the whole community that has continued to make this platform fun. I’ve scoured the forums and finally took the plunge to build my own.</p>
<p dir="auto">So here it is…<br />
<img src="/assets/uploads/files/1492003206386-mm-pic1.jpeg" alt="0_1492003194519_mm-pic1.JPG" class=" img-fluid img-markdown" /></p>
<p dir="auto">I was thinking of putting together a more detailed punch list/tutorial. If you guys are looking for one let me know.  I’ll at least add some more pics and answer any questions.</p>
<p dir="auto">The details:</p>
<p dir="auto"><strong>Hardware</strong></p>
<p dir="auto">Frame:<br />
Built the frame using 1x3 pine and decorative molding all found at my local Home Depot. With a little bit of stain, it came out pretty nice.</p>
<p dir="auto">CPU:<br />
Using a Raspberry Pi 3 MB with a 16gb MicroSD</p>
<p dir="auto">Monitor:<br />
Using a Dell 27" Widescreen LED LCD Monitor, SE2717HX. I got it for $99 through a deal I found on <a href="http://slickdeals.net" target="_blank" rel="noopener noreferrer nofollow ugc">slickdeals.net</a> via Office Depot.   Noticed it isn’t the best from the side angles (looks washed out), not bright) but good enough… Suggest anyone looking for a monitor to setup an alert via slickdeals…</p>
<p dir="auto">Mirror:<br />
I went with an acrylic see-through mirror. 12x24, 3mm thick. Picked it up from <a target="_blank" rel="noopener noreferrer nofollow ugc">amazon</a> for about $35. It’s ok, not as clean &amp; crisp (seems wavy) as a real mirror but good to start on a budget. I will replace it with a real mirror at some point.</p>
<p dir="auto"><strong>MagicMirror Setup</strong><br />
I originally had MM2 installed and setup on the Pi running raspbian, but I found once I loaded up multiple modules it started to bog down. I found that if I just used the browser (chromium) on the Pi and pointed to a hosted version (serveronly on another machine) it ran much better. I actually have MM2 running on a windows machine I use for other purposes (Home automation, etc…) You can use node.js for windows to run MM2- <a href="https://nodejs.org/en/download/" target="_blank" rel="noopener noreferrer nofollow ugc">https://nodejs.org/en/download/</a></p>
<p dir="auto">I then found FullPageOS distro that ran just enough OS (based on jessie lite) and just runs Chromium. This was perfect and found it ran faster than my original raspbian. Get it from here - <a href="https://github.com/guysoft/FullPageOS" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/guysoft/FullPageOS</a></p>
<p dir="auto">I played around with many modules, configs and css files to finally get the data and layout I was looking.</p>
<p dir="auto"><strong>Modules</strong><br />
Default:</p>
<ul>
<li>Cock</li>
<li>Newsfeed</li>
<li>Calendar</li>
</ul>
<p dir="auto">Additional:</p>
<ul>
<li>Calendar_monthly - shows month</li>
<li>MMM-MLB - Baseball scores. Go Yanks!!</li>
<li>MMM-Rest - Used to pull data from my home automation system (homeseer)</li>
<li>MMM-SimpleLogo - pulls updated radar image from wundergound</li>
<li>MMM-Traffic - When to leave to get to work</li>
<li>MMM-TweetsByTimelineOrList - Latest twitter posts</li>
<li>MMM-WunderGround - Current weather &amp; forecast</li>
<li>iFrame - Used to display web pages for real-time data from PRTG network monitor &amp; Netcam Studio tied into my Q-see house cams</li>
</ul>
<p dir="auto">So that’s my build. Hope you like it and let me know if you have any questions. It’s been a lot of fun building it…</p>
]]></description><link>https://forum.magicmirror.builders/topic/2293/27-custom-framed-magic-mirror-fun-to-get-done</link><generator>RSS for Node</generator><lastBuildDate>Thu, 21 May 2026 19:34:29 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/2293.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Apr 2017 13:31:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Sun, 28 Jan 2018 18:14:40 GMT]]></title><description><![CDATA[<p dir="auto">Since my original post, I’ve been tinkering a bit. I originally had the 2-way mirror on, but decided to remove it. Mainly because my wife said it looks like a medicine cabinet, which doesn’t belong in the kitchen. I took the mirror off and use it as a magic dashboard now. It has grown on her… :)</p>
<p dir="auto">Here is my current setup at the moment.</p>
<p dir="auto"><img src="/assets/uploads/files/1517163209269-mm-1-28-18-s.jpg" alt="0_1517163205032_mm-1-28-18-s.jpg" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1517162961513-mm-1-28-18-v2.gif" alt="0_1517162957716_mm-1-28-18-v2.gif" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/34818</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/34818</guid><dc:creator><![CDATA[iwaldrum]]></dc:creator><pubDate>Sun, 28 Jan 2018 18:14:40 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Sun, 28 Jan 2018 11:19:22 GMT]]></title><description><![CDATA[<p dir="auto">Dear <a class="plugin-mentions-user plugin-mentions-a" href="/user/iwaldrum" aria-label="Profile: iwaldrum">@<bdi>iwaldrum</bdi></a> ,<br />
this is such a cool set-up. Well done! :)</p>
]]></description><link>https://forum.magicmirror.builders/post/34784</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/34784</guid><dc:creator><![CDATA[PaulB]]></dc:creator><pubDate>Sun, 28 Jan 2018 11:19:22 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Sat, 17 Jun 2017 06:36:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iwaldrum" aria-label="Profile: iwaldrum">@<bdi>iwaldrum</bdi></a> so, I’ve installed xdotools, created script, but it doesn’t do anything… :-(</p>
]]></description><link>https://forum.magicmirror.builders/post/23964</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/23964</guid><dc:creator><![CDATA[zdenek]]></dc:creator><pubDate>Sat, 17 Jun 2017 06:36:20 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Sat, 10 Jun 2017 17:30:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/disakos" aria-label="Profile: disakos">@<bdi>disakos</bdi></a> I just posted a module for pulling an RTSP Stream from my Hikvision Cameras.  Check it out here:<br />
[card:shbatm/MMM-RTSPStream]</p>
]]></description><link>https://forum.magicmirror.builders/post/22574</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22574</guid><dc:creator><![CDATA[shbatm]]></dc:creator><pubDate>Sat, 10 Jun 2017 17:30:54 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Sat, 10 Jun 2017 11:45:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zdenek" aria-label="Profile: zdenek">@<bdi>zdenek</bdi></a> The script included doesn’t have an extension. If that doesn’t work for you try adding the extension of .sh</p>
]]></description><link>https://forum.magicmirror.builders/post/22569</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22569</guid><dc:creator><![CDATA[iwaldrum]]></dc:creator><pubDate>Sat, 10 Jun 2017 11:45:50 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Sat, 10 Jun 2017 04:45:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iwaldrum" aria-label="Profile: iwaldrum">@<bdi>iwaldrum</bdi></a> stupid question - what extension should have the file “refresh”?</p>
]]></description><link>https://forum.magicmirror.builders/post/22562</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22562</guid><dc:creator><![CDATA[zdenek]]></dc:creator><pubDate>Sat, 10 Jun 2017 04:45:06 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Thu, 08 Jun 2017 09:53:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zdenek" aria-label="Profile: zdenek">@<bdi>zdenek</bdi></a></p>
<p dir="auto">This is the refresh script included with FullpageOS. Not sure if you need anything else to be able to run it.</p>
<pre><code>#!/bin/bash
export DISPLAY=:0
WID=$(xdotool search --onlyvisible --class chromium|head -1)
xdotool windowactivate ${WID}
xdotool key ctrl+F5

xdotool key F11

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/22484</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22484</guid><dc:creator><![CDATA[iwaldrum]]></dc:creator><pubDate>Thu, 08 Jun 2017 09:53:45 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 07 Jun 2017 17:33:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iwaldrum" aria-label="Profile: iwaldrum">@<bdi>iwaldrum</bdi></a> can u pls share refres script? Maybe I can use it with Jessie</p>
<p dir="auto">thanks, Zdenek</p>
]]></description><link>https://forum.magicmirror.builders/post/22456</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22456</guid><dc:creator><![CDATA[zdenek]]></dc:creator><pubDate>Wed, 07 Jun 2017 17:33:42 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 31 May 2017 23:25:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jayh391" aria-label="Profile: Jayh391">@<bdi>Jayh391</bdi></a></p>
<p dir="auto">Worked GREAT!</p>
]]></description><link>https://forum.magicmirror.builders/post/22243</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22243</guid><dc:creator><![CDATA[Jayh391]]></dc:creator><pubDate>Wed, 31 May 2017 23:25:31 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Tue, 06 Jun 2017 07:36:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iwaldrum" aria-label="Profile: iwaldrum">@<bdi>iwaldrum</bdi></a> great, thanks. I’ll try. Any idea, how to refresh on “basic” Jess OS? Via cron? How?</p>
<p dir="auto">unfortunately,  on <a href="https://www.wunderground.com/weather-radar" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.wunderground.com/weather-radar</a> is just for US and so on, but Europe is not here. Please, any idea, how to add this<br />
<a href="http://portal.chmi.cz/files/portal/docs/meteo/rad/data_jsradview.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://portal.chmi.cz/files/portal/docs/meteo/rad/data_jsradview.html</a><br />
or better this<br />
<a href="http://portal.chmi.cz/files/portal/docs/meteo/rad/inca-cz/short.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://portal.chmi.cz/files/portal/docs/meteo/rad/inca-cz/short.html</a></p>
<p dir="auto">in the worst scenario<br />
<a href="http://portal.chmi.cz/files/portal/docs/meteo/rad/mobile/ra6_30min.gif" target="_blank" rel="noopener noreferrer nofollow ugc">http://portal.chmi.cz/files/portal/docs/meteo/rad/mobile/ra6_30min.gif</a></p>
<p dir="auto">thanks, Zdeněk</p>
]]></description><link>https://forum.magicmirror.builders/post/22228</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22228</guid><dc:creator><![CDATA[zdenek]]></dc:creator><pubDate>Tue, 06 Jun 2017 07:36:20 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 31 May 2017 12:34:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iwaldrum" aria-label="Profile: iwaldrum">@<bdi>iwaldrum</bdi></a></p>
<p dir="auto">Thanks !   I will give it a try!</p>
]]></description><link>https://forum.magicmirror.builders/post/22222</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22222</guid><dc:creator><![CDATA[Jayh391]]></dc:creator><pubDate>Wed, 31 May 2017 12:34:48 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 31 May 2017 12:27:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iwaldrum" aria-label="Profile: iwaldrum">@<bdi>iwaldrum</bdi></a> said in <a href="/post/22220">27" custom framed magic mirror - fun to get done</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cmille34" aria-label="Profile: cmille34">@<bdi>cmille34</bdi></a></p>
<p dir="auto">I’d love to hear how you have your motion sensor setup with fullpageOS. On my todo list…</p>
</blockquote>
<p dir="auto">This is far from perfect but it appears to work for me. Generally the screen is dim when I look at the mirror from afar or an angle but if I walk near it, it comes to life.  I’m using the cheapie ol’ HC-SR501 motion sensor for this. I think I got a 5 pack for like 5 bucks on eBay.  I actually have my sensor dangling at the bottom of my mirror, essentially aiming at the floor.  These things are pretty darn sensitive it seems.</p>
<p dir="auto">I essentially have the sensor hooked up to the Pi and and have converted the following Python script to a service that runs at startup.  The monitor still has power but the HDMI signal is essentially disabled when motion isn’t detected with the tvservice command (whatever it is! ha).</p>
<p dir="auto">/home/pi/motiondetector.py</p>
<pre><code>import os
import subprocess
import time
from gpiozero import MotionSensor

pir = MotionSensor(4)
while True:
        pir.wait_for_motion()
        print("Motion!")
        subprocess.call(["/bin/sh","/home/pi/scripts/refresh"])
        os.system("tvservice -p; fbset -depth 8; fbset -depth 16")
        pir.wait_for_no_motion()
        print("No motion...")
        os.system("tvservice -o")
</code></pre>
<p dir="auto">The sources I used to cobble this together:</p>
<p dir="auto">Install gpiozero<br />
<a href="https://gpiozero.readthedocs.io/en/stable/" target="_blank" rel="noopener noreferrer nofollow ugc">https://gpiozero.readthedocs.io/en/stable/</a></p>
<p dir="auto">I think I had some issue getting the gpiozero module to load, but this thread looks familiar. I think the issue is I started with Jessie Lite.<br />
<a href="https://www.raspberrypi.org/forums/viewtopic.php?f=63&amp;t=126320" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/forums/viewtopic.php?f=63&amp;t=126320</a></p>
<p dir="auto">Script as service<br />
<a href="http://www.diegoacuna.me/how-to-run-a-script-as-a-service-in-raspberry-pi-raspbian-jessie/" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.diegoacuna.me/how-to-run-a-script-as-a-service-in-raspberry-pi-raspbian-jessie/</a></p>
<p dir="auto">Sensitivity Adjustment  (this takes some tinkering for sure)<br />
<a href="http://henrysbench.capnfatz.com/henrys-bench/arduino-sensors-and-input/arduino-hc-sr501-motion-sensor-tutorial/" target="_blank" rel="noopener noreferrer nofollow ugc">http://henrysbench.capnfatz.com/henrys-bench/arduino-sensors-and-input/arduino-hc-sr501-motion-sensor-tutorial/</a></p>
<p dir="auto">You could probably gather all this with a few minutes of googling but I figured I’d share what I’ve cobbled together so far.  A short range IR type sensor may be better if you only want the screen to activate when you get right in front of it, if you just want some mostly automated way of turning the screen off, this should work though.</p>
]]></description><link>https://forum.magicmirror.builders/post/22221</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22221</guid><dc:creator><![CDATA[cmille34]]></dc:creator><pubDate>Wed, 31 May 2017 12:27:13 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 31 May 2017 11:44:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cmille34" aria-label="Profile: cmille34">@<bdi>cmille34</bdi></a></p>
<p dir="auto">I’d love to hear how you have your motion sensor setup with fullpageOS. On my todo list…</p>
]]></description><link>https://forum.magicmirror.builders/post/22220</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22220</guid><dc:creator><![CDATA[iwaldrum]]></dc:creator><pubDate>Wed, 31 May 2017 11:44:52 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 31 May 2017 11:18:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iwaldrum" aria-label="Profile: iwaldrum">@<bdi>iwaldrum</bdi></a> said in <a href="/post/22218">27" custom framed magic mirror - fun to get done</a>:</p>
<blockquote>
<pre><code>sudo nano /etc/crontab

Add:
0  0    * * *   root    reboot
*/30 *   * * *   pi     /home/pi/scripts/refresh
</code></pre>
</blockquote>
<p dir="auto">Brilliant! I forgot I was calling that script when I woke the screen with the motion sensor<br />
already.  Hopefully adding it to cron every 30 minutes like you’ve shown will help get the calendar to update more regularly. Thanks for the quick help!</p>
]]></description><link>https://forum.magicmirror.builders/post/22219</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22219</guid><dc:creator><![CDATA[cmille34]]></dc:creator><pubDate>Wed, 31 May 2017 11:18:29 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 31 May 2017 10:58:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cmille34" aria-label="Profile: cmille34">@<bdi>cmille34</bdi></a></p>
<p dir="auto">There is a refresh script included with fullpageOS. it’s located at /home/pi/scripts/refresh. I added it to the crontab to run every 30min. I also added a line to crontab to reboot at midnight. This helps keep the system fresh and free up any processes or used memory on the Pi.</p>
<p dir="auto">Here is my config<br />
<img src="/assets/uploads/files/1496228247238-fullpageos-reboot-refresh.jpeg" alt="0_1496228243752_fullpageos-reboot-refresh.jpg" class=" img-fluid img-markdown" /></p>
<pre><code>sudo nano /etc/crontab

Add:
0  0    * * *   root    reboot
*/30 *   * * *   pi     /home/pi/scripts/refresh
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/22218</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22218</guid><dc:creator><![CDATA[iwaldrum]]></dc:creator><pubDate>Wed, 31 May 2017 10:58:56 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 31 May 2017 10:28:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iwaldrum" aria-label="Profile: iwaldrum">@<bdi>iwaldrum</bdi></a> said in [27" custom framed magic mirror - fun to get done] Since I’m using FullpageOS as my mm frontend I have the page refresh every 30 minutes which then pulls an updated image.</p>
<p dir="auto">How is you have the page reload every 30 mins in fullpageOS?  My calendar app doesn’t appear to be updating, I’m hoping a page reload every 30 mins will fix that.</p>
]]></description><link>https://forum.magicmirror.builders/post/22217</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22217</guid><dc:creator><![CDATA[cmille34]]></dc:creator><pubDate>Wed, 31 May 2017 10:28:18 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 31 May 2017 09:58:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zdenek" aria-label="Profile: zdenek">@<bdi>zdenek</bdi></a></p>
<p dir="auto">I used <a href="http://wunderground.com" target="_blank" rel="noopener noreferrer nofollow ugc">wunderground.com</a> to create the animated radar image and MMM-SimpleLogo to display it.</p>
<p dir="auto">Create your custom image at <a href="https://www.wunderground.com/weather-radar" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.wunderground.com/weather-radar</a> - looks like US, Canda &amp; Australia only.  Once created, copy the URL and place it in the MMM-SimpleLogo module.</p>
<p dir="auto">Wunderground updates the radar image every 10-20 minutes. Since I’m using FullpageOS as my mm frontend I have the page refresh every 30 minutes which then pulls an updated image.</p>
<pre><code>    {
        module: 'MMM-SimpleLogo',
        position: 'top_right',    // This can be any of the regions.
        config: {
		fileUrl: "https://radblast.wunderground.com/cgi-bin/radar/WUNIDS_map?station=DIX&amp;brand=wui&amp;num=1&amp;delay=15&amp;type=N0R&amp;frame=0&amp;scale=1.000&amp;noclutter=0&amp;showstorms=0&amp;mapx=400&amp;mapy=240¢erx=400¢ery=240&amp;transx=0&amp;transy=0&amp;showlabels=1&amp;severe=0&amp;rainsnow=0&amp;lightning=0&amp;smooth=0&amp;rand=24937062&amp;lat=40.75000000&amp;lon=-74.00000000&amp;label=New+York%2C+NY",
		width: "400px",
		position: "center",
       }
    },
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/22215</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22215</guid><dc:creator><![CDATA[iwaldrum]]></dc:creator><pubDate>Wed, 31 May 2017 09:58:22 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 31 May 2017 09:29:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jayh391" aria-label="Profile: Jayh391">@<bdi>Jayh391</bdi></a></p>
<p dir="auto">I used the MMM-Rest module to pull the device data via the rest api in Homeseer. Here is the section in my config file. Still work in progress…</p>
<pre><code>		module: 'MMM-Rest',
		header: 'House Status',
		position: 'top_right',	// This can be any of the regions.
									// Best results in one of the side regions like: top_left
        config: {
                debug: false,
                mappings: {
                    on_off: {
                        true: 'on',
                        false: 'off',
                    },
                    temperature: {
                        1: 'cold',
                        2: 'warm',
                        3: 'HOT',
                    },
                },
                sections: [
                {
                    format: '%d',
                    url: 'http://yourURLhere:port/HomeSeer_REST_API.aspx?function=getdevicestatusvaluebyid¶m1=108¶m2=value',
                },
                {
                    format: '%df',
                    url: 'http://yourURLhere:port/HomeSeer_REST_API.aspx?function=getdevicestatusvaluebyid¶m1=103¶m2=value',
                },
                {
                    format: '%d',
                    url: 'http://yourURLhere:port/HomeSeer_REST_API.aspx?function=getdevicestatusvaluebyid¶m1=128¶m2=value',
                },
                {
                    format: '%df',
                    url: 'http://yourURLhere:port/HomeSeer_REST_API.aspx?function=getdevicestatusvaluebyid¶m1=187¶m2=value',
                },
                {
                    format: '%d',
                    url: 'http://yourURLhere:port/HomeSeer_REST_API.aspx?function=getdevicestatusvaluebyid¶m1=118¶m2=value',
                },
                {
                    format: '%df',
                    url: 'http://http://yourURLhere:port/HomeSeer_REST_API.aspx?function=getdevicestatusvaluebyid¶m1=113¶m2=value',
                },
                {
                    format: '%df',
                    url: 'http://yourURLhere:port/HomeSeer_REST_API.aspx?function=getdevicestatusvaluebyid¶m1=92¶m2=value',
                },
                {
                    format: '%s',
                    mapping: 'temperature',
		    url: 'http://yourURLhere:port/HomeSeer_REST_API.aspx?function=getdevicestatusvaluebyid¶m1=137¶m2=value',
                },
                {
                    format: '%d',
                    url: 'http://yourURLhere:port/HomeSeer_REST_API.aspx?function=getdevicestatusvaluebyid¶m1=108¶m2=value',
                },
                {
                    format: 'Lights %s',
                    mapping: 'on_off',
                    url: 'http://yourURLhere:port/HomeSeer_REST_API.aspx?function=getdevicestatusvaluebyid¶m1=108¶m2=value',
                },
            ],
            output: [
                ['&lt;b&gt;Location:&lt;/b&gt;',,'&lt;b&gt;Temp:&lt;/b&gt;'],
                ['Family Room',,'@2'],
                ['Living Room','@6'],
                ['Upstairs','@4'],
                ['Garage','@7'],
            ],
	    },
	},
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/22214</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22214</guid><dc:creator><![CDATA[iwaldrum]]></dc:creator><pubDate>Wed, 31 May 2017 09:29:01 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 31 May 2017 09:19:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pepemujica" aria-label="Profile: pepemujica">@<bdi>pepemujica</bdi></a></p>
<p dir="auto">Here are some additional pics…  The back isn’t the prettiest, but it does the job. Used painters tape, L brackets and velcro to keep everything in place.<br />
<img src="/assets/uploads/files/1496222346605-img_1961.jpeg" alt="0_1496222337049_IMG_1961.JPG" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1496222351879-img_2065.jpeg" alt="0_1496222343783_IMG_2065.JPG" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1496222356784-img_2788.jpeg" alt="0_1496222351990_IMG_2788.JPG" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1496222363671-img_2866.jpeg" alt="0_1496222360052_IMG_2866.JPG" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1496222367637-img_2867.jpeg" alt="0_1496222364276_IMG_2867.JPG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/22213</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22213</guid><dc:creator><![CDATA[iwaldrum]]></dc:creator><pubDate>Wed, 31 May 2017 09:19:49 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 31 May 2017 04:53:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iwaldrum" aria-label="Profile: iwaldrum">@<bdi>iwaldrum</bdi></a> MMM-SimpleLogo - pulls updated radar image from wundergound - can u plz share details? What´s exactly in the config?</p>
<p dir="auto">thanks, Zdeněk</p>
]]></description><link>https://forum.magicmirror.builders/post/22210</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22210</guid><dc:creator><![CDATA[zdenek]]></dc:creator><pubDate>Wed, 31 May 2017 04:53:45 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Tue, 30 May 2017 19:00:53 GMT]]></title><description><![CDATA[<p dir="auto">I would like to know how you brought your Homeseer info in?</p>
<p dir="auto">Jay</p>
]]></description><link>https://forum.magicmirror.builders/post/22192</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22192</guid><dc:creator><![CDATA[Jayh391]]></dc:creator><pubDate>Tue, 30 May 2017 19:00:53 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Fri, 26 May 2017 08:08:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cmille34" aria-label="Profile: cmille34">@<bdi>cmille34</bdi></a> Hey, thanks for your answer. I appreciate that. My NVR only provides still JPEGs or RTSP for pictures. If I use JPEGs I have to reload them in a 200ms interval to achieve acceptable motion.</p>
<p dir="auto">At this point, I have tried the following:</p>
<ol>
<li>uses MMM-iFrame</li>
</ol>
<ul>
<li>do the reload via embedded HTML meta-tag</li>
<li>strong flickers (approx. half of the time blank)</li>
<li>works, but not visually accaptable</li>
<li>does not scale due to the flickering</li>
</ul>
<ol start="2">
<li>use MMM-iFrame</li>
</ol>
<ul>
<li>do the reload via embedded Java-Script function</li>
<li>almost no flicker, almost fluid motion</li>
<li>works for 30-60 minutes, then the module stops</li>
<li>does not scale since it stops earlier with more modules</li>
</ul>
<ol start="3">
<li>use oxmplayer as an overlay</li>
</ol>
<ul>
<li>needs '–avdict rtsp_transport:tcp ’ switches to work without banding</li>
<li>rtsp with 640x360 works with 30fps</li>
<li>tested to concurrent streams</li>
</ul>
<p dir="auto">I am happy with the omxplayer solution even though it is not integrated in the MagicMirror. But for the user it looks integrated and it delivery a very good video quality.</p>
<p dir="auto">Cheers<br />
wolf</p>
]]></description><link>https://forum.magicmirror.builders/post/22023</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22023</guid><dc:creator><![CDATA[wbleek]]></dc:creator><pubDate>Fri, 26 May 2017 08:08:41 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 24 May 2017 11:45:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi! Looks awesome! Congrats!<br />
Do you have any photo from the sides and/or back?</p>
]]></description><link>https://forum.magicmirror.builders/post/21972</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21972</guid><dc:creator><![CDATA[pepemujica]]></dc:creator><pubDate>Wed, 24 May 2017 11:45:52 GMT</pubDate></item><item><title><![CDATA[Reply to 27&quot; custom framed magic mirror -  fun to get done on Wed, 24 May 2017 11:42:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wbleek" aria-label="Profile: wbleek">@<bdi>wbleek</bdi></a> I achieved the cameras on my mirror pretty easily with Blue Iris. I simply made a custom .HTM file and placed it in the /modules directory of the MagicMirror then using iFrameReload i just call the /modules/custom.htm URL to load the cameras.  Below is my custom.htm file I am calling in the iFrameReload module:</p>
<pre><code>
&lt;table&gt;
&lt;tr&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;td&gt;
&lt;img src="http://192.168.1.108:81/mjpg/BackyardCam/video.mjpg?q=25&amp;amp;s=25" alt="BackyardCam" /&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;img src="http://192.168.1.108:81/mjpg/FrontDoor/video.mjpg?q=40&amp;amp;s=40" alt="DrivewayCam" /&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;img src="http://192.168.1.108:81/mjpg/DriveWayCam/video.mjpg?q=25&amp;amp;s=25" alt="FrontdoorCam" /&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;

</code></pre>
<p dir="auto">In lieu of having blue iris you could possibly simply pull the mjpg streams straight from each cameras individually and slap them in the img tag. That may be a better way actually but it seems to be working fine for me through Blue Iris this way.</p>
<p dir="auto">Below is the code from my config.js showing how I am calling this custom HTM file:</p>
<pre><code>{
	module: 'MMM-iFrameReload',
	position: 'bottom_bar', // This can be any of the regions.
		config: {
		// See 'Configuration options' for more information.
		url: "http://192.168.1.108:9000/modules/custom.htm",
		width: "100%", // Optional. Default: 400px
		height: "850px", // Optional. Default: 800px
		scrolling:"no",
		refreshInterval: 600, //Optional. Default: 3600 = 1 hour
		animationSpeed: 4000,
		}
	},
</code></pre>
<p dir="auto">My setup is similar to the OP in terms of running the MagicMirror server on a central server and simply running fullpageos on the raspberry pi to call the magicmirror page.</p>
<p dir="auto">Hope this helps.</p>
]]></description><link>https://forum.magicmirror.builders/post/21971</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21971</guid><dc:creator><![CDATA[cmille34]]></dc:creator><pubDate>Wed, 24 May 2017 11:42:13 GMT</pubDate></item></channel></rss>