I am using a Raspberry where I have installed mosquitto and I have setup a broker. I am trying to set current to 13A, but I am not succeeding.
I am typing this:
$ sudo mosquitto_pub -h 192.168.1.15 -p 1883 -u rpi -P reg43d2 -t openevse/rapi/in/$SC -m "13"
In the web interface..........everything look ok. It says connected.
I do not have any problem in:
- Using the RAPI via web interface
- Using the RAPI over http.
Just problems with "RAPI over MQTT".
Do you see something obvious that i am missing?
Ok.........just answering myself. The topic needs to go between ' '
$ sudo mosquitto_pub -h 192.168.1.15 -p 1883 -u rpi -P reg43d2 -t 'openevse/rapi/in/$SC' -m "13"