OK, I have managed to back out of most of the errors, but I am left with two questions … but one can wait for now.
Getting MQTT data out of a local emonCMS on an emonPi
I have set the emonPi to act as MQTT broker, and it is working well for data arriving from two emonTx/ESP8266’s. But I can’t work out how to publish MQTT out of a CT Input on the emonPi. Does anyone know how to do this?
Within the MQTT section in the espwifi page of an emonTx/ESP8266 I have this.
Within a Node-RED flow I have this (with “MQTT emon” being on my emonPi).
Both work well and do what I want. But the lack of the MQTT “page” when logging in to my emonPi on 192.168.2.50 means that I can’t work out how to tell the emonPi what Topic to use etc. I have added a Process (see below) to one of the CT’s on the emonPi, but I can’t retrieve the data that I want within Node-RED. I’ve tried lots of combinations of Topic forms, but none work. It may well be that the emonPi isn’t even generating any MQTT data of its own, but I don’t know how to even check this.
Any assistance hugely appreciated.