I am about to start my first real ESP32 project and I’d love your help to confirm that I have selected the right components. I am very much open to improvements and by no means convinced that this is the best setup.
Use-case
some friends run a small hotel in Sri Lanka. They have just installed ACs. Many guests leave their room and keep the AC running, even though they are gone for the whole day. In a country where power is expensive and often limited, this is not a viable solution. My idea is to use presence detection to shut off the AC when there is no one in the room (with a grace period of eg. 15 minutes). Additionally, the AC should shut off when the balcony door is open, no matter if someone is in the room or not. The system should work standalone with a later (optional) integration into Home Assistant.
Presence detection
A ceiling-mounted mmWave sensor should be able to detect moving or barely moving (i.e. sleeping) people.
Door sensor
Endstop sensor with a small metal latch that is closed when the sliding door to the balcony is closed (and open when the door is open, duh).
AC control
Since the AC units are dumb, an IR transmitter should be able to turn off the unit via an IR command. I couldn’t find any IR commands for the units (AC: PN-CS-EU12AKY-8; remote: 6650-E(3X) or U6650-E24070100043) online so I will probably have to capture the necessary command(s) with a receiver (however, only once).
Brains
ESP32 connected to the 2 sensors and IR transmitter. Read sensor data and send command if condition(s) are met. Seems straightforward.
Components
Please let me know if these components work for my described use-case. Keep in mind that selection in Sri Lanka seems limited.
mmWave sensor HLK-LD2420 (as a new user, I can only provide 2 links )
Have I picked the wrong forum? Wanted to use ESPHome for a quick and easy later integration into HA. Could also use Tasmota and MQTT but then this is definitely not the right place.
At a first step, I’d like to confirm that the components are sufficient
This looks amazing. Haven’t open the unit yet but will do asap. I assume it doesn’t have a WiFi adapter. So basically the esp32 can make it ‘smart’, even if it doesn’t have a pre-installed WiFI module? Installation looks pretty straight forward to me
And would this be a correct logic converter?
The hlk ld6001 is quite a bit more expensive. Since we will need five of them it adds up. And you’re confident it’s worth the extra expense?
Thanks! And sorry for the late reply. I completely underestimated how many things can break at the same time. So there was little to no time for fun projects.
I removed the case and took a bunch of pictures. Not sure the AC has what I need to connect an ESP32. I did see labels of CN15 and WIFI on the PCB next to an unused socket but no clue what this is for.
Can you make sense of it?