How to use it?
All the information below could be find while using the command "man xpl-zibase"
##Launch the XPL-ZIBASE
xpl-zibase [flags] [options]
where valid flags are:
--help
--verbose
--zibase-verbose
and valid options are (default shown in brackets):
--interface eth0
##RF RECEIVING
The xpl-zibase client will broadcast xPL Messages as soon as the ZiBase
receives a RF command from any supported home automation device (Oregon
Scientific sensors, Homeeasy remote, x10 switch, etc...).
Sensors values will generate sensor.basic messages. Examples :
. thgr228n.OS439171073[temp]=16.2
. thgr228n.OS439171073[humidity]=67
Home automation remotes button press will generate sensor.basic messages
using the 'input' device type. As defined in the sensor.basic schema, High
means 'on' and Low means 'off'.
Examples :
. CS182610306[input]=high
. CS182930487[input]=low
Finally, pure basic X10 RF commands received will generate x10.basic trigger
xPL messages. Examples :
. e14 on
. e14 off
You can use this client to send RF commands via the ZiBase using CMND xPL message conforming to the x10.basic schema.
Indeed, all configured actuators in the ZiBase are given a pseudo X10-like identifier (even if they use another protocol such as Chacon or X2D) such as A4 or P10.
Example :
To turn on a device that has the F5 x10 pseudo identifier, juste send the following xPL message :
**xpl-sender -m xpl-cmnd -c rfcmd.basic device=f5 command=on protocol=x10
** **xpl-sender -m xpl-cmnd -c x10.basic device=f5 command=on
**
To turn on a device that has the A10 zwave pseudo identifier, juste send the following xPL message:
**xpl-sender -m xpl-cmnd -c rfcmd.basic device=a10 command=on protocol=zwave
**
The client also support dimming levels (only for Chacon and X2D devices):
**xpl-sender -m xpl-cmnd -c x10.basic device=f5 command=dim level=50
** **xpl-sender -m xpl-cmnd -c rfcmd.basic device=f5 command=dim protocol=x10 level=50
** **xpl-sender -m xpl-cmnd -c rfcmd.basic device=a10 command=dim protocol=zwave level=50
**
To execute the scenario number 15:
**xpl-sender -m xpl-cmnd -c scencmd.basic scenario=15**
To launch a script:
**xpl-sender -m xpl-cmnd -c script.basic script="cmd:lm 1 aft 60"**
"cmd:lm [toto]" launch scenario label as toto
"cmd:lm 2 aft 3600" launch scenario 2 after 3600 seconds
"cmd:lm [toto].lm [tata]" launch scenario label as toto and after launch scenario label as tata
_Don't forgot double quote_
_label of a scenario with space doesn't work you to use an underscore instead of space character_
To set Virtual Probe Event:
**xpl-sender -m xpl-cmnd -c vpevnt.basic type=temp_hum_sensor c1=184 c2=20 batt=1 id=145879
** this is create a virtual prob event with temp 18,4 degree Celsius 20 pourcent of humidity and with a low battery with the id 145879
type of virtual probe could be create:
- temp_sensor
- temp_hum_sensor
- power_sensor
- water_sensor