|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Module unsupported in iPhone skinHello,
I'm writing a new Misterhouse module for Plugwise devices. That are basically switches that are controlled over a ZigBee wireless network. I have the basics working, and through the normal web interface for Misterhouse all functionality is there (a device shows up, and can be controlled by clicking the 'on' or 'off' state next to it). However, in the iPhone skin, things are a bit different. You can see this in the screenshots below. The first two lights are EIB items (fake ones, I have no EIB hardware) and the third one is a PlugWise device. If I click on the Plugwise item, I get a new screen that states that the module is not fully supported by the iPhone skin. I assume there is some function missing in my xPL_Plugwise module. Can someone please point me to some information on what I should do to make my module supported by the iPhone skin? I tried to find it out myself by going through the iPhone skin code, but it is not really clear to me what to add. I'd like to include that functionality before releasing the module to the Misterhouse codebase. Thanks in advance! Lieven Hollevoet. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: Module unsupported in iPhone skinHello Lieven,
Sorry for not replying your privat mail fast enough ;-). The iPhone Skin has to support your module. Not the other way around. So no things to do on your end. Modification of the Skin is quite easy. Just search in iphone.pl for EIB1. There is some code (less than 3 lines) wich creates the switch. Just copy the complete elsif part and change EIB1 to whatever your module returns on the ISA method. Hope that helps. I am a bit short of free time, because my paid jobs needs grear attention in the moment. Pls try it on your own. If you find problems pls come back to me and i will help! Kr -- R@... Am 01.10.2009 um 21:55 schrieb Lieven Hollevoet <lieven@...>: > Hello, > > I'm writing a new Misterhouse module for Plugwise devices. That are > basically switches that are controlled over a ZigBee wireless > network. I have the basics working, and through the normal web > interface for Misterhouse all functionality is there (a device shows > up, and can be controlled by clicking the 'on' or 'off' state next > to it). > > However, in the iPhone skin, things are a bit different. You can see > this in the screenshots below. The first two lights are EIB items > (fake ones, I have no EIB hardware) and the third one is a PlugWise > device. > > > <IMG_0011.PNG> > > <IMG_0012.PNG> > > > If I click on the Plugwise item, I get a new screen that states that > the module is not fully supported by the iPhone skin. I assume there > is some function missing in my xPL_Plugwise module. > > Can someone please point me to some information on what I should do > to make my module supported by the iPhone skin? I tried to find it > out myself by going through the iPhone skin code, but it is not > really clear to me what to add. > > I'd like to include that functionality before releasing the module > to the Misterhouse codebase. > > Thanks in advance! > > Lieven Hollevoet. > --- > --- > --- > --------------------------------------------------------------------- > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: Module unsupported in iPhone skinHello Lieven,
cold you give me a hint where can i fiind the MH-Plugwise module? Or ist it written by yourself? Cold you post your code? Regards, Thorsten
|
|
|
Re: Module unsupported in iPhone skinHi Thorsten,
the xPL-Plugwise module is not ready for integration in the misterhouse SVN yet, but you can find a first working version here: http://code.google.com/p/hasy/source/browse/trunk/misterhouse/modules/xPL_Plugwise.pm Alternatively, you can checkout all related file from my googlecode SVN repo: svn checkout http://hasy.googlecode.com/svn/trunk/misterhouse <localfolder> You'll need to install xpl-perl, add the xplplugwise code (use the version that is in my SVN), and add some code to your misterhouse installation. Details can be found in the header of the module. The module should be installed in your misterhouse 'lib' dir, and finally, you should use the new read_table_A.pl version that understands the new syntax for the plugwise hardware (see other mail on this list). To launch it I use the xpl-hub from xpl-perl, I start xpl-plugwise, I disable the xpl hub in misterhouse and start misterhouse up. I will be updating the code of the module in the next days for further cleanup. Best regards, Lieven. Op 2-okt-09, om 14:37 heeft Thorsten Weiss het volgende geschreven: > > Hello Lieven, > cold you give me a hint where can i fiind the MH-Plugwise module? > > Or ist it written by yourself? > > Cold you post your code? > > Regards, > Thorsten > > > > Lieven Hollevoet wrote: >> >> Hello, >> >> I'm writing a new Misterhouse module for Plugwise devices. That are >> basically switches that are controlled over a ZigBee wireless >> network. >> I have the basics working, and through the normal web interface for >> Misterhouse all functionality is there (a device shows up, and can be >> controlled by clicking the 'on' or 'off' state next to it). >> >> However, in the iPhone skin, things are a bit different. You can see >> this in the screenshots below. The first two lights are EIB items >> (fake ones, I have no EIB hardware) and the third one is a PlugWise >> device. >> >> >> >> >> >> >> >> >> >> If I click on the Plugwise item, I get a new screen that states that >> the module is not fully supported by the iPhone skin. I assume there >> is some function missing in my xPL_Plugwise module. >> >> Can someone please point me to some information on what I should do >> to >> make my module supported by the iPhone skin? I tried to find it out >> myself by going through the iPhone skin code, but it is not really >> clear to me what to add. >> >> I'd like to include that functionality before releasing the module to >> the Misterhouse codebase. >> >> Thanks in advance! >> >> Lieven Hollevoet. >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, >> CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market >> and stay >> ahead of the curve. Join us from November 9-12, 2009. Register >> now! >> http://p.sf.net/sfu/devconf >> ________________________________________________________ >> To unsubscribe from this list, go to: >> http://sourceforge.net/mail/?group_id=1365 >> >> >> > > -- > View this message in context: http://www.nabble.com/Module-unsupported-in-iPhone-skin-tp25705854p25715108.html > Sent from the Misterhouse - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: Module unsupported in iPhone skinHi Ralf,
it took a while before I found time to look further into this. Either way, the required change to iphone.pl for supporting the xpl-plugwise devices is indeed very simple. Unified diff is attached. Feel free to add this to the SVN. It enables controlling xpl-plugwise switches on and off through the iphone web interface. I have another small question concerning iphone skin, concerning the authentication. When I want to use the iPhone interface to MH, I first need to authenticate in safari to the 'normal' (ia5) web interface before the actions I start through the iPhone interface work. If I don't do this, the skin reacts to the action (e.g. the button toggles), but the action is not executed by MH. I understand this is standard behavior (else there is no point of having the authentication mechanism), but it kind of breaks the useability of the iphone interface for the other people in the house. How do you solve this? I'm running latest SVN version of MH, am I still missing a patch to a file somewhere? I noticed there is reference to some patch on http_server.pm in iphone.howto.txt under code/public. But I was not able to locate that patch, so it is not clear if it is related to this or not. It is also not clear if the info of that textfile is still valid. It only coarsely matches the info on the MH wiki on the iPhone skin. Best regards, Lieven. Op 2-okt-2009, om 06:45 heeft Ralf Klüber het volgende geschreven: > Hello Lieven, > > Sorry for not replying your privat mail fast enough ;-). The iPhone > Skin has to support your module. Not the other way around. So no > things to do on your end. > > Modification of the Skin is quite easy. Just search in iphone.pl for > EIB1. There is some code (less than 3 lines) wich creates the switch. > Just copy the complete elsif part and change EIB1 to whatever your > module returns on the ISA method. > > Hope that helps. I am a bit short of free time, because my paid jobs > needs grear attention in the moment. Pls try it on your own. If you > find problems pls come back to me and i will help! > > Kr > > -- > R@... > > Am 01.10.2009 um 21:55 schrieb Lieven Hollevoet <lieven@...>: > >> Hello, >> >> I'm writing a new Misterhouse module for Plugwise devices. That are >> basically switches that are controlled over a ZigBee wireless >> network. I have the basics working, and through the normal web >> interface for Misterhouse all functionality is there (a device shows >> up, and can be controlled by clicking the 'on' or 'off' state next >> to it). >> >> However, in the iPhone skin, things are a bit different. You can see >> this in the screenshots below. The first two lights are EIB items >> (fake ones, I have no EIB hardware) and the third one is a PlugWise >> device. >> >> >> <IMG_0011.PNG> >> >> <IMG_0012.PNG> >> >> >> If I click on the Plugwise item, I get a new screen that states that >> the module is not fully supported by the iPhone skin. I assume there >> is some function missing in my xPL_Plugwise module. >> >> Can someone please point me to some information on what I should do >> to make my module supported by the iPhone skin? I tried to find it >> out myself by going through the iPhone skin code, but it is not >> really clear to me what to add. >> >> I'd like to include that functionality before releasing the module >> to the Misterhouse codebase. >> >> Thanks in advance! >> >> Lieven Hollevoet. >> --- >> --- >> --- >> --------------------------------------------------------------------- >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market and >> stay >> ahead of the curve. Join us from November 9-12, 2009. Register >> now! >> http://p.sf.net/sfu/devconf >> ________________________________________________________ >> To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 >> > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
| Free embeddable forum powered by Nabble | Forum Help |