1.0.0 • Published 1 year ago

homebridge-pusher v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
gitlab
Last release
1 year ago

Pusher plugin for Homebridge

This platform plug-in for Homebridge allows you to add two types of devices to HomeKit: subscribers and publishers.

Subcribers

Subscribers are represented as contact sensors. They subscribe to a single event on a Pusher channel. By default, the sensor remains in the 'closed' state. When the specified event is received, the sensor switches to the 'open' state for one second.

This allows you to trigger HomeKit automations from any web app or automation platform, such as Zapier, that has a Pusher integration.

Note: I couldn't get Zapier's existing Pusher integration to work, so I wrote my own.

Publishers

Publishers are represented as switches. When switched on, they publish a single event to a Pusher channel and then return to the off state. This allows you to trigger automations on any web app or automation platform that subscribes to Pusher events.

It also allows you to chain automations between multiple HomeKit homes by having a publisher at one home and a subscriber at another.

Future Features

  • Support for private channels. Currently, only public channels are supported.

  • Ability to subscribe/publish multiple events from a single subscriber/publisher.

  • Ability to act on event data instead of just channel and event names.

1.0.0

1 year ago