Commit Graph
77 Commits
Author SHA1 Message Date
hannathkadher 50cc6ed38f fixed communityUuid 2024-10-21 10:29:59 +04:00
hannathkadher 51922a8ae2 device start using space 2024-10-21 10:00:01 +04:00
faris Aljohari 8e4f98957b resolve battery issue 2024-10-08 15:18:41 -05:00
unknown 11759d8112 resolve conflicts 2024-10-08 10:59:31 +03:00
yousef-khriasat-uba 972e1423f5 Merge pull request #110 from SyncrowIOT/exception-handling-in-controllers
Exception handling in controllers
2024-10-08 10:57:26 +03:00
faris Aljohari 6bfb64370a finished soft delete devices 2024-10-07 23:11:16 -05:00
faris Aljohari b3b83f838c fix gateway issue 2024-10-07 14:58:50 -05:00
unknown 9a868c5757 added enums to replace constants 2024-10-06 15:44:49 +03:00
unknown 500ca23fba added exception filter and removed controller error handling 2024-10-06 11:04:25 +03:00
faris Aljohari 4c0bbd2849 finished added battery to water leak 2024-10-04 14:10:43 -05:00
faris Aljohari a00f784229 finished add battery value for the door sensor device 2024-10-01 16:24:24 -05:00
faris Aljohari 5703f067c9 add product name for the get all devices endpoint 2024-10-01 16:09:29 -05:00
faris Aljohari c49aad3e43 finished factory reset endpoint 2024-09-19 12:58:46 +03:00
faris Aljohari f814405825 remove console log 2024-09-17 15:19:00 +03:00
faris Aljohari 20dc93c354 add start time and end time for the device logs 2024-09-17 15:13:45 +03:00
faris Aljohari d1cdc1375a finished get status for batch devices endpoint 2024-09-17 09:18:40 +03:00
faris Aljohari 1fc04b5c78 finished devices batch control endpoint 2024-09-09 15:32:51 +03:00
faris Aljohari b9ab26441a Change log retrieval period to one hour in DeviceService 2024-08-28 21:35:56 +03:00
faris Aljohari d5e076c056 Change log retrieval period to one day for device logs 2024-08-27 17:21:01 +03:00
faris Aljohari df3a9ccc4f Update Device Log Retrieval Logic and Interface 2024-08-26 16:05:27 +03:00
faris Aljohari 807dc84501 Add Device Logs Retrieval Endpoint and Service 2024-08-26 14:41:02 +03:00
faris Aljohari 15987f7642 Update Device Service to Handle Promise Settlements and Add Battery Status for Door Locks 2024-08-24 16:45:00 +03:00
faris Aljohari a9d0e06c02 Add endpoint to fetch all devices with detailed information 2024-08-21 23:26:37 +03:00
faris Aljohari 95635ca02a Merge branch 'dev' into real-time-devices 2024-08-11 12:56:22 +03:00
faris Aljohari 3d96cfcb2a Switch Device Status Storage to Firebase 2024-08-10 21:01:22 +03:00
yousef-alkhrissat 8f761168b4 changed entity and type structure 2024-08-03 23:50:49 +03:00
faris Aljohari 8cb131f395 test 2024-07-30 14:14:58 +03:00
faris Aljohari ae02b0b288 Transfer device to parent space in Tuya when updating device in room 2024-07-20 18:19:05 +03:00
faris Aljohari ddfc55d9dd Add endpoint to get devices by unit ID 2024-07-01 14:29:54 +03:00
faris Aljohari d86b2ddeb7 Refactor device service to include Tuya UUID in device response 2024-06-25 10:15:21 +03:00
faris Aljohari b0dba387fb Refactor device controller and service 2024-06-25 10:02:55 +03:00
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 d6f846086c Add TUYA_EU_URL to Tuya configuration 2024-06-24 14:36:24 +03:00
faris Aljohari b8a92c816a Refactor DeviceService's getDeviceByDeviceUuid method 2024-06-24 13:29:03 +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 4d1861d137 Refactor group and device modules 2024-06-02 21:12:37 +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 57c4a899d1 Refactor device controller endpoint to use 'user' prefix in route path 2024-06-02 15:06:39 +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 45071ab927 Refactor device controller and service 2024-05-30 00:18:53 +03:00
faris Aljohari 423533df04 feat(device): add endpoint to add device to user 2024-05-29 23:29:53 +03:00
faris Aljohari cc006ff3c0 resolve conflict with dev branch 2024-05-21 16:20:05 +03:00
faris Aljohari 79c238f7d3 Merge branch 'dev' into SP-197-be-retrieve-devices-in-the-gateway 2024-05-21 15:35:31 +03:00
faris Aljohari 8cbfcae775 Merge branch 'dev' into SP-201-be-handle-roles-new 2024-05-19 17:42:24 +03:00
faris Aljohari 4ddc379bf7 Add support for multiple permission types in DeviceService 2024-05-19 14:25:29 +03:00
faris Aljohari 835fde8304 feat: Add success response with data in controllers 2024-05-19 14:25:19 +03:00
faris Aljohari 6415d78992 Remove USER role 2024-05-18 23:00:22 +03:00
faris Aljohari cd40dc897b Add endpoint to update device firmware 2024-05-18 20:23:17 +03:00
faris Aljohari 6b881ce01e Add ProductType enum and implement getDevicesInGetaway method 2024-05-11 22:25:43 +03:00