homebridge-httpeverything

http plugin for homebridge: https://github.com/nfarina/homebridge

Usage no npm install needed!

<script type="module">
  import homebridgeHttpeverything from 'https://cdn.skypack.dev/homebridge-httpeverything';
</script>

README

homebridge http everything

Supports all devices on HomeBridge Platform / Bridges devices to http

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-httpeverything
  3. Update your configuration file. See sample-config.json in this repository for a sample.

Configuration

Configuration sample:

  "bridge": {
       "name": "Homebridge",
       "username": "C1:57:5A:EB:CE:30",
       "port": 51826,
       "pin": "000-00-000"
   },
   "description": "This is an example configuration for the Everything Homebridge plugin",
   "accessories": [
       {
           "accessory": "Httpeverything",
           "service": "Thermostat",
           "name": "Thermostat (Maison)",
           "apiBaseUrl": "http://localhost:8080/thermostat",
           "apiSuffixUrl": "",
           "forceRefreshDelay": 2
       },
       {
           "accessory": "Httpeverything",
           "service": "WindowCovering",
           "name": "Volet (Salon)",
           "apiBaseUrl": "http://localhost:8080/window-covering",
           "apiSuffixUrl": "/0",
           "forceRefreshDelay": 2
       },
       {
           "accessory": "Httpeverything",
           "service": "WindowCovering",
           "name": "Volet (Salle à manger)",
           "apiBaseUrl": "http://localhost:8080/window-covering",
           "apiSuffixUrl": "/1",
           "forceRefreshDelay": 2
       },
       {
           "accessory": "Httpeverything",
           "service": "WindowCovering",
           "name": "Volet (Bureau)",
           "apiBaseUrl": "http://localhost:8080/window-covering",
           "apiSuffixUrl": "/2",
           "forceRefreshDelay": 2
       },
       {
           "accessory": "Httpeverything",
           "service": "WindowCovering",
           "name": "Volet (Cuisine)",
           "apiBaseUrl": "http://localhost:8080/window-covering",
           "apiSuffixUrl": "/3",
           "forceRefreshDelay": 2
       },
               {
           "accessory": "Httpeverything",
           "service": "WindowCovering",
           "name": "Volets (Maison)",
           "apiBaseUrl": "http://localhost:8080/window-covering",
           "apiSuffixUrl": "/all",
           "forceRefreshDelay": 2
       },
       {
           "accessory": "Httpeverything",
           "service": "HumiditySensor",
           "name": "Humidité",
           "apiBaseUrl": "http://localhost:8080/humidity-sensor",
           "apiSuffixUrl": "",
           "forceRefreshDelay": 2
       }
   ],
   "platforms": []
}

Supported services

AccessoryInformation AirQualitySensor BatteryService BridgeConfiguration BridgingState CameraControl CameraRTPStreamManagement CarbonDioxideSensor CarbonMonoxideSensor ContactSensor Door Doorbell Fan GarageDoorOpener HumiditySensor LeakSensor LightSensor Lightbulb LockManagement LockMechanism Microphone MotionSensor OccupancySensor Outlet Pairing ProtocolInformation Relay SecuritySystem SmokeSensor Speaker StatefulProgrammableSwitch StatelessProgrammableSwitch Switch TemperatureSensor Thermostat TimeInformation TunneledBTLEAccessoryService Window WindowCovering

API Expectations