From: hplato <hp...@gm...> - 2009-01-04 23:30:12
|
Hi Ralf, The floorplan snippet was added to the wiki as an option, so that's what I tried. OK, I've added an EIB item: $Main = new Group; $ip_test = new EIB1_Item('1/1/10',''); $FF_test = new Group(); $FF_test -> add ($ip_test); $Main -> add ($FF_test); And iPhone the interface works! So then I started adding a few groups, and was able to build an interface using groups with X10 items. However when I added a group that had a motion sensor, I got the error. It seems like the iPhone interface has a problem with some items. Great work Ralf, this is really pretty slick. Two other questions; Is it possible to add a config item for the menu title, I don't know what Hauptmenü means, it would be nice to say MisterHouse for those of us English folks :) This isn't really a technical issue, and I might just be picky, however I notice that there's a copyright notice on the menu. If this interface is indeed copyrighted, it might pose a challenge as MH is open sourced, and I don't recall any other copyright notices. This doesn't really bother me as I submit my stuff as a hobby, and not using anything in MH in a commercial standpoint. However this might cause issues down the road... On 4-Jan-09, at 2:31 PM, Ralf Klüber wrote: > I have no clue what this floorplan code sniplet does. Would you > mind to turn it off for testing? > > And what is the content of your group $Main? Can you post the code > which fills it? > > Can you just add one Eib1 item to an empty group $Main to test if > this runs well? > > Kr > > -- > R...@lf... > > Am 04.01.2009 um 21:04 schrieb "Famille Simon" <fa...@fa... > >: > >> >> >> I have the same symptoms than you >> >> >> >> >> >> Roger >> >> >> >> De : hplato [mailto:hp...@gm...] >> Envoyé : dimanche 4 janvier 2009 19:21 >> À : The main list for the MisterHouse home automation program >> Objet : Re: [mh] iPhone in 2.105 >> >> >> >> I've just tried to set this up, and am not having the great success >> that others have had. >> >> >> >> - I've added iphone.pl to my user code directory, and it loads fine >> when MH is restarted >> >> >> >> - I didn't "Copy the directory ~mh/web/iphone (and all its files) >> into your web directory of Misterhouse. -- from the wiki" as these >> files already seem to be there in my MH installation? >> >> >> >> I've created a group $Main and as I have a floorplan, I just added >> $Property ($Main -> add($Property)). >> >> >> >> When I browse to the iphone page, I don't get anything other than >> Hauptmenü, and in the MH logs I get an error: 'Can't use an >> undefined value as an ARRAY reference at (eval 16589) line (10680), >> <HTML> line 35' >> >> >> >> any ideas? >> >> >> >> >> >> On 22-Dec-08, at 4:57 PM, Scott wrote: >> >> >> >> >> I have been playing with the iPhone application, everything works >> fine >> except when I drill down to the actual objects, only the last item >> on the >> page will actuall call up the on/off/dim, etc. The other items on >> the page >> will hi-light, but not call up. Like the code is missing a "carriage >> return" on all but the last object. I get lost in java, so any >> help would >> be greatly appreciated. >> >> Help? >> >> >> >> >> >> ----- Original Message ----- >> From: "Jim Serack" <js...@sy...> >> To: <r...@lf...>; "'The main list for the MisterHouse home >> automation >> program'" <mis...@li...> >> Sent: Monday, November 24, 2008 8:17 AM >> Subject: Re: [mh] iPhone in 2.105 >> >> >> >> >> Ralf, >> >>> >>> >>> I'll be happy to be your editor/tester and post it to the wiki. It >>> might >>> >>> have to wait until the next weekend but this is exactly what I was >>> looking >>> >>> for. >>> >>> >>> >>> Jim >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------- >>> >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> >>> challenge >>> >>> Build the coolest Linux based applications with Moblin SDK & win >>> great >>> >>> prizes >>> >>> Grand prize is a trip for two to an Open Source event anywhere in >>> the >>> >>> world >>> >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> >>> ________________________________________________________ >>> >>> To unsubscribe from this list, go to: >>> >>> http://sourceforge.net/mail/?group_id=1365 >>> >>> >>> >> >> >> ------------------------------------------------------------------------------ >> ________________________________________________________ >> To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 >> >> >> >> ------------------------------------------------------------------------------ >> ________________________________________________________ >> To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 >> > ------------------------------------------------------------------------------ > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > |