Thank you a lot, Dan
That works... But the problem now is that we are asking to NAT'ed
devices, so they always answer with a 202 Device is Offline. So I think
the only way is to compare the _lastInform key.
Could you put an example of using that key? I can't find it on the API
guide in github. I can upload there it if you explain it.
Thank you!!
El 27/07/16 a las 00:33, Dan Morphis escribió:
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]
<mailto:[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] <mailto:[email protected]>
http://lists.genieacs.com/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected] <mailto:[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