Site Tools


home-assistant:mqtt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
home-assistant:mqtt [2022/09/18 17:48] – created ashleyhome-assistant:mqtt [2022/09/18 18:05] (current) – ashley
Line 8: Line 8:
  
 mqtt pub -h 192.168.14.34 -V 3 -p 1883 -t 'solar_assistant/inverter_1/voltage_point_2/set' -m '48.0' 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 ~]#
  
home-assistant/mqtt.1663523321.txt.gz · Last modified: (external edit)