0.0.2 • Published 8 months ago

homebridge-file-switch v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Homebridge File Switch

Observer and write a (text) file and display it as switch accessory in Home app. Each time the file changes it will automagicaly update the accesory status.

Requirements

  • Homebridge HomeKit support for the impatient
  • A text file that can be read and modify by this plugin

Example config

Use Homebridge config UI X, or manually edit your config.json and add this configuration:

    {
        "accessories": [
            {
                "name": "The name",
                "file": "/path/to/your/file.txt",
                "onValue": "true",
                "offValue": "false"
            }
        ],
        "debug": false,
        "platform": "fileSwitchPlatform"
    }
0.0.2

8 months ago

0.0.1

9 months ago