Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

DCE Sensor Web-Service

EcoStruxure IT forum

Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure IT
  • EcoStruxure IT forum
  • DCE Sensor Web-Service
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Cory_McDonald
Admiral Cory_McDonald Admiral
124
Jef
Admiral Jef Admiral
108
gsterling
Captain gsterling Captain
71
APC_Steve
Captain APC_Steve Captain
62
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to EcoStruxure IT forum
Solved
aashraf
Lieutenant JG aashraf Lieutenant JG
Lieutenant JG

Posted: ‎2020-04-26 05:59 AM

0 Likes
1
1196
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-04-26 05:59 AM

DCE Sensor Web-Service

Dears,

 

Regarding the SOAP APIs of DCE, Specially for Sensor web service.

I Know that using Sensor web service methods we can get any sensor value/measurement.

The question is, Does this service work also for virtual sensors created on DCE or only work for sensors which represent an actual device?

 

Thanks,

Ahmed Ashraf

Labels
  • Labels:
  • Data Center Expert
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Cory_McDonald
Admiral Cory_McDonald Admiral
Admiral

Posted: ‎2020-04-26 06:37 AM . Last Modified: ‎2020-04-26 06:45 AM

1 Like
0
1190
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-04-26 06:37 AM . Last Modified: ‎2020-04-26 06:45 AM

Ahmed,

 

You should be able to pull historical data for virtual sensors in the following manner:

 

  1. Use ISXCentralDeviceServices_v2 > getAllDevices to pull the list of devices and find the virtual device.  Use the IS, <ns2:id>, value for that device in the below steps.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:isx="http://www.apc.com/stdws/xsd/ISXCentralDevices-v2">
    <soapenv:Header/>
    <soapenv:Body>
    <isx:getAllDevicesRequest>
    <!--Optional:-->
    <isx:locale>?</isx:locale>
    </isx:getAllDevicesRequest>
    </soapenv:Body>
    </soapenv:Envelope>
    PARTIAL RESULTS (limited to only the virtual device due to length of results)
    <ns2:ISXCDevice xmlns:ns2="http://www.apc.com/stdws/xsd/ISXCentral/2009/10">
       <ns2:ISXCNamedElement>
          <ns2:ISXCElement>
             <ns2:ISXCElementType>DEVICE</ns2:ISXCElementType>
             <ns2:id>B1db239_nbCustomSensorEncEBAB9071</ns2:id>
          </ns2:ISXCElement>
          <ns2:name>Test-2</ns2:name>
       </ns2:ISXCNamedElement>
       <ns2:ISXCCommState>OFFLINE</ns2:ISXCCommState>
       <ns2:ISXCDeviceType>UNKNOWN</ns2:ISXCDeviceType>
       <ns2:hostName/>
       <ns2:ipAddress/>
       <ns2:location/>
       <ns2:modelName>Virtual Device</ns2:modelName>
       <ns2:modelNumber/>
       <ns2:parentID>B1db239</ns2:parentID>
       <ns2:serialNumber/>
       <ns2:ISXCDeviceState>NONE</ns2:ISXCDeviceState>
       <ns2:supplemental xsi:nil="true"/>
    </ns2:ISXCDevice>
  2. ISXCentralSensorService_v2 > getSensorsForDevice.  Plug the value from step 1 into the <isx:ISXCElementID> field in the request.  This will display a list of sensors associated to that virtual device.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:isx="http://www.apc.com/stdws/xsd/ISXCentralSensors-v2">
       <soapenv:Header/>
       <soapenv:Body>
          <isx:getSensorsForDeviceRequest>
             <isx:ISXCElementID>B1db239_nbCustomSensorEncEBAB9071</isx:ISXCElementID>
          </isx:getSensorsForDeviceRequest>
       </soapenv:Body>
    </soapenv:Envelope>
    RESULTS
    <ns2:ISXCNamedElement>
      <ns2:ISXCElement>
        <ns2:ISXCElementType>SENSOR</ns2:ISXCElementType>
        <ns2:id>B1db239_nbCustomSensorEncEBAB9071_CUSTOMSENSOR_40F5AB4D</ns2:id>
      </ns2:ISXCElement>
      <ns2:name>Test-2</ns2:name>
    </ns2:ISXCNamedElement>
  3. Grab the ID, <ns2:id>, of the sensor that you wish to grab historical data for.
    <ns2:ISXCNamedElement>
    <ns2:ISXCElement>
    <ns2:ISXCElementType>SENSOR</ns2:ISXCElementType>
    <ns2:id>B1db239_nbCustomSensorEncEBAB9071_CUSTOMSENSOR_40F5AB4D</ns2:id>
    </ns2:ISXCElement>
    <ns2:name>Test-2</ns2:name>
    </ns2:ISXCNamedElement>
  4. ISXCentralSensorService_v2 > getHistoricalSensorData.  Plug the value for <ns2:id> (sensor ID) into this request.  Note that some of the fields are optional, and example date/time values are listed.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:isx="http://www.apc.com/stdws/xsd/ISXCentralSensors-v2">
       <soapenv:Header/>
       <soapenv:Body>
          <isx:getHistoricalSensorDataRequest>
             <!--Optional:-->
             <isx:endDate>2019-10-23T03:54:37.894-04:00</isx:endDate>
             <!--Optional:-->
             <isx:locale></isx:locale>
             <!--Optional:-->
             <isx:maxDataPoints>100</isx:maxDataPoints>
             <isx:ISXCElementID>B1db239_nbCustomSensorEncEBAB9071_CUSTOMSENSOR_40F5AB4D</isx:ISXCElementID>
             <!--Optional:-->
             <isx:startDate>2019-10-20T03:54:37.894-04:00</isx:startDate>
          </isx:getHistoricalSensorDataRequest>
       </soapenv:Body>
    </soapenv:Envelope>
    RESULTS
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soap:Body xmlns:ns1="http://www.apc.com/stdws/xsd/ISXCentralSensors-v2">
          <ns1:getHistoricalSensorDataResponse>
             <ns1:ArrayOfISXCSensorData>
                <ns2:ISXCSensorData xmlns:ns2="http://www.apc.com/stdws/xsd/ISXCentral/2009/10">
                   <ns2:timeStamp>2019-10-20T20:01:30.347-04:00</ns2:timeStamp>
                   <ns2:units>W</ns2:units>
                   <ns2:value>36.70000076293945</ns2:value>
                   <ns2:ISXCValueType>UNKNOWN</ns2:ISXCValueType>
                </ns2:ISXCSensorData>
                <ns2:ISXCSensorData xmlns:ns2="http://www.apc.com/stdws/xsd/ISXCentral/2009/10">
                   <ns2:timeStamp>2019-10-20T20:06:10.913-04:00</ns2:timeStamp>
                   <ns2:units>W</ns2:units>
                   <ns2:value>33.20000076293945</ns2:value>
                   <ns2:ISXCValueType>UNKNOWN</ns2:ISXCValueType>
                </ns2:ISXCSensorData>
                <ns2:ISXCSensorData xmlns:ns2="http://www.apc.com/stdws/xsd/ISXCentral/2009/10">
                   <ns2:timeStamp>2019-10-20T20:11:09.244-04:00</ns2:timeStamp>
                   <ns2:units>W</ns2:units>
                   <ns2:value>39.0</ns2:value>
                   <ns2:ISXCValueType>UNKNOWN</ns2:ISXCValueType>
                </ns2:ISXCSensorData>
    ...100 results in total...

 

 

 

Kind Regards,

Cory 

See Answer In Context

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

Reply 1
Cory_McDonald
Admiral Cory_McDonald Admiral
Admiral

Posted: ‎2020-04-26 06:37 AM . Last Modified: ‎2020-04-26 06:45 AM

1 Like
0
1191
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-04-26 06:37 AM . Last Modified: ‎2020-04-26 06:45 AM

Ahmed,

 

You should be able to pull historical data for virtual sensors in the following manner:

 

  1. Use ISXCentralDeviceServices_v2 > getAllDevices to pull the list of devices and find the virtual device.  Use the IS, <ns2:id>, value for that device in the below steps.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:isx="http://www.apc.com/stdws/xsd/ISXCentralDevices-v2">
    <soapenv:Header/>
    <soapenv:Body>
    <isx:getAllDevicesRequest>
    <!--Optional:-->
    <isx:locale>?</isx:locale>
    </isx:getAllDevicesRequest>
    </soapenv:Body>
    </soapenv:Envelope>
    PARTIAL RESULTS (limited to only the virtual device due to length of results)
    <ns2:ISXCDevice xmlns:ns2="http://www.apc.com/stdws/xsd/ISXCentral/2009/10">
       <ns2:ISXCNamedElement>
          <ns2:ISXCElement>
             <ns2:ISXCElementType>DEVICE</ns2:ISXCElementType>
             <ns2:id>B1db239_nbCustomSensorEncEBAB9071</ns2:id>
          </ns2:ISXCElement>
          <ns2:name>Test-2</ns2:name>
       </ns2:ISXCNamedElement>
       <ns2:ISXCCommState>OFFLINE</ns2:ISXCCommState>
       <ns2:ISXCDeviceType>UNKNOWN</ns2:ISXCDeviceType>
       <ns2:hostName/>
       <ns2:ipAddress/>
       <ns2:location/>
       <ns2:modelName>Virtual Device</ns2:modelName>
       <ns2:modelNumber/>
       <ns2:parentID>B1db239</ns2:parentID>
       <ns2:serialNumber/>
       <ns2:ISXCDeviceState>NONE</ns2:ISXCDeviceState>
       <ns2:supplemental xsi:nil="true"/>
    </ns2:ISXCDevice>
  2. ISXCentralSensorService_v2 > getSensorsForDevice.  Plug the value from step 1 into the <isx:ISXCElementID> field in the request.  This will display a list of sensors associated to that virtual device.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:isx="http://www.apc.com/stdws/xsd/ISXCentralSensors-v2">
       <soapenv:Header/>
       <soapenv:Body>
          <isx:getSensorsForDeviceRequest>
             <isx:ISXCElementID>B1db239_nbCustomSensorEncEBAB9071</isx:ISXCElementID>
          </isx:getSensorsForDeviceRequest>
       </soapenv:Body>
    </soapenv:Envelope>
    RESULTS
    <ns2:ISXCNamedElement>
      <ns2:ISXCElement>
        <ns2:ISXCElementType>SENSOR</ns2:ISXCElementType>
        <ns2:id>B1db239_nbCustomSensorEncEBAB9071_CUSTOMSENSOR_40F5AB4D</ns2:id>
      </ns2:ISXCElement>
      <ns2:name>Test-2</ns2:name>
    </ns2:ISXCNamedElement>
  3. Grab the ID, <ns2:id>, of the sensor that you wish to grab historical data for.
    <ns2:ISXCNamedElement>
    <ns2:ISXCElement>
    <ns2:ISXCElementType>SENSOR</ns2:ISXCElementType>
    <ns2:id>B1db239_nbCustomSensorEncEBAB9071_CUSTOMSENSOR_40F5AB4D</ns2:id>
    </ns2:ISXCElement>
    <ns2:name>Test-2</ns2:name>
    </ns2:ISXCNamedElement>
  4. ISXCentralSensorService_v2 > getHistoricalSensorData.  Plug the value for <ns2:id> (sensor ID) into this request.  Note that some of the fields are optional, and example date/time values are listed.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:isx="http://www.apc.com/stdws/xsd/ISXCentralSensors-v2">
       <soapenv:Header/>
       <soapenv:Body>
          <isx:getHistoricalSensorDataRequest>
             <!--Optional:-->
             <isx:endDate>2019-10-23T03:54:37.894-04:00</isx:endDate>
             <!--Optional:-->
             <isx:locale></isx:locale>
             <!--Optional:-->
             <isx:maxDataPoints>100</isx:maxDataPoints>
             <isx:ISXCElementID>B1db239_nbCustomSensorEncEBAB9071_CUSTOMSENSOR_40F5AB4D</isx:ISXCElementID>
             <!--Optional:-->
             <isx:startDate>2019-10-20T03:54:37.894-04:00</isx:startDate>
          </isx:getHistoricalSensorDataRequest>
       </soapenv:Body>
    </soapenv:Envelope>
    RESULTS
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soap:Body xmlns:ns1="http://www.apc.com/stdws/xsd/ISXCentralSensors-v2">
          <ns1:getHistoricalSensorDataResponse>
             <ns1:ArrayOfISXCSensorData>
                <ns2:ISXCSensorData xmlns:ns2="http://www.apc.com/stdws/xsd/ISXCentral/2009/10">
                   <ns2:timeStamp>2019-10-20T20:01:30.347-04:00</ns2:timeStamp>
                   <ns2:units>W</ns2:units>
                   <ns2:value>36.70000076293945</ns2:value>
                   <ns2:ISXCValueType>UNKNOWN</ns2:ISXCValueType>
                </ns2:ISXCSensorData>
                <ns2:ISXCSensorData xmlns:ns2="http://www.apc.com/stdws/xsd/ISXCentral/2009/10">
                   <ns2:timeStamp>2019-10-20T20:06:10.913-04:00</ns2:timeStamp>
                   <ns2:units>W</ns2:units>
                   <ns2:value>33.20000076293945</ns2:value>
                   <ns2:ISXCValueType>UNKNOWN</ns2:ISXCValueType>
                </ns2:ISXCSensorData>
                <ns2:ISXCSensorData xmlns:ns2="http://www.apc.com/stdws/xsd/ISXCentral/2009/10">
                   <ns2:timeStamp>2019-10-20T20:11:09.244-04:00</ns2:timeStamp>
                   <ns2:units>W</ns2:units>
                   <ns2:value>39.0</ns2:value>
                   <ns2:ISXCValueType>UNKNOWN</ns2:ISXCValueType>
                </ns2:ISXCSensorData>
    ...100 results in total...

 

 

 

Kind Regards,

Cory 

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of