在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:arouanet/homebridge-sht3x开源软件地址:https://github.com/arouanet/homebridge-sht3x开源编程语言:JavaScript 100.0%开源软件介绍:homebridge-sht3xHomebridge plugin for the Sensirion SHT3x humidity and temperature sensor. Uses raspi-node-sht31 to communicate with the device and fakegato-history to show historical data graphs when using the Eve app. Breakout boards for the SHT31 sensor are available from Adafruit or AliExpress. This plugin has only been tested on a Raspberry Pi, but should work with any Linux-based board supported by i2c-bus, including C.H.I.P., BeagleBone, or Intel Edison. Refer to your board documentation for instructions on how to enable the I²C interface and how to connect an I²C device. The i2c-bus documentation also includes a few examples. InstallationNode.js v10.17.0 or greater is required. This assumes Homebridge has already been installed. If not, see the Homebridge documentation for more information. If using Homebridge Config UI X, search for the plugin in the Plugin screen, and install it from there. Otherwise you can install it manually with:
ConfigurationIf using Homebridge Config UI X, you can configure the plugin from the graphical
settings editor, or you can edit the The minimal accessory configuration, containing only the required attributes, is as follows: "accessories": [
{
"accessory": "SHT3x",
"name": "SHT31"
}
] See config-sample.json for a complete example. The following table shows the list of supported configuration parameters:
I²C setupThe default I²C bus number ( The I²C address for the SHT3x sensor is History persistenceBy default Fakegato saves history to memory, and data not yet downloaded by the Eve app will be lost when Homebridge is restarted. If you want to save history to disk instead, add the following line to the accessory configuration:
Data will be saved in a JSON file located in the Homebridge directory
(
See the Fakegato documentation for more information on available options. Also note that Fakegato will automatically average out measurements and log an
entry to history every 10 minutes. If you want the history feature to work
reliably and avoid holes in the data, Screenshots |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论