m2-inno-bedpressure/types
Siwat Sirichai 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
..
bedhardware.ts feat: Refactor BedHardware to support both Serial and MQTT implementations 2025-06-21 14:55:10 +07:00
sensor.ts warning system 2025-06-21 13:29:01 +07:00