1.2.1 • Published 2 months ago

homebridge-gpio-switch v1.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
2 months ago

homebridge-gpio-switch

Homebridge plugin to control relay switch via Raspberry Pi GPIO pins.

Configuration

Sample accessory:

"accessories": [
    {
      "accessory": "Switch",
      "name": "Bedside lamp",
      "pin": 18,
      "invert": false
    }
]

Fields:

  • accessory must always be Switch
  • name accessory name, e.g. Bedside lamp
  • pin control pin (use gpio numbering, not physical)
  • invert false: relay activated by low state (0), true: relay activated by high state (1), affects pin

Troubleshooting

  • check platform: Homebridge
  • check plugin dependency: rpio
  • or create issue
1.2.1

2 months ago

1.2.0

11 months ago

1.1.0

3 years ago

1.0.0

7 years ago