85b7637b;
SessionId=c6ca2fc23d3f211e0517d4c603fbe4205c77d13dd6913c7bc12eef4085b7
637b"
}
RESPONSE = requests.request("POST", URL,
data=PAYLOAD, headers=HEADERS)
print(RESPONSE.text)
Room Analytics People Presence Detector
People Presence shows day-to-day conference room
usage analytics and helps you find available meeting
rooms based on facial recognition and ultrasonic
technology. xAPI allows you to turn on/off the detector
via an API. Example 10-23 shows a Python script that
sets the People Presence detector on a device to ON.
Example 10-23 Python Script to Set the People
Presence Detector to ON
Click here to view code image
""" Webex Devices - Set People Presence
detector ON """
import requests
URL = "http://10.10.20.159/put.xml"
PAYLOAD = (
'<Configuration>' +
' <RoomAnalytics>'
'
<PeoplePresenceDetector>On</PeoplePresenceDetector>'
+
' </RoomAnalytics>' +
'</Configuration>'
)
HEADERS = {
'Content-Type': "application/xml",
'Cookie':
"SessionId=c6ca2fc23d3f211e0517d4c603fbe4205c77d13dd6913c7bc12eef4085b
7637b"
}