HousePad problems updating device state and variable v0.8.15

lochnesz
Posts: 374
Joined: Wed Oct 01, 2014 5:23 am
Location: Stockholm, Sweden

HousePad problems updating device state and variable v0.8.15

Post by lochnesz »

Hi,

I have been trying out your great app, but found a few issues.

1. The devices (lights) aren't updated when turning them on/off. In a web browser it works fine. See attached pictures, in both cases the first light is switched on, and was switched on in HousePad. In HousePad the icon always shows that the device is off, while in the browser it updates correctly. The devices here are rfxtrx lights.

2. In the upper right corner there is a house icon. The icon changes (flashes slowly) every other second to show that the communication with Indigo server is okay. A variable is updated every other second, and the icon then changes off/on. You can see that it is on in the screen shot from HousePad, here it never turns off. In the screen shot from the browser, you can see the icon turned off.

Any ideas?

Client 0.8.15
Plugin 0.6.1

Peter
Attachments
WebBrowser.jpg
WebBrowser.jpg (244.28 KiB) Viewed 2242 times
HousePad.jpg
HousePad.jpg (240.29 KiB) Viewed 2242 times
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: HousePad problems updating device state and variable v0.

Post by RogueProeliator »

1. The devices (lights) aren't updated when turning them on/off. In a web browser it works fine. See attached pictures, in both cases the first light is switched on, and was switched on in HousePad. In HousePad the icon always shows that the device is off, while in the browser it updates correctly. The devices here are rfxtrx lights.
What is the image filename shown in the Control Page Editor within Indigo?
2. In the upper right corner there is a house icon. The icon changes (flashes slowly) every other second to show that the communication with Indigo server is okay. A variable is updated every other second, and the icon then changes off/on. You can see that it is on in the screen shot from HousePad, here it never turns off. In the screen shot from the browser, you can see the icon turned off.
I believe I have the control pages set to check for updates every 1.5s. As a test, can you set it to refresh every 4 seconds or so and see if that matters? Also, what is the filename of the image in the control page editor for this one as well?

You can try going to your control page, go to the menu, Help and choose to Send Debug report. That may let me see what is going on for you.

Adam
lochnesz
Posts: 374
Joined: Wed Oct 01, 2014 5:23 am
Location: Stockholm, Sweden

Re: HousePad problems updating device state and variable v0.

Post by lochnesz »

RogueProeliator wrote: What is the image filename shown in the Control Page Editor within Indigo?
Three images are used, one for the bulb (lightbulb_128.png), one for the on button (onbluebutton130.png) and one for the off button (offbluebutton130.png). When the light is on, the bulb is on, the on button is blue and the off button is gray. When the light is off, the bulb is off, the on button is gray and the off button is blue.
I believe I have the control pages set to check for updates every 1.5s. As a test, can you set it to refresh every 4 seconds or so and see if that matters? Also, what is the filename of the image in the control page editor for this one as well?
Set to 4 seconds, still the same issue with the icon not changing in HousePad but changing in the web browser. Filename in control pages is runhouse_a.png.
You can try going to your control page, go to the menu, Help and choose to Send Debug report. That may let me see what is going on for you.
I might be confused, but I don't see the Send Debug option.

Peter
Attachments
capture.jpg
capture.jpg (147.71 KiB) Viewed 2187 times
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: HousePad problems updating device state and variable v0.

Post by RogueProeliator »

Peter, it looks like perhaps you may not be following the Image Heuristics that allow HousePad to know that it needs to change the image based upon the state... Please take a look at that page -- specifically, you will need an image such as "lightbulb_128+.png" and one for "onbluebutton130+.png". Then those images must be selected in the control page, not the plain "lightbulb_128.png" "onbluebutton130.png".

This is likely the issue with the "runhouse_a.png" image as well.

Adam
lochnesz
Posts: 374
Joined: Wed Oct 01, 2014 5:23 am
Location: Stockholm, Sweden

Re: HousePad problems updating device state and variable v0.

Post by lochnesz »

Well this is embarrassing, it is not the first time I make this mistake so I should know better.
You are absolutely right, I never thought about this since it worked in the web GUI.

Many thanks!
Post Reply

Return to “DomoPad Android Client”