Using motion sensor with others in Voice

I have purchased several sensors to use with a GROVE hub and Voice. When I use any sensors other than the motion detector from M5 they all compile and appear to work perfectly. However, when I attempt to add the motion sensor I get this error: Pin 2 is used in multiple places.

Here is my configuration and compile output: log.txt · GitHub

Here are the instructions that I am following: Connecting a sensor to the Grove port – Home Assistant Voice Preview Edition

It seems you might have overlooked some details in the instructions.
The system literally tells you what the problem is

        packages:
          grove-power: github://esphome/home-assistant-voice-pe/modules/grove-power.yaml

If I do that I get a conflict because that package repeats a config that is in the one I included. Please take a look at both YAML files and then tell me if that is the problem.

What do you mean it repeats? You are declaring one gpio twice in the current configuration.

i2c:
  - id: grove_i2c
    sda: GPIO1
    scl: GPIO2

and

binary_sensor:
  - platform: gpio
    pin:
      number: 2

Follow the instructions and use the correct package.

I have updated my gist with what happens when I follow the instructions to the letter. I get a different error. I have multiple sensors with a hub. I am not sure if you caught that part.

The motion sensor does not use I2C. open the case and solder to a free pin if you want to use all the sensors together.

1 Like

That would have been nice to know before buying all of them. Do you know how I can contact someone to update the documentation?

You sure about that? that’s a grove port on that pir. I have one on my desk.

That said I’d just expect it to be in the i2c bus?

I think I’ve hit the exact same kit ready to be installed op.


The company uses the largest letters to call attention to it. And the use of a binary sensor with a separate pin should clear up any doubts.

I have the paper docs I’ll read it today.theybsell it in the same section of thier site as the Grove M5stack stuff. So I find it hard to believe this version doesn’t have an i2c grove but we shall see.

As someone new to all of this, I’d expect it to act the same as the other sensors. It’s not pointed out explicitly in the original documentation. It’s not immediately clear to a newbie that there’s a difference between an I2C sensor and a binary sensor and that they cannot share a hub.

1 Like

I bought all the gear, and it was “future Nathan’s project.” But I’ll crack the book on the PIR this afternoon.