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.
Thanks
Tom
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
ie
:55
Apologies for resurrecting an old thread, but am in a similar spot and was hoping you might be able to help. I am using NodeRed to test MQTT commands, specifically am trying to alter the charge current using $SC
I tested in the web interface using $SC 12 which returned $OK and set the charging amps to 12. I tried publishing via MQTT Out to a topic *BaseTopic*/rapi/in/$SC and then injected a payload with a string 12
I tried injecting a number 12, and a couple other various things, but don't seem to be able to get the current to change via MQTT.
The payload should be blank and the MQTT topic the full command *BaseTopic*/rapi/in/$SC 12.
Thomas Ashbee
Hi,
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.
##### GT
16/07/2019, 15:15:18node: 489eb2ce.9bd34copenevse/rapi/in/$GT : msg : Object
object
_msgid: "1539810e.7f8ccf"
topic: "openevse/rapi/in/$GT"
payload: ""
topic: "openevse/rapi/out"
payload: "$OK 19 7 16 15 15 18^11"
qos: 1
retain: false
_topic: "openevse/rapi/out"
_msgid: "5cff2b32.18ba94" ####### GE
_msgid: "32a55d2f.d97302"
topic: "openevse/rapi/in/$GE"
payload: ""
topic: "openevse/rapi/out"
payload: "$OK 40 0001^25"
qos: 1
retain: false
_topic: "openevse/rapi/out"
_msgid: "8b1f3434.6b6758"
Is there a way of passing an optional parameter?
Thanks in advance.
Tom