The method check_group_night_mode determines the current night mode status of a certain group.

Method parameters

Parameter Name Description Default value Optional
group_name name of the group none no

Response

Response will return a json string with result_code=0 in case of success and the data indicating the night mode status. A non-zero result_code indicates an error and will be accompanied by a description of the error.

result_code Description
0 Success
500 Error. Details will be present in the json string.

The data will contain the fields:

  • status: 0 (OFF), 1 (ON)
  • night_mode_greeting
  • fwd_night_mode_dest_type
  • fwd_night_mode_dest_address