Ask our Experts
Didn't find what you are looking for? Ask our experts!
Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-08-04 03:54 AM
Hi:
I need to get the power consumption from several devices, along with the total for a particular data center.
The problem is I'm not exactly sure how to do that.
Running the "getalldevices Request" I got a list of all our devices, but searching through the Response, the virtual devices
that I need to get the power consumption for returned a state of OFFLINE and a Type of unknown.
For example:
<ns2:ISXCDevice xmlns:ns2="http://www.apc.com/stdws/xsd/ISXCentral/2008/10">
<ns2:ISXCNamedElement>
<ns2:ISXCElement>
<ns2:ISXCElementType>DEVICE</ns2:ISXCElementType>
<ns2:id>Bb8fbf0_nbCustomSensorEncDEE38054</ns2:id>
</ns2:ISXCElement>
<ns2:name>A3 PDM Total</ns2:name>
</ns2:ISXCNamedElement>
<ns2:ISXCCommState>OFFLINE</ns2:ISXCCommState>
<ns2:ISXCDeviceType>UNKNOWN</ns2:ISXCDeviceType>
<ns2:hostName/>
<ns2:ipAddress/>
<ns2:modelName>Virtual Device</ns2:modelName>
<ns2:modelNumber/>
<ns2:parentID>Bb8fbf0</ns2:parentID>
<ns2:serialNumber/>
<ns2:ISXCDeviceState>NONE</ns2:ISXCDeviceState>
</ns2:ISXCDevice>
<ns2:ISXCDevice xmlns:ns2="http://www.apc.com/stdws/xsd/ISXCentral/2008/10">
So the bottom line is that I can't get the virtual sensor's power consumption without its id, and I can't get the id when the device
has OFFLINE in the state and UNKNOWN as the type. The admin says that the device is up and that he sees info on the desktop.
I would appreciate any help with this.
Thanks,
Jerry
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-08-04 04:56 AM
You have the deviceId, its the ns2:id field, the device type as unknown is normal, but not sure why it shows offline
<ns2:ISXCElementType>DEVICE</ns2:ISXCElementType>
<ns2:id>Bb8fbf0_nbCustomSensorEncDEE38054</ns2:id>
You can then use thegetSensorsForDevice request from ISXCentralSensorService wsdls to get the custom sensor id, then you can use the getSensorData request to get the values
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-08-04 04:56 AM
You have the deviceId, its the ns2:id field, the device type as unknown is normal, but not sure why it shows offline
<ns2:ISXCElementType>DEVICE</ns2:ISXCElementType>
<ns2:id>Bb8fbf0_nbCustomSensorEncDEE38054</ns2:id>
You can then use thegetSensorsForDevice request from ISXCentralSensorService wsdls to get the custom sensor id, then you can use the getSensorData request to get the values
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-08-04 06:26 AM
That seems to have worked on the first try.
Thank you very very much,
Jerry
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.