The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Developing a simple xpl app


  • Subject: Developing a simple xpl app
  • From: "Paul Smith" <ukha@xxxxxxxxxxxxx>
  • Date: Thu, 2 Dec 2004 16:39:45 -0000


Hi Guys,



Ok having now got xpl up and running it's time to try and build my own
app/device.



I have a basic quad video switcher. It can be rs-232 controlled and
requires only 6 single character to be sent.



These replicate the same action as the 6 buttons on the device. Like
wise when a button is pressed the device sends out the corresponding
character.



So I have seen the two development frameworks. One for .net and the
other for vb. Does it matter which route I go. I've done a bit of VBA
programming before so I'm confident I should be able to knock something
up.





>From a scheme point of view I would need to use control.basic for
operating the device and sensor.basic for responding to button presses.



So does this look ok.



There are 6 buttons, Video 1 to Video 4 and Quad and PIP. So for example






control.basic

{

device=PIP
type=Input
current= Toggle, since it is a simple button press I guess it's toggle

}



control.basic

{

device=Video1
type=Input
current= Toggle, since it is a simple button press I guess it's toggle

}



And if a user pressed video2 then we should see this.



sensor.basic

{

device=Video2

type=Input

current= Toggle

}





So the next item is what do I use as the Source ID.



This is going to be my first attempt so I may have missed something.



Regards,



Paul



[Non-text portions of this message have been removed]




xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.