markusressel / ESPHome-Smart-Scale

An ESPHome based Smart Scale.
Creative Commons Zero v1.0 Universal
110 stars 14 forks source link

Is continuous measurement possible? #13

Closed lalebarde closed 6 months ago

lalebarde commented 1 year ago

Hi, I am looking for a continuous measurement scale I can integrate in HA or better already integrated. To clarify the need, I put a plant on the scale and trigger when the weight has decreased some amount after watering, for new watering (I use also in addition a soil humidity sensor).

It looks like domestic scales which power on when you stand on it and then put itself on standby do not fit my needs.

But I wonder if the API of those scales include some mode management to enable it. So eventually, can ESPHome-Smart-Scale manage my use-case and if yes, what are the scales with which it is possible?

markusressel commented 1 year ago

Hi @lalebarde !

Yes that's possible with some minor modifications to the yaml config. See also #3 .

Regarding scale models, this repository is meant to be used with simple load cells, so there is no "API". It works with any old simple scale by essentially replacing the brains with an ESP board, at which point ESPHome becomes your API. If you are looking for a scale that already does this without the need for hardware modifications this project is not the right one for you and you have to look into smart scales.

lalebarde commented 1 year ago

Thanks Markus, I did not figure out the hardware stuff, but that's alright for me. Obviously changing the brain makes everything possible. Thought, most of them are 100g precision. Do you have some recommendation for 10g precision ones? Or if I calibrate with 10kg, may I assume I will reach 10g precision?

markusressel commented 1 year ago

No you probably won't. The precision is a result of the designed range of the load cells, so cells which can only hold less total weight will be more precise as well. However, all load cells operate on pretty much the same principal, so it should be possible to use a smaller scale as well pretty easily.

As I said any good scale will do.

markusressel commented 6 months ago

Closing due to inactivity.