Commit Graph
294 Commits
Author SHA1 Message Date
faris Aljohari f4205c39b3 Add method to get device by Tuya UUID and update getDevicesInGetawayTuya method 2024-06-25 00:38:46 +03:00
faris Aljohari b98197dd3f Merge pull request #50 from SyncrowIOT/fixed-error-handling-secene
refactor error message
2024-06-24 16:44:24 +03:00
faris Aljohari c5e24daaa5 refactor error message 2024-06-24 16:43:54 +03:00
faris Aljohari a39a98df9c Merge pull request #49 from SyncrowIOT/tap-to-run-scene
Tap to run scene
2024-06-24 16:06:28 +03:00
faris Aljohari feaae7341a Refactor Scene Module: Add Update Scene Tap To Run Endpoint 2024-06-24 16:03:01 +03:00
faris Aljohari d6f846086c Add TUYA_EU_URL to Tuya configuration 2024-06-24 14:36:24 +03:00
faris Aljohari cf60404e02 feat(scene): add tap-to-run scene functionality 2024-06-24 13:30:03 +03:00
faris Aljohari 4ffa8f05cf Add Tuya integration to UnitService 2024-06-24 13:29:32 +03:00
faris Aljohari b8a92c816a Refactor DeviceService's getDeviceByDeviceUuid method 2024-06-24 13:29:03 +03:00
faris Aljohari 5319d76d41 Add spaceTuyaUuid field to SpaceEntity 2024-06-24 13:28:54 +03:00
faris Aljohari 720b9ce23f Add snake case converter helper function 2024-06-24 13:28:21 +03:00
faris Aljohari d76952852d Merge pull request #33 from SyncrowIOT/SP-197-be-retrieve-devices-in-the-gateway
get getway devices
2024-06-11 12:25:43 +03:00
faris Aljohari 4c729da2a6 Merge branch 'dev' into SP-197-be-retrieve-devices-in-the-gateway 2024-06-11 12:03:30 +03:00
faris Aljohari 21cca2e373 Merge pull request #48 from SyncrowIOT/device-controlable-when-join-home
Add user permissions to devices when joining a unit
2024-06-05 12:38:48 +03:00
faris Aljohari dfca913bcc Add user permissions to devices when joining a unit 2024-06-05 12:37:09 +03:00
faris Aljohari c276d36da0 Merge pull request #47 from SyncrowIOT/remove-unit-uuid-from-invitation-code
Remove unnecessary code and properties from unit controller and add.u…
2024-06-03 00:32:57 +03:00
faris Aljohari d3e63adf54 Remove unnecessary code and properties from unit controller and add.unit.dto 2024-06-03 00:31:00 +03:00
faris Aljohari f5ba0e9c31 Merge pull request #46 from SyncrowIOT/remove-admin-gurad-unit-user
Refactor authentication guard in UnitController's addUserUnit method
2024-06-02 23:13:08 +03:00
faris Aljohari 4d679c7300 Refactor authentication guard in UnitController's addUserUnit method 2024-06-02 23:12:25 +03:00
faris Aljohari f7243fbaff Merge pull request #45 from SyncrowIOT/SP-217-device-grouping
Sp 217 device grouping
2024-06-02 21:18:48 +03:00
faris Aljohari bcab5a00d8 Refactor: Remove group and group-device modules 2024-06-02 21:12:50 +03:00
faris Aljohari 4d1861d137 Refactor group and device modules 2024-06-02 21:12:37 +03:00
faris Aljohari aad3b31cf0 Merge pull request #36 from SyncrowIOT/SP-232-consume-the-tuya-messaging-service-for-device-logs
Sp 232 consume the tuya messaging service for device logs
2024-06-02 19:36:22 +03:00
faris Aljohari 4531a1f87b Remove duplicate code and unnecessary dependency in user entity and package-lock.json respectively 2024-06-02 19:30:59 +03:00
faris Aljohari 8cf8a2da90 Add conditional check for Tuya web socket service 2024-06-02 19:30:51 +03:00
faris Aljohari 948d133e4f Merge branch 'dev' into SP-232-consume-the-tuya-messaging-service-for-device-logs 2024-06-02 19:09:58 +03:00
faris Aljohari 36ea87ec86 Merge pull request #44 from SyncrowIOT/fix-some-issues
Refactor code to remove duplicate code and improve readability
2024-06-02 15:22:16 +03:00
faris Aljohari 42b849b3c5 Refactor code to remove duplicate code and improve readability 2024-06-02 15:21:07 +03:00
faris Aljohari 62a8871243 Merge pull request #43 from SyncrowIOT/fix-device-user-issue
Refactor device controller endpoint to use 'user' prefix in route path
2024-06-02 15:08:08 +03:00
faris Aljohari 57c4a899d1 Refactor device controller endpoint to use 'user' prefix in route path 2024-06-02 15:06:39 +03:00
faris Aljohari cc5e61a5f2 Merge pull request #42 from SyncrowIOT/remove-nanoid-package
Add generateRandomString helper function and remove nanoid dependency
2024-06-01 20:26:36 +03:00
faris Aljohari f0606f81e7 Add generateRandomString helper function and remove nanoid dependency 2024-06-01 20:25:05 +03:00
faris Aljohari d86db78835 Merge pull request #41 from SyncrowIOT/SP-233-be-home-members
feat: Add unit invitation code functionality and user verification us…
2024-06-01 20:06:44 +03:00
faris Aljohari 0e99df8037 Refactor getUnitInvitationCode method to use dynamic import for nanoid library 2024-06-01 20:04:04 +03:00
faris Aljohari 483fc6375f feat: Add unit invitation code functionality and user verification using code 2024-06-01 19:56:07 +03:00
faris Aljohari b4830f7c2d Merge pull request #40 from SyncrowIOT/add-have-space-flag
Add SuperAdminRoleGuard to DeviceController and include haveRoom prop…
2024-05-30 15:05:25 +03:00
faris Aljohari 1e29a59fa3 Add SuperAdminRoleGuard to DeviceController and include haveRoom property in devicesData 2024-05-30 15:01:49 +03:00
faris Aljohari aacf842659 Merge pull request #39 from SyncrowIOT/get-devices-by-user
Refactor device controller and service
2024-05-30 00:19:59 +03:00
faris Aljohari 45071ab927 Refactor device controller and service 2024-05-30 00:18:53 +03:00
faris Aljohari 6257917860 Merge pull request #38 from SyncrowIOT/SP-234-be-user-assign-devices
feat(device): add endpoint to add device to user
2024-05-29 23:33:42 +03:00
faris Aljohari 423533df04 feat(device): add endpoint to add device to user 2024-05-29 23:29:53 +03:00
faris Aljohari 0a830ddf05 Refactor TuyaMessageSubscribeWebsocket class 2024-05-26 10:42:00 +03:00
faris Aljohari 1ad51fb391 install ws,onesignal-node 2024-05-26 00:39:35 +03:00
faris Aljohari c3a71cedb3 import the services in Helper Module 2024-05-26 00:39:11 +03:00
faris Aljohari cff8ac1c5c add device messages services to send notification 2024-05-26 00:38:22 +03:00
faris Aljohari bb9b043be9 add tuya web socket service 2024-05-26 00:37:51 +03:00
faris Aljohari 853251304f Add Tuya WebSocket configuration and credentials 2024-05-26 00:36:37 +03:00
faris Aljohari 7946c5673c Add global configuration to common module 2024-05-26 00:36:14 +03:00
faris Aljohari 35f061c907 Add UserNotificationEntity and DeviceNotificationEntity to database module imports 2024-05-26 00:35:34 +03:00
faris Aljohari 8b88d2be95 Add OneSignal configuration and service 2024-05-26 00:35:20 +03:00