Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bahlo/homebridge-temperature-file
Simulate a temperature sensor from file
https://github.com/bahlo/homebridge-temperature-file
apple dht homebridge homekit temperature
Last synced: 3 days ago
JSON representation
Simulate a temperature sensor from file
- Host: GitHub
- URL: https://github.com/bahlo/homebridge-temperature-file
- Owner: bahlo
- Created: 2015-11-08T13:43:21.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2021-02-06T16:18:05.000Z (almost 4 years ago)
- Last Synced: 2024-07-30T19:00:03.269Z (4 months ago)
- Topics: apple, dht, homebridge, homekit, temperature
- Language: JavaScript
- Size: 3.91 KB
- Stars: 12
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# homebridge-temperature-file
This is a plugin for [homebridge](https://github.com/nfarina/homebridge) which makes it possible to create a temperature sensor
in HomeKit via file.## Why via file?
When you have a DHT-sensor, you need `sudo` to read from it. I don't want to run homebridge as `sudo`, so I'm having a `cronjob`,
which writes every n seconds to a file and read from it from homebridge.## Example config
```json
{
"accessory": "TemperatureFile",
"name": "Temperature-sensor",
"description": "The temperature sensor in the bedroom",
"file_path": "/home/pi/dht/temp"
}
```