Coder Social home page Coder Social logo

mirror's Introduction

Mirror

Magic mirror application. UWP app, written with C# .NET. For presentation @ MKE DOT NET 2016.

Configuration

If you fork this repository, you will need to configure the application in order for it to function as you would expect. The Settings.cs class and corresponding Configuration.resw file contain the various configuration that the application relies on to execute.

  • AzureEmotionApiKey visit Microsoft Cognitive Services, Emotion API to get register for free and get your own subscription key.
  • OpenWeatherApiKey visit Open Weather API to sign up for free and get your subscription key.
  • WeatherUom desired UOM, imperial or metric.
  • City the city in which to query weather for, i.e.; for me this is Pewaukee since that is where I live.
  • Calendars this is a complex object that is stored as JSON and serialized / deserialized as a List<CalendarConfig> (where credentials are optional). The only requirement is that the URL is an accessible endpoint that returns valid iCal (*.ics) formatting -- http://icalendar.org/.

Note

To ensure your settings and API keys remain safe and secure, execute the following command to remove the local changes you make to the configuration from git ever watching eye.

git update-index --assume-unchanged [file path]Mirror/Configuration.resw

Details

I took the time to blog about the entire process, enjoy!

mirror's People

Contributors

ievangelist avatar imgbot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mirror's Issues

How can I add GoogleCalender?

Hey,
How do I add google calendar?
I have a link to the calendar and enter this into the configuration.resw in raw form, but this does not work. Then I entered this here:

{
   "Url": "Https://calendar.google.com/calendar/ical/blub/bla/basic.ics ",
   "Username": "",
   "Password": "",
   "IsUsingCredentials": false
}

But that did not work also.

Sorry, am a noob

TryParseExtensions

Me again..

I am not able to build the whole solution.
I get one more error in TryParseExtension:

 public static T TryParse<T>(this string value, ParseDelegate<T> parse)
            where T : struct => parse(value as string, out var result) ? result : default(T);

i cannot init the "var"-result in the lambda expression.
See screenshot below:

error

Can someone pls explain me this error. I dont know how to solve it. As Workaround a have comment out this method and the call from the Emotion Enum. But then i cannot use "How do i look" because the Mirror is using this Method for the response to my question.

I am using VS2015 up-to-date

Thx,BR,
Dark!

Calendars

Hey!

I have downloaded your project. first of all very good job man!
But i am not able to add my google calendar to the mirror.

Can u help`

Thx BR,
Dark!

Build error dll could not be found

Hello,

I'm trying to run this project and I'm getting:

'C:\Users~\Mirror-master\Mirror.Speech\bin\x64\Debug\Mirror.Speech.dll' could not be found

'C:\Users~\Mirror-master\Mirror.Extensions\bin\x64\Debug\Mirror.Extensions.dll' could not be found

And the same for Mirror.Core.dll.

Do I just need to delete the objs/bin and try again?

The speech privacy policy was not accepted

Hey IEvangelist sorry for my question again but i can't find anything on google..

I am so fascinated by your project that I decided to build my own SmartMirror with voice recognition.

Components:
microsoft hd-lifecam 3000
Raspberry Pi3
22" HDMI monitor

I have connected all togther set the microphone & webcam capabilities but after deployment to raspberry pi i get this error:

"System.Runtime.InteropServices.COMException" in HiGHTECHNiX.SmartMirror.UI.exe
WinRT-Informationen: The speech privacy policy was not accepted prior to attempting a speech recognition.

on my dev machine everything worked fine.
Can u pls help me?

BR,
Dark!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.