Input Switch Settings - mongoose-os-apps/shelly-homekit GitHub Wiki

When "Detached" mode is enabled you should see a new section called "Input 1", you will see this new section for each switch you enable "Detached" mode for. To use "Detached" mode we recommend using a Momentary type physical switch.

/resources/Input-Settings.png

HAP Type: allows you to choose the type of accessory you would like to be shown in HomeKit.

  • Disabled: Hides the switch from HomeKit.
  • Stateless Switch: This will show a stateless switch in HomeKit.
  • Motion Sensor: This will show a motion sensor in HomeKit.
  • Occupancy Sensor: This will show a occupancy sensor in HomeKit.
  • Contact Sensor: This will show a contact sensor in HomeKit.
  • Doorbell: This will show a doorbell accessory in HomeKit

Stateless Switch

A stateless switch allows you assign HomeKit actions to "Single Press", "Double Press" & "Long Press" or the physical switch, it is recommend to use a "Momentary" switch.

/resources/Input-Stateless-Switch-Settings.png

Name: name of the switch relay in HomeKit.

Input Mode: allows you to choose how the input associated with the switch will be controlling the stateless button in HomeKit.

  • Momentary: the stateless button is actioned once per press.
  • Toggle, on = off = single press: generate short press on each switch change, whether it's off -> on or on -> off.
  • Toggle, on = single, off = double: generate single press for off -> on transition and double press for on -> off transition.

Last Event: this the time when the event was last actioned.

[Save] button: saves settings.


Motion Sensor / Occupancy Sensor / Contact Sensor / Doorbell

/resources/Input-Sensor-Settings.png

These are all used when you are using a "Sensor" attached to the "Input" of your shelly device.

Name: name of the switch relay in HomeKit.

Inverted Input: allows you swap the sensor control of the inputs.

Input Mode: is for connecting sensors that produce continuous output, "Pulse" is for connecting sensors that output regular pulses.

  • Level: for continuous output sensors, active input state = motion/occupancy detected.
  • Pulse: for sensors that output regular pulses when active. first pulse signals motion/occupancy detection and starts the idle timer. if there are no pulses within the idle timer period, sensor state reverts to inactive.

Status: this shows the time the sensor detected something.

[Save] button: saves settings.