AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Magic mirror configuration11/9/2023 ![]() The magic mirror makes use of the Emotion API, and corresponding EmotionServiceClient from the SimplyĪnd use your subscription key as the argument to the client. I have built out the ability to talk to my magic mirror, I can ask it things like “what’s the weather”, “what’s my schedule for Wednesday”, or even tell it commands like “turnįormally known as “Project Oxford”, Microsoft Cognitive Services offers a ton of programming power and you can start using it today for free. The Universal Windows Platform provides two very useful classes, the Ideally, I will use a web-based service like Spotify or Pandora. For the meantime, I simply placed several songs in the Assets directory as content and I can play these resources. I was able to pair but not stream songs from my iPod for example, which was really frustrating. I spent a few long nights trying to figure out how to use the built-in Bluetooth on the Pi 3, while UWP does have some support it is limited. The current implementation of the music player is limited. That is the idea behind the music player component. Imagine you have the magic mirror mounted in your bathroom, or bedroom…it would be nice to say, “play a song”, or “play Deftones” for example and music starts playing. The events are truncated to fit on the page and ordered by the date of the event. The only requirement is that the URL is an accessible endpoint that returns valid iCal (*.ics) formatting – you would need to setup your desired endpoints. This is entirely configurable, so if you were to fork my repo ![]() My magic mirror is configured to display an aggregation of two calendars. I opted to omit whether or not we’re in ante or post meridiem as it is assumed the user would know if it’s morning or in the afternoon. It updates every second, formatting to the hour, minute, and second – additionally displaying the name of the day followed by the month and day number. Additionally, the unit-of-measure is configurable, where you can specify imperial or metric as valid settings. The developer API key and zip code are configurable. The current weather and forecast are retrieved every fifteen minutes from the free These implementations are indicators that each component is capable of handling voice commands, and providing a message that is consumableīy the UWP speech-synthesizer. ![]() Let’s have a look at the various components that our application is built on.įrom the layout above, it is clear to visualize the key components of the application. The magic mirror application strives to provide data that is all of the following:īelow is the user-interface layout. But without context, said data is meaningless. Software is simply the movement and manipulation of data. Using the built-in WIFI on the Pi 3 weĬan leverage the power of the internet to gather and share information. ![]() For this specific application, it is essential. When people throw around the acronym IoT it can mean a lot of different things. One of my favorite parts about developing the magic mirror was the fact that I could do so from the comfort of Visual Studio using the worlds most powerful programming Glenlivet 12 Year Old Scotch Whisky (not technically hardware)Ĭonsidering the total investment is still under $500 bucks, that’s not too bad! OS – Platform I was excited when Microsoft started selling the Raspberry Pi 3, Model B - I ordered one immediately.īelow is a semi-comprehensive listing of all the materials and their corresponding cost that I used for building my magic mirror. If you want to skip out from reading this post, you can checkout my project up on GitHub IEvangelist.Mirror I was thinking to myself, “I wonder if I could improve upon this”, and that was my motivation! Open Source I thought “wow” this really is a smart mirror, much to my surprise these were all just static messages (or only dynamic when accounting for the time of day). I noticed that a lot of the magic mirrors had greeting messages such as “you look handsome” or “good morning sexy” and other curiously intuitive sayings. The application is running on a small computer, in most cases a Raspberry Pi. A magic mirror is simply a two-way mirror with a monitor positioned behind it that projects through the mirror. Yup, it is official - I want a mirror like this one! - David Pine ) □□ February 4, 2016īefore continuing on, allow me to explain what a magic mirror is. Earlier this year, I stumbled upon a tweet about someone how created a magic mirror…this is the root of my inspiration. They would probably we right, and I’m okay with that. I was inspired by those who are true Innovators…some might say, “I’m standing on the shoulders of giants”. I am certainly not the first one to create a magic mirror, and I will not be the last either.
0 Comments
Read More
Leave a Reply. |