We're setting up an iPad to act as a check in kiosk. I've already restricted to a single app, turned off the buttons, etc and it works beautifully. The last request from the higher ups is to find a way to either dim or sleep the display outside of business hours to prevent burn-in/backlight failure.
From what I've seen this doesn't appear to be possible yet. Has anyone come across a way to programmatically sleep/wake an iOS device via MDM or other means?
You could use the API to send it a lock command (this effectively sleeps it) as a script on a scheduler like cron.
This should work, just replace id with the device ID you want to hit:
usr = 'apirobotorwhoever'
pwd = 'yourpassword'
jss = 'http://jss.blahblah.org'
id = '5133'
r = requests.post(jss + '/JSSResource/mobiledevicecommands/command/DeviceLock/Lock+Message/id/' + id, auth=(usr, pwd))
Then just hit the home button to wake it when you want to use it.