I have a lot of anel hut’s and they work fine.
We also have a DVR, a dvr that has the option to send an input alarm signal.
When I connect this to an anel IO, I can use the web interface from the hut to send an alarm to the DVR.
Yet I have no idea how to call this from Openhab
When I do
sendCommand(anel49_IO2_Camera_Alarm_In_1, OFF)
I get
22:19:03.531 [WARN ] [ing.anel.internal.AnelConnectorThread] - Attempted to change IO2 to OFF but its direction is input
22:19:03.757 [INFO ] [smarthome.event.ItemCommandEvent ] - Item ‘anel49_IO2_Camera_Alarm_In_1’ received command OFF
I understand that output from anel is exactly that, something to send an outside message from the device.
Any idea how I can launch this from openhab?