HomeGenie Forum
General Category => General Discussion => Topic started by: dad57 on January 19, 2017, 11:40:26 AM
-
Hi,
In order to open my somfy garage door I've bought a FGS 212 module.
My question is how to configure HG to consider my FGS like a push button.
Many thx
-
are you using it to be in parallel with the wall button?
if so I'm doing something similar except with a small mechanical relay i got off amazon. I have a switch that controls an output pin on my PI. Using the wizard scripting, when I flip the switch to "1" (on) HG pauses 2 seconds and then flips it back to "0" (off). You should be able to do something similar with your relay.
-
Hi,
In order to open my somfy garage door I've bought a FGS 212 module.
My question is how to configure HG to consider my FGS like a push button.
Many thx
Hi!
If you use only from Phone or Web, I suggest, use smart light. The simple way to set the turn off time to 1 sec. So It works like a push button. ;)
-
I'm too dumb ? i didn't find switch ? ok it's french but ...
-
I don't know french, but if the alternatives is in the same order in all languages it should be "prise de courant". At that position I have Switch in english version.
-
It seems not to be the case on french :'(
-
"FGS212" => You can choose "lumière", no ?
-
Hi Nolio,
I've chosen lumiere with switch off delay 1 sec but it doesnt stop after 1 sec weird
-
Hi,
You have probably the same problem to control multiinstance like this :
http://www.homegenie.it/forum/index.php?topic=1981.0 (http://www.homegenie.it/forum/index.php?topic=1981.0)
++
-
Thanks nolio, i'm newbie in programming
How does this script look like in my case?
Thanks for helping
-
Hi,
You seems to didn't use "Smart light" but "arrêt automatique".
Did you write it by your own ? Or where did you get it ?
You probably just need to edit this code and replace command by the one of the other forum thread ...
++
-
Hi Nolio,
Thanks for your reply
I've done it via a Macro
-
Hi,
Can you export and send it please ?
I don't think you can do like this in a macro ...
I found the way in C# sharp script :
Modules.InDomain("HomeAutomation.ZWave").WithAddress("xx").Get().Command("MultiInstance.Set").Execute("Switch.Binary/y/255");
Program.RaiseEvent( Modules.InDomain("HomeAutomation.ZWave").WithAddress("xx.y").Get();, "Status.Level", "1", "ZWaveNode");
####
Modules.InDomain("HomeAutomation.ZWave").WithAddress("xx").Get().Command("MultiInstance.Set").Execute("Switch.Binary/y/0");
Program.RaiseEvent( Modules.InDomain("HomeAutomation.ZWave").WithAddress("xx.y").Get();, "Status.Level", "0", "ZWaveNode");
-
Hi,
Here's the macro
++
-
Hi,
I understand you want a program that goes to "off" your "porte garage" after 1 second.
So you don't need to associate in the device configuration to your macro.
You need something like this in C# :
* Startup code :
Program.Run();
* Program code (Code du Programme) :
Modules.InDomain("HomeAutomation.ZWave").WithAddress("14").Get().Command("MultiInstance.Set").Execute("Switch.Binary/1/0");
Program.RaiseEvent( Modules.InDomain("HomeAutomation.ZWave").WithAddress("14.1").Get();, "Status.Level", "0", "ZWaveNode");
But i am not sure this method is the good way ... Did you try to configure parameter on FGS-212 to change it behavior ?
-
Hi,
I've just done this macro and it works fine
-
Hi,
Ok cool !
I have just forget to pause, so you can add ar the beginning and at the end :
Pause(1);