Added retry for bridge connect, so it can be run as a service. Logging with timestamp. Configurable light number for sampling current brightness. Changed default interval to 10 seconds.