当前位置: 首页 > 软件库 > 其他开源 > 物联网 >

homebridge-mqtt-humidity

Get Humidity Sensor data via MQTT in Homebridge
授权协议 MIT License
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 贡和裕
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

DEPRECATION NOTICE


This package is deprecated. Please use homebridge-mqtthing instead. It is more mature, better tested, and offers additional-features.


homebridge-mqtt-humidity

Get Humidity Sensor data via MQTT in Homebridge

Installation

sudo npm install -g homebridge-mqtt-humidity

Sample HomeBridge Configuration

{
  "bridge": {
    "name": "HomeBridge",
    "username": "CC:33:3B:D3:CE:32",
    "port": 51826,
    "pin": "321-45-123"
  },

  "description": "",

  "accessories": [
			{
      "accessory": "mqtt-humidity",
      "name": "Living Room Humidity",
      "url": "mqtt://10.0.0.5",
      "topic": "home/livingroom/humidity/percentage",
      "refresh_topic": "home/livingroom/humidity/get",
      "charge_topic": "home/livingroom/humidity/charge",
      "batt_topic: "home/livingroom/humidity/battery",
      "batt_low_perc": "25",
      "username": "username",
      "password": "password",
      "serial": "HMH-54D3X"
			}
  ],

  "platforms": []
}

serial allows you to change the serial number to a custom value if you need it.

batt_topic, charge_topic and bat_low_perc are for battery powered sensors.

  • batt_low_perc overrides the default 20% value.
  • charge_topic is for charging state. It requires values of either 0 or 1 for off and on respectively.

refresh_topic lets you publish to a topic to refresh the current temperature value. This is useful in cases where your device publishes infrequently and you need an update between intervals. It requires your device to monitor this topic for requests. A request will published everytime homebridge makes a request, for example on opening the app.

All five options are are optional as well as username and password if you don't use MQTT authentication.

Credits

homebridge-mqttswitch

homebridge-mqttgaragedoor

homebridge-ds18b20

 相关资料
  • DEPRECATION NOTICE This package is deprecated. Please use homebridge-mqtthing instead. It is more mature, better tested, and offers additional-features. homebridge-mqtt-temperature Get Temperature Sen

  • Using a raspberry pi 3, homebridge and homebridge-mqtt to relay commands to raspberry pi zeros and node-red from homekit. HAP-HodeJS: https://github.com/KhaosT/HAP-NodeJS Homebridge: https://github.co

  • Arduino Homebridge MQTT Arduino library for connecting to Homebridge. Dependancies: Mosquitto Homebridge Homebridge-MQTT Installation Guide PlatformIO Arduino IDE Usage // Switch example#include <Ardu

  • homebridge-mqtt-blinds This is a homebridge plugin to control blinds/shutters via mqtt. �� �� It can be used with DIY systems or retrofit solutions like Shelly2 andShelly2.5. Installation If you are n

  • MQ 遥测传输 (MQTT) 是轻量级基于代理的发布/订阅的消息传输协议,设计思想是开放、简单、轻量、易于实现。这些特点使它适用于受限环境。例如,但不仅限于此: 网络代价昂贵,带宽低、不可靠。 在嵌入设备中运行,处理器和内存资源有限。 该协议的特点有: 使用发布/订阅消息模式,提供一对多的消息发布,解除应用程序耦合。 对负载内容屏蔽的消息传输。 使用 TCP/IP 提供网络连接。 有三种消息发布服

  • 一、简介 mica-mqtt 基于 t-io 实现的简单、低延迟、高性能 的 mqtt 物联网开源组件。 二、功能 支持 MQTT v3.1、v3.1.1 以及 v5.0 协议。  支持 websocket mqtt 子协议(支持 mqtt.js)。  支持 http rest api,http api 文档详见。  支持 MQTT client 客户端。  支持 MQTT server 服务端。