Skip to content

Devices

ChrWi edited this page Dec 8, 2023 · 13 revisions
Devices Publishing settings Mapping devices to instances Turn-on time latching-relay Switchable Plug Apple TV Programmable Switch

Devices

After we have integrated all for the moment needed instances with rooms through bridges to the HomeKit-app, we need to enable, that devices within a instance will be published to Homekit.

Publishing settings

ℹ️ This can be also done later, clause-by-clause. It should not be done before the bridge is linked to HomeKit, otherwise each device needs to be mapped within HomeKit manually.

Publish settings

Mapping devices to instances

To add and map a device to a room (HAP instance, bridge),

  • choose Devices in the left menubar and click on the New-button on the right bottom,
  • change the device name to be appeared in HomeKit in the field HomeKit Device name,

💡 Try to choose a self-speaking name. There is no need to indicate the room in the device name, as it will combine within iOS by HomeKit itself.

  • assign a Service from the context-sensitive drop-down field (please find the description of a Service below the selection),
  • select a Subytype of device from the context-sensitive drop-down field (if applicable, only appears, when more than 1 possibility is existing),
  • and last but not least, map to the room (HAP-instance) whereas it should appear in iOS and press Finish.

ℹ️ It is possible to assign a device to more than 1 room/ instance by using the Add to another instance-button.

A few seconds later, the device should appear in the respective room within you iOS app. Congratulations 👍

  • Repeat this steps for each device in a room you want to use within your HomeKit app.
Device  adding

ℹ️ You can change the settings per device at any time, when you press the Edit-button beside each device in the list.

Turn-on time

From revision 0.55 onwards, it will be possible to configure a turn-on time ON_Time for switches and dimmers. If the ON_Time is set > 0 (in seconds), the entered value will be sent to the device before the device will get the switch-on commando and powered off after the time choosen.

ℹ️ ON_Time will only be set, if the light is initially turned on (or the dimmed from 0 to x. If the dimmer is brightness is changed again afterwards, ON_Time has no effect anymore.

Latching relay

The ON_Time functionality can also be used as latching delay by setting the value to 1 (sec) virtual push button in HomeMatic, which is linked e.g. to a HMIP-PCBS & HMIP-PCBS2. More to come... 🚧

Switchable Plug

The following example shows how to configure a HomeMatic switchable plug, e.g. HmIP-PSM:

  • Create a new device ("New") and search / "Select" the channel 3 of the Homematic device you are looking for.
  • In the next step, define the service "Switch" with subtype "Outlet".
  • Define the needed HomeKit Instance and "Finish" the definition of the new device.
pic

With the three steps above allows a manual on/off of the outlet.

ℹ️ If energy power / consumption should be logged in Eve, the channel 6 needs to be configured accordingly.

💡 If only energy logging is needed, but not a manual on/off, you only need to configure channel 6, not channel 3.

pic

Apple TV

Please be aware, that Apple TV OS in opposite to iOS and MacOS shows only scenes from favorites, not devices, more information find here.

Programmable Switch

The following example from @dkrizic shows how to configure a HmIP-BSM in combination with a VOCOLinc L3 bulb that can be fully controlled via HomeKit via Wifi and prefers to receive constant power. The BSM shall deliver constant power and control the colors of the bulb.

  • Create a new device ("New") and search / "Select" the channel 1 (Sensor for light off) of the HmIP-BSM.
  • In the next step, define the service "HomeMaticKeyAccessory".
  • Define the needed HomeKit Instance and "Finish" the definition of the new device.
  • Create a new device ("New") and search / "Select" the channel 2 (Sensor for light on) of the HmIP-BSM.
  • In the next step, define the service "HomeMaticKeyAccessory".
  • Define the needed HomeKit Instance and "Finish" the definition of the new device.

ℹ️ Channel 1 ,2 and 3 (Actor for the light) are coupled by default. They need to be decoupled. The actor is configured to be permanently on.

As a result you have programmable switches that can be coupled with the actual HomeKit lamp by defining suitable actions in the setting of each channel:




💡 Upon light on you can configure the level (0-100%) and the color. The result is, that the switch behaves like expected and the lamp receives permanent color.


Avoid Hue devices within HAP

In order to avoid loops don‘t add Hue devices from CCU via HAP for HomeKit. See #536