energy-manager-iot
Version:
Library for energy management in IoT devices via MQTT protocol. Documentation: https://jonhvmp.github.io/energy-manager-iot-docs/
22 lines (21 loc) • 774 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeviceType = void 0;
/**
* IoT device types
*
* Classification of different IoT device categories.
*/
var DeviceType;
(function (DeviceType) {
/** Device that collects environmental or system data */
DeviceType["SENSOR"] = "sensor";
/** Device that captures visual data */
DeviceType["CAMERA"] = "camera";
/** Device that controls or affects physical systems */
DeviceType["ACTUATOR"] = "actuator";
/** Device that connects and bridges other devices */
DeviceType["GATEWAY"] = "gateway";
/** General purpose device that doesn't fit other categories */
DeviceType["GENERIC"] = "generic";
})(DeviceType || (exports.DeviceType = DeviceType = {}));