dgreif / homebridge-petsafe-smart-feed

A homebridge plugin for PetSafe Smart Feed
MIT License
14 stars 1 forks source link

homebridge-petsafe-smart-feed

Actions Status Donate verified-by-homebridge

This homebridge plugin allows you to add the PetSafe Smart Feed to HomeKit.

Installation

npm i -g homebridge-petsafe-smart-feed

Configuration

The easiest way to configure this plugins is via homebridge-config-ui-x. This includes a custom UI which will walk you through the login process to get an auth token. If you do no use config-ui-x, or if you are a HOOBS user, follow the steps below.

Obtain a token

To interact with the PetSafe api, you must first obtain an access token. You can do this by running the following command

npx -p homebridge-petsafe-smart-feed petsafe-auth-cli

Homebridge Config

Once you have an access token, set up your homebridge config as follows

{
  "platforms": [
    {
      "platform": "PetSafeSmartFeed",
      "token": "Token from petsafe-auth-cli"
    }
  ]
}