Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

homebridge-freeathome

henry-spanka19MIT2.0.7

Platform Plugin to manage free@home accessories via HomeBridge

homebridge-plugin, buschjaeger, busch-jaeger, free@home, freeathome, category-climate, category-lighting, category-video, category-security, category-media, hoobs-plugin, hoobs

readme

homebridge-freeathome

Homebridge platform plugin for free@home SmartHome devices.

NPM

HomeKit UI

IMPORTANT: If you upgrade from < 2.0.0 please read the Upgrade Notes carefully before installing this plugin.

Features

  • Control your Busch-Jaeger Lights, Outlets, Blinds and more with Apple devices with Homekit
  • Setup automations with the HomeKit UI
  • Ask Siri to control your devices

Supported accessories

  • Binary Sensors
  • Outlets
  • Lights
  • Dimmable Lights
  • Thermostats
  • Door Locks
  • Media Players (Sonos)
  • Smoke Sensors
  • Blinds / Shutters
  • Window Contact Sensors
  • Motion Sensors

Custom Actuators

  • A switch actuator can be exposed as a (video) DoorBell.
  • A switch actuator can be exposed as a Garage Door.

Requirements

  • free@home Access Point
  • A linux-based server on your home network that runs 24/7 like a Raspberry Pi.

Setup / Installation

  1. Install Homebridge
  2. npm install homebridge-freeathome
  3. Edit config.json and configure platform. See Configuration section.
  4. Start Homebridge
  5. Star the repository ;)

Configuration

To configure the plugin add the following json in the platform section in config.json.

{
    "platform": "free@home",
    "sysIP": "<IP>",
    "username": "<USERNAME>",
    "password": "<PASSWORD>",
    "mappings": {},
    "debug": false
}

Replace <IP> with the IP of your System Access Point.

You can configure the mappings if you want to ignore an actuator or channel if they are not connected/unused to hide them from the HomeKit UI. However this is only needed in rare cases. Usually you can leave this blank.

{
    "platform": "free@home",
    "sysIP": "<IP>",
    "username": "<USERNAME>",
    "password": "<PASSWORD>",
    "mappings": {
        "<ACTUATOR-SERIAL>": {
            "blacklist": ["ch0000", "ch0001"],
        },
        "<ACTUATOR-SERIAL>": {
            "blacklist": ["*"],
        }
    }
}

You can find the actuator serial in the web interface of the free@home SysAp Interface.

(Video) DoorBell

See the DoorBell Tutorial on how to setup the free@home DoorBell in HomeKit.

Garage Door

See the GarageDoor Tutorial on how to expose a Switch actuator as a GarageDoor accessory.

ContactSensor

The Contact Sensor uses the datapoint odp0000 by default which might work for you and the Contact Sensor will always be shown as Closed in HomeKit. Unfortunately the free@home devices are not consistent and for some Contact Sensors you need to override the used datapoint. So far I've found that either odp0000 (default) or odp000C works, your model might use a different datapoint. You find find the right datapoint by enabling debug mode and opening/closing the Contact Sensor. Look for the datapoint that changes it's value to either 1* or *0 depending on whether you open or close the contact.

{
    ....
    "mappings": {
        "<ACTUATOR-SERIAL>": { // e.g. ABB123456789
            "contactsensor": {
                "<CHANNEL-ID>" { // e.g. ch0001
                    "datapoint": "<DATAPOINT>" // e.g. odp000C
                }
            }
        }
    }
}

Limitations

  • The door can not be controlled with HomeKit as the bus is not connected to the SysAp. Already implemented via free@HomeTouch 7 Panel
  • The door camera can not be accessed. You may want to use IP cameras that support the rtsp protocol and use the video door bell.

Notes

  • The accessories can only be controlled when you're at home in your local WiFi network. To manage your accessories remotely you need to setup an iPad/Homepod or Apple TV as a Home Hub.

Tips & Tricks

  • Do not restart Homebridge if you are either updating the SysAp or an actuator as the accessory may be removed from HomeKit if it is not detected during discovery.
  • If the HomeKit UI does not respond to manual changes (switch pressed) or the accessory doesn't update itself log into the System Access Point interface and log out again. The SysAp might disable websocket notifications if the connection is idle for too long.

Changelog

The changelog can be viewed here.

Upgrade Notes

Upgrade Notes can be found in the CHANGELOG.

Help

If you have any questions or help please open an issue on the GitHub project page.

Contributing

Pull requests are always welcome. If you have a device that is not supported yet please open an issue or open a pull request with your modifications.

Donation

If you find my work useful you can support the ongoing development of this project by buying me a cup of coffee

License

The project is subject to the MIT license unless otherwise noted. A copy can be found in the root directory of the project LICENSE.

changelog

Changelog

2.0.7 (2023-07-13)

  • Add Horizontal Slats Support for Shutters

2.0.6 (2023-01-19)

  • fix crashing on contact sensor datapoint override

2.0.5 (2023-01-19)

  • add contact sensor datapoint override

2.0.4 (2022-10-09)

  • Require at least freeathome-api version 1.1.2 to support newer access point firmwares

2.0.3 (2020-08-19)

  • Fix issue which would prevent accessories from reading correct datapoint values

2.0.2 (2020-08-16)

  • Correctly expose motion sensors
  • Add debug option to log requests from/to SysAP
  • Fix contact sensor state inverted

2.0.1 (2020-08-12)

Features
  • Added support for shutters
  • Added support for motion sensors
  • Added support for window contact sensors

2.0.0 (2020-08-11)

Features
  • Use freathome-api as a library
  • Automatically detect accessory type based on functionId
  • Expose Sonos speakers as speaker to HomeKit
  • Added support for smoke sensors
  • automatically detect light bulbs
  • renamed plugin
Upgrade Notes

To upgrade from < 2.0.0 please follow below steps:

  1. Uninstall old Plugin homebridge-buschjaeger
  2. Install the new Plugin homebridge-freeathome
  3. Edit homebridge's config.json:
    1. Change the platform to free@home
    2. Change the SysIP to the IP/Hostname of the System Access Point
    3. Set the username and password previously used for the freeathome-api
    4. Remove the updateInterval option if set
    5. Remove any unnecessary mappings. Unused accessory will automatically be detected
  4. Start Homebridge

Speakers need to be readded. Just add another accessory and they should show up as Smart Speaker. The freeathome-api can be stopped and uninstalled as it is not needed anymore.

1.7.1 (2020-04-14)

Features
  • Actuator: Added support for:
    • Dimmaktor 4-fach (1022)

1.7.0 (2020-04-13)

Features
  • Actuator: Added support for:
    • Sensor/ Schaltaktor 2/1-fach (100E)
    • Sensor/Dimmaktor 1/1-fach (1017)
    • Sensor/Dimmaktor 2/1-fach (1019)
    • automatically set accessory name based on free@home device layout
Improvements
  • BuschJaegerDimmAktorAccessory:
    • limit minimum brightness based on free@home setting

1.6.0 (2019-07-17)

Features
  • Actuator: Added support for:
    • free@homeTouch 7 (1038) [Door Lock Only]

1.5.5 (2019-04-12)

Improvements
  • If no response has been received from the SysAp within 5 seconds the accessory will show an error within HomeKit and the pending event will be cleaned up. This prevents the HomeKit UI from not responding for up to 1 minute with left over event which eventually may crash homebridge.

1.5.4 (2019-04-01)

Improvements
  • BuschJaegerJalousieAccessory:
    Moving the shutters is now more reliable (than ever) and should not cause the shutters to stop and start when the position is changed multiple times while moving. Additionally position changes should now be exact and reflect the actual window.

1.5.3 (2019-01-25)

Bug Fixes
  • Fixed crash if all channels of an actuator were blacklisted.

1.5.2 (2018-09-18)

Features
  • The thermostat accessory now reports temperature in 0.5 steps for increased accuracy. As this is a non-breaking feature it will included in a patch release.

1.5.1 (2018-09-05)

Bug Fixes
  • Fixed a bug that caused (switch) actuators not to react if they are turned on, on homebridge start

1.5.0 (2018-07-04)

Features
  • Custom Actuator Added support for:
    • Garage Door
Bug Fixes
  • BuschJaegerThermostatAccessory:
    • fixed Thermostat heating to 35 °C / cooling to 7 °C
    • fixed incorrect temperature readout
    • set min value to 7 °C and max to 35 °C
    • enable heating mode before changing target temperature when mode is off
    • fixed incorrect current heating state

1.4.0 (2018-06-26)

Features
  • Custom Actuator Added support for:
    • (Video) Door bell

1.3.0 (2018-06-05)

Features
  • Actuator Added support for:
    • Sensor/ Schaltaktor 2/2-fach (1010)

1.2.0 (2018-04-16)

Features
  • Actuator: Added support for:
    • Sensor/ Schaltaktor 1/1-fach (100C)

1.1.0 (2018-04-01)

Features
  • Actuator: Added support for:
    • Schaltaktor 4-fach, 16A, REG (B002)

1.0.0 (2018-03-28)

Features
  • Actuator: Added support for:
    • Dimmaktor 4-fach (101C)
    • Sensor/ Jalousieaktor 2/1-fach (1015)
    • Sensor/ Jalousieaktor 1/1-fach (1013)
    • Sonos Media Player (0001)
Bug Fixes
  • Accessory: Fix lockup of JalousieAccessory
Improvements
  • API: Make the UI more reactive by listening for websocket events from the SysAp
  • API: Update only once every 60 seconds by default to reduce load
Upgrade Notes

0.0.2 (2018-03-09)

Features
  • Actuator: Added support for:
    • Raumtemperaturregler (1004)
    • Jalousieaktor 4-fach, REG (B001)
    • Sensor/ Schaltaktor 8/8fach, REG (B008)
    • Dimmaktor 4-fach (1021)
  • Configuration: Allow to ignore some actuators/channels
  • Performance: The UI is now more responsive.
Bug Fixes
  • HomeKit: Under some circumstances if the API can not authenticate against the SysAp the plugin will report zero accessories and all accessories are removed from the HomeKit database.
  • API: If the connection to the API is lost Homebridge crashes.
Improvements
  • Documentation: Improved documentation.