@townsen/homebridge-ntc
v0.2.0
Published
NTC Plugin for Homebridge: https://github.com/nfarina/homebridge"
Maintainers
Readme
homebridge-ntc
Features
- Supports the graphing feature of the Eve app for trends
- This plugin can read a remote NTC10k thermistor on a Pico 2W running the ntc-pico-py server
Installation
Setup a Pico 2W to hosting the NTC10k server
See [https://gitlab.com/townsen/ntc-pico2w]
Test it with nc <hostname> 80 and send any string followed by enter
Setup Homebridge
Do the following on the computer that will run the HomeBridge instance:
Install Homebridge using
npm install -g homebridgeInstall this plugin
npm install -g @townsen/homebridge-ntcAlternatively, if you want to run the plugin directly from this repository then in this plugin directory issue:npm install sudo npm link
Update your configuration file - see below for an example
Configuration
accessory: "NTC"name: descriptive namerefresh: Optional, time interval for refreshing data in seconds, defaults to 30 seconds.host: the remote host to use.recordpath: Optional, used by the fakegato history code to create an on-disk record of the observations. This preserves the history in case of a restart, and can be used to extract the observations manually. Thenameand thehostare used to name the sensor device, which is then used as the filename.
Simple Configuration
{
"bridge": {
"name": "NTC",
"username": "CB:22:33:E2:CE:31",
"port": 51826,
"pin": "033-44-254"
},
"accessories": [
{
"accessory": "NTC",
"name": "Underfloor Temperature",
"host": "ntc-pico-py",
"refresh": 60,
}
],
"platforms": []
}Debugging
Set the DEBUG variable to NTC to get messages in the HomeBridge console
License
MIT
