Refreshing Parameter Values

Dan Morphis dan at
Mon Sep 10 14:11:27 EDT 2018

So the way second parameter works is GenieACS will only update if the data
in its cached model is older than the value given. I.e.,
{value: now}); tells GenieACS to *always* refresh parameter the value
because the cached data will always be older than now. {value: 1} is unix
epoch, i.e. 1-Jan-1970 at 00:00:00. So giving a time value of 1 tells Genie
to *only* refresh the parameter if it doesn't know about it.

If you want to refresh an entire tree, you need to explicitly tell GenieACS
declare("InternetGatewayDevice.ManagementServer.*", {value: 1});

That will tell GenieACS to refresh the parameters in the entire mgmt server
tree if it doesn't already have a value for that parameter. Given that
InternetGatewayDevice.ManagementServer shouldn't ever change via an
external value, you wouldn't need to use {value: now}. Yes the
parameter changes, but that will be included in the parameter list by the
CPE when it does an inform.

Make sense?


On Sun, Sep 9, 2018 at 10:48 PM Malto 4 <andr0idmalto4 at> wrote:

> Hello,
> I'm having a problem refreshing values. I have a Preset which runs at
> every 2 PERIODIC Inform event to try and update some values of parameters.
> I know that to update a specific value I can use the following code:
> declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.*.SSID",
> {value: now});
> Using {value: 1} in the case that I always want the parameter to refresh
> and {value: now} only if the value has changed (From what I understand).
> But now if I want to refresh a whole Object Instance, when I use:
> declare("InternetGatewayDevice.ManagementServer", {value: now});
> it updates the data model but doesn't refresh the parameter values. The
> only way I can update the object values is with the Refresh button that
> appears next to the Parameter in the GUI.
> Example:
> Can anyone tell me how I can update all the ParameterNames AND
> ParameterValues of a specific Object with Provisions?
> Thank you and sorry if anything is poorly explained.
> -James
> _______________________________________________
> Users mailing list
> Users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Users mailing list