Dew Heater Control

GET /equipment/camera/dew-heater

This endpoint sets the dew heater.

Query parameters

  • power boolean Required

    Whether to turn the dew heater on or off.

Responses

GET /equipment/camera/dew-heater
curl \
 --request GET 'http://localhost:1888/v2/api/equipment/camera/dew-heater?power=true'
Response examples (200)
{
  "Response": "Dew heater set",
  "Error": "string",
  "StatusCode": 200,
  "Success": true,
  "Type": "API"
}
Response examples (409)
{
  "Response": "string",
  "Error": "Camera not connected",
  "StatusCode": 409,
  "Success": false,
  "Type": "API"
}
Response examples (500)
{
  "Response": "string",
  "Error": "Unknown error",
  "StatusCode": 500,
  "Success": false,
  "Type": "API"
}