Micromodule Relay Impulse Switch
Closed this issue · 1 comments
I'm struggeling with the API of the ImpulseSwitch
service. As it is just sending an impulse, it cannot be a switch but has to act as a button. Can you provide details how to trigger the impulse via the API? I guess it can be either via PUT the state to True
, or does it have a separate POST call like when triggering a scenario?
The issue relates to tschamm/boschshc-hass#101
@tschamm, the relay configured as ImpulseSwitch is hard to map as a normal switch, because you cannot read the actual state of the connected device. That's why we also cannot support the relay in HomeKit when configured as ImpulseSwitch.
To send an impulse, it should be fine to post to /devices/{relayId}/ImpulseSwitch
with impulseState
set to true
.
API documentation is lacking this information still. We will update this.