Trying to inject battery%, voltage, and if it’s plugged in into Meshtasticd

What the title says. I am running Rex’s Trixie (latest) image, teamed up with the AIOV2 board running off of NvME.

Everything is working great! SDR/GPS/LoRA. All apps behave correctly, including Meshtastic.

For the life of me, I am unable to allow mestasticd to pull the battery data (volts/battery%/plugged in or on battery) from AIOv2 board.

All of the scripts I have tried (assistance from Google AI) have failed to update the Device Metrics Log. I was able to push the metrics in Channel 0, but that’s not what I want. Other scripts I have tried has injected the battery info in my meshtastc node, but the iOS app fails to update the log. I’ve reset the app, db, etc to no avail.

This is not a deal-breaker (more of a QoL request). Has anyone else been able to successfully get this to work?

Meshtasticd isn’t a real Linux program, it’s an Arduino emulator running the exact same code as a microprocessor version of meshtastic. This makes getting gps not work well with other programs, I assume the same is true for battery and they can only do it by directly reading battery voltage

Ahh, that’s the reason why. Whelp, thank you for sharing that with me. It’s not going to happen, which is fine. I will stop pulling my hair out. :wink:

I forgot to send a huge “Thank You Rex”, for taking the time to providing these images and assistance with the community.

Appreciate you.