1.1.3 • Published 1 year ago

homebridge-freeathome-platform v1.1.3

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
1 year ago

Busch Jaeger/Free@home Homebridge Plugin

This is a Homebridge plugin for exposing Busch Jaeger/Free@home devices using the required SysAp.

Features

Here are some of the features of this plugin:

  • Expose all of your Busch Jaeger/Free@home devices to HomeKit
  • Control your devices using Siri and the Home app
  • Configurable MQTT support for integration with other home automation systems
  • Automatic reconnection to the SysAp when the connection is lost
  • Device and timer configuration options for customized behavior
  • Camera support for door calls (with optional lens correction)

Configuration

Add the following information to your config.json file:

{
  "name": "Free@home",
  "platform": "FreeAtHomePlatform",
  "hostname": "192.168.1.2",
  "username": "username",
  "password": "password",
  "autoReconnect": true,
  "timeout": 3,
  "mqtt": {
    "enabled": true,
    "host": "127.0.0.1",
    "port": 1883,
    "username": "mqttUsername",
    "password": "mqttPassword"
  },
  "devices": {
    "HomeTouchPanel": {
      "enabled": true,
      "automaticDoorOpener": {
        "enabled": true
      },
      "callLevelDoorCall": {
        "enabled": false,
        "camera": {
          "name": "Doorbell",
          "port": 5000,
          "uploader": false,
          "videoConfig": {
            "source": "-rtsp_transport tcp -i rtsp://192.168.1.3:1234/stream",
            "stillImageSource": "-i -rtsp_transport tcp -i rtsp://192.168.1.3:1234/stream -vframes 1",
            "maxStreams": 2,
            "maxWidth": 1920,
            "maxHeight": 1080,
            "vcodec": "libx264",
            "packetSize": 1316,
            "videoFilter": "none",
            "debug": true,
            "audio": false,
            "acodec": "libfdk_aac"
          }
        }
      },
      "defaultDoorOpener": {
        "enabled": false
      },
      "doorCall1": {
        "enabled": true,
        "image": "doorcall-1.jpg"
      },
      "doorCall2": {
        "enabled": true,
        "image": "doorcall-2.jpg"
      },
      "doorCall3": {
        "enabled": true,
        "image": "doorcall-3.jpg"
      },
      "doorCall4": {
        "enabled": true,
        "image": "doorcall-4.jpg"
      },
      "doorOpener1": {
        "enabled": true
      },
      "doorOpener2": {
        "enabled": true
      },
      "doorOpener3": {
        "enabled": true,
        "timer": {
          "enabled": true,
          "delay": 10,
          "type": "switch"
        }
      },
      "doorOpener4": {
        "enabled": true,
        "timer": {
          "enabled": true,
          "delay": 10,
          "type": "garagedoor"
        }
      },
      "hallwayLight": {
        "enabled": true
      }
    }
  }
}

Platform configuration

PropertyTypeRequiredDescription
hostnamestringYesThe IP address or hostname of the SysAp.
usernamestringYesThe username for the SysAp.
passwordstringYesThe password for the SysAp.
autoReconnectbooleanNoWhether to automatically reconnect to the SysAp when the connection is lost. Default is true.
timeoutnumberNoThe timeout in milliseconds for requests to the SysAp. Default is 30000.
mqttMQTTConfigNoThe MQTT configuration.
devicesobjectNoThe device configuration. The keys are the serial numbers of the devices and the values are the device configurations. See below for more details.

MQTT configuration (MQTTConfig)

PropertyTypeRequiredDefaultDescription
enabledbooleanNotrueWhether to enable MQTT.
hoststringNo'127.0.0.1'The hostname or IP address of the MQTT server.
portnumberNo1883The port of the MQTT server.
usernamestringNoThe username for the MQTT server.
passwordstringNoThe password for the MQTT server.

Generic device configuration (DeviceConfig)

PropertyTypeRequiredDefaultDescription
enabledbooleanNotrueWhether to enable the device.

HomeTouch Panel configuration (HomeTouchPanelConfig)

83221ap

PropertyTypeRequiredHomeKit ServiceDescription
enabledbooleanNoWhether to enable the device.
hallwayLightDeviceConfigNoLightbulbThe configuration for the hallway light.
doorOpener1DoorOpenerConfigNoLockMechanism, ContactSensorThe configuration for door opener 1.
doorOpener2DoorOpenerConfigNoLockMechanism, ContactSensorThe configuration for door opener 2.
doorOpener3DoorOpenerConfigNoLockMechanism, ContactSensorThe configuration for door opener 3.
doorOpener4DoorOpenerConfigNoLockMechanism, ContactSensorThe configuration for door opener 4.
defaultDoorOpenerDoorOpenerConfigNoLockMechanism, ContactSensorThe configuration for the default door opener.
doorCall1DoorCallConfigNoDoorbell, MotionSensorThe configuration for door call 1.
doorCall2DoorCallConfigNoDoorbell, MotionSensorThe configuration for door call 2.
doorCall3DoorCallConfigNoDoorbell, MotionSensorThe configuration for door call 3.
doorCall4DoorCallConfigNoDoorbell, MotionSensorThe configuration for door call 4.
callLevelDoorCallDoorCallConfigNoDoorbell, MotionSensorThe configuration for the call level door call.
automaticDoorOpenerDeviceConfigNoSwitchThe configuration for the automatic door opener.

Door Opener configuration (DoorOpenerConfig)

PropertyTypeRequiredDefaultDescription
enabledbooleanNotrueWhether to enable the device.
timerTimerNoThe timer configuration for the door opener.

Timer

PropertyTypeRequiredDefaultDescription
enabledbooleanNofalseWhether to enable the timer.
delaynumberNo30The delay in seconds before the door opener is turned off.
typestringNo'switch'The type of timer to use. Can be 'switch' or 'garagedoor'.

DoorCallConfig

PropertyTypeRequiredDefaultDescription
enabledbooleanNotrueWhether to enable the device.
timerTimerNoThe timer configuration for the door call.
imagestringNoThe image to display for the door call.
cameraCameraConfigNoThe camera configuration for the door call.

CameraConfig

PropertyTypeRequiredDefaultDescription
namestringNo'Camera'The name of the camera.
portnumberNo5000The port.
uploaderbooleanNofalseThe uploader.
videoConfigVideoConfigNoundefinedThe video configuration.

VideoConfig

PropertyTypeRequiredDefaultDescription
sourcestringNo'-rtsp_transport tcp -i rtsp://127.0.0.1:8554/stream'The video source.
stillImageSourcestringNo'-rtsp_transport tcp -i rtsp://127.0.0.1:8554/stream -vframes 1'The image source.
maxStreamsnumberNo2The maximum number of streams.
maxWidthnumberNo1920The maximum width.
maxHeightnumberNo1080The maximum height.
vcodecstringNo'libx264'The codec to use for video.
packetSizenumberNo1316The packet size.
videoFilterstringNo''The video filter.
debugbooleanNofalseWhether to enable debug mode.
audiobooleanNofalseWhether to enable audio.
acodecstringNo'libfdk_aac'The codec to use for audio.
lensCorrectionLensCorrectionNoundefinedThe lens correction settings.

Lens Correction

PropertyTypeRequiredDefaultDescription
k1numberNo0.5The k1 value.
k2numberNo0.5The k2 value.
1.1.3

2 years ago

1.1.3-beta.0

1 year ago

1.1.2

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 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