Bed sensor hx711+esphome(MQTT)+loadcell connection

I had working bed sensor (one load cell don’t care about actual weight) for one side off the bed using the hx711 board and the esp32 devout v1.
It was working quite well, really responsive when I get in to bed and out off bed.
Witch I got integrated into home assistant using Mqtt.
To connect the second load cell I dismantle everything and to put it in a nice enclosure under the bed, but in the proces I broke off the USB port so I ordered a new esp32.
Now the problem is I don’t remember how I connected the hx711 to the esp32.
I tried different connections but I cannot make it work against keeps getting sending 0.00 and doesn’t react to weight change, found a lot of people using memos d1 mini but can’t work out he pins I have to use.
Iam using the hx711 Arduino Library and upload the sketch I found at Building a bed occupancy sensor for Home Assistant

I would love to use it using the esphome add-on but first I need to get the load cell to work again so iam hoping somebody can help me with it so I my automations are working again.



Well using the wiring indicated in article you link is not working ?? You have only one load cell right ?

yes iam using one load cell for each bed side, each with it’s own hx711 board.
i treed different combinations pins but I still get no value’s, its not reacting to any input on the load cell.
I thought I used pin 18 & 19 but still no values.
maybe iam using a wrong esp library.

Well you said it was working previously no ? so it’s mainly a wiring issue :wink:

yes you are right, it was a wiring issue.
leaving it alone this weekend was a good idea and look with fresh eyes to the problem :wink:
The pins for one loadcell I used 18 & 5 apparently, now I have to find a second set of pins to connect the second load cell to and how to make the second one work inside the code :slight_smile: