add more general functions to send messages to the WiFi box and change the brightness or arbitrary groups of lights