Commit Graph

867 Commits

Author SHA1 Message Date
f7fd96afa1 fix: remove unused params from get all projects api 2025-05-20 14:40:48 +03:00
180d16eeb1 feat: add occupancy duration data retrieval and update procedures 2025-05-18 17:40:41 +03:00
e575e51c4c Merge pull request #375 from SyncrowIOT/fix-duplication-community
feat: optimize getAllDevicesByCommunity to prevent duplicate space processing
2025-05-15 10:09:59 +03:00
8750da7e62 feat: optimize getAllDevicesByCommunity to prevent duplicate space processing 2025-05-15 10:09:29 +03:00
e253d1ca03 refactor: optimize device retrieval by avoiding duplicate space visits in getAllDevicesByCommunity 2025-05-15 10:08:02 +03:00
67331aa92a feat: update DEVICE_SPACE_COMMUNITY route and add validation for spaceUuid and communityUuid in DTO 2025-05-14 13:00:09 +03:00
4aa3d04478 feat: update device and space services to use productType instead of deviceType and add query support for device retrieval by product type 2025-05-13 03:19:21 +03:00
799fcb6fb9 feat: add DEVICE_SPACE_COMMUNITY route and controller for device retrieval by space or community 2025-05-13 03:06:43 +03:00
7ec4171e1a feat: add occupancy module with controller, service, and related DTOs for heat map data retrieval 2025-05-12 02:15:57 +03:00
fb5084ba3a feat: add groupByDevice option to GetPowerClampBySpaceDto and update service logic 2025-05-11 01:59:26 +03:00
45b8cdcaae Add endpoints and logic for fetching power clamp data by community or space
- Introduced new API endpoints to retrieve power clamp historical data based on community or space UUID.
- Updated PowerClampController to handle requests with optional parameters for community and space.
- Enhanced PowerClampService to validate input and fetch devices accordingly.
- Created ResourceParamsDto to manage request parameters.
- Updated ControllerRoute with new action summaries and descriptions.
2025-05-07 23:09:01 +03:00
91abfb41ab Implement month-based date formatting and filtering in PowerClamp service 2025-05-07 12:17:17 +03:00
d197bf2bb4 feat: implement date formatting function and enhance PowerClampService with space-based data retrieval 2025-05-04 22:28:38 +03:00
8040594dc6 refactor: enhance PowerClampController with additional ApiParam for powerClampUuid 2025-04-28 10:18:07 +03:00
588d4cb98e refactor: update PowerClampController and service to use PowerClampParamsDto for parameter handling 2025-04-28 01:37:04 +03:00
6b8aa6836d fixed commission device 2025-04-27 22:42:03 +04:00
ff731ceea0 added tag check 2025-04-27 11:21:30 +04:00
488943338b removed tags from validate space 2025-04-25 10:58:35 +04:00
72e65882b1 feat: update PowerClamp routes to support historical data retrieval 2025-04-24 15:08:54 +03:00
1bdb13846f Merge branch 'dev' into SP-1355-powr-clap-historical-data 2025-04-24 15:04:11 +03:00
0ee26698ff feat: enhance PowerClamp service and controller to support filtering by date, month, and year 2025-04-24 12:46:24 +03:00
96b911bfa1 increase limit 2025-04-24 13:32:07 +04:00
f9e1219f55 throw appropriate error 2025-04-24 12:55:49 +04:00
e98633749d Merge pull request #349 from SyncrowIOT/SP-1315-BE-API-rate-limit
added health check
2025-04-24 12:26:19 +04:00
9844e13f42 added health check 2025-04-24 12:22:03 +04:00
2594c1229b Merge branch 'dev' of https://github.com/SyncrowIOT/backend into SP-1315-BE-API-rate-limit 2025-04-24 12:21:49 +04:00
45eec4bb30 Merge branch 'dev' into fix-add-device-issue 2025-04-24 11:08:38 +03:00
fa3f49af18 fix: handle potential undefined deviceDetails in getDeviceByDeviceUuid 2025-04-24 11:06:41 +03:00
28ec0377bc Merge pull request #343 from SyncrowIOT/SP-1311
typeorm logger
2025-04-24 11:53:30 +04:00
881618a4ee feat: enhance PowerClamp service with energy consumption procedures and enums 2025-04-24 03:14:03 +03:00
f3fd6646a1 feat: add SqlLoaderService to multiple modules for improved SQL data handling 2025-04-24 02:31:35 +03:00
7249a0badb Merge branch 'dev' into SP-1355-powr-clap-historical-data 2025-04-24 02:16:22 +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
0749fab633 health check 2025-04-23 17:31:16 +04:00
9da8214041 Merge pull request #346 from SyncrowIOT/add-product-name-for-all-devices
fix: include productName in device details response
2025-04-23 16:29:08 +03:00
59d526103c rebase from dev 2025-04-23 14:58:40 +03:00
d1bc723834 fix: include productName in device details response 2025-04-23 12:51:24 +03:00
cb2056d1b3 added health check 2025-04-23 10:56:03 +04:00
dabf234349 refactor: clean up unused variable and update destructuring in device service 2025-04-22 13:54:12 +03:00
055518d672 Merge pull request #339 from SyncrowIOT/feat/commission-device
Feat/commission device
2025-04-22 11:04:15 +04:00
2470c8e09a fixed the response of batch get status 2025-04-22 10:25:44 +04:00
fcb27155d8 typeorm logger 2025-04-22 10:20:48 +04:00
506f3dae29 Merge pull request #340 from SyncrowIOT/SP-1310
- add winston logger
2025-04-22 09:48:13 +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
069cdf6f75 feat: add device name to actions and conditions in Automation and Scene services 2025-04-22 01:53:10 +03:00
2f12189eef feat: add device name field to DeviceEntity and update related DTOs and services 2025-04-22 01:53:03 +03:00
be3c9f730d - add winston logger
- updated HTTP logging interceptor
2025-04-21 11:38:11 +04: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