DEVICE_NAME = "color_night_light"
WIFI_SSID = "hsxsix"
WIFI_PASSWORD = "qwerrtyuiop"
WS2812_PIN = 5
WS2812_BIT = 8
LIGHT_SENSOR_PIN = 14
SOUND_SENSOR_PIN = 13
HUMAN_SENSOR_PIN_1 = 12
HUMAN_SENSOR_PIN_2 = 12
HUMAN_SENSOR_PIN_3 = 12
BUTTON_PIN = 4
AUTO_LIGHT = 0
AUTO_SOUND = 1
AUTO_HUMAN = 1
DELAY_TIME = 10
RememberLastColor = 1
DEFAULT_COLOR = [255,255,255]
DEFAULT_OFF_COLOR = [0, 0, 0]
MQTT_SERVER = "10.10.10.1"
MQTT_PORT = 1883
MQTT_USER = "six"
MQTT_PASSWD = "sixsixsix"
KEEPALIVE = 60
DEVICE_STATE_TOPIC = "light/{}/status".format(DEVICE_NAME)
DEVICE_SET_TOPIC = "light/{}/set".format(DEVICE_NAME)
HUMAN_SET_TOPIC  = "light/{}/human_set".format(DEVICE_NAME)
HUMAN_STATE_TOPIC = "light/{}/human_state".format(DEVICE_NAME)
LIGHT_SET_TOPIC  = "light/{}/light_set".format(DEVICE_NAME)
LIGHT_STATE_TOPIC = "light/{}/light_state".format(DEVICE_NAME)
SOUND_SET_TOPIC  = "light/{}/sound_set".format(DEVICE_NAME)
SOUND_STATE_TOPIC = "light/{}/sound_state".format(DEVICE_NAME)
AVAILABILITY_TOPIC = "light/{}/availability".format(DEVICE_NAME)
MQTT_CHECK_TOPIC = "light/{}/mqtt_check".format(DEVICE_NAME)
