8f9b15f49f
fix: adjust category handling for CUR_2 device type in schedule retrieval
2025-06-30 07:12:43 -06:00
5bf44a18e1
add cur2 checks to schedule
2025-06-30 14:09:32 +03:00
c9d794d988
fix: update role type formatting in user invitation email
2025-06-30 01:25:09 -06:00
90ab291d83
add curtain module device ( #440 )
2025-06-29 10:10:19 +03:00
5381a949bc
task: delete used & its relations ( #437 )
2025-06-25 15:32:46 +03:00
6973e8b195
task: sort communities by creation date ( #416 )
2025-06-19 11:13:24 +03:00
7520b8d9c7
fix: power clamp historical API ( #408 )
2025-06-17 15:17:49 +03:00
72753b6dfb
merge dev to main
2025-06-14 15:18:20 -06:00
568eef8119
Merge branch 'dev'
2025-06-14 15:04:48 -06:00
a91d0f22a4
fix: send correct enable status to email sender function ( #407 )
2025-06-13 09:46:41 +03:00
ea9a65178d
fix: add space filter to "join" operation instead of "and" operation ( #405 )
2025-06-11 16:28:33 +03:00
8503ee728d
Refactor/space management ( #404 )
...
* refactor: reducing used queries on get communities (#385 )
* refactor: fix create space logic (#394 )
* Remove unique constraint on subspace and product in SubspaceProductAllocationEntity; update product relation to nullable in NewTagEntity
* refactor: fix create space logic
* device model updated to include the fixes and final columns
* updated space models to include suggested fixes, update final logic and column names
* task: removing old references of the old tag-product relation
* task: remove old use of tags
* task: remove old tag & tag model usage
* refactor: delete space
* task: remove unused functions
* fix lint rule
2025-06-11 13:15:21 +03:00
2cb77504ca
Add PollutantType enum and update AQI-related entities and services to use it
2025-06-11 00:28:00 -06:00
c86be27576
Add AQI module and related services, controllers, and DTOs
...
- Introduced AqiModule with AqiService and AqiController for handling AQI data.
- Added DTOs for AQI requests: GetAqiDailyBySpaceDto and GetAqiPollutantBySpaceDto.
- Implemented AqiDataService for managing AQI sensor historical data.
- Updated existing modules to include AqiDataService where necessary.
- Defined new routes for AQI data retrieval in ControllerRoute.
2025-06-10 18:19:34 -06:00
43dfaaa90d
fix: utilize WEATHER_API_URL in WeatherService for dynamic API endpoint
2025-06-04 01:32:01 -06:00
ea021ad228
fix: update error message for invalid latitude and longitude in fetchWeatherDetails method
2025-06-04 01:09:49 -06:00
cd3e9016f2
fix: improve error handling in fetchWeatherDetails method
2025-06-04 01:08:33 -06:00
c39129f75b
Add Weather module with controller, service, and DTO for fetching weather details
2025-06-03 02:38:44 -06:00
0fe6c80731
Add utility function to associate space UUID with devices in community and device services
2025-06-01 21:56:08 -06:00
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
d3a560d18f
Revert "DATA-date-param-moved"
2025-05-08 13:08:41 +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