Commit Graph

879 Commits

Author SHA1 Message Date
cb2056d1b3 added health check 2025-04-23 10:56:03 +04:00
dabf234349 refactor: clean up unused variable and update destructuring in device service 2025-04-22 13:54:12 +03:00
055518d672 Merge pull request #339 from SyncrowIOT/feat/commission-device
Feat/commission device
2025-04-22 11:04:15 +04:00
2470c8e09a fixed the response of batch get status 2025-04-22 10:25:44 +04:00
fcb27155d8 typeorm logger 2025-04-22 10:20:48 +04:00
506f3dae29 Merge pull request #340 from SyncrowIOT/SP-1310
- add winston logger
2025-04-22 09:48:13 +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
069cdf6f75 feat: add device name to actions and conditions in Automation and Scene services 2025-04-22 01:53:10 +03:00
2f12189eef feat: add device name field to DeviceEntity and update related DTOs and services 2025-04-22 01:53:03 +03:00
be3c9f730d - add winston logger
- updated HTTP logging interceptor
2025-04-21 11:38:11 +04: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
c677be400c added community info and tag 2025-04-17 10:41:39 +04:00
2010e631f2 filter for not deleted space 2025-04-16 10:42:20 +04:00
4810cc6f35 added controller to export 2025-04-16 10:28:57 +04:00
d24e7be4ea Merge branch 'dev' of https://github.com/SyncrowIOT/backend into feat/commission-device 2025-04-15 20:01:45 +04:00
5d379e0c36 export 2025-04-15 20:01:42 +04:00
32112930c8 Implement product creation functionality with DTO and permissions 2025-04-15 13:26:56 +03:00
9f3dce535d Merge pull request #333 from SyncrowIOT/SP-1430-be-api-request-returns-400-bad-request-instead-of-empty-array-when-community-has-no-devices-or-spaces
refactor: improve error handling for missing space in device listing
2025-04-14 14:26:37 +03:00
f723b63a91 Merge branch 'dev' into fix-some-issues-wehn-add-new-device 2025-04-14 14:26:13 +03:00
f71279ea30 Fix SQL query in getPowerClampData method to use 'fact_daily_energy_consumed' 2025-04-14 13:47:40 +03:00
777105fc28 refactor: improve error handling for missing space in device listing 2025-04-14 13:24:40 +03:00
3745962827 Add PowerClamp module with controller and service for energy data retrieval 2025-04-14 12:17:44 +03:00
a3001c8bb8 feat: add DEVICE_ADD permission and update device handling logic 2025-04-13 20:19:21 +03:00
f9eee8e266 reordering controller 2025-04-11 11:50:57 +04:00
de09624db8 added commissioning endpoint 2025-04-08 10:42:48 +04:00
d11c6a88f1 Merge pull request #327 from SyncrowIOT/add-root-user-when-when-create-project
feat: add user UUID to project creation and validate user existence
2025-04-07 09:49:32 +03:00
9c676a5231 added space community 2025-04-07 10:22:20 +04:00
e04f68a7ac updated the search for commuities 2025-04-06 21:14:16 +04:00
22d98fa177 feat: add user UUID to project creation and validate user existence 2025-04-03 12:27:36 +03:00
5e2e95b098 Merge pull request #325 from SyncrowIOT/SP-1306-be-implement-client-credential-flow-that-accept-client-id-and-client-secret-from-3rd-party-applications-and-issue-o-auth-jwt-tokens
SP-1306-be-implement-client-credential-flow-that-accept-client-id-and-client-secret-from-3rd-party-applications-and-issue-o-auth-jwt-tokens
2025-03-28 12:16:16 +03:00
cf8cf08bdc add client relation btw user and client 2025-03-27 01:55:26 +03:00
cbd3f5028b finished client endpoints 2025-03-27 01:28:40 +03:00
5f45876516 Merge pull request #319 from SyncrowIOT/SP-1322
added search for spaces
2025-03-25 21:55:56 +04:00
cd05c9906d convert the api from post to put 2025-03-25 10:25:13 +03:00
c5dac6c564 add register client api 2025-03-25 10:10:08 +03:00
6785fb2b1e finished refactor vistitor password device 2025-03-24 03:28:26 +03:00
8efd8cfba2 finished refactor devices module 2025-03-24 02:32:44 +03:00
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
d09bdd1f6e finished add community data in scene and automation 2025-03-20 11:12:37 +03:00
dd1229db9c add password as optional 2025-03-20 10:50:35 +03:00
9bc763bad3 refactor visitor passwords apis 2025-03-20 09:42:54 +03:00
b5469cb316 add project in the token 2025-03-20 09:42:28 +03:00
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
b0a403b0cf added search for spaces 2025-03-19 10:51:38 +04:00
1a313c103d finished return the last three parents 2025-03-19 00:50:24 +03:00
30badcde67 add where for community name 2025-03-18 21:20:27 +04:00
770d08ce08 add space name to get scenes endpoint 2025-03-18 13:35:49 +03:00
770ece21b3 add space name to get automations endpoint 2025-03-18 13:35:09 +03:00
39ac2e6860 add includeSpaces in the query param 2025-03-18 10:17:29 +03:00