more G-Labs products

Author Topic: Z-wave Philio pst02-a - virtual modules  (Read 2373 times)

February 28, 2015, 09:54:06 AM
Read 2373 times

igorrobertifoc

  • ***
  • Information
  • Full Member
  • Posts: 65
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



March 01, 2015, 05:24:25 PM
Reply #1

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
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

March 02, 2015, 10:01:32 PM
Reply #2

igorrobertifoc

  • ***
  • Information
  • Full Member
  • Posts: 65
Yes, mine too but the motion alarm is categorised under generic. Your is very clean, mine is not so good :(

March 03, 2015, 11:59:16 AM
Reply #3

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
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.
« Last Edit: March 03, 2015, 12:05:04 PM by dani »

March 03, 2015, 10:26:08 PM
Reply #4

igorrobertifoc

  • ***
  • Information
  • Full Member
  • Posts: 65
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

March 04, 2015, 08:57:38 AM
Reply #5

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
Can you export and send me your squeezebox module ?
Oh, let's Go I found you source code. In the other Topic

Cheers
Dani
« Last Edit: March 04, 2015, 09:04:36 AM by dani »

March 04, 2015, 09:11:52 AM
Reply #6

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
I got you last hgx and I will make some changes and join here

Cheers
Dani

March 04, 2015, 11:17:56 AM
Reply #7

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
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

March 04, 2015, 11:20:50 PM
Reply #8

igorrobertifoc

  • ***
  • Information
  • Full Member
  • Posts: 65
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

March 05, 2015, 08:46:20 AM
Reply #9

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
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 ?
« Last Edit: March 07, 2015, 02:49:52 PM by dani »