cepicscepics,
Ok a few things. Do not connect the CH1, Ch2 or CH3 (-) on the INA3221 to the raspberry pi or anything else. They should not be used and will cause problems. Only connect to the (+) from the voltage sources on the INA3221.
Second, make sure the common ground of all the batteries is connected to the negative bus on your pi.
If you change those things everything should work fine.
By the way you can go into the code and change the signal k labels to anything that is not being used by OP or Signal K
Example
voltagekey1 = "electrical.batteries.house.voltage"
to
voltagekey1 = "electrical.batteries.emergency.voltage"
Good luck
Ok a few things. Do not connect the CH1, Ch2 or CH3 (-) on the INA3221 to the raspberry pi or anything else. They should not be used and will cause problems. Only connect to the (+) from the voltage sources on the INA3221.
Second, make sure the common ground of all the batteries is connected to the negative bus on your pi.
If you change those things everything should work fine.
By the way you can go into the code and change the signal k labels to anything that is not being used by OP or Signal K
Example
voltagekey1 = "electrical.batteries.house.voltage"
to
voltagekey1 = "electrical.batteries.emergency.voltage"
Good luck