Serial Device Tasks

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
bjlamarca
Member
Posts: 83
Joined: Wed Apr 13, 2005 1:09 am
Location: White Plains, NY

Serial Device Tasks

Post by bjlamarca »

How do I fire a Task everytime serial data is received?
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

Add a condition on the Received Data property of the Generic Serial Device that is receiving the data. Have it set to Not Equal some odd value that it would never really equal. That way the Task will execute whenever anything is received.
Scott
bjlamarca
Member
Posts: 83
Joined: Wed Apr 13, 2005 1:09 am
Location: White Plains, NY

Post by bjlamarca »

Thanks for the quick response, kept me from banging my head on my desk.
bjlamarca
Member
Posts: 83
Joined: Wed Apr 13, 2005 1:09 am
Location: White Plains, NY

Post by bjlamarca »

Ok, I got my serial device to receive data from my alarm, and then have a script process the data. I can't figure out how to send data to the alarm(I did read all the help files I could find). Please help.
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

Check out this post. It gives a little more detail on the steps needed (although it's for a different example).
Scott
Post Reply