Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Harmony API
 Harmony : Harmony API
Subject Topic: Serial control Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
NewUser
Newbie
Newbie


Joined: 19 July 2011
Location: Finland
Online Status: Offline
Posts: 3
Posted: 20 July 2011 at 12:51pm | IP Logged Quote NewUser

In X10 world you would just say (so to speak) "let there be light in the livingroom", but I have this serial port device that controls air condition device and I have need to "speak" to the serial port: "let there be 19C cold at full fan speed". Thats like 3 different commands at once.

Is this kind of functionality possible in Harmony? Can I develop (can do some VB coding) a plugin that displays needed buttons in Harmony and spits commands out to the serial port? Or am I looking at dead end here?
Back to Top View NewUser's Profile Search for other posts by NewUser
 
Rob Iles
Admin Group
Admin Group
Avatar

Joined: 10 August 2005
Location: United Kingdom
Online Status: Offline
Posts: 5377
Posted: 20 July 2011 at 7:34pm | IP Logged Quote Rob Iles

Hi,
For multiple commands, you would make
use of Harmony Events.
An Event has a 'trigger' (something to
initiate the event) and one or more
'Actions'. An action is anything you can
do from within the Harmony GUI - such
as X-10 address A1 turn on, or C-bus
address 20:00 set 50%. Note you can
use all available Components in an event
- mix & match X-10 and any/all others.

In your scenario, you'd need a "serial
port component". Harmony would then
send the requested commands to the
ComPort (you'd need to figure out what
to send).

Whilst at present there isn't a "Harmony
Serial Component", I do have the
skeleton of one - a project that was put
on hold some time ago. Happy to revisit
it if there's sufficient interest from
Harmony users.

Alternatively, if you know the commands
/ protocol for your air-conditioning unit, I
can write a component specifically for
you - as a private commission. If that's of
interest, email me and we can discuss it
further.

Hope that helps,

Rob
Back to Top View Rob Iles's Profile Search for other posts by Rob Iles Visit Rob Iles's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum