Commit Graph
863 Commits
Author SHA1 Message Date
faris Aljohari e253d1ca03 refactor: optimize device retrieval by avoiding duplicate space visits in getAllDevicesByCommunity 2025-05-15 10:08:02 +03:00
faris Aljohari 67331aa92a feat: update DEVICE_SPACE_COMMUNITY route and add validation for spaceUuid and communityUuid in DTO 2025-05-14 13:00:09 +03:00
faris Aljohari 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
faris Aljohari 799fcb6fb9 feat: add DEVICE_SPACE_COMMUNITY route and controller for device retrieval by space or community 2025-05-13 03:06:43 +03:00
faris Aljohari 7ec4171e1a feat: add occupancy module with controller, service, and related DTOs for heat map data retrieval 2025-05-12 02:15:57 +03:00
faris Aljohari fb5084ba3a feat: add groupByDevice option to GetPowerClampBySpaceDto and update service logic 2025-05-11 01:59:26 +03:00
faris Aljohari 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
faris Aljohari 91abfb41ab Implement month-based date formatting and filtering in PowerClamp service 2025-05-07 12:17:17 +03:00
faris Aljohari d197bf2bb4 feat: implement date formatting function and enhance PowerClampService with space-based data retrieval 2025-05-04 22:28:38 +03:00
faris Aljohari 8040594dc6 refactor: enhance PowerClampController with additional ApiParam for powerClampUuid 2025-04-28 10:18:07 +03:00
faris Aljohari 588d4cb98e refactor: update PowerClampController and service to use PowerClampParamsDto for parameter handling 2025-04-28 01:37:04 +03:00
hannathkadher 6b8aa6836d fixed commission device 2025-04-27 22:42:03 +04:00
hannathkadher ff731ceea0 added tag check 2025-04-27 11:21:30 +04:00
hannathkadher 488943338b removed tags from validate space 2025-04-25 10:58:35 +04:00
faris Aljohari 72e65882b1 feat: update PowerClamp routes to support historical data retrieval 2025-04-24 15:08:54 +03:00
faris Aljohari 1bdb13846f Merge branch 'dev' into SP-1355-powr-clap-historical-data 2025-04-24 15:04:11 +03:00
faris Aljohari 0ee26698ff feat: enhance PowerClamp service and controller to support filtering by date, month, and year 2025-04-24 12:46:24 +03:00
hannathkadher 96b911bfa1 increase limit 2025-04-24 13:32:07 +04:00
hannathkadher f9e1219f55 throw appropriate error 2025-04-24 12:55:49 +04:00
hannathkadher e98633749d Merge pull request #349 from SyncrowIOT/SP-1315-BE-API-rate-limit
added health check
2025-04-24 12:26:19 +04:00
hannathkadher 9844e13f42 added health check 2025-04-24 12:22:03 +04:00
hannathkadher 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
faris Aljohari 45eec4bb30 Merge branch 'dev' into fix-add-device-issue 2025-04-24 11:08:38 +03:00
faris Aljohari fa3f49af18 fix: handle potential undefined deviceDetails in getDeviceByDeviceUuid 2025-04-24 11:06:41 +03:00
hannathkadher 28ec0377bc Merge pull request #343 from SyncrowIOT/SP-1311
typeorm logger
2025-04-24 11:53:30 +04:00
faris Aljohari 881618a4ee feat: enhance PowerClamp service with energy consumption procedures and enums 2025-04-24 03:14:03 +03:00
faris Aljohari f3fd6646a1 feat: add SqlLoaderService to multiple modules for improved SQL data handling 2025-04-24 02:31:35 +03:00
faris Aljohari 7249a0badb Merge branch 'dev' into SP-1355-powr-clap-historical-data 2025-04-24 02:16:22 +03:00
faris Aljohari 7f43ef5de5 feat: integrate PowerClamp service and repositories across multiple modules 2025-04-24 02:14:58 +03:00
faris Aljohari 61a7e1c742 remove unused client and space DTOs and repository module 2025-04-23 16:58:42 +03:00
hannathkadher 0749fab633 health check 2025-04-23 17:31:16 +04:00
faljawhary 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
Dona Maria Absi 59d526103c rebase from dev 2025-04-23 14:58:40 +03:00
faris Aljohari d1bc723834 fix: include productName in device details response 2025-04-23 12:51:24 +03:00
hannathkadher cb2056d1b3 added health check 2025-04-23 10:56:03 +04:00
faris Aljohari dabf234349 refactor: clean up unused variable and update destructuring in device service 2025-04-22 13:54:12 +03:00
hannathkadher 055518d672 Merge pull request #339 from SyncrowIOT/feat/commission-device
Feat/commission device
2025-04-22 11:04:15 +04:00
hannathkadher 2470c8e09a fixed the response of batch get status 2025-04-22 10:25:44 +04:00
hannathkadher fcb27155d8 typeorm logger 2025-04-22 10:20:48 +04:00
hannathkadher 506f3dae29 Merge pull request #340 from SyncrowIOT/SP-1310
- add winston logger
2025-04-22 09:48:13 +04:00
hannathkadher 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
faris Aljohari 069cdf6f75 feat: add device name to actions and conditions in Automation and Scene services 2025-04-22 01:53:10 +03:00
faris Aljohari 2f12189eef feat: add device name field to DeviceEntity and update related DTOs and services 2025-04-22 01:53:03 +03:00
hannathkadher be3c9f730d - add winston logger
- updated HTTP logging interceptor
2025-04-21 11:38:11 +04:00
hannathkadher ed3c526efd fix commissioning 2025-04-21 10:58:14 +04:00
faris Aljohari 2b449e61ea add OTP email sending functionality and integrate with user authentication flow 2025-04-20 22:19:08 +03:00
hannathkadher c677be400c added community info and tag 2025-04-17 10:41:39 +04:00
hannathkadher 2010e631f2 filter for not deleted space 2025-04-16 10:42:20 +04:00
hannathkadher 4810cc6f35 added controller to export 2025-04-16 10:28:57 +04:00
hannathkadher d24e7be4ea Merge branch 'dev' of https://github.com/SyncrowIOT/backend into feat/commission-device 2025-04-15 20:01:45 +04:00