1

Topic: Parameter Example...

Hi,

For my application, I need a parameter storage on the chumby server.

I downloaded the Widget Parameter Example (http://wiki.chumby.com/index.php/Widget … er_Example)
I followed this tutorial :

In the output, i see this :

Widget Params URL = undefined
loading params from undefined
params download complete: false
undefined nodes
widget_parameters_node: undefined
0 parameters found

I looked in the code, the variables _root._chumby_instance_url and _root._chumby_widget_instance_href are undefined on my local machine and on the debug application submitted on my chumby account.

How can I get it work ? How can I test that on my local machine ?

Thanks in advance

Re: Parameter Example...

The parameters are only filled in when the widget runs on an actual device.  The "Control Panel" on the chumby is what provides those parameters.

Re: Parameter Example...

If you need a working example, let me know and I'll put one together for you.  Good luck.

-dev

4

Re: Parameter Example...

Hi,

I found finally. It was not clear for me that there is two swf :
one for the chumby itself
one for the chumby website to store the parameters on the server.

Now it works !

Thanks

Re: Parameter Example...

gw wrote:

Hi,

I found finally. It was not clear for me that there is two swf :
one for the chumby itself
one for the chumby website to store the parameters on the server.

Now it works !

Thanks

You can utilize the parameters functionality without the need to pair it with the "config.swf", but the trick is it must be running on the actual device, not on the local machine.

Glad it all worked out.

-dev