7ea53feddc
add deviceName to handle password API
2025-06-30 08:54:25 +03:00
c7a4ff1194
fix: schedule device types ( #441 )
2025-06-29 15:27:55 +03:00
8a4633b158
Merge pull request #439 from SyncrowIOT/add-check-log-to-trace-the-map-issue
...
feat: enhance device status handling with caching and batch processin…
2025-06-25 18:59:37 -06: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
3fcfe2d92f
Merge pull request #438 from SyncrowIOT/temp-fix-to-check
...
fix: enhance device status handling by integrating device cache for improved performance
2025-06-25 08:06:29 -06:00
c0a069b460
fix: enhance device status handling by integrating device cache for improved performance
2025-06-25 08:03:23 -06:00
30724d7d37
Merge pull request #436 from SyncrowIOT/add-check-log-to-trace-the-map-issue
...
fix: add validation for missing properties in device status logs
2025-06-25 05:32:50 -06: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
68692b7c8b
increase rate limit to 100 per minute for each IP ( #435 )
2025-06-25 13:50:38 +03:00
4d60c1ed54
Merge pull request #434 from SyncrowIOT/fix-time-out-connections-db
...
Fix-time-out-connections-db
2025-06-25 04:47:59 -06:00
27dbe04299
fix: remove unnecessary comment from ScheduleModule import in scheduler module
2025-06-25 04:47:38 -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
c48adb73b5
Merge pull request #433 from SyncrowIOT/DATA-adjust-remaining-procedures
...
DATA-adjust-remaining-procedures
2025-06-25 01:55:12 -06:00
d255e6811e
update procedures
2025-06-25 10:47:37 +03:00
e58d2d4831
Test/prevent server block on rate limit ( #432 )
2025-06-24 14:56:02 +03:00
147cf0b582
Merge pull request #431 from SyncrowIOT/DATA-adjust-procedures
...
DATA-adjust-procedures
2025-06-24 04:58:09 -06: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
0a1ccad120
add check if not space not found ( #430 )
2025-06-24 12:18:15 +03:00
f337e6c681
Test/prevent server block on rate limit ( #421 )
2025-06-24 10:55:38 +03:00
f5bf857071
Merge pull request #429 from SyncrowIOT/add-queue-event-handler
...
Add queue event handler
2025-06-23 08:13:36 -06: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
37b582f521
Merge pull request #428 from SyncrowIOT/add-queue-event-handler
...
Implement message queue for TuyaWebSocketService and batch processing
2025-06-23 07:35:22 -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
d7eef5d03e
Merge pull request #427 from SyncrowIOT/revert-426-SP-1778-be-fix-time-out-connections-in-the-db
...
Revert "SP-1778-be-fix-time-out-connections-in-the-db"
2025-06-23 07:09:20 -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
fddd06e06d
fix: add space condition to the join operator instead of general query ( #423 )
2025-06-23 12:44:19 +03:00
3160773c2a
fix: spaces structure in communities ( #420 )
2025-06-23 10:21:55 +03:00
110ed4157a
task: add spaces filter to get devices by project ( #422 )
2025-06-23 09:34:59 +03:00
aa9e90bf08
Test/prevent server block on rate limit ( #419 )
...
* increase DB max connection to 50
2025-06-19 14:34:23 +03:00
c5dd5e28fd
Test/prevent server block on rate limit ( #418 )
2025-06-19 13:54:22 +03:00
603e74af09
Test/prevent server block on rate limit ( #417 )
...
* task: add trust proxy header
* add logging
* task: test rate limits on sever
* task: increase rate limit timeout
* fix: merge conflicts
2025-06-19 12:54:59 +03:00
0e36f32ed6
Test/prevent server block on rate limit ( #415 )
...
* task: increase rate limit timeout
2025-06-19 10:15:29 +03:00
705ceeba29
Test/prevent server block on rate limit ( #414 )
...
* task: test rate limits on sever
2025-06-19 09:45:09 +03:00
a37d5bb299
task: add trust proxy header ( #411 )
...
* task: add trust proxy header
* add logging
2025-06-18 12:05:53 +03:00
689a38ee0c
Revamp/space management ( #409 )
...
* task: add getCommunitiesV2
* task: update getOneSpace API to match revamp structure
* refactor: implement modifications to pace management APIs
* refactor: remove space link
2025-06-18 10:34:29 +03:00
a91d0f22a4
fix: send correct enable status to email sender function ( #407 )
2025-06-13 09:46:41 +03:00
0db060ae3f
Merge pull request #406 from SyncrowIOT/add-space-daily-occupancy-duration-entity
...
feat: add SpaceDailyOccupancyDuration entity, DTO, and repository for occupancy tracking
2025-06-12 04:17:18 -06:00