Z/IP Sample Client

Include and Exclude a device

Including a device to the network

Once the user is logged in succesfully they can include a Z-Wave supported device to the network. This is triggered using the "Include Device" button. On clicking this button the user is prompted to initiate the device and start the inclusion process. The inclusion is done using the zwnet_add web api. Once this is done succesfully the client will display that the device is connected to the network followed by polling the network to get the latest node list.

zware_sample_client_device_inclusion_completion.jpg

Excluding a device from the network

Once the user is logged in succesfully they can exclude a Z-Wave supported device from the network. This is achieved using the "Exclude Device" button. On clicking the user is prompted to initiate the device and start the exclusion process. The exclusion is also done using the zwnet_add web api however with a different input parameter than the inclusion process. Once this is done succesfully the client will display that the device is removed from the network followed by polling the network to get the latest node list.

zware_sample_client_device_exclusion_completion.jpg

Inclusion and Exclusion Confirmation

Once the inclusion or exclusion process has been initiated the client continuously tracks the last completed operation in the server using the zwnet_get_operation web api. Once the server confirms that the last completed operation was either the inclusion or exclusion the client will confirm that the device has been included or excluded in the network.