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
Admittedly the INA219 configuration command in the sample code uses the default parameters, which work OK, but from the INA219 documentation one can find several optional parameters to experiment with. The probably rather futile idea would be to improve accuracy, but like me you might just be inclined to try and see what happens ....
I am not going to describe the optional parameters, but here are a few lines as an example of what I mean:
The lines without # work for me, and so do the original commands (I adjusted the shunt values, but that's another story).
However in my case the configuration(s) above with 4 parameters repeatedly work(s) only for a few hours before some error occurs that I have not traced. Some other possible values for the 4 parameters might work fine. I only tried those in the above quote.
The INA219 had obviously stopped measuring and in Home Assistant I would see just a flat line for the values from the INA219's.
There may be a bug in the python driver library, but I'll leave it to others to pinpoint out the exact cause.
The text was updated successfully, but these errors were encountered:
Admittedly the INA219 configuration command in the sample code uses the default parameters, which work OK, but from the INA219 documentation one can find several optional parameters to experiment with. The probably rather futile idea would be to improve accuracy, but like me you might just be inclined to try and see what happens ....
I am not going to describe the optional parameters, but here are a few lines as an example of what I mean:
The lines without # work for me, and so do the original commands (I adjusted the shunt values, but that's another story).
However in my case the configuration(s) above with 4 parameters repeatedly work(s) only for a few hours before some error occurs that I have not traced. Some other possible values for the 4 parameters might work fine. I only tried those in the above quote.
The INA219 had obviously stopped measuring and in Home Assistant I would see just a flat line for the values from the INA219's.
There may be a bug in the python driver library, but I'll leave it to others to pinpoint out the exact cause.
The text was updated successfully, but these errors were encountered: