faris Aljohari
|
0fcd974af2
|
refactor: update winston logger configuration for environment-based logging
|
2025-05-02 02:28:01 +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 |
|
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 |
|
faris Aljohari
|
45eec4bb30
|
Merge branch 'dev' into fix-add-device-issue
|
2025-04-24 11:08:38 +03:00 |
|
faris Aljohari
|
51bf4c0170
|
fix: update connection timeout value in database module
|
2025-04-24 11:06:47 +03:00 |
|
faris Aljohari
|
fa3f49af18
|
fix: handle potential undefined deviceDetails in getDeviceByDeviceUuid
|
2025-04-24 11:06:41 +03: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
|
3c5b97f2f9
|
feat: add SQL procedures for daily, hourly, and monthly energy consumption data
|
2025-04-24 02:22:13 +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
|
92f908c0fb
|
feat: implement PowerClampService for managing hourly energy consumption data
|
2025-04-24 02:15:45 +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 |
|
faris Aljohari
|
5490b5781d
|
fix deployment error
|
2025-04-23 16:55:57 +03:00 |
|
faris Aljohari
|
531f93d42c
|
fix: enhance log output in device status to include UUID and timestamp
|
2025-04-23 16:52:54 +03:00 |
|
faris Aljohari
|
fde34dcf9c
|
fix: update log output in energy status check for better debugging
|
2025-04-23 15:13:53 +03:00 |
|
faris Aljohari
|
8228ccc293
|
feat: add power clamp entities, DTOs, and repository for energy consumption tracking
|
2025-04-23 15:08:51 +03:00 |
|
faris Aljohari
|
6bc068c5e6
|
add SQL query for hourly energy consumption analysis
|
2025-04-23 13:06:42 +03:00 |
|
faris Aljohari
|
d1bc723834
|
fix: include productName in device details response
|
2025-04-23 12:51:24 +03:00 |
|
faris Aljohari
|
dabf234349
|
refactor: clean up unused variable and update destructuring in device service
|
2025-04-22 13:54:12 +03:00 |
|
faris Aljohari
|
1b3eb08fcb
|
fix: set name column to non-nullable in DeviceEntity
|
2025-04-22 01:58:31 +03: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 |
|
faris Aljohari
|
2b449e61ea
|
add OTP email sending functionality and integrate with user authentication flow
|
2025-04-20 22:19:08 +03:00 |
|
faris Aljohari
|
1e6503c072
|
Merge pull request #337 from SyncrowIOT/SP-1346-be-sos-button-real-time-sync-issue
|
2025-04-18 09:21:24 +03:00 |
|
faris Aljohari
|
d341c47286
|
add SosHandlerService and integrate SOS handling in TuyaWebSocketService
|
2025-04-17 16:58:34 +03:00 |
|
faris Aljohari
|
32112930c8
|
Implement product creation functionality with DTO and permissions
|
2025-04-15 13:26:56 +03:00 |
|
faris Aljohari
|
30dd8318e3
|
Add SQL queries for hourly energy consumption tracking and refactor daily energy consumed query
|
2025-04-15 12:20:37 +03:00 |
|
faris Aljohari
|
f723b63a91
|
Merge branch 'dev' into fix-some-issues-wehn-add-new-device
|
2025-04-14 14:26:13 +03:00 |
|
faris Aljohari
|
7be4e4eeef
|
Refactor SQL queries for device presence detection: rename missing_date to date, enhance motion detection logic, and update aggregation for total presence counts.
|
2025-04-14 14:17:48 +03:00 |
|
faris Aljohari
|
f71279ea30
|
Fix SQL query in getPowerClampData method to use 'fact_daily_energy_consumed'
|
2025-04-14 13:47:40 +03:00 |
|
faris Aljohari
|
303ea696cb
|
Add SQL queries for device logs, energy consumption, presence detection, and product category definitions
|
2025-04-14 13:47:32 +03:00 |
|
faris Aljohari
|
777105fc28
|
refactor: improve error handling for missing space in device listing
|
2025-04-14 13:24:40 +03:00 |
|
faris Aljohari
|
3745962827
|
Add PowerClamp module with controller and service for energy data retrieval
|
2025-04-14 12:17:44 +03:00 |
|
faris Aljohari
|
a3001c8bb8
|
feat: add DEVICE_ADD permission and update device handling logic
|
2025-04-13 20:19:21 +03:00 |
|
faris Aljohari
|
22d98fa177
|
feat: add user UUID to project creation and validate user existence
|
2025-04-03 12:27:36 +03:00 |
|
faris Aljohari
|
c7fc4e3a5d
|
refactor: enhance TuyaWebSocketService to handle environment-specific message extraction
|
2025-03-28 03:34:30 +03:00 |
|
faris Aljohari
|
cf8cf08bdc
|
add client relation btw user and client
|
2025-03-27 01:55:26 +03:00 |
|
faris Aljohari
|
cbd3f5028b
|
finished client endpoints
|
2025-03-27 01:28:40 +03:00 |
|
faris Aljohari
|
cd05c9906d
|
convert the api from post to put
|
2025-03-25 10:25:13 +03:00 |
|
faris Aljohari
|
ef9cf6ad28
|
convert the route to devices
|
2025-03-25 10:24:52 +03:00 |
|
faris Aljohari
|
c5dac6c564
|
add register client api
|
2025-03-25 10:10:08 +03:00 |
|
faris Aljohari
|
a4b743eb58
|
add client entity
|
2025-03-25 02:29:00 +03:00 |
|
faris Aljohari
|
6785fb2b1e
|
finished refactor vistitor password device
|
2025-03-24 03:28:26 +03:00 |
|
faris Aljohari
|
8efd8cfba2
|
finished refactor devices module
|
2025-03-24 02:32:44 +03:00 |
|
faris Aljohari
|
2712ce673a
|
Merge pull request #322 from SyncrowIOT/edit-visitor-passwords-route
finished edit visitor passwords route
|
2025-03-21 09:57:24 +03:00 |
|
faris Aljohari
|
794e12d5d3
|
finished edit visitor passwords route
|
2025-03-21 09:56:13 +03:00 |
|
faris Aljohari
|
fb2e0c6cba
|
Merge pull request #321 from SyncrowIOT/add-community-in-get-scenes-and-automation
finished add community data in scene and automation
|
2025-03-21 09:46:02 +03:00 |
|
faris Aljohari
|
338b73ac7a
|
Merge pull request #320 from SyncrowIOT/SP-1309-be-create-custom-nestjs-guard-for-project-validation-and-SP-1242
Sp 1309 be create custom nestjs guard for project validation and sp 1242
|
2025-03-21 09:45:35 +03:00 |
|
faris Aljohari
|
d09bdd1f6e
|
finished add community data in scene and automation
|
2025-03-20 11:12:37 +03:00 |
|
faris Aljohari
|
dd1229db9c
|
add password as optional
|
2025-03-20 10:50:35 +03:00 |
|
faris Aljohari
|
9bc763bad3
|
refactor visitor passwords apis
|
2025-03-20 09:42:54 +03:00 |
|
faris Aljohari
|
b5469cb316
|
add project in the token
|
2025-03-20 09:42:28 +03:00 |
|
faris Aljohari
|
670c026cfd
|
Merge pull request #317 from SyncrowIOT/SP-1331-be-return-space-name-in-get-scene-and-get-automation-by-space-apis
SP-1331-be-return-space-name-in-get-scene-and-get-automation-by-space-apis
|
2025-03-19 11:05:53 +03:00 |
|
faris Aljohari
|
611cee79b3
|
Merge pull request #318 from SyncrowIOT/SP-1332-be-return-the-last-three-parent-for-spaces-that-have-devices
finished return the last three parents
|
2025-03-19 11:04:43 +03:00 |
|
faris Aljohari
|
1a313c103d
|
finished return the last three parents
|
2025-03-19 00:50:24 +03:00 |
|
faris Aljohari
|
770d08ce08
|
add space name to get scenes endpoint
|
2025-03-18 13:35:49 +03:00 |
|
faris Aljohari
|
770ece21b3
|
add space name to get automations endpoint
|
2025-03-18 13:35:09 +03:00 |
|
faris Aljohari
|
ec851eda9d
|
Merge pull request #316 from SyncrowIOT/SP-1321-be-return-the-spaces-in-get-communities-by-project-api
finished return the spaces in get community
|
2025-03-18 10:18:37 +03:00 |
|
faris Aljohari
|
39ac2e6860
|
add includeSpaces in the query param
|
2025-03-18 10:17:29 +03:00 |
|
faris Aljohari
|
9902b02700
|
finished return the spaces in get community
|
2025-03-18 01:52:01 +03:00 |
|
faris Aljohari
|
b6fa37b1a3
|
Merge pull request #304 from SyncrowIOT/fix-assign-device-to-room
fix tag relation in device entity
|
2025-03-11 20:04:40 +03:00 |
|
faris Aljohari
|
5204cd5504
|
fix tag relation in device entity
|
2025-03-11 20:03:30 +03:00 |
|
faris Aljohari
|
fa009d6f6e
|
Merge pull request #303 from SyncrowIOT/fix-relation-tags-issue
fix relation tags issue
|
2025-03-11 15:15:40 +03:00 |
|
faris Aljohari
|
9f83b4286c
|
fix relation tags issue
|
2025-03-11 15:14:59 +03:00 |
|
faris Aljohari
|
c62c952544
|
Merge pull request #300 from SyncrowIOT/fix-get-spaces-hierarchy-issue
remove duplicate issue
|
2025-03-11 12:20:52 +03:00 |
|
faris Aljohari
|
f9878ff272
|
remove duplicate issue
|
2025-03-11 12:19:26 +03:00 |
|
faris Aljohari
|
7dc2a8d0c9
|
Merge pull request #297 from SyncrowIOT/fix-get-spaces-issue
return tags name
|
2025-03-10 15:41:43 +03:00 |
|
faris Aljohari
|
7e513f0d31
|
return tags name
|
2025-03-10 15:40:58 +03:00 |
|
faris Aljohari
|
f6d47d0e39
|
Merge branch 'dev' of https://github.com/SyncrowIOT/backend into dev
|
2025-03-10 11:24:23 +03:00 |
|
faris Aljohari
|
ea09f633ee
|
remove tags relation from device table
|
2025-03-10 11:23:51 +03:00 |
|
faris Aljohari
|
c8d72a90b6
|
remove old tag flow
|
2025-03-10 10:42:00 +03:00 |
|
faris Aljohari
|
dd56300b96
|
fix delete space and sub space
|
2025-03-07 03:16:24 +03:00 |
|
faris Aljohari
|
f7848a7394
|
finished edit the response
|
2025-03-06 13:03:56 +03:00 |
|
faris Aljohari
|
5e6c7bef9e
|
Merge pull request #280 from SyncrowIOT/SP-1078-be-implement-api-to-assign-a-space-model-or-reassign-it-to-a-space
add space linking when create or update space
|
2025-03-06 12:33:31 +03:00 |
|
faris Aljohari
|
61692c70d1
|
add overwrite when update spaces with spacesModel
|
2025-03-06 11:13:14 +03:00 |
|
faris Aljohari
|
6864e000b8
|
add space linking when create or update space
|
2025-03-06 02:33:48 +03:00 |
|
faris Aljohari
|
4e43954175
|
clear subspace tags allocation
|
2025-03-03 21:06:22 +03:00 |
|
faris Aljohari
|
2b6f6be149
|
clear space tags allocation
|
2025-03-03 21:05:54 +03:00 |
|
faris Aljohari
|
5d5984da80
|
Merge pull request #276 from SyncrowIOT/tags-dto-error
fix ProcessTagDto dto issues
|
2025-03-03 10:08:38 +03:00 |
|
faris Aljohari
|
95ecbab165
|
fix ProcessTagDto dto issues
|
2025-03-03 10:05:11 +03:00 |
|
faris Aljohari
|
221a2af32b
|
using new tags relation with space
|
2025-03-03 00:23:55 +03:00 |
|
faris Aljohari
|
8a5709b1c9
|
finished spaces validation endpoint
|
2025-03-02 22:48:02 +03:00 |
|
faris Aljohari
|
a9e5454b61
|
Add space product
|
2025-02-27 13:36:28 +03:00 |
|
faris Aljohari
|
902ddbab50
|
update space service
|
2025-02-27 13:36:08 +03:00 |
|
faris Aljohari
|
419a10e055
|
Merge pull request #270 from SyncrowIOT/SP-1229-be-return-community-id-with-each-space-in-the-user-management
|
2025-02-26 16:25:49 +03:00 |
|
faris Aljohari
|
e3e2981673
|
Include community details in user spaces response
|
2025-02-26 16:19:55 +03:00 |
|
faris Aljohari
|
2bdc406cf7
|
Merge pull request #265 from SyncrowIOT/fix-firebase-real-time-issue
change set to transaction
|
2025-02-25 15:37:02 +03:00 |
|
faris Aljohari
|
630b3ee2b9
|
change set to transaction
|
2025-02-25 15:33:04 +03:00 |
|
faris Aljohari
|
19ef10aa87
|
Merge pull request #259 from SyncrowIOT/add-space-name-to-door-lock-devices
Add space device relation and space name to device details
|
2025-02-17 02:18:18 -06:00 |
|
faris Aljohari
|
733ccee88d
|
Add space device relation and space name to device details
|
2025-02-17 02:13:28 -06:00 |
|
faris Aljohari
|
afec306681
|
Merge pull request #258 from SyncrowIOT/fix-get-device-by-project
Add project UUID filter to device query in DeviceService
|
2025-02-17 01:16:36 -06:00 |
|
faris Aljohari
|
6fbeef97df
|
Add project UUID filter to device query in DeviceService
|
2025-02-17 01:15:48 -06:00 |
|
faris Aljohari
|
b2b8d02400
|
Merge pull request #255 from SyncrowIOT/return-project-uuid-in-user-details
Include project relation in user retrieval
|
2025-02-13 05:59:32 -06:00 |
|
faris Aljohari
|
b793597711
|
Include project relation in user retrieval
|
2025-02-13 05:53:48 -06:00 |
|
faris Aljohari
|
7546dbbf35
|
Add Tag Module with CRUD operations
|
2025-02-12 00:42:47 -06:00 |
|
faris Aljohari
|
f9869e86c9
|
Merge branch 'dev'
|
2025-02-05 08:24:25 -06:00 |
|