Standard Status Set

Last Updated on : 2022-01-13 06:21:32download

This topic describes the standard status set of smart pill boxes (znyh).

Status to be sent and reported

Code
Name
Type
Description
take_pill_state State of taking pills Enum {“range”:[“taken”,“not_taken”]}
cell_number Number of cells Integer {“min”:1,“max”:30,“scale”:0,“step”:1}
pill_remain Pills remaining Integer {“min”:1,“max”:30,“scale”:0,“step”:1}
pill_alarm Alarm clock Raw {}

Status only to be reported

Code
Name
Type
Description
battery_status Battery level Enum {“range”:[“level_1”,“level_2”,“level_3”]}