====== What is with that Clock in the corner? ====== The time most of the time, if between second 15 and 20 it shows the temperature, then if between second 20 and 25 it shows humidity. If the space is "open" vs. "closed" based on the position of the [[https://wiki.032.la/doku.php?id=door_switch|doorpi switch]]. The clock patterns are slightly different. ===== But How? ===== The Arduino platform based software use esp32 mcu to get the time from NTP, then monitors the MAX44009 light sensor so that the clock is not overly bright when we are watch movies. It reads from a [[https://www.bosch-sensortec.com/products/environmental-sensors/gas-sensors/bme680/|BME680]] sensor to get relative humidity, barometric pressure, ambient temperature and gas (VOC). The Clock is made up of 7 segment digits each lit by 5 WS2812B RGB leds. ==== Hardware ==== * Generic ESP32CAM dev board. * MAX44009 dev board * BME680 dev board * WS2812B 144 LED per meter strips * 3D printed case based on Ivan Maranda's [[https://ivanmiranda.com/products/giant-3d-printed-clock-stl-files|GIANT 3D PRINTED CLOCK]] ==== Software ==== * [[https://github.com/mproctor13/rgb_clock|Git Repo]] Clock code and PCB(untested).