在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:amlinger/homebridge-telldus-tdtool开源软件地址:https://github.com/amlinger/homebridge-telldus-tdtool开源编程语言:JavaScript 95.3%开源软件介绍:Homebridge Telldus tdtoolA Homebridge plugin for TellStick without Telldus Live,
interfaced with the CLI tool
Since it relies on InstallationInstall this plugin globally by typing the following. npm install -g homebridge-telldus-tdtool Installing the package globally is not a requirement, but makes it easier if you have also installed Homebridge globally. Otherwise, just install this package in the directory which you have set up Homebridge to watch for plugins in. You must then include {
"platform" : "Telldus-TD-Tool",
"name" : "Telldus-TD-Tool"
} in your list of platforms, in the configuration file of Homebridge. This by
default resides in {
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"platforms": [{
"platform" : "Telldus-TD-Tool",
"name" : "Telldus-TD-Tool"
}]
} Configuring sensorsBy default, this plugin will use all sensors available from your Telldus tool,
listed by By specifying a list of sensors this overrides the found sensors by {
"platform" : "Telldus-TD-Tool",
"name" : "Telldus-TD-Tool",
"sensors" : [{
"id": "123",
"name": "some-name",
"model": "sensor-model",
"maxAge": 12,
}]
} Below is the supported attributes for the sensor list.
Configuring TDtoolIf your {
"platform" : "Telldus-TD-Tool",
"name" : "Telldus-TD-Tool",
"tdtool": {
"tellstickConfLocation": "/home/pi/tellstick.configuration"
}
} Supported accessories
Building it yourselfThis module is written in ES6. To support earlier versions of Node, this is
transpiled using Babel to regular ES5. To build it yourself, make sure you have
installed all the development dependencies (this is usually done by default
with npm install --only=dev after you have issued the regular install command. To build the dist folder, then run npm run build Remote developmentSince a lot of people, me included, are running Homebridge on a server remote from where development takes place (such as on a Raspberry PI), there is a small, experimental script included for addressing this. This can be run by issuing: npm run rsync -- user@host /path/to/node_modules/homebridge-telldus-tdtool Default values for these are:
To run this, it assumes a couple of things:
Dependencies & Trade-offsThis plugin depends on Contribute
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论