I just wanted to share what I have been working on, I wanted to add presence sensors into my rooms and use mmWave so decided to build them myself using the ld2410b and an esp32
I added in ambient light sensors and also Bluetooth proxy for using Bermuda to do Bluetooth device tracking
Here is the GitHub with a guide on how I did it (I also included the stl to print the enclosure I designed for it)
So for the most part I did the same thing. But how do I integrate the room presence with the mmWave binary sensor in an automation? Iām trying to figure out a way to use group helpers to make one trigger of both entities so I walk in a room and the mmWave turns the lights on quicker but if I am still in the room but not moving around, the light will stay on because the Bermuda ble will track my phone in the room. Any suggestions?
Each one of those sensor entities that are part of the mmwave sensors can be used in any automations as either Conditions or Triggers and you just build your automation using the intuitive logic statements, (if - then - action) or (if - and - condition - condition - then - action) or whatever order of logic operations you require.
Thats fine, my hourly rate for tech service is the same no matter what the clients skill level. Just make sure you pay the bill when it comes so i dont have to break any knee caps!
Lol im jk manā¦
First thing is first! Have you even looked through the documentation? You at least are aware that there is documentation(instructions) right?
FYI Im not the type to just write the whole configuration for people in here so that they can copy/paste it and didnt learn one single thing in the processā¦
I will help you through it, so it at least makes more sense than it did when you started and once you learn the basics/fundamentals, it really gets a lot essier and for the most part it is very intuitive.
Oh yeah I have mmWave setup and working just fine. I have automations that are all good too but I just setup Bermuda too. That works as well but I want to do automations where if I walk in my kitchen, the mmWave picks me up and turns the lights on. But sometimes Iāll be sitting still for too long and the mmWave clears me. I want to add the Bermuda tracker in combination with the mmWave sensor so the lights will trigger from mmWave but stay on IF my phone is still in the room, even if the mmWave sees that the room is clear cause Iām not moving.
Ya, i get that. The other āfirst thing firstā is you need to post your configuration whenever asking for help with the code because, its really hard to be of any help if i cant see your code.
Please make sure you use the code blocks so that your code is properly formatted and aligned when its posted.
I do it like this personally. 3x above your code and 3x at the bottom, like this.
So, here are some basic configurations that you can find in the documentation for the ld210 sensor and each device or integration through Esphome will have all these configuration options listed in the documentation and these are the main building blocks you will need to use when creating your automations.
These additional configurations are used to calibrate the sensor or you could also say theyāre for adjusting the sensitivity mainly. These sensors are so damn sensitive you can have a house fly sitting on a cabinet and it will continously trigger your mmwave sensor back to back and to prevent that from happening, you would use these and assign values to raise/lowet the sensitivity.
Thatās the yaml for one of my devices. Everything works the way it should. I just donāt know how to combine the bluetooth presence with the mmWave presence sensor. I thought I could do it through helper group but I donāt know how.
Once you do import those sensor states and the attributes for distance if you want that too but, You need to use those configuration options to incorporate that sensor data into your automations so, itās kind of like āputting the cart in front of the horseā if that makes sense but, again itās all explained in the documentation like I keep saying but, thereās a reason I didnāt start with doing that.
I feel like a broken record but. iām not sure the recommendation of reading the documentation is sinking in but, again here is the instructions for calibrating your sensor and setting how sensitive you want it to be and it also tells you how to incorporate all of that intio a singel binary_sensor output to show (Detected/Clear) to easily tell if thereās motion or not.
I got it figured out. I had to create a binary sensor template for the area tracking and combine that into a binary sensor group. Now I can use that binary sensor group to automate my lights!!