Esp32C3 with mmwave sensor, installation in ESPHOME

Hello,
I am trying to follow this tutorial:

I’ve installed the program in ESPHOME
but I am getting an error message:
[someone_exist] is an invalid option for [binary_sensor.seeed_mr24hpc1]. Please check the indentation.

will appreciate some help :slight_smile:

Looks like, there is an indentation error somewhere in the Python scripts you used. Please check.

1 Like

Thank you for your reply,
but indentation doesn’t seem to be the problem,
my indentation is exactly as shown on the page:
binary_sensor:

  • platform: seeed_mr24hpc1

    someone_exist:

    name: “Presence Information”

the error said indention… so it seems… but i know nothing about it

Try “has_target” instead of “someone_exist”. See this example config from the extension’s github for more detail:
mmwave-kit-external-components/example/mr24hpc1.yaml at main · limengdu/mmwave-kit-external-components (github.com)

I should note I am still trying to get this mmwave sensor to work as well per the same tutorial you linked to, I just got past this hurdle already. :smiley:

1 Like

Hi there,
Yea that looks like NON ansi compatible Quote Marks ,should be " " compared to what you have. “ ”
fix that.
GL :slight_smile: PJ
:v:

Not Sure if you still need help but will be beneficial for others too, some changes I made to the code for it to compile are:

Under binary_sensor:
someone_exist to has_target

Under switch
underly_open_function to underlying_open_function

Under button
reset to restart.

Edit to add that the RX and TX Pin are not the correct ones, it should be:
rx_pin: 20
tx_pin: 21

Once you make these changes, it should compile without any issues. Hope this helps.

1 Like