Skip to content

Commit

Permalink
Updated README.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
genemars committed Dec 6, 2018
1 parent d957353 commit a2fdb79
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CM19Lib/Cm19Manager.cs
Expand Up @@ -116,7 +116,7 @@ public class Cm19Manager
public event X10SecurityReceivedEventHandler RfSecurityReceived;

/// <summary>
/// Occurs when x10 PTZ camera command is received.
/// Occurs when x10 PT camera command is received.
/// </summary>
public event X10CommandReceivedEventHandler RfCameraReceived;

Expand Down
2 changes: 1 addition & 1 deletion Examples/cm19send/Program.cs
Expand Up @@ -45,7 +45,7 @@ public static void Main(string[] args)
Console.WriteLine(" mono cm19send.exe A1+ A2+ A3- A- A+\n");
Console.WriteLine(" Will turn ON A1 and A2, OFF A3 and then it will");
Console.WriteLine(" send a DIM and BRIGHT command (to house code A).\n");
Console.WriteLine("Example of sending PTZ camera commands:\n");
Console.WriteLine("Example of sending PT camera commands:\n");
Console.WriteLine(" mono cm19send.exe AU AL BD BR\n");
Console.WriteLine(" Will move camera with house code A UP and LEFT");
Console.WriteLine(" and the camera with house code B DOWN and RIGHT.\n");
Expand Down
12 changes: 7 additions & 5 deletions README.md
Expand Up @@ -6,10 +6,12 @@

## Features

- Supports sending and receiving of following X10 RF messages:
- **Standard** module commands (On, Off, Dim, Bright, AllLightsOn, AllUnitsOff)
- **Camera** pan/tilt commands (Left, Right, Up, Down)
- **Security** sensors (Motion and door/window sensors, security remotes)
- Event driven
- Hot plug
- Automatically restabilish connection on error/disconnect
- Compatible with Mono
- Hot plug and automatic re-connection on error

## Prerequisites

Expand Down Expand Up @@ -75,7 +77,7 @@ the **+** (**ON**) or **-** (**OFF**) symbol.
If no unit code is provided the **+** will perform a **BRIGHT** command or a **DIM**
command in case the **-** symbol is used (eg. *+A* or -*A-*).

An X10 PTZ camera command starts with the house code followed by one of the following:
An X10 PT camera command starts with the house code followed by one of the following:
**U** for up, **L** for left, **D** for down and **R** for right.

## Example code
Expand Down Expand Up @@ -112,7 +114,7 @@ cm19.AllUnitsOff(HouseCode.A);
// Alternative way of sending standard X10 commands
cm19.SendCommand(HouseCode.E, UnitCode.Unit_12, Command.On);

// Sending PTZ camera commands
// Sending PT camera commands
cm19.SendCameraCommand(HouseCode.A, Command.CameraDown);
cm19.SendCameraCommand(HouseCode.A, Command.CameraLeft);

Expand Down

0 comments on commit a2fdb79

Please sign in to comment.