HX711 absolute weight computation #13983
Replies: 11 comments 44 replies
-
As no one disagrees with the idea, I assume that no one is against such a change. I will work on the PR in the coming days. TODO: |
Beta Was this translation helpful? Give feedback.
-
Hi, When you make PR, do you have possibility to test it with ESP32 too. I think that current HX711 code has some weird shenanigans on going for over 10kg weights. |
Beta Was this translation helpful? Give feedback.
-
That looks like a different I will investigate. |
Beta Was this translation helpful? Give feedback.
-
I don't mind a total redesign BUT keep the current functionality and add changing functionality using an For now I will change all longs by either int or uint32_t as needed. |
Beta Was this translation helpful? Give feedback.
-
Any news on this? I just wrote my expirience with esp32 and hx711 here. Maybe it can help |
Beta Was this translation helpful? Give feedback.
-
Tasmota is using the I'll implement the ESP8266 shiftIn function in the Tasmota HX driver and add a delay for the ESP32. Hold on. |
Beta Was this translation helpful? Give feedback.
-
Just released the updated driver using the ESP8266 Pls give it a try and report back. |
Beta Was this translation helpful? Give feedback.
-
Hey all, |
Beta Was this translation helpful? Give feedback.
-
Hi, No spikes for my setup during several hours testing. One more "problem" with sensor34 and ESP32. It auto tares the weight to 0.000 if resetting the device. This is bad if measuring constant weights like water tank. The weight decreases slowly by time when using the water and autotare at reset is no good. This was working earlier with ESP32. Is there option to change autotare on and off? sensor34 7 saves the weight to be used as start weight on restart but if there's an electricity blackout? |
Beta Was this translation helpful? Give feedback.
-
Pls define "resetting". With latest version (v11.0.0.6) when I add a load to the scale of say 1kg and I execute a restart command it returns to 1kg. If indeed I press the reset button (or power cycle) it returns to the last saved state. The term "saved state" is crucial here as this by default only occurs on a restart command. As a workaround you could use a rule which executes command |
Beta Was this translation helpful? Give feedback.
-
El El sáb, 7 set. 2024 a la(s) 07:01, dexterbot80 ***@***.***>
escribió:
It is more stable only after 30 minutes, I don't understand why even if I
have the same weight of 2000 grams on the scale I measure values between
1900 and 1913 grams.
That is a well know problem of the load cells.
I try to use them to monitor a tank that change 10% of is weight in a week
and was imposible, but with the best quality ones.
|
Beta Was this translation helpful? Give feedback.
-
Hey friends,
Related to https://github.com/arendst/Tasmota/blob/development/tasmota/xsns_34_hx711.ino
TL;DR; Would it be possible to change or extend the code for the HX711 sensor, so raw value conversion and reporting of absolute kg measurements is directly handled by Tasmota? If no objections, I will try to contribute a PR.
The HX711 weight sensor is supported prominently with two outputs:
However there is no output for:
The last one seems like the one most users actually need.
I would like to understand whether there is a specific reason for this divide. I am not sure which user actually needs an auto-tare sensor and the PR for the raw value (#7171 by @tobox) even mentions that "to do calibration/tare in upper layers." I can confirm that this indeed works well. I have a simple conversion (
y = ax +b
) doing this in Home Assistant, however would prefer my DIY scale to do this directly. ESPhome supports the conversion directly.Beta Was this translation helpful? Give feedback.
All reactions