<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 09/11/2018 06:07 PM, Malto 4 wrote:<br>
<blockquote type="cite"
cite="mid:CAKtWWxBdOn8QZBSKh_xOETSrsXYfiLJL_j57fa+TeECFg-3-VA@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">
<div dir="ltr">Hi Dan,
<div><br>
</div>
<div>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 <span
style="background-color:rgb(239,236,202);color:rgb(70,60,0);font-family:"Lucida
Sans Unicode","Lucida
Grande",Arial,sans-serif;font-size:13px;white-space:nowrap">InternetGatewayDevice.LANDevice.1.Hosts.Host</span>,
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. </div>
<div><br>
</div>
<div>This is the code I am using:</div>
<div>declare("InternetGatewayDevice.LANDevice.1.Hosts.Host.*",
{value: now});<br>
</div>
<div><br>
</div>
<div>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.</div>
<div>Do you know any way that I could update the list of all
connected Hosts to my CPE?</div>
<div><br>
</div>
<div>Thank you very much,</div>
<div>-James</div>
</div>
</div>
</blockquote>
<p><tt>Hi </tt><tt>James,</tt><tt><br>
</tt></p>
<p><tt>The following preset </tt><tt>worked for me a while ago</tt><tt>:</tt><tt><br>
</tt></p>
<p><tt>-- cut here --<br>
</tt></p>
<p><tt>let now = Date.now();</tt><tt><br>
</tt><tt>declare("InternetGatewayDevice.LANDevice.1.Hosts.HostNumberOfEntries",
{value: now});</tt><tt><br>
</tt><tt>declare("InternetGatewayDevice.LANDevice.1.Hosts.Host.*.*",
{path:now, value: now});</tt></p>
<p><tt>-- cut here --<br>
</tt></p>
<p><tt>Hope this helps.</tt><br>
</p>
</body>
</html>