With the help of Grok, I was able to convert the yaml for a esp32 board with a PIR and MMwave sensor attached that relied on Wifi to BT Home V2. It only took about 4 iterations which is definitely a win!
The Bluetooth Integration found the device after I triggered it as a Bluetooth Home v2 Motion/Occupancy Sensor but the only sensor created was for motion. However, in the raw data, there is all of the valuable information. Is there any way to parse all of that? I thought Node Red might be able to help but it pulls Battery, Illuminance, Motion & RSSI from a Device Node. Battery and Illuminance are null.
{
"address":"XX:XX:XX:XX:XX:XX",
"sensors":[
{
"unit":"m",
"device":"distance",
"value":4.7
},
{
"unit":"dBm",
"device":"signal_strength",
"value":-64
}
],
"model":"BTHome sensor",
"binary_values":[
{
"device":"motion",
"value":false
},
{
"device":"occupancy_1",
"value":false
},
{
"device":"occupancy_2",
"value":true
}
],
"advertised_name":"Unknown",
"events":[
],
"manufacturer":null
}


