@bekra/homebridge-fake-switch

1.0.1 • Public • Published

Homebridge Fake Switch Plugin

Description

The homebridge-fake-switch plugin adds a simple, stateful switch accessory to your Homebridge installation. This switch doesn't control any actual hardware but can be used to simulate a switch in HomeKit for testing purposes or to trigger automations within your HomeKit setup.

Installation

To install the plugin, follow these steps:

Ensure that you have Homebridge installed. If you haven't installed it yet, please follow the official Homebridge installation instructions. Install the homebridge-fake-switch plugin using npm: arduino Copy code npm install -g homebridge-fake-switch Once the installation is complete, you can proceed with the configuration. Configuration

Add the homebridge-fake-switch accessory to your Homebridge config.json. The configuration sample is as follows:

json Copy code "accessories": [ { "accessory": "FakeSwitch", "name": "My Fake Switch" } ] accessory: Must always be "FakeSwitch" (this is the name of your plugin). name: You can name your accessory whatever you like; this name will appear in your HomeKit app. After adding the accessory, restart Homebridge for your changes to take effect.

Usage

Once you've added the fake switch to your HomeKit environment, you can turn it on and off like any other switch. This action won't control any physical devices but can be used in HomeKit automations or scenes.

Additional Information

This plugin is purely for simulation and testing within HomeKit and does not interact with real-world devices. For any issues, suggestions, or contributions, please visit the GitHub repository.

Readme

Keywords

Package Sidebar

Install

npm i @bekra/homebridge-fake-switch

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

3.17 kB

Total Files

3

Last publish

Collaborators

  • bekra