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
d40fb7a762
Merge branch 'dev' into SP-1551-be-implement-total-energy-consumption-api-for-analytics-dashboard
2025-05-07 10:59:42 +03:00
0d48505eac
month name
2025-05-06 11:30:23 +03:00
e538f2b829
grain change
2025-05-06 11:28:43 +03:00
d197bf2bb4
feat: implement date formatting function and enhance PowerClampService with space-based data retrieval
2025-05-04 22:28:38 +03:00
2a1f1f52f6
feat: add presence sensor module with entity, DTO, and repository
2025-05-04 19:11:14 +03:00
e932d8a4a4
Merge pull request #357 from SyncrowIOT/add-node-local-env-in-winston
...
refactor: update winston logger configuration for environment-based logging
2025-05-02 02:28:40 +03:00
0fcd974af2
refactor: update winston logger configuration for environment-based logging
2025-05-02 02:28:01 +03:00
aee6b8df69
refactor: update procedure names in PowerClampService for clarity
2025-05-02 01:57:12 +03:00
a12046eee2
grouping
2025-05-01 15:19:24 +03:00
46325def06
fixed device_id
2025-05-01 15:16:11 +03:00
796f5c6c08
remove space_id
2025-05-01 15:02:35 +03:00
e365cb0b50
params fixes
2025-05-01 14:54:27 +03:00
cc755e5640
adjusted date param
2025-05-01 14:25:09 +03:00
ccba81ef1f
space_energy_consumed_procedure
2025-05-01 12:21:40 +03:00
62f2a6c3c9
created presence detection at space level
2025-04-28 13:44:03 +03: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
45eec4bb30
Merge branch 'dev' into fix-add-device-issue
2025-04-24 11:08:38 +03:00
51bf4c0170
fix: update connection timeout value in database module
2025-04-24 11:06:47 +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
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