shelly_pool/fake_mqtt_pool

6 lines
91 B
Plaintext
Raw Permalink Normal View History

2022-04-21 12:49:36 +02:00
#!/bin/bash
temp=$1
mosquitto_pub -t 'zigbee2mqtt/Piscine' -m '{"temperature": '$temp'}'