Adafruit_Sensor
Adafruit_Sensor copied to clipboard
power/energy meter
Hi, I was wondering how to implement the interface toward a power/energy meter that gives me reading in W/Wh respectively. Thanks
sensors_type_t has no power/energy constant. I wonder if it's "by design" or it's only a matter of defining a new enum value
@brentru I'd like to add the Power option too, as was adding the INA260 in https://github.com/adafruit/Wippersnapper_Components/pull/247 however as mentioned there is currently no power option available. Definition checker pointed it out fortunately, but also spotted the lack of option in intellisense. https://github.com/adafruit/Wippersnapper_Components/actions/runs/14247282327/job/39931326279?pr=247#step:4:78
Got some vague memory of discussing it years ago, but can't find any related issues.
Sure - let's make a note and talk about this during the meeting tomorrow to figure out a solution.