I am building a solar node using a RAK Wisblock and the RAK19004 green power module. The solar system is a 12V 7AH gel cell charged with a charge controller and a 10W, 12V panel. This 12V battery feeds the 19004 which supplies 5V to the Wisblocks solar panel jack. There is no battery attached to the Wisblock.
The two I2C sensors I have (BMP280 and INA219) are detected and show up on the OLED telemetry screen - I show 13V and 28mA being drawn from the battery. However, the over the air data only shows the on board Wisblock voltage. If I enable “Power Options” in the “Telemetry Config” page, I get an additional report showing “0% and 0V”. How do I get the INA219 data to report? Preferably, replacing the on board data as that’s irrelevant? The Telemetry Documentation mentions support for the INA219, but I can’t find anything on how to use the data. The Environmental Metrics does show the BMP280 data.
Under the power tab enter the address of the ina in the " Battery ina_2xx i2c" field will make node use ina data instead of on board data. The default address for ina219 on my nodes is 0x40 which translates to “64”. So enter 64 in the " Battery ina_2xx i2c" field under power.
Not sure under what “power tab” you’re referring to. In the IOS app, there is a power section and a telemetry section - neither have a place to enter an address from what I see.
I did try setting “power.device_battery_ina_address” using the CLI - but no change (update - seems to work!).
The documentation also states “If an INA-2XX device is auto-detected on one of the I2C buses at the specified address, it will be used as the authoritative source for reading device battery level voltage. Setting is ignored for devices with PMUs (e.g. T-beams)” but that’s not happening. (Power Configuration | Meshtastic).
Just checked again, and it looks like it reported “PWD 13.56” - so appears to be sending the INA219 voltage. Is there a way to get the current reading as well?
Radio Configuration > power in the Android app. Takes you to “power config” . Under the power config you will find the "Battery ina_2xx i2c " field to enter the ina address.
I don’t have a apple so not sure if it’s different. The above setting will replace the on board voltage reading with the ina voltage reading. It does not show amp draw. As far as I know, just the telemetry power metrics settings is the only way to show amp usage.