Velux controler, by Yoctopuce 


This programm is an email controled Windows service 
meant to control a Velux Roof window through a Yocto-Relay 
and  a KLF100 interface. More information on
http://www.yoctopuce.com/EN/article/email-controled-home


To make it work:

1- Create a email avount somewhere (or use you own)
2- Edit WindowsService.cs and set your email credentials
   (MailServer,MailUser,MailPassword variables)
3- Compile the project the Visual C# 2010 or above
4- Install the service: just launch the executable in
   command line with (/INSTALL parameter)
5- Send an email to the account you  created at step 1.
   subject must contain the command ("open" or "close")
   and the body must contain "plz").

The programm is expecting to find two online YRelay
functions, one called "openwindow" and another one called
"closeWindow".

Any error will be reported in the Windows Application Log
(my computer/manage/Eventview/Application).

Have fun!
   
   


