Multifunctional smart home controller Atom on ESP32

what exactly are the switches you use? Is it difficult to make them work at 5V?

All the functions you are talking about will work in these devices - pulses for switching relays, and display of the included lamps in HA. But the inputs of the controllers are designed for a voltage of not more than 5V. Moreover, you can connect many different sensors (even DS18B20), assign different scenarios to a single, double, long press the switch. You can configure the WS2812 pixels

Hey,

It’s easy to change the switches to 5V, so that’s not a problem. I use the switches as an alternative if my home assistant would fail.

Which device would be best suited? As I need 64 inputs/outputs.

I think the following 3 controllers would be best for you:
https://i3engineering.com/shop/argon-r12
But they should not be connected to the outputs of very powerful lights

You could use a generic ESP32 with I/O expansion via the I2C bus.

Yes, on ESP32 this is the best option. It can be implemented as a constructor (ESP board and expansion card), or as a ready-made controller. Here is a photo of how the controller looks without a case (22 inputs, 30 outputs):

Hello
I am using HLW8032 for Current, Voltage and Power measurement with ESP32-S3 Devkit C1. Here is my yaml file. As suggested in this thread, I have use CSE7761 sensor. But I could not get any reading at all. What I am missing?

esphome:
  name: gen2-esp32-s3
  friendly_name: Gen2 ESP32 S3
  includes: Hlw8032.h

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: arduino
web_server:

captive_portal:

mdns:
api:
ota:
  
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  
  ap: 
   ssid: "tech"
   password: "12345678" 

switch:
  - platform: gpio
    id: switch_1
    name: Relay 1
    pin: 12
    on_turn_on:
      - light.turn_on: light_status
    on_turn_off:
      - light.turn_off: light_status

light:
  - platform: status_led
    id: light_status
    pin:
      number: 13
      inverted: True

logger:
  baud_rate: 0

uart:
  rx_pin: RX
  baud_rate: 4800

sensor:
  - platform: cse7766
    current:
      name: "Current"
      unit_of_measurement: A
      accuracy_decimals: 2
      
    voltage:
      name: "Voltage"
      unit_of_measurement: V
      accuracy_decimals: 2
     
    power:
      name: "Power"
      unit_of_measurement: W
      accuracy_decimals: 2
     
    energy:
      name: "Energy"
      
    apparent_power:
      name: "Apparent Power"

    power_factor:
      name: "Power Factor"