From: Thorsten W. <tho...@we...> - 2007-02-14 12:11:48
|
Hello Martin, could aou please send me your solution to integrate FS20 in MH ? Eventually with some example MH-Code, i'm not so poweful in writing perl code but i'm still learning... I have seen your post yet, i'm sorry its a liitle bit late but i was really busy in the last time. Actually i'm thinking about to do some things with the HS485 components from ELV, i think they are much easier to integrate in mh as the FS20 because ELV provides the Protokoll-description for free. regards, Thorsten. Martin Hagelin wrote: > > Hi Thorsten, > > I've written some code to integrate FS20 and HMS into MH and it has been > working quite well (but unfortunately, not for version 2.103). I moved to > an > xAP solution instead mainly because of the following: > > - The FHZ code that's written in the fhz1000.pl project > (http://www.koeniglich.de/fhz1000/fhz1000.html) is much better that my > code > ever was and it also supports more hardware devices. > - The MH code is quite complex and there's a lot of X10 code everywhere > and > it's very hard to understand how everything fits together. By using xAP > and > BSC, I'm able to integrate FS20 into MH without having to understand MH's > inner workings (at least not so deep....) > - By using xAP I can control the devices from other clients than MH. > - My code stopped working for MH version 2.103 and I didn't have the > energy > to debug it... > > I can send you my MH/FS20 code if you're interested, but I'd really > recommend using an xAP solution instead. The fhz1000.pl<->xAP gateway is > soon finished and I plan to contribute it to the fhz1000.pl contrib code. > I > can send you that now as well if you like. > > Regards, > /Martin > > "Thorsten Weiss" <tho...@we...> skrev i meddelandet > news:453...@we...... >> Hi Martin >> I actuallly try to integrate the FS20 system in Misterhouse, but i >> doesn't use the xap capability. >> I try to integrate FS20 native in MH, but i did only the 1. steps. >> at the moment it hangs at the item_definitions because i'm actuallay a >> perl noob.... (or maybe a dau). >> >> Maybe is someone on the list who works on the same project?? >> >> Regards, >> Thorsten. >> >> >> Martin Hagelin schrieb: >> >>>Hi all, >>> >>>I'm currently working on a xAP gateway to the German FS20/HMS house >>>automation >>>system (a RF system, sold by ELV, www.elv.de). There's another project >>>(http://www.koeniglich.de/fhz1000/fhz1000.html) that does the interface to >>>the >>>hardware and I'm working on the xAP gateway. >>> >>>The gateway is using BSC as the scheme for controlling. This works fine >>>now and >>>I'm able to turn on/off lamps etc. >>> >>>The problem is now that I want to integrate this with Misterhouse. I've >>>read the >>>code for BSC.pm and xAP_Items.pm but I really can't understand how it >>>should >>>integrate. >>> >>>I would think it would look like something like this: >>> >>>--- >>>use BSC; >>> >>>$mylight = new BSC_Item('myvendor.mydevice.myinstance:light1'); # output >>>device >>>$myswitch = new BSC_Item('myvendor.mydevice.myinstance:switch1'); # input >>>device >>> >>> >>>$mylight->set(on); >>> >>>if (state_now $myswitch eq ON) { >>> do bla bla >>>} >>>--- >>> >>>This doesn't work as planned. The BSC_item doesn't seem to send out any >>>xAP >>>messages on the $mylight->set command. >>> >>>The other way doesn't seem to work as well. If I generate an xAPBSC.event >>>message for switch1, the state doesn't change in mh. >>> >>>Is there anyone that have been able to use xAP/BSC in misterhouse for >>>interfacing an external device? >>> >>>What am I doing wrong?? >>> >>> >>>Regards, >>>/Martin >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>------------------------------------------------------------------------- >>>Using Tomcat but need to do more? Need to support web services, security? >>>Get stuff done quickly with pre-integrated technology to make your job >>>easier >>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>________________________________________________________ >>>To unsubscribe from this list, go to: >>>http://sourceforge.net/mail/?group_id=1365 >>> >>> >>> >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> ________________________________________________________ >> To unsubscribe from this list, go to: >> http://sourceforge.net/mail/?group_id=1365 >> >> > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ________________________________________________________ > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=1365 > > > -- View this message in context: http://www.nabble.com/BSC-integration-howto--tf2468954.html#a8963754 Sent from the Misterhouse - User mailing list archive at Nabble.com. |