- 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. |
||
---|---|---|
.. | ||
AlarmManager.ts | ||
BedHardware.ts | ||
BedHardwareMQTT.ts | ||
BedHardwareSerial.ts | ||
mqttService.ts | ||
SensorDataStorage.ts |