Refreshing Parameter Values

George Chelidze george.chelidze at magticom.ge
Tue Sep 11 11:08:51 EDT 2018


On 09/11/2018 06:07 PM, Malto 4 wrote:
> Hi Dan,
>
> It seems that I got {value: 1} and {value: now} confused, after
> updating my provisions with this information they are now working the
> way I want them to. All except
> for InternetGatewayDevice.LANDevice.1.Hosts.Host, I'm trying to update
> the list of all connected Hosts to the device and no matter how I try
> to do it I can't figure it out. 
>
> This is the code I am using:
> declare("InternetGatewayDevice.LANDevice.1.Hosts.Host.*", {value: now});
>
> Which, from what I understand, should update the whole tree as you
> mentioned in your example, but it doesn't seem to detect connected Hosts.
> Do you know any way that I could update the list of all connected
> Hosts to my CPE?
>
> Thank you very much,
> -James

Hi James,

The following preset worked for me a while ago:

-- cut here --

let now = Date.now();
declare("InternetGatewayDevice.LANDevice.1.Hosts.HostNumberOfEntries",
{value: now});
declare("InternetGatewayDevice.LANDevice.1.Hosts.Host.*.*", {path:now,
value: now});

-- cut here --

Hope this helps.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20180911/5ff50869/attachment-0001.html>


More information about the Users mailing list