You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run ioBroker on Rapi 4 with a Waveshare USP HAT.
When I try to fetch the power readings with ioBroker.i2c, I get this error:
"INA219 0x42: Couldn't read values: Error: CNVR is not set, not ready"
I compared a bit the python code against with the code here and got it working. The trick is to disable the "Einzelmessung"/"singleShot" tick.
I don't understand the difference between the two modes. I guess if somebody would need "singleShot" that there would need to be some wait time be added between writing the configuration and reading the values. This I assume because of the CNVR description at page 23 of https://www.ti.com/lit/ds/symlink/ina219.pdf.
Now I get similar values in ioBroker compared to the manufacturers python script:
The battery percentage that are seen in the output from the shell-script are calculated based on the voltage:
(bus_voltage - 6)/2.4*100 (this might be not universal)
I run ioBroker on Rapi 4 with a Waveshare USP HAT.
When I try to fetch the power readings with ioBroker.i2c, I get this error:
"INA219 0x42: Couldn't read values: Error: CNVR is not set, not ready"
Things that work:
These are the settings I use:
The text was updated successfully, but these errors were encountered: