I inadvertently messed some things up on my network and didnt have a backup, so I had to rebuild some of my ESPhome items by scratch. This was just working the other day, so I know the hardware is still good. I loaded an old bin and saw the scale device was returning results.
I’m running ESPhome as a docker container, so I’m not using the internal version. This device is another “bed scale” type. My yaml:
esphome:
name: mbr-bed-hx711
friendly_name: mbr-bed-hx711
includes:
- "custom_hx711.h"
libraries:
- "https://github.com/bogde/HX711"
esp8266:
board: d1_mini
# Enable logging
logger:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
fast_connect: true
manual_ip:
static_ip: 172.16.68.114
gateway: 172.16.68.1
subnet: 255.255.255.0
# Enable Home Assistant API
api:
encryption:
key: "s9er2MrsYpXCTTGFaZpLS259fhLdshlzRCJWr#####="
ota:
password: "72ceacf5abedc1928aa004b86#####"
sensor:
- platform: hx711
name: "HX711 Value"
dout_pin: D1
clk_pin: D2
gain: 128
accuracy_decimals: 3
update_interval: 0.5s
and here is the log:
INFO ESPHome 2024.5.0
INFO Reading configuration esphome/mbr-bed-hx711.yaml...
INFO Starting log output from 172.16.68.114 using esphome API
INFO Successfully connected to mbr-bed-hx711 @ 172.16.68.114 in 0.008s
INFO Successful handshake with mbr-bed-hx711 @ 172.16.68.114 in 2.686s
[23:45:28][I][app:100]: ESPHome version 2024.5.0 compiled on May 15 2024, 23:41:29
[23:45:28][C][wifi:580]: WiFi:
[23:45:28][C][wifi:408]: Local MAC: B4:E6:2D:3C:A8:53
[23:45:28][C][wifi:413]: SSID: 'mySSID'[redacted]
[23:45:28][C][wifi:416]: IP Address: 172.16.68.114
[23:45:28][C][wifi:419]: BSSID: FF:FF:E0:17:E5:65[redacted]
[23:45:28][C][wifi:421]: Hostname: 'mbr-bed-hx711'
[23:45:28][C][wifi:423]: Signal strength: -55 dB ▂▄▆█
[23:45:28][C][wifi:427]: Channel: 1
[23:45:28][C][wifi:428]: Subnet: 255.255.255.0
[23:45:28][C][wifi:429]: Gateway: 172.16.68.1
[23:45:28][C][wifi:430]: DNS1: 0.0.0.0
[23:45:28][C][wifi:431]: DNS2: 0.0.0.0
[23:45:28][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:28][C][logger:185]: Logger:
[23:45:28][C][logger:186]: Level: DEBUG
[23:45:28][C][logger:188]: Log Baud Rate: 115200
[23:45:28][C][logger:189]: Hardware UART: UART0
[23:45:28][C][hx711:021]: HX711 'HX711 Value'
[23:45:28][C][hx711:021]: State Class: 'measurement'
[23:45:28][C][hx711:021]: Unit of Measurement: ''
[23:45:28][C][hx711:021]: Accuracy Decimals: 3
[23:45:28][C][hx711:021]: Icon: 'mdi:scale'
[23:45:28][C][hx711:022]: DOUT Pin: GPIO5
[23:45:28][C][hx711:023]: SCK Pin: GPIO4
[23:45:28][C][hx711:024]: Update Interval: 0.5s
[23:45:28][C][mdns:115]: mDNS:
[23:45:28][C][mdns:116]: Hostname: mbr-bed-hx711
[23:45:28][C][ota:096]: Over-The-Air Updates:
[23:45:28][C][ota:097]: Address: 172.16.68.114:8266
[23:45:28][C][ota:100]: Using Password.
[23:45:28][C][ota:103]: OTA version: 2.
[23:45:28][C][api:139]: API Server:
[23:45:28][C][api:140]: Address: 172.16.68.114:6053
[23:45:28][C][api:142]: Using noise encryption: YES
[23:45:29][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:29][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:30][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:30][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:31][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:31][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:32][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:32][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:33][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:33][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:34][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:34][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:35][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:35][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:36][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:36][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:37][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:37][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:38][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:38][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:39][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:39][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:40][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:40][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:41][W][hx711:037]: HX711 is not ready for new measurements yet!
[23:45:41][W][hx711:037]: HX711 is not ready for new measurements yet!