HomeGenie Forum
Automation Program Plugins and Wizard Scripting => Help => Topic started by: duch on April 08, 2014, 05:36:39 PM
-
Hello,
I would like to hear a brief beep (about 1 second) from the motherboard buzzer when the door is opened (door/Window sensor)
How to write the code to run ?
I suppose it's something like that Beep (XX,XX)
but i am not familiar with C# ???
Could you help me ?
Thank you
-
try
Console.Beep();
g.
-
:)
Merci !
-
Hello again,
For my young pupils, I would like to discover home automation without the need of writing code. They are 12 years old and not familiar with homegenie and they will be ... 30 in the classroom ...
So, I have bought door/window sensors and I would like them to create a program using the Wizard Script option. My goal is : When the door is open, the motherboard buzzer is running (about 1 sec.)
For the condition, I want them to use the capture button (for example ZWave xx property DoorWindows Equals 255)
For the command I want them to choose a program target in the automation program list.
But how to create the program target without a trigger code ? Or what I have to write in the trigger code ? I've tried Return False, Return True but it doesn't work ... :(
For the code to run, I wrote what Gene told me Console.Beep();
, and it works fine ... Maybe, need I something more to write there ?
Could you help me again ?
Thank you