Purple led
If the led is purple and flashing, it means that the device is ready to be configured and is processing the configuration step. Once the procedure is completed, the light will turn green. This indicates that the configuration done is successful.
Red led
Once the configuration is completed, the led will appear green in color. In case it is red, it means that the configuration was not successful.
For this reason, it is necessary to reset the device and repeat the whole procedure.
It may happen that the led turns red even in case the configuration was successful. This case indicates that the connection to wi-fi has been interrupted and you need to repeat the operation again.