Skip to content

nclarkau/homebridge-pool-sensor-piface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-pool-sensor-piface

npm npm

Description

Pool sensor plugin for HomeBridge for Raspberry Pi with PiFace board.

This plugin is suitable for any digital temperature sensor interfaced with a PiFace Digital board.

This code is adapted from homebridge-garage-piface

Requirement

Before installing this plug-in, you need:

  • Download, build and install the C libraries:
sudo apt-get install automake libtool git
git clone https://github.com/thomasmacpherson/piface.git
cd piface/c
./autogen.sh && ./configure && make && sudo make install
sudo ldconfig
cd ../scripts
sudo ./spidev-setup
  • Activate SPI
sudo raspi-config
-> Interfacing Options -> Enable SPI

Installation

npm -g install homebridge-pool-sensor-piface

Configuration

config.json

"accessories": [
	{
	"accessory": "PoolPiFace",
	"name": "Pool",
	"refresh": 60 // optional
	}
]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published