How do I change the Tobii Pro Glasses 2 settings using the REST API?

Tobii Pro Glasses 2 API Tobii Pro Glasses 2 Tobii Pro
Two different methods to change the Tobii Pro Glasses 2 settings using the REST API
1 - From your own application
You can use your own application to send HTTP POST requests to the Tobii Pro Glasses 2 REST API in order to change the settings.

2 - Using Tobii Pro Glasses Controller
From version 1.83 of Tobii Pro Glasses Controller, you can easily change the REST API settings from the Dashboard menu. Simply use the cog wheel at the bottom left of the Dashboard when the Tobii Pro Glasses 2 are connected.
 
Typical settings to be changed:
  • {"sys_ec_preset": "Indoor"} to change the preset to indoor.
  • {"sys_ec_preset": "ClearWeather"} to change the preset to outdoor.
  • {"sys_store_eyesstream": false} to not store eye images to the SD card.
  • {"sys_store_eyesstream": true} to store eye images to the SD card.
  • {"sys_et_freq": 100} to change the recording unit frequency to 100Hz (not supported for the 50Hz head unit).
  • {"sys_et_freq": 50} to change the recording unit frequency to 50Hz.
  • Check the Tobii Pro Glasses 2 API developer’s guide for more advanced HTTP POST requests.