Site Tools


home-assistant:mqtt

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
home-assistant:mqtt [2022/09/18 18:04] – ashleyhome-assistant:mqtt [2022/09/18 18:05] (current) – ashley
Line 9: Line 9:
 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:+===== using centos1 to test: ===== 
  
 Usage: mosquitto [-c config_file] [-d] [-h] [-p port] Usage: mosquitto [-c config_file] [-d] [-h] [-p port]
  
- -c : specify the broker config file. +  -c : specify the broker config file. 
- -d : put the broker into the background after starting. +  -d : put the broker into the background after starting. 
- -h : display this help. +  -h : display this help. 
- -p : start the broker listening on the specified port.+  -p : start the broker listening on the specified port.
       Not recommended in conjunction with the -c option.       Not recommended in conjunction with the -c option.
- -v : verbose mode - enable all logging types. This overrides+  -v : verbose mode - enable all logging types. This overrides
       any logging options given in the config file.       any logging options given in the config file.
  
 See http://mosquitto.org/ for more information. 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/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/inverter_power_limiter/set' -m  
-[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' +'2000' 
-[root@centos01 ~]#+ [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.1663524289.txt.gz · Last modified: (external edit) · Currently locked by: 216.73.216.236,192.168.2.28