I'm trying to control my OpenEvse charger with NodeRed using MQTT.
All works fine excent i have no way of telling which rapi out message is being responded to.
ie if i send either
openevse/rapi/in/$GE or openevse/rapi/in/$GT
the responding topic is the same.
16/07/2019, 15:15:18node: 489eb2ce.9bd34copenevse/rapi/in/$GT : msg : Object
payload: "$OK 19 7 16 15 15 18^11"
_msgid: "5cff2b32.18ba94" ####### GE
payload: "$OK 40 0001^25"
Is there a way of passing an optional parameter?
Thanks in advance.
Yes, you can send a sequence ID which is echoed back in the response. MQTT Developers guide is attached.
I wonder if you could give me an example of the syntax as I can't seem to get it to work.
Answered my own question - For anyone trying to do this in NodeRed it's as simple as passing your id after a : in the payload