This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Get Switch Input State.

Other Parts Discussed in Thread: Z-STACK

Hi,

I have a ZigBee Smart Relay.

Is there any way to get the state of the input ( switch ) when pressed?

  • You should be able to read ON/OFF attribute on On/Off cluster ID 0x0006 to get it.

  • Hi Ayman,

    This will depend on the attributes which are enabled from your Zigbee Smart Relay and whether they have read access capabilities.  For example, the Z-Stack switch examples do not have this capability enabled but developers could add it to their application if necessary.  As YK mentioned, try reading on/off attributes or contact the relay manufacturer for more details.

    Regards,
    Ryan