The way I determine if a CPE is online is to do a getParameterValues on InternetGatewayDevice.ManagementServer.PeriodicInformInterval with connection_request in the URI. If the GenieACS API returns a 200, then I know the CPE is online.
The last inform value can be pulled from the api, the key is _lastInform. -dan On Tue, Jul 26, 2016 at 2:30 PM, Sergio < [email protected]> wrote: > I've thought about it now... And I don't know how to perform the last > option... > > 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! > > Thank you, > > Sergio F. > > > El 27/07/16 a las 00:21, Sergio escribió: > > Hello! >> >> 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. >> >> 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. >> >> It's obvious that querying how much time since the last inform will work, >> but that's our last option. >> >> Thank you! >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.genieacs.com/mailman/listinfo/users >> > > _______________________________________________ > Users mailing list > [email protected] > http://lists.genieacs.com/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
