Page 1 of 1

two door status in Fibaro gateway

Posted: 15 Mar 2018 12:03
by Junaid_224
Hello everyone
I am having a problem when I want to add two sensors (with interrupt) and one switch although when I used one switch and one sensor the devices is working fine and showing everything but when I am adding another channel with the adding of the second sensor.
Fist the gateway is not showing the second door sensor and it also creates an issue in inclusion or exclusion process.

channel adding is like :
ZUNO_SETUP_CHANNELS(
ZUNO_SWITCH_BINARY(getter, setter),
ZUNO_SENSOR_BINARY_DOOR_WINDOW(getterdoor),
ZUNO_SENSOR_BINARY_DOOR_WINDOW(getter1)
);

byte getterdoor()
{
return lastButtonState;
}

byte getter1()
{
return lastButtonState2;
}

I need to know what is the issue ?/