mxtommy / SigkSens

ESP8266 based SignalK Wifi Sensors
Apache License 2.0
38 stars 8 forks source link

INA219 Compatibilty #74

Closed AliceJ21 closed 5 years ago

AliceJ21 commented 5 years ago

Is the I2C Sensor INA219 supported yet? I have managed to get the address showing in the Serial Monitor but there is no definition of it?

ba58smith commented 5 years ago

In the "Add a Sensor" wiki, you see all the types of i2c sensors that are currently supported, and the INA219 isn't in that list. I haven't tried to add a new type of sensor yet, but with several i2c sensors already defined, maybe you can add it yourself by using one of them as a template? Look in SigkSens/SigkSens/src/sensors for examples. Otherwise, @mxtommy or @mairas will need to help.

mxtommy commented 5 years ago

Unfortunately I do not have one to test with :( If you want help coding it let me know, but not much I can do without the hardware :)