@DAVIZINHO wrote:
Hello,
I want to send the value of the sensor by mqtt_publish to my domoticz server. This will very usefull for me.Now i create a automation with mqtt_publish service and works if I send a number value like this:
payload: '{ "command": "udevice", "idx": 174, "nvalue": 0, "svalue": "59"}' topic: domoticz/in
If i launch this automation it works great and push the “59” value in my device throught mqtt.
But i want to use the value of a sensor: “sensor.weight”.
How can i do this?? its important respect the quotes or it will not works
thanks a lot for the support!
Posts: 2
Participants: 2