Scott....reality check please

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
John_Paul_128
Member
Posts: 15
Joined: Tue Apr 15, 2003 9:33 am

Scott....reality check please

Post by John_Paul_128 »

Scott,



I wanted to have buttons on my theme send HEX data to the comfort system to initiate IR commands...so what I did was:



1. create tasks for each command...ie VCR power on, Receiver Power on etc. They are 'change value' type tasks.



2. I created a device...for each device...and properties for each as appropriate. The values are changed by the tasks as above.



3. I created a hardware serial device and have listed in hex all of the commands and then linked these commands to each property as above.



4. And finally, each theme button is linked to the task.



This all works fine, but seemed quite a bit of work....can you please let me know if I could have done this any simpler??



thanks, john
ScottBot
Site Admin
Posts: 2787
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

John,



Why couldn't you just skip the Tasks and use Property Change buttons on the Theme to directly control the Devices and their Properties? Unless you need to change multiple Properties with a single button, I wouldn't create the Tasks.



Scott
Post Reply