Even simpler, if you already have a python script able to provide the information you need, dead simple to fix, just add MQTT support and you can easily communicate with Node-RED. Done in a coffe break
Publish your script here and I will look into it