Erstmal habe ich ein generelles Problem mit ESPHome
auf der ESPHome Oberfläche sieht es so aus

unter Devices&Services so

sollten da nicht die gleichen Devices stehen? Oder muss ich da was refreshen/einstellen?
das eigentliche Problem
Ich habe einen Nodemcu Esp-12 + HX711 und 2 Wägezellen mit diesem Code eingebunden
Im HA finde ich diese Device nicht
generell funktioniert es erstmal, das Log:
auch wenn die Werte erstmal nicht wirklich akurat sind.
Ich brauche sie auch nicht akkurat, leer, halbvoll, achtung kann böse enden , reicht mir schonmal
Ich möchte das Device jetzt erstmal in HA einbinden und dann mal weiter sehen
auf der ESPHome Oberfläche sieht es so aus

unter Devices&Services so

sollten da nicht die gleichen Devices stehen? Oder muss ich da was refreshen/einstellen?
das eigentliche Problem
Ich habe einen Nodemcu Esp-12 + HX711 und 2 Wägezellen mit diesem Code eingebunden
Python:
esphome:
name: "klometer"
esp8266:
board: nodemcuv2
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Web-62D642"
password: "2fdBZx91W8TJ"
captive_portal:
sensor:
- platform: hx711
name: "HX711 Value"
dout_pin: D7
clk_pin: D8
gain: 128
update_interval: 3s
filters:
- calibrate_linear:
- 24000 -> 0
- 25000 -> 1
unit_of_measurement: Füllstand
Im HA finde ich diese Device nicht
generell funktioniert es erstmal, das Log:
Code:
INFO Reading configuration /config/esphome/klometer.yaml...
INFO Starting log output from klometer.local using esphome API
INFO Successfully connected to klometer.local
[14:40:51][I][app:102]: ESPHome version 2022.11.5 compiled on Dec 7 2022, 14:13:40
[14:40:51][C][wifi:504]: WiFi:
[14:40:51][C][wifi:362]: Local MAC: C4:5B:BE:62:D6:42
[14:40:51][C][wifi:363]: SSID: [redacted]
[14:40:51][C][wifi:364]: IP Address: 192.168.1.207
[14:40:51][C][wifi:365]: BSSID: [redacted]
[14:40:51][C][wifi:367]: Hostname: 'klometer'
[14:40:51][C][wifi:369]: Signal strength: -46 dB ▂▄▆█
[14:40:51][C][wifi:373]: Channel: 6
[14:40:51][C][wifi:374]: Subnet: 255.255.255.0
[14:40:51][C][wifi:375]: Gateway: 192.168.1.100
[14:40:51][C][wifi:376]: DNS1: 192.168.1.100
[14:40:51][C][wifi:377]: DNS2: 0.0.0.0
[14:40:51][D][api:102]: Accepted 192.168.1.155
[14:40:52][C][logger:293]: Logger:
[14:40:52][C][logger:294]: Level: DEBUG
[14:40:52][C][logger:295]: Log Baud Rate: 115200
[14:40:52][C][logger:296]: Hardware UART: UART0
[14:40:52][W][api.connection:083]: Home Assistant 2022.11.5 (192.168.1.155): Connection closed
[14:40:52][C][hx711:021]: HX711 'HX711 Value'
[14:40:52][C][hx711:021]: State Class: 'measurement'
[14:40:52][C][hx711:021]: Unit of Measurement: 'Füllstand'
[14:40:52][C][hx711:021]: Accuracy Decimals: 0
[14:40:52][C][hx711:021]: Icon: 'mdi:scale'
[14:40:52][C][hx711:022]: DOUT Pin: GPIO13
[14:40:52][C][hx711:023]: SCK Pin: GPIO15
[14:40:52][C][hx711:024]: Update Interval: 10.0s
[14:40:52][C][captive_portal:088]: Captive Portal:
[14:40:52][C][mdns:103]: mDNS:
[14:40:52][C][mdns:104]: Hostname: klometer
[14:40:52][C][ota:093]: Over-The-Air Updates:
[14:40:52][C][ota:094]: Address: klometer.local:8266
[14:40:52][C][api:138]: API Server:
[14:40:52][C][api:139]: Address: klometer.local:6053
[14:40:52][C][api:143]: Using noise encryption: NO
[14:40:53][D][hx711:031]: 'HX711 Value': Got value 247237
[14:40:53][D][sensor:126]: 'HX711 Value': Sending state 223.23701 Füllstand with 0 decimals of accuracy
[14:41:03][D][hx711:031]: 'HX711 Value': Got value 247243
[14:41:03][D][sensor:126]: 'HX711 Value': Sending state 223.24301 Füllstand with 0 decimals of accuracy
[14:41:13][D][hx711:031]: 'HX711 Value': Got value 247247
[14:41:13][D][sensor:126]: 'HX711 Value': Sending state 223.24701 Füllstand with 0 decimals of accuracy
[14:41:23][D][hx711:031]: 'HX711 Value': Got value 247199
[14:41:23][D][sensor:126]: 'HX711 Value': Sending state 223.19901 Füllstand with 0 decimals of accuracy
[14:41:33][D][hx711:031]: 'HX711 Value': Got value 247260
[14:41:33][D][sensor:126]: 'HX711 Value': Sending state 223.26001 Füllstand with 0 decimals of accuracy
[14:41:43][D][hx711:031]: 'HX711 Value': Got value 247219
[14:41:43][D][sensor:126]: 'HX711 Value': Sending state 223.21901 Füllstand with 0 decimals of accuracy
[14:41:47][D][api:102]: Accepted 192.168.1.155
[14:41:47][W][api.connection:083]: Home Assistant 2022.11.5 (192.168.1.155): Connection closed
[14:41:51][D][api:102]: Accepted 192.168.1.155
[14:41:52][W][api.connection:083]: Home Assistant 2022.11.5 (192.168.1.155): Connection closed
[14:41:53][D][hx711:031]: 'HX711 Value': Got value 247285
[14:41:53][D][sensor:126]: 'HX711 Value': Sending state 223.28502 Füllstand with 0 decimals of accuracy
[14:42:03][D][hx711:031]: 'HX711 Value': Got value 247221
[14:42:03][D][sensor:126]: 'HX711 Value': Sending state 223.22101 Füllstand with 0 decimals of accuracy
Ich brauche sie auch nicht akkurat, leer, halbvoll, achtung kann böse enden , reicht mir schonmal
Ich möchte das Device jetzt erstmal in HA einbinden und dann mal weiter sehen