Commit Graph
507 Commits
Author SHA1 Message Date
faris Aljohari 7eb13088ac Refactor DeviceStatusLogEntity: update unique constraint and primary key definition 2025-06-09 04:50:58 -06:00
Karim Hussami 7b97e50d2e Merge pull request #391 from SyncrowIOT/DATA-space-model-aqi-update-logic
AQI space model updated with new hourly to daily logic for calculatio…
2025-06-04 17:40:39 -04:00
khuss ee0261d102 Fix typos procedure select and update 2025-06-04 17:32:50 -04:00
khuss 80e89dd035 fix name of snapshot table 2025-06-04 17:20:25 -04:00
khuss 466863e71f Procedures insert-all, update, and select for daily space air quality stats 2025-06-04 16:33:55 -04:00
Dona Maria Absi 30aafdede6 Merge pull request #390 from SyncrowIOT/DATA-device-model-aqi-update-logic
device model for aqi updated with hourly to daily logic getting max, …
2025-06-04 12:04:10 +03:00
khuss 3ad81864d1 updated space models to include suggested fixes, update final logic and column names 2025-06-03 21:05:34 -04:00
khuss ab3efedc35 device model updated to include the fixes and final columns 2025-06-03 20:52:27 -04:00
faljawhary 4a984ae5dd Merge pull request #395 from SyncrowIOT/SP-1678-be-implement-weather-apis-by-location
Add Weather module with controller, service, and DTO for fetching weather details
2025-06-03 03:05:01 -06:00
faris Aljohari c39129f75b Add Weather module with controller, service, and DTO for fetching weather details 2025-06-03 02:38:44 -06:00
ZaydSkaff 35ce13a67f fix: return proper error on login API (#386) 2025-06-03 09:47:24 +03:00
faris Aljohari 0fe6c80731 Add utility function to associate space UUID with devices in community and device services 2025-06-01 21:56:08 -06:00
faris Aljohari 191d0dfaf6 Remove unique constraint on subspace and product in SubspaceProductAllocationEntity; update product relation to nullable in NewTagEntity 2025-06-01 21:16:51 -06:00
khuss 5b0135ba80 AQI space model updated with new hourly to daily logic for calculations and categorization of aqi brackets 2025-06-01 16:09:17 -04:00
khuss 2fee8c055e device model for aqi updated with hourly to daily logic getting max, min, avergae and percentage of categorical values for each aqi bracket 2025-06-01 16:03:07 -04:00
Karim Hussami 59161d4049 Merge pull request #389 from SyncrowIOT/DATA-daily-space-aqi-model
Air quality and AQI for space model
2025-06-01 14:31:13 -04:00
Karim Hussami b989338790 Merge pull request #388 from SyncrowIOT/DATA-device-aqi-fix-update
fixed pm25 code + date format. Added average AQI level from device
2025-06-01 14:31:00 -04:00
Dona Maria Absi 3ac48183bd procedure fix test 2025-05-30 11:27:12 +03:00
Dona Maria Absi 684205053d testing fix 2025-05-30 10:51:26 +03:00
Dona Maria Absi bfd92fdd87 fix 2025-05-29 15:05:06 +03:00
Dona Maria Absi dd54af5f46 fix 2025-05-29 13:38:50 +03:00
khuss 90fc44ab53 Air quality and AQI for space model 2025-05-28 21:14:01 -04:00
khuss efdf918159 fixed pm25 code + date format. Added average AQI level from device 2025-05-28 20:42:56 -04:00
Dona Maria Absi 25967d02f9 model adjustments 2025-05-28 13:55:56 +03:00
khuss a7c4bf1c3d AQI score calculations and air quality model 2025-05-22 07:28:50 -04:00
Dona Maria Absi fe891030aa input year, output month 2025-05-22 13:10:05 +03:00
faris Aljohari 180d16eeb1 feat: add occupancy duration data retrieval and update procedures 2025-05-18 17:40:41 +03:00
faljawhary dca3db0c59 Merge pull request #373 from SyncrowIOT/DATA-space-occupancy-duration-procedure
DATA-space-occupancy-duration
2025-05-15 12:36:09 +03:00
Dona Maria Absi 56e78683b3 adjusted select 2025-05-15 12:28:38 +03:00
Dona Maria Absi b50d7682f3 updates 2025-05-14 15:50:28 +03:00
Dona Maria Absi 1bb3803229 wording 2025-05-14 15:03:52 +03:00
Dona Maria Absi 92ee6ee951 bug fix 2025-05-14 14:11:36 +03:00
Dona Maria Absi c06be4736c occupancy duration procedures 2025-05-14 13:34:29 +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 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
Dona Maria Absi 9c3abdd08a added on conflict 2025-05-09 16:25:30 +03:00
Dona Maria Absi 3535c1d8c5 month param 2025-05-09 15:47:05 +03:00
Dona Maria Absi 2ba5700fdd space occupancy API 2025-05-09 15:24:39 +03:00
faris Aljohari 8030644fee refactor: rename presence sensor entities and update related references 2025-05-09 13:11:14 +03:00
Dona Maria Absi f8269df3fb removed param from first CTE 2025-05-08 13:31:43 +03:00
Dona Maria Absi fa3cb578df param moved 2025-05-08 13:11:29 +03:00
faljawhary b4572beec2 Merge pull request #358 from SyncrowIOT/DATA-daily-occupancy-procedure
DATA-daily occupancy procedure
2025-05-08 12:55:42 +03:00
Dona Maria Absi 303493ad45 bug fix of the date parameter 2025-05-08 12:37:11 +03:00
Dona Maria Absi dc06cfff37 removed month to event_date 2025-05-08 10:59:47 +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
Dona Maria Absi 10005c7897 bug fix 2025-05-07 14:51:06 +03:00
Dona Maria Absi 59ffa233ee removed array 2025-05-07 14:48:31 +03:00
Dona Maria Absi 078de317e4 procedures 2025-05-07 14:30:56 +03:00
Dona Maria Absi ab89a13f95 procedure 2025-05-07 13:16:36 +03:00