Replies: 3 comments 7 replies
-
My recommendation is to try again without logging, with the magnetic field sensors disabled, and maybe without the loop time sensor. If you have these enabled, at high flow the MCU has to push tons of data to Home Assistant which slow it down. |
Beta Was this translation helpful? Give feedback.
-
After switching from Lolin S2 Mini (single core) to Lolin S3 Mini (dual core) I am seeing sub 5ms loop times and improved accuracy, matching my Flume 2 during up to 25gal/m flows. I also noted that regardless of whether the debug entities were enabled, I still saw a consistently higher loop time than if I have Full config:
|
Beta Was this translation helpful? Give feedback.
-
I just committed: On my ESP8266 there was a big improvement, especially with the 1st one. @aneisch make sure you remove the logger lines from your config. The loop time now remains constant around 10-12ms while water is running. Before it would jump to 50ms. Removing field_strength_x and field_strength_y didn't have any noticeable impact for me. @aneisch @jbronikowski could you please let me know what's the maximum flow you can measure with ESP8266, single core ESP32, and dual core ESP32 to update the README? All my faucets and shower heads are low flow. |
Beta Was this translation helpful? Give feedback.
-
First of all, thanks for all your work on this!
I got things set up with an ESP8266 (D1 Mini) and things initially looked perfect. However, during periods of higher flow (eg: irrigation) I found that my readings were considerably lower than expected and compared to my flume 2.
After some reading in issues in this repository I decided to rebuild my meter with an ESP32 (Lolin S2-mini). It seems to return slightly more accurate values at higher flow, but interestingly seems to also have a longer loop time (and reports "qmc5883l.sensor took a long time for an operation" ocasionally).
Has anyone experienced this, or do you have any suggestions for improving accuracy? I am using the same set up for each device with the screenshots below. I built a D1 mini shield with my QMC5883L that I simply moved between the two microcontrollers (leaving the sensor in the same position on the meter). For this test device I'm using ~1ft Cat5.
D1 Mini Flow
D1 Mini Loop Time
D1 Mini Config:
Compared to:
S2 Mini Flow
S2 Mini Loop Time
S2 Mini Configuration
Beta Was this translation helpful? Give feedback.
All reactions