This is an old revision of the document!
MQTT
solar_assistant/inverter_1/temperature/state
voltage_point_2
mosquitto_pub -h 10.0.0.100 -t 'solar_assistant/inverter_1/voltage_point_2/set' -m '48'
mqtt pub -h 192.168.14.34 -V 3 -p 1883 -t 'solar_assistant/inverter_1/voltage_point_2/set' -m '48.0'
using centos1 to test:
Usage: mosquitto [-c config_file] [-d] [-h] [-p port]
-c : specify the broker config file. -d : put the broker into the background after starting. -h : display this help. -p : start the broker listening on the specified port.
Not recommended in conjunction with the -c option.
-v : verbose mode - enable all logging types. This overrides
any logging options given in the config file.
See http://mosquitto.org/ for more information.
[root@centos01 ~]# mosquitto_pub -h 192.168.14.34 -t 'solar_assistant/inverter_1/voltage_point_2/set' -m '48.0' [root@centos01 ~]# mosquitto_pub -h 192.168.14.34 -t 'solar_assistant/inverter_1/inverter_power_limiter/set' -m '2000' [root@centos01 ~]# mosquitto_pub -h 192.168.14.34 -t 'solar_assistant/inverter_1/battery_float_charge/set' -m '47' [root@centos01 ~]# mosquitto_pub -h 192.168.14.34 -t 'solar_assistant/inverter_1/battery_float_charge/set' -m '47.0' [root@centos01 ~]#
