Skip to content

About

Simulate a humidity sensor from file

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-humidity-file

This is a plugin for homebridge which makes it possible to create a humidity 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

{
  "accessory": "HumidityFile",
  "name": "Humidity-sensor",
  "description": "The humidity sensor in the bedroom",
  "file_path": "/home/pi/dht/temp"
}

About

Simulate a humidity sensor from file

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages