Page 1 of 1

Property Label not showing in SWremote

Posted: Sun Sep 26, 2010 4:18 pm
by PServais
Desperate help needed!

Finally after many hours of trying i have managed to create a custom list that can be scrolled by buttons.
It is done by rotating values in 4 properties by script.
To show the list in my swremote i have put 4 property labels in a panel and 2 buttons (one up, one down)
When I click on the up or down button I can see in Housebot that the list is working because the values in the properties are rotating.
But the property labels in the swremote aren't showing any text, exept the first label.
I have created the properties: ListItem1, ListItem2, ListItem3 and ListItem4
Only the label of ListItem1 shows the text in the remote, the other 3 are blank.
I have looked in the logfile of Housebot and see that the remote requests the label values and (I think) Housebot sends them.

Can someone please help me??

Patrick

Re: Property Label not showing in SWremote

Posted: Sun Sep 26, 2010 5:06 pm
by ScottBot
If you exit completely out of the SWRemote and then restart it, do the other three list items show the correct values? If they do, it's possible that there is some odd timing issue with the notifications sent to the swremote. If that is the case, you may want to play with the order that you are updating them, or add some delays to see if it helps. If the fields are still blank after the restart, there is probably something wrong in the theme configuration for those fields.

Re: Property Label not showing in SWremote

Posted: Sun Sep 26, 2010 5:33 pm
by PServais
Scott,

I tried to restart everything, but nothing helped, it get's even stranger:
I will try to explain it, below is a scheme of the list.
Start of list:

Property 1 -> "ListItem 1 Text", Value "Woonkamer"
Property 2 -> "ListItem 2 Text", Value "Gang"
Property 3 -> "ListItem 3 Text", Value "Keuken"
Property 4 -> "ListItem 4 Text", Value "Bijkeuken"

In this case only the value "Woonkamer" shows on the remote.
Next I click the "down" button:

Property 1 -> "ListItem 1 Text", Value "Gang"
Property 2 -> "ListItem 2 Text", Value "Keuken"
Property 3 -> "ListItem 3 Text", Value "Bijkeuken"
Property 4 -> "ListItem 4 Text", Value "Slaapkamer"

The rotating of the list works good but now none of the labels show any text, even the first label that showed "Woonkamer" doesn't show text.
When I click the "Up" button:

Property 1 -> "ListItem 1 Text", Value "Woonkamer"
Property 2 -> "ListItem 2 Text", Value "Gang"
Property 3 -> "ListItem 3 Text", Value "Keuken"
Property 4 -> "ListItem 4 Text", Value "Bijkeuken"

Now the first property label is showing "Woonkamer" but the other 3 aren't showing the other values.

I have double checked everything but can't find the problem.

Patrick

Re: Property Label not showing in SWremote

Posted: Sun Sep 26, 2010 5:56 pm
by ScottBot
But back to my original question; If you restart the SWRemote, do the values show what you would expect or do you still see blanks?

I would also suggest copying the panel to a plain theme. No images or layering. See if it works in a simple configuration.

Re: Property Label not showing in SWremote

Posted: Sun Sep 26, 2010 6:06 pm
by PServais
I still see blanks, exept when the first value of the list "Woonkamer" is in property 1
Only the first in the alphalist property shows in the label, the rest don't
I have copied the controls to a blank theme but the same happens.

Re: Property Label not showing in SWremote

Posted: Sun Sep 26, 2010 8:00 pm
by ScottBot
Are these alpha-numeric properties or alpha list properties? I think they should just be regular alpha-numeric properties.

Re: Property Label not showing in SWremote

Posted: Mon Sep 27, 2010 4:53 am
by Richard Naninck
Besides the point that there are many ways to do this, please confirm if I read your problem correctly:

You have 4 properties in HouseBot and those 4 properties are displayed in your SWRemote.
If you type text in these properties using the HouseBot Server GUI, you see this text appear in your theme panel?
Now if you run your script, the properties show the correct (new) textlines in the HB Server GUI, but they don't appear in your SWRemote.

Before I could be of any help, I need to know if the above is all true or maybe help you with a different way of achieving your goals.

BTW I am Dutch, so I can actually read your property values;)

Re: Property Label not showing in SWremote

Posted: Mon Sep 27, 2010 11:34 am
by PServais
Dear Scott and Richard,

Thank you for your responses, I have found the problem.
My mind was set on creating a list so I created a AlphaList property for the full list value.
This is also the problem, when I changed this to a alpha property (Scott, thank you :oops: ) everything works fine.
Dumb mistake that had me busy for quite some time (angry wife, stayed up to late)

Again thank you very much for your very quick responses!!

Patrick