UNPKG

homebridge-mqtt-weather-sensor

Version:

Homebridge plugin for MQTT weather sensor

90 lines (89 loc) 2.1 kB
{ "name": "homebridge-mqtt-weather-sensor", "version": "1.0.14", "description": "Homebridge plugin for MQTT weather sensor", "main": "index.js", "keywords": [ "homebridge-plugin", "mqtt", "weather" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "colussim", "license": "ISC", "engines": { "homebridge": ">=1.3.4", "node": ">=14.17.0" }, "dependencies": { "mqtt": "^5.10.1" }, "homebridge": { "pluginType": "accessory", "schema": { "type": "object", "properties": { "accessory": { "type": "string", "title": "Accessory Name", "default": "MQTTWeatherSensor" }, "name": { "type": "string", "title": "Display Name", "required": true }, "host": { "type": "string", "title": "MQTT Host", "required": true }, "port": { "type": "integer", "title": "MQTT Port", "default": 1883 }, "username": { "type": "string", "title": "MQTT Username" }, "password": { "type": "string", "title": "MQTT Password", "format": "password" }, "topic": { "type": "string", "title": "MQTT Topic", "required": true, "description": "The MQTT topic to subscribe to for sensor data.", "default": "esp32_station" }, "debug": { "type": "boolean", "title": "Enable Debug", "default": false }, "globalValues": { "type": "object", "properties": { "manufacturer": { "type": "string", "title": "Manufacturer" }, "serialNumber": { "type": "string", "title": "Serial Number" }, "model": { "type": "string", "title": "Model" } } } } } } }