Commit Graph

530 Commits

Author SHA1 Message Date
3c5b97f2f9 feat: add SQL procedures for daily, hourly, and monthly energy consumption data 2025-04-24 02:22:13 +03:00
7249a0badb Merge branch 'dev' into SP-1355-powr-clap-historical-data 2025-04-24 02:16:22 +03:00
92f908c0fb feat: implement PowerClampService for managing hourly energy consumption data 2025-04-24 02:15:45 +03:00
7f43ef5de5 feat: integrate PowerClamp service and repositories across multiple modules 2025-04-24 02:14:58 +03:00
61a7e1c742 remove unused client and space DTOs and repository module 2025-04-23 16:58:42 +03:00
5490b5781d fix deployment error 2025-04-23 16:55:57 +03:00
531f93d42c fix: enhance log output in device status to include UUID and timestamp 2025-04-23 16:52:54 +03:00
ea1201307c insert historical data 2025-04-23 16:18:14 +03:00
fde34dcf9c fix: update log output in energy status check for better debugging 2025-04-23 15:13:53 +03:00
8228ccc293 feat: add power clamp entities, DTOs, and repository for energy consumption tracking 2025-04-23 15:08:51 +03:00
59d526103c rebase from dev 2025-04-23 14:58:40 +03:00
516a885251 removed all params 2025-04-23 14:54:09 +03:00
6bc068c5e6 add SQL query for hourly energy consumption analysis 2025-04-23 13:06:42 +03:00
cff947a84a database config 2025-04-22 21:44:46 +04:00
e019774f58 type fixing 2025-04-22 16:55:07 +03:00
6330f7823b adjusted param 2025-04-22 16:48:30 +03:00
fea5d4d828 added more steps 2025-04-22 16:38:02 +03:00
8072812b4b added params 2025-04-22 16:30:18 +03:00
055518d672 Merge pull request #339 from SyncrowIOT/feat/commission-device
Feat/commission device
2025-04-22 11:04:15 +04:00
fcb27155d8 typeorm logger 2025-04-22 10:20:48 +04:00
acbfa450f6 Merge pull request #341 from SyncrowIOT/SP-1357-be-add-our-product-name-and-device-name-related-to-the-syncrow-regardless-the-supplier
SP-1357-be-add-our-product-name-and-device-name-related-to-the-syncrow-regardless-the-supplier
2025-04-22 09:47:21 +04:00
1b3eb08fcb fix: set name column to non-nullable in DeviceEntity 2025-04-22 01:58:31 +03:00
2f12189eef feat: add device name field to DeviceEntity and update related DTOs and services 2025-04-22 01:53:03 +03:00
ed3c526efd fix commissioning 2025-04-21 10:58:14 +04:00
2b449e61ea add OTP email sending functionality and integrate with user authentication flow 2025-04-20 22:19:08 +03:00
d341c47286 add SosHandlerService and integrate SOS handling in TuyaWebSocketService 2025-04-17 16:58:34 +03:00
c34011660f Merge pull request #335 from SyncrowIOT/DATA-parametrized-energy-consumption
DATA-parametrized energy consumption
2025-04-17 10:05:47 +03:00
c677be400c added community info and tag 2025-04-17 10:41:39 +04:00
25650ca91b adjusted params 2025-04-16 12:14:38 +03:00
eba3513e14 added params 2025-04-16 11:22:12 +03:00
d24e7be4ea Merge branch 'dev' of https://github.com/SyncrowIOT/backend into feat/commission-device 2025-04-15 20:01:45 +04:00
5d379e0c36 export 2025-04-15 20:01:42 +04:00
78cb65d712 Added parameter setup 2025-04-15 14:40:52 +03:00
32112930c8 Implement product creation functionality with DTO and permissions 2025-04-15 13:26:56 +03:00
30dd8318e3 Add SQL queries for hourly energy consumption tracking and refactor daily energy consumed query 2025-04-15 12:20:37 +03:00
f723b63a91 Merge branch 'dev' into fix-some-issues-wehn-add-new-device 2025-04-14 14:26:13 +03:00
7be4e4eeef Refactor SQL queries for device presence detection: rename missing_date to date, enhance motion detection logic, and update aggregation for total presence counts. 2025-04-14 14:17:48 +03:00
303ea696cb Add SQL queries for device logs, energy consumption, presence detection, and product category definitions 2025-04-14 13:47:32 +03:00
3745962827 Add PowerClamp module with controller and service for energy data retrieval 2025-04-14 12:17:44 +03:00
a3001c8bb8 feat: add DEVICE_ADD permission and update device handling logic 2025-04-13 20:19:21 +03:00
de09624db8 added commissioning endpoint 2025-04-08 10:42:48 +04:00
5e2e95b098 Merge pull request #325 from SyncrowIOT/SP-1306-be-implement-client-credential-flow-that-accept-client-id-and-client-secret-from-3rd-party-applications-and-issue-o-auth-jwt-tokens
SP-1306-be-implement-client-credential-flow-that-accept-client-id-and-client-secret-from-3rd-party-applications-and-issue-o-auth-jwt-tokens
2025-03-28 12:16:16 +03:00
c7fc4e3a5d refactor: enhance TuyaWebSocketService to handle environment-specific message extraction 2025-03-28 03:34:30 +03:00
cf8cf08bdc add client relation btw user and client 2025-03-27 01:55:26 +03:00
cbd3f5028b finished client endpoints 2025-03-27 01:28:40 +03:00
5f45876516 Merge pull request #319 from SyncrowIOT/SP-1322
added search for spaces
2025-03-25 21:55:56 +04:00
ef9cf6ad28 convert the route to devices 2025-03-25 10:24:52 +03:00
c5dac6c564 add register client api 2025-03-25 10:10:08 +03:00
a4b743eb58 add client entity 2025-03-25 02:29:00 +03:00
6785fb2b1e finished refactor vistitor password device 2025-03-24 03:28:26 +03:00