Help hooking up a car seat sensor

Hey all

I have one of these sensors: https://ae01.alicdn.com/kf/Hd7230cfb4f9d48b1873b623be1775db9c/1-Pcs-Universal-Car-Seat-Pressure-Sensor-Safety-Belt-Warning-Reminder-Pad-Occupied-Seated-Alarm-Accessory.jpg

I would like to hook it up to Home Assistant, so i can use it as a binary sensor.
I have tried hooking it up to a d1 mini, but i cannot get it to work.
I’m really new to DIY electronics, so if anyone can help me get started i would really appreciate it.

The pic gives no technical information other than the fact that it has two wires. I there fore assume that it operates as a momentary switch.

Attach your multimeter and see if a connection is made or broken when pressure is applied.

Had the same need today and I managed to make it working with the following setup on ESPHome:

binary_sensor:
  - platform: gpio
    pin:
      number: 32
      inverted: true
      mode:
        input: true
        pullup: true
    name: "Seat"
    device_class: presence
  
output:
  - platform: gpio
    pin: 26
    id: gpio_26

Red cable attached to the pin 26 and the black cable to pin32

I hope it helps someone as I found this post looking up for the solution!

3 Likes