fake mqtt pool message

This commit is contained in:
Gilles Grandou 2022-04-21 12:49:36 +02:00
parent b6e3e2778e
commit 27204f1933

5
fake_mqtt_pool Executable file
View File

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