• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
HP Recommended

Hi....

 

I have been looking into monitoring the battery status for a remote control, so the battery can be replaced pro-actively.

The status is present in the web gui and in the MIB I have found a trap.

 

Web gui ex.:

image

 

But traps is currently not an option for me, and manual web gui login is not feasible with the amount of endpoints.

 

So my question is there is anybody out there that have found a solution or have and idea, maybe with CLI.

 

Devices is running Poly OS 3.9.0

 

/Dan

Best regards - Dan Hemsø
Poly Video Professional (VIDEO-PRO) UC consultant
Remember mark as "Accepted Solutions" or if my reply/help is "Helpful"
1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

Hello @Dan_Hemsø ,

 

Welcome back to the Poly Community.


Some of the >REST API< is undocumented but I checked and you could use:

 

curl -b cookies.txt -c cookies.txt -X POST -d "{\"user\": \"admin\",\"password\": \"789\"}" -H "Content-Type: application/json" -k https://10.252.149.104/rest/session
curl -b cookies.txt -c cookies.txt -X GET -H "Content-Type: application/JSON" -k https://10.252.149.104/rest/system/bluetooth

 

 

Please be aware this is working at present but could change at any point. If you need this ensured please work with Poly sales to request this to be documented.

 

The reply would be (if a remote is paired):

[{"batteryLevel":100,"firmwareRevision":"97","id":"80:6F:B0:45:BF:81","name":"Polycom Remote","connected":true}]

 

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

 

------------------------------------------------
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.

Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN

View solution in original post

2 REPLIES 2
HP Recommended

Hello @Dan_Hemsø ,

 

Welcome back to the Poly Community.


Some of the >REST API< is undocumented but I checked and you could use:

 

curl -b cookies.txt -c cookies.txt -X POST -d "{\"user\": \"admin\",\"password\": \"789\"}" -H "Content-Type: application/json" -k https://10.252.149.104/rest/session
curl -b cookies.txt -c cookies.txt -X GET -H "Content-Type: application/JSON" -k https://10.252.149.104/rest/system/bluetooth

 

 

Please be aware this is working at present but could change at any point. If you need this ensured please work with Poly sales to request this to be documented.

 

The reply would be (if a remote is paired):

[{"batteryLevel":100,"firmwareRevision":"97","id":"80:6F:B0:45:BF:81","name":"Polycom Remote","connected":true}]

 

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

 

------------------------------------------------
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.

Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN
HP Recommended

Hi @SteffenBaierUK

 

Thanks for the reply.... That works...

 

Would be nice if SNMP existed for this.. But that would be a feature request.

 

But now I have something to work with.

 

/Dan

Best regards - Dan Hemsø
Poly Video Professional (VIDEO-PRO) UC consultant
Remember mark as "Accepted Solutions" or if my reply/help is "Helpful"
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.