A man is using a smartphone app to control the lighting in his kitchen.