I am trying to write a python script to run some additional sensors I am adding to the emonPi, but I still want to pull in the data channels from the emonPi. I am trying to find the best way to pull the readings into my script. Looking at the data map (https://github.com/openenergymonitor/emonpi#raspberry-pi-based-energy-monitoring-unit), the sensors are read into the Raspberry Pi in the Jeelabs format to emonHub. From there to MQTT, and then sent to everywhere including the LCD.
The LCD does have python script that publishes the power and vrms on page 4 and power on page 3 by using the ConfigParser library and reading the cfg file.
Is there a way to read directly from MQTT using Pi, or is mirroring the LCD python the best option?