Research Article

A Smart System for Sitting Posture Detection Based on Force Sensors and Mobile Application

Table 1

Description of chair data attributes.

AttributeExplanationType/states

actual_sitting_stateInformation about sitting posture.String {green, orange, red}
avg_deviationAverage standard deviation from the last five measurements for four bottom sensors.Float
avg_back_deviationAverage standard deviation from the last five measurements for two back sensors.Float
actual_sitting_timeCurrent uninterrupted sitting on the chair in seconds.Integer
back_data_presentIt indicates if there are present valid data from back sensors.Integer {0, 1}
long_sittingIt indicates long uninterrupted sitting on the chair.Integer {0, 1}
DurationThe elapsed time in second from the login.Integer
start_timeLogin time.Unix timestamp
sitting_historyHistory of the sitting states with the Unix timestamp, when the changes occurred.Array of objects
actual_sitting_statusIt indicates if there is somebody sitting in the chair.Integer {0, 1}

Object “chdata” is added to the message in the node “Chair 1 statistic.” Figure 9 describes the function node flowchart.