Jump to content

Widget Error


jmed999

Recommended Posts

I set up a program widget on my Droid. I tap the widget and run the if command to turn a light on and lower a stat setpoint. I then run the if command to turn the light off and return the setpoint to what it was before.

 

The problem is it only works about half the time. When it doesn't work I get, "Unable to connect to lighting controller. Please verify lighting controller settings"

 

Anyone know what this means and how to fix it?

 

Thanks! :mrgreen:

Link to comment

Is your ISY and Mobilinc set up to work from outside of your home network (3G/4G) ? If not, then it's likely failing when you have dropped your local WiFi connection and working when your connection is up. Most smartphones will drop WiFi when not in use to save battery.

 

-Xathros

Link to comment

Hi jmed999,

 

This is Wes from MobiLinc.

 

Can you try something to see how it behaves? This is likely a cell data network issue where the phone doesn't have a good data signal (waking from sleep, etc) from the tower when the command is issued through the Widget.

 

Try this, before you issue your widget command, open the web browser and go to Google.com or similar site to verify/establish network connectivity then issue the Widget command. Does your success rate improve?

 

Wes

Link to comment

jmed999,

 

If there is a Widget problem we need to be able to reproduce it in our lab so that we can fix the issue. Are there reproducible steps we can take to illustrate the problem consistently?

 

The error message you are receiving is consistent with the Widget not being able to "see" the internet at the time of issuing the command. The most common reason is that the phone simply hasn't established a data connection yet to the internet service provider. By going to a website first you know that the phone can reach out to the internet so you can eliminate that as a potential source of the problem.

 

Wes

Link to comment

This is my program.

 

If
       $i.Kristen.Watch.TV is 0

Then
       Set 'Upstairs - Main' 76° (Cool Setpoint)
       Set 'Upstairs CFL Lamp' On
       $i.Kristen.Watch.TV  = 1

Else
       Set 'Upstairs - Main' 90° (Cool Setpoint)
       Set 'Upstairs CFL Lamp' Off
       $i.Kristen.Watch.TV  = 0


 

What else do you need to reproduce the issue?

Link to comment

I actually don't need the program. Based on your description, the error message is telling you that the Widget couldn't reach your ISY to issue the command. So, the problem is related to the phone's ability to get a data signal at the time the widget was activated.

 

I don't believe there is anything we can do in the widget to fix a phone data problem, but wanted to know if there were reproducible steps that we can try in our lab to rule the widget out. For example,

 

- Phone is asleep.

- Wake phone up.

- Immediately find widget and attempt to activate program.

- Receive error message.

- Repeat command again.

- Command is successful.

 

Something like that flow is what we'd need to attempt to reproduce the error you are seeing.

 

Wes

Link to comment

- Phone is asleep.

- Wake phone up

- Notice 4 out of 5 wifi bars

- Immediately find widget and attempt to activate program "Run If" command

- Receive error message.

- Repeat command again.

- Receive error message.

- Go to browser and let webpage fully load

- Immediately find widget and attempt to activate program "Run If" command

- Receive error message.

- Go to browser and let webpage fully load

- Then go to a link on that webpage to bring up a website that I've never been to before.

- Let the new website fully load

- Notice 4 out of 5 wifi bars

- Immediately find widget and attempt to activate program "Run If" command

- Receive error message.

- Go to ISY on laptop and activate "run if" in same program

- Verify program "run if" command works when activated from ISY

- Immediately find widget and attempt to activate program "Run If" command (note: phone did not go to sleep between last try)

- Receive error message.

- sync mobilinc with ISY

- Immediately find widget and attempt to activate program "Run If" command

- Command is successful

- attempt to activate program "Run If" command

- Command is successful

- attempt to activate program "Run If" command

- Command is successful

 

Tomorrow when I come home from work I'll see if I can get it to work without syncing with ISY.

Link to comment

jmed999,

 

Quick suggestion. It sounds like the commands are working in MobiLinc. Please delete the widget and recreate your program widget and try again.

 

It sounds like perhaps the program's ID in the ISY changed from what it was when the widget was initially created. This can happen if the program is modified and saved in the Admin Console.

 

Wes

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...