Read the statement by Michael Teeuw here.
27" custom framed magic mirror - fun to get done
-
I’m using a program called Netcam Studio on the same pc that I’m running MM in serveronly mode. Netcam Studio allows you to connect to multiple types of cameras, either local or IP based. I’m using it to connect my q-see surveillance system using RSTP connections, as well as several Foscam and PC connected cams.
Once the cameras are connected to netcamstudio, you can then generate a secure token based url for each one. I then took each url and placed them into a single html file and put it on a webserver (same pc). Using the iFrame module I pointed to the html file to display it on my MM. You’ll need to play with the positioning and sizing of the iframe, as well as the webpage layout and image sizes in the html.
I typically get 5-10 fps for each camera. Depending on the # of cameras you will be displaying and the type of system your running MM on will drive the performance of the playback.
I know the setup is a little complex, but I felt it was the best way to get a flexible, integrated look that performed the best.
Let me know if you have any questions.
-
@iwaldrum
Thanks a lot for answer. I have some hikvision cameras and i’m able to reach RSTP stream of each one. Do you think that i’m able to put RSTP stream into iFrame directly ? -
@disakos
The challenge is you’ll need some sort of media plugin to view the rstp stream. It will need to run at the end point - MM. Something like vlc or quicktime which I’m not sure can be done. You may be able to use something like https://ipcamlive.com to pull your rstp stream through their service. -
Excellent, great job! Can you share your css file, I like the days a different color in the forecast.
-
Here is the section in my custom.css file for the MMM-WunderGround module.
/* MMM-Weatherunderground */ } .region.top.right .MMM-WunderGround table th { display: none; /* removes icons above max-temp, min-temp and % chance of rain */ } .MMM-WunderGround .max-temp { color: #f66; } .MMM-WunderGround .min-temp { color: #0ff; } .MMM-WunderGround .weather-icon { color: #f93; } .MMM-WunderGround .day { color: #6f6; } .region.top.center .MMM-WunderGround table.small, /* selector for ONLY current weather Thanks to Strawberry-3.141 */ .region.top.right .MMM-WunderGround table:not(.small), /* selector for ONLY weather forecast */ .region.top.right .MMM-WunderGround table.small td:nth-child(6) { display: none; /* this line and line above selector for NO rain amount column */ }
-
I’d be interested in how you hooked your security cameras to it…
-
This is how I integrated my security cameras. If you have any questions or want more details let me know.
@iwaldrum said in 27" custom framed magic mirror - fun to get done:
I’m using a program called Netcam Studio on the same pc that I’m running MM in serveronly mode. Netcam Studio allows you to connect to multiple types of cameras, either local or IP based. I’m using it to connect my q-see surveillance system using RSTP connections, as well as several Foscam and PC connected cams.
Once the cameras are connected to netcamstudio, you can then generate a secure token based url for each one. I then took each url and placed them into a single html file and put it on a webserver (same pc). Using the iFrame module I pointed to the html file to display it on my MM. You’ll need to play with the positioning and sizing of the iframe, as well as the webpage layout and image sizes in the html.
I typically get 5-10 fps for each camera. Depending on the # of cameras you will be displaying and the type of system your running MM on will drive the performance of the playback.
I know the setup is a little complex, but I felt it was the best way to get a flexible, integrated look that performed the best.
Let me know if you have any questions.
-
I cant find the little weather icons. Temp hi and lo and the umbrella.
-
@cohron nevermind im a dummy, copied the custom.css without really reading it:
.region.top.right .MMM-WunderGround table th {
display: none; /* removes icons above max-temp, min-temp and % chance of rain */
} -
This mirror looks great! It’s been the inspiration to take a stab at making one as well. I like the idea of running MM on an existing windows server I have in the house and just rely on the Pi3 to load the webpage.
With your mirror do you turn off the screen when no motion is detected or does it display everything constantly? If you do turn off the screen, how are you triggering it on and off? I see there are PIR modules for MM but since you’ve made the decision to simply view the MM page remotely, I was wondering if you had some way to turn off the screen?
Thanks for taking the time to detail this out!