homebridge-http-loxone-contact-sensor

Loxone Door/Contact sensor plugin for Homebridge

Usage no npm install needed!

<script type="module">
  import homebridgeHttpLoxoneContactSensor from 'https://cdn.skypack.dev/homebridge-http-loxone-contact-sensor';
</script>

README

homebridge-http-loxone-contact-sensor

This is a plugin for homebridge which can monitor Contact / Door sensor via a HTTP endpoint of the Loxone web services.

Install

Previous installation of Homebridge is required.

Then run the following command to install homebridge-http-loxone-contact-sensor

npm install -g homebridge-http-loxone-contact-sensor

Configuration

{
    "accessory": "LoxoneContactSensor",
    "name": "Front Door",
    "pollInterval": 1000,
    "statusUrl": "http://miniserver/jdev/sps/io/WindowName/state"
}

You can add as many accessories as needed.

Example homebridge configuration

{
    ...
    "accessories": [
        {
            "accessory": "LoxoneContactSensor",
            "name": "Front Door",
            "pollInterval": 500,
            "statusUrl": "http://miniserver/jdev/sps/io/WindowName/state"
        }
    ],
    "platforms": [
        ...
    ]
}