1.0.12-hotfix • Published 4 years ago

homebridge-miha53cevic v1.0.12-hotfix

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

A simple plugin made for learning homebridge

Install

    npm install -g homebridge-miha53cevic

Config

Add this to your homebridge config (the name can be changed but the accessory name must be SimpleSwitch)
If using multiple lights you can give each an id (should be a number)

    "accessories": [
        {
            "accessory": "SimpleSwitch",
            "name": "Light",
            "id": "1",
            "url": "http://192.168.1.2"
        }
    ],

API

The url paramater sends a POST request with json that contains an object "state":"boolean"
The id paramater is sent with the POST request json

Homebridge services

  • Service "Accessory Information"
  • Service "Air Purifier"
  • Service "Air Quality Sensor"
  • Service "Battery Service"
  • Service "Camera RTP Stream Management"
  • Service "Carbon Dioxide Sensor"
  • Service "Carbon Monoxide Sensor"
  • Service "Contact Sensor"
  • Service "Door"
  • Service "Doorbell"
  • Service "Fan"
  • Service "Fan v2"
  • Service "Filter Maintenance"
  • Service "Faucet"
  • Service "Garage Door Opener"
  • Service "Heater Cooler"
  • Service "Humidifier Dehumidifier"
  • Service "Humidity Sensor"
  • Service "Irrigation System"
  • Service "Leak Sensor"
  • Service "Light Sensor"
  • Service "Lightbulb"
  • Service "Lock Management"
  • Service "Lock Mechanism"
  • Service "Microphone"
  • Service "Motion Sensor"
  • Service "Occupancy Sensor"
  • Service "Outlet"
  • Service "Security System"
  • Service "Service Label"
  • Service "Slat"
  • Service "Smoke Sensor"
  • Service "Speaker"
  • Service "Stateless Programmable Switch"
  • Service "Switch"
  • Service "Temperature Sensor"
  • Service "Thermostat"
  • Service "Valve"
  • Service "Window"
  • Service "Window Covering"
  • Service "Camera Operating Mode"
  • Service "Camera Event Recording Management"
  • Service "Wi-Fi Router"
  • Service "Wi-Fi Satellite"

To find out more about these services go here: https://github.com/KhaosT/HAP-NodeJS/blob/master/src/lib/gen/HomeKit.ts

CTRL + F the service you want more info about

1.0.12-hotfix

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10-hotfix

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago