Mental health issues are becoming more common, and they are often experienced by people who would rather live alone, spend a lot of time on social media or playing video games, have trouble sleeping, struggle to maintain a work-life balance and avoid social situations. People experience depression as a result, which is one of these serious and common mental illnesses. This study introduces a method for measuring a person’s level of sadness by monitoring their regular sleeping habits and a few other aspects. The proposal aimed to use a decision integration strategy model to identify sleeping patterns by using the sleeping-behavioural attributes obtained from a wearable sensor. An imbalance in sleep patterns causes the body to experience several issues, such as an increase in body temperature and a decrease in energy. A wearable sensor was used to categorize the data to simplify sleeping habits better. Using the “Montgomery-Asberg Depression Rating Scale” score, which produced 12 characteristics, people’s sleeping habits and other characteristics were analyzed together with their weekly depression levels. Using the wrapper feature selection strategy, a subset of features was selected and employed in a linear regression model to estimate the depression score. Next, the decision integration strategy algorithm was employed to classify each person’s level of depression into four categories: normal, mild, moderate, and severe. In instances of general regular, mild, moderate, and severe depression severity, it outperformed other classification models, such as the support vector machine, decision trees, random forest, and gradient boosting machine, with an accuracy of 96.1%. The Pearson correlation test shows deep sleep, light sleep, number of awakings, total sleep, average body temperature, heart-beat-rate, absolute energy, age, and ssuh/gaming were shown to be significantly related (r = 0.22; p < 0.001, r = − 0.21; p < 0.001, r = − 0.21; p < 0.001, r = 0.17; p < 0.001, r = 0.35; p < 0.001, r = 0.33; p < 0.001, r = 0.33; p < 0.001, r = − 0.32; p < 0.001, r = − 0.25; p < 0.001, respectively). In our proposed model, the tenfold validation precision, recall, f1-Score, and accuracy are 93.4, 94.8, 95.2, and 95.1, respectively. This approach to diagnosing depression can monitor people for depression without compromising their privacy or causing other daily disruptions, making it an affordable long-term option.