331c8dffdc
Merge pull request #482 from SyncrowIOT/task/add-spaces-and-communities-filters-to-automations-and-scenes
...
SP-1883, SP-1884: Task/add spaces and communities filters to automations and scenes
2025-07-25 08:26:59 +03:00
f447cfa065
Merge pull request #470 from SyncrowIOT/fix/remove-x-y-from-space
...
SP-1853: Space Fixes
2025-07-23 09:02:54 +03:00
d065742d87
task: add space filter to scenes & automations
2025-07-22 15:38:09 +03:00
c0849c2252
Merge pull request #477 from SyncrowIOT/task/implement-duplicate-space-apo
...
SP-1822: implement duplicate space API
2025-07-22 13:38:38 +03:00
a060f92208
implement duplicate space API
2025-07-20 11:23:43 +03:00
85687e7950
fix: refactor device status logging and improve property handling in batch processing
2025-07-16 20:05:58 -06:00
12579fcd6e
fix nodemailer import ( #473 )
2025-07-15 16:46:50 +03:00
e5970c02c1
SP-1757, SP-1758, SP-1809, SP-1810: Feat/implement booking ( #469 )
...
* fix: commission device API
* task: add create booking API
* add get All api for dashboard & mobile
* add Find APIs for bookings
* implement sending email updates on update bookable space
* move email interfaces to separate files
2025-07-15 10:11:36 +03:00
2c3b985594
remove x & y from space, add validation on space naming
2025-07-14 16:03:48 +03:00
a9cb1b6704
SP-1830: add company name to invite user entity ( #468 )
2025-07-10 15:41:46 +03:00
09322c5b80
add booking points to user table ( #461 )
2025-07-09 14:25:42 +03:00
74d3620d0e
Chore/space link tag cleanup ( #462 )
...
* chore: remove unused imports and dead code for space link
* chore: remove unused imports and dead code
* chore: remove unused imports and dead code of tag service
2025-07-09 14:25:26 +03:00
83be80d9f6
add order space API ( #459 )
2025-07-09 11:44:14 +03:00
0bb178ed10
make point nullable ( #457 )
2025-07-08 14:50:00 +03:00
9971fb953d
SP-1812: Task/booking-system/update-api ( #456 )
...
* add update bookable spaces API
* add search to get bookable spaces API
2025-07-08 11:52:22 +03:00
18b21d697c
SP-1753 Feat/booking system ( #454 )
...
* task: add get all bookable spaces API (#453 )
* task: add non bookable space API
2025-07-08 09:02:24 +03:00
66391bafd8
SP-1814: Update out-of-date device-virtual-id ( #451 )
...
* task: add a function to update device tuya id
* Add Tuya const uuid to device
2025-07-07 10:38:20 +03:00
a9eaf44d31
Merge branch 'main' into dev
2025-07-03 00:10:00 -06:00
c5f8f96977
Merge branch 'dev' into SP-1754-be-implement-configure-space
2025-07-02 02:25:43 -06:00
13c0f87fc6
fix: filter daily averages by space_id and event_date in update procedure
2025-06-30 04:09:40 -06:00
90ab291d83
add curtain module device ( #440 )
2025-06-29 10:10:19 +03:00
f80d097ff8
refactor: optimize log insertion and clean up device cache handling in TuyaWebSocketService
2025-06-25 18:57:56 -06:00
04bd156df1
Merge branch 'dev' into add-check-log-to-trace-the-map-issue
2025-06-25 18:42:43 -06:00
731819aeaa
feat: enhance device status handling with caching and batch processing improvements
2025-06-25 18:37:46 -06:00
68d2d3b53d
fix: improve device retrieval logic in addDeviceStatusToFirebase method
2025-06-25 08:13:02 -06:00
c0a069b460
fix: enhance device status handling by integrating device cache for improved performance
2025-06-25 08:03:23 -06:00
5381a949bc
task: delete used & its relations ( #437 )
2025-06-25 15:32:46 +03:00
324661e1ee
fix: add missing check for device UUID in batch processing logs
2025-06-25 05:30:15 -06:00
a83424f45b
fix: remove unnecessary validation for missing properties in device status logs
2025-06-25 05:29:28 -06:00
71f6ccb4db
fix: add validation for missing properties in device status logs
2025-06-25 05:20:26 -06:00
9bebcb2f3e
feat: implement scheduler for periodic data updates and optimize database procedures
...
- Added SchedulerModule and SchedulerService to handle hourly data updates for AQI, occupancy, and energy consumption.
- Refactored existing services to remove unused device repository dependencies and streamline procedure execution.
- Updated SQL procedures to use correct parameter indexing.
- Enhanced error handling and logging for scheduled tasks.
- Integrated new repositories for presence sensor and AQI pollutant stats across multiple modules.
- Added NestJS schedule package for task scheduling capabilities.
2025-06-25 03:20:25 -06:00
43ab0030f0
refactor: clean up unused services and optimize batch processing in DeviceStatusFirebaseService
2025-06-25 03:20:12 -06:00
d255e6811e
update procedures
2025-06-25 10:47:37 +03:00
4e6b6f6ac5
adjusted procedures
2025-06-24 13:04:21 +03:00
932a3efd1c
Sp 1780 be configure the curtain module device ( #424 )
...
* task: add Cur new device configuration
2025-06-24 12:18:46 +03:00
d1d4d529a8
Add methods to handle SOS events and device status updates in Firebase and our DB
2025-06-23 08:10:33 -06:00
cf19f08dca
turn on all the updates data points
2025-06-23 07:33:01 -06:00
ff370b2baa
Implement message queue for TuyaWebSocketService and batch processing
2025-06-23 07:31:58 -06:00
04f64407e1
turn off some update data points
2025-06-23 07:10:47 -06:00
c8d691b380
tern off data procedure
2025-06-23 07:02:23 -06:00
75d03366c2
Revert "SP-1778-be-fix-time-out-connections-in-the-db"
2025-06-23 06:58:57 -06:00
52cb69cc84
Merge pull request #426 from SyncrowIOT/SP-1778-be-fix-time-out-connections-in-the-db
...
SP-1778-be-fix-time-out-connections-in-the-db
2025-06-23 06:38:58 -06:00
a6053b3971
refactor: implement query runners for database operations in multiple services
2025-06-23 06:34:53 -06:00
60d2c8330b
fix: increase DB max pool size ( #425 )
2025-06-23 15:23:53 +03:00
d3d84da5e3
fix: correct property name from bookableConfigs to bookableConfig in BookableSpaceEntity and SpaceEntity
2025-06-23 00:39:29 -06:00
aa9e90bf08
Test/prevent server block on rate limit ( #419 )
...
* increase DB max connection to 50
2025-06-19 14:34:23 +03:00
7dc28d0cb3
fix: enable AQI sensor historical data update in device status processing
2025-06-18 07:32:39 -06:00
d9ad431a23
fix: correct procedure names in energy consumption updates
2025-06-18 05:33:49 -06:00
4bf43dab2b
feat: enhance device status DTO and service with optional properties and environment checks
2025-06-18 05:33:43 -06:00
49cc762962
fix duplication from conflict merge
2025-06-18 01:56:51 -06:00