I’m sorry; I’m stumped. There’s something wrong with the way the battery voltage is being read. But I don’t understand what. As soon as I turn on the debugging for it.. it works. It also works if I upgrade to the current ModularSensors master branch. But I cannot figure out for the life of me what change makes it work.
So my two suggestions to get it working (pick one):
-D MS_PROCESSORSTATS_DEBUG to the build flags in your platformio.ini
– Upgrade to the latest master branch of ModularSensors on GitHub by changing your lib_deps to