shelly_pool/fake_mqtt_pool

6 lines
91 B
Bash
Executable File

#!/bin/bash
temp=$1
mosquitto_pub -t 'zigbee2mqtt/Piscine' -m '{"temperature": '$temp'}'