<div dir="ltr"><span style="color:rgb(70,60,0);font-family:"Lucida Sans Unicode","Lucida Grande",Arial,sans-serif;font-size:13px;line-height:16px">The way I determine if a CPE is online is to do a getParameterValues on </span><font color="#463c00" face="Lucida Sans Unicode, Lucida Grande, Arial, sans-serif"><span style="line-height:16px">InternetGatewayDevice.ManagementServer.PeriodicInformInterval with connection_request in the URI. If the GenieACS API returns a 200, then I know the CPE is online.</span></font><br><div><font color="#463c00" face="Lucida Sans Unicode, Lucida Grande, Arial, sans-serif"><span style="line-height:16px"><br></span></font></div><div><font color="#463c00" face="Lucida Sans Unicode, Lucida Grande, Arial, sans-serif"><span style="line-height:16px">The last inform value can be pulled from the api, the key is _lastInform.</span></font></div><div><font color="#463c00" face="Lucida Sans Unicode, Lucida Grande, Arial, sans-serif"><span style="line-height:16px"><br></span></font></div><div><font color="#463c00" face="Lucida Sans Unicode, Lucida Grande, Arial, sans-serif"><span style="line-height:16px">-dan</span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 26, 2016 at 2:30 PM, Sergio <span dir="ltr"><<a href="mailto:sergio.fernandez@electronicamartinez.com" target="_blank">sergio.fernandez@electronicamartinez.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've thought about it now... And I don't know how to perform the last option...<br>
<br>
How could I query to GenieACS to know when has occurred the last inform? I thought I knew it but I've found I've got no idea to query that!<br>
<br>
Thank you,<br>
<br>
Sergio F.<br>
<br>
<br>
El 27/07/16 a las 00:21, Sergio escribió:<div class="HOEnZb"><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello!<br>
<br>
I wanted to know if there's anything to know if a device is on or off. Maybe a parameter or some internal way to do it.<br>
<br>
I ask this because we have tried to query a device while connected and while disconnected, answering GenieACS the same for some parameters of the CPE's status.<br>
<br>
It's obvious that querying how much time since the last inform will work, but that's our last option.<br>
<br>
Thank you!<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
</blockquote>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>