HomeGenie Forum
Automation Program Plugins and Wizard Scripting => Help => Topic started by: igorrobertifoc on February 28, 2015, 09:54:06 AM
-
Hello,
I bought a Philio pst02, a sensor with 4 sensors inside.
How I can split with multiple instance / channel virtual modules?
I tryed but I didn t find the solution
Thank you in advance
------------------------------------------------------------
Manufacturer Specific = 013C:0002:0002
Get
Slim Multi-Sensor PST02-A (Philio Z-Wave Product)
PIR, door/window, temperature and illumination Sensor
Supported Classes
Battery, Association, Configuration, Manufacturer Specific, Version, Sensor Binary, Sensor Multi Level, Wake Up
-
In HG MutiSensor module will appear in the same Wdget.
I use Fibaro FGMS-001 and it's appear as in the folowing screenshot
Cheers
Dani
-
Yes, mine too but the motion alarm is categorised under generic. Your is very clean, mine is not so good :(
-
For me so, the motion sensor is received as Generic parameter, represented in my screen shot as A moving man, My MultiInstance Snesor is Fibaro FGMS-001.
Your device works with cells ? In thar case it don't send all informations every time. The battery level will send depend on one zwave parameter. In case of Fibaro FGMS-001, by default it sends every 7200 secondes.
-
The module is with cells and I configured to send data every time something happen.
The separation in virtual module is because I would like to do this ( I have 3 module zwave with doorcontact/motion/temperature/luminance):
if alarm is armed and one door contact receive a status change i would like that the siren is activated. Only 1 of this sensor has a motion I would like that the siren play.
I alarm is not armed and one motion sensor is activated, i would like that my squeezebox play a radio.
It seem easy to manage if the sensor is separated, is for this reason that I would like a widget (virtual module) for each sensor.
:P I have some problem with virtual module on my squeezebox, Can you help me?
Thank you,
Igor
-
Can you export and send me your squeezebox module ?
Oh, let's Go I found you source code. In the other Topic
Cheers
Dani
-
I got you last hgx and I will make some changes and join here
Cheers
Dani
-
Higor,
Here you find your squeeze box module with some modifications.
Let's me know if you get functionalty you need.
With the virtual switch, you can control you Program with the timetable for light and switch.
One thing, the Satus.Level for switch must be 0 or 100.
Cheers
Dani
-
Grrreaaat
you help me lot, now I understood.
I have only 1 problem, now the main code is executed only 1 time. Is it strange because is in the while cycle. I did some test but it seem not cycle.
Can you help me? After this I think I can continue ;D
-
I add that line :
Program.Notify('"SqueezeBox","I run");
before the Pause(4) outside the if, and I get Notification every 4 secondes.
If you don't get it, you must see your source code other there., You can move that line until you don't get for see where is the bug.
And why do you create 2 Virtual switch ?