Commit graph

11 commits

Author SHA1 Message Date
f82b5b6abb feat: Refactor alarm filtering logic to improve active alarms display and ensure warnings are correctly filtered 2025-06-21 19:23:23 +07:00
83286c318e feat: Update sensor initialization to use existing hardware values and adjust pin change handling 2025-06-21 19:12:16 +07:00
17fb57f1d4 feat: Remove mock sensor data and update initialization for real hardware usage 2025-06-21 19:09:21 +07:00
7e5ed7f26b feat: Add logging for received MQTT messages and remove mock data generation in useBedPressureData 2025-06-21 19:03:14 +07:00
9eb57f675b feat: Update averageValue calculation to consider only hardware sensors and improve error handling for sensor data fetching 2025-06-21 15:45:47 +07:00
738ae59c69 feat: Remove test scenario functionality and update related components for real MQTT data usage 2025-06-21 15:35:24 +07:00
fd8cacd62b feat: Refactor BedHardware to use a singleton instance and remove serial implementation 2025-06-21 15:21:32 +07:00
fb87e74ec9 feat: Refactor BedHardware to support both Serial and MQTT implementations
- Added MQTT support to BedHardware, allowing for connection to MQTT brokers.
- Created BedHardwareMQTT and BedHardwareSerial classes to handle respective connections.
- Introduced a unified BedHardwareConfig interface for configuration management.
- Implemented event forwarding from the underlying implementations to the BedHardware class.
- Added MQTT adapter for handling MQTT connections and message subscriptions.
- Updated package.json to include the mqtt library as a dependency.
- Created a singleton MQTTService for managing MQTT client instances.
- Enhanced error handling and logging throughout the BedHardware and MQTT classes.
2025-06-21 14:55:10 +07:00
0c5c7bcb5f warning system 2025-06-21 13:29:01 +07:00
5e029ff99c dynamic graph 2025-06-21 12:55:27 +07:00
a606796d9e initial commit 2025-06-21 12:09:47 +07:00