We are pleased to introduce our second product, which is an environmental sensor, it contains a light sensor (BH1750) as well as a temperature and humidity sensor (SHT30), the core processor is Lexin’s ESP32-C3. it is all integrated together, so it looks like a beautiful DIY electronic hardware, the shell has been carefully designed, it becomes a whole, without the use of screws It is the best part of it.
I think this is one of the biggest concerns, how they look like as shown in Home Assistant, here’s how it looks on the interface, it has all this information, integrated together, and we can’t find anything more rare. Because it is WIFI-powered, it can be very capricious to give feedback in very real time, without worrying about the battery products that do not update for a long time because of voltage and power consumption problems, and only have updates when changes happen.
As a price, you need to find a suitable installation location and method for the USB cable. Fortunately, we are using the current very popular TYPE-C interface and it is easy to find a cable that fits it.
This is the inside of it, you can see the three modules combined together, we didn’t make a separate PCB, but we bought dozens of modules and chips and combined them with each other to find inspiration, we found this beautiful combination, after a long time of testing, it was considered stable, we liked the combination and we designed the shell for it. Then it became a gadget for ESPHome combination.
Let us show you this bottom structure, it’s really delicate, CSZ’s clever design makes the module and structure lie nicely inside, it’s kind of amazing inside and makes the whole PCB completely different.
the source yaml:
esphome:
name: screek-multi-sensor-1a
comment: Screek Multi-Sensor (Temperature, Humidity and Light Sensor) 1A
friendly_name: Screek Multi-Sensor 1A
platformio_options:
board_build.flash_mode: dio
project:
name: Screek.Mult_Sensor
version: 1A
esp32:
board: lolin_c3_mini
framework:
type: arduino
version: 2.0.7
platform_version: 6.0.1
external_components:
- source: ../screek-components
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "OTA_WORLD"
web_server:
port: 80
wifi:
power_save_mode: NONE
ap:
ssid: "SCREEK-MULTI-SENSOR-1A"
captive_portal:
improv_serial:
i2c:
sda: GPIO7
scl: GPIO11
scan: true
id: bus_a
binary_sensor:
- platform: status
name: Online
id: ink_ha_connected
sensor:
- platform: template
id: sys_esp_temperature
name: ESP Temperature
lambda: return temperatureRead();
unit_of_measurement: °C
device_class: TEMPERATURE
update_interval: 30s
entity_category: "diagnostic"
- platform: uptime
name: Uptime
id: sys_uptime
update_interval: 10s
- platform: wifi_signal
name: RSSI
id: wifi_signal_db
update_interval: 5s
entity_category: "diagnostic"
- platform: template
id: esp_memory
icon: mdi:memory
name: ESP Free Memory
lambda: return heap_caps_get_free_size(MALLOC_CAP_INTERNAL) / 1024;
unit_of_measurement: 'kB'
state_class: measurement
entity_category: "diagnostic"
disabled_by_default: True
- platform: bh1750
name: "Illuminance"
# address: 0x23
update_interval: 1s
- platform: sht3xd
temperature:
name: "Temperature"
humidity:
name: "Humidity"
# address: 0x44
update_interval: 1s
light:
- platform: status_led
name: sys_status
pin: GPIO12
internal: True
restore_mode: ALWAYS_OFF
- platform: status_led
name: sys_status
pin: GPIO13
internal: True
restore_mode: ALWAYS_OFF
button:
- platform: restart
# disabled_by_default: True
icon: mdi:power-cycle
name: "ESP Reboot"
- platform: factory_reset
disabled_by_default: True
name: Factory Reset
id: factory_reset_all
We make quite a few that can be sent all over the world, so if you’re passionate about esphome and homeassistant, then maybe give it a try