This is not an official integration of the manufacturer of the device. Also, I am neither in touch nor in contact with the manufacturer.
Please review the license before usage.
Thank you to franklavigne from the Home-Assistant.io community to provide the english version!
This solution integrates the CCEI BRiO WiL into Home Assistant using TCP commands via Node-RED. BRiO WiL is used to control pool underwater spotlights via WiFi and Bluetooth using the App of the manufacturer.
Trying this out, you should already be firm in using Node-RED.
Please understand that some wording within the integration is in German language, especially all texts that are visible in the Home Assistant dashboards. Any translator helps ;-)
The integration consists of two elements: Node-RED flow and a few inputs, that have to be added to the configuration.yaml.
The BRiO WiL device must be connected to the same network (LAN/WiFi) as Node-RED and therefore reachable from the Node-RED host.
You can import the flow from folder Node-RED in this repository. Either select the file with suffix _eng for the english version or the one without for the german version. Please ensure you either select German or English for both Node-Red Flow and Home assistant!
Please ensure that you change the IP adress within ALL TCP requests within the flow to the IP adress of your own device.
You have to create four new inputs of type input_select and one of input_boolean.
All required code can be retrieved from the file within folder "Home Assistant". Either select the file with suffix _eng for the english version or the one without for the german version. Please ensure you either select German or English for both Node-Red Flow and Home assistant!
After restarting HA, you can add the inputs to your dashboards.
Have fun!