From: <tho...@we...> - 2006-06-22 06:00:52
|
Ok, on "Mr House Home" -> "Browse Items" now i can see the defined states = for my generic items. Thanks for the Hint. But i cannot see the states on "Mr house home" -> "lights and appliances" = -> "Browse Groups "lueftung" " --> Buttons "SommerWinter" & "L=FCftung" there i only can set the states on/off by touching the buttons. maybe i have to define my own icons for every state??? When i am at home i will attach some pictures, so you can see what i mean. Thanks everyone for help, Thorsten. >Thorsten, > >I'm not sure why you are not seeing your desired behaviour. > >I tried out your Lueftung lines and they worked like a charm here. On whi= ch >web page are you not seeing the states change? I am using the "Generic >Items" page under "Mr House Home" -> "Browse Items" on the ia5 web interfa= ce. > >Matt > > >Thorsten Weiss wrote: >> Hello there, >>=20 >> this is my first post in this board, i hope i do everything right... >> First of all my name is Thorsten and I=B4m from germany. >>=20 >>=20 >> Now thats my problem: >>=20 >> I=B4ve tried to set own states with >>=20 >> $Lueftung =3D new Generic_Item; >> $Lueftung -> add_states('Stufe1','Stufe2','Stufe3','Aus') ; >> $Lueftung -> set_icon ('fan') ; >> $SommerWinter =3D new Generic_Item; >> $SommerWinter -> add_states('Sommer','Winter') ; >> $Lueftungsanlage -> add($Lueftung,$SommerWinter); >>=20 >> (Lueftung means some sort of Air-Condition without cooling function) >>=20 >> I can only toggle through the predefined states like on, off, dim and so= =20 >> on... >>=20 >> How I can set my own states for an Generic Item?? >>=20 >> The states should be shown on the buttons in the web-interface. >>=20 >> Thanks, >>=20 >> Thorsten. >>=20 >>=20 >> All the advantages of Linux Managed Hosting--Without the Cost and Risk! >> Fully trained technicians. The highest number of Red Hat certifications = in >> the hosting industry. Fanatical Support. Click to learn more >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat= =3D121642 >> ________________________________________________________ >> To unsubscribe from this list, go to:=20 >http://sourceforge.net/mail/?group_id=3D1365 >>=20 >>=20 > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around=20 >http://mail.yahoo.com=20 > > >All the advantages of Linux Managed Hosting--Without the Cost and Risk! >Fully trained technicians. The highest number of Red Hat certifications in >the hosting industry. Fanatical Support. Click to learn more >http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat=3D= 121642 >________________________________________________________ >To unsubscribe from this list, go to:=20 >http://sourceforge.net/mail/?group_id=3D1365 > |