Page 1 of 1

MQTT

Posted: Wednesday 06 April 2016 14:46
by lebphi
hi,

i'm trying for a couple of days make working MQTT without success ... I don't understand how it works in domoticz.
1- how can i create une device MQTT (for exemple "outdoor temperature")
2- how can i update this device with a mqtt client (mqtt.fx for exemple) ? What is the exact syntax ?
I've read i've to use domoticz/in but i can't make working


regards

philippe

Re: MQTT

Posted: Wednesday 06 April 2016 14:54
by SweetPants
Did you follow the Wiki https://www.domoticz.com/wiki/MQTT

Re: MQTT

Posted: Wednesday 06 April 2016 14:58
by RidingTheFlow
You create a "Dummy hardware", then it will allow you to create virtual devices of whatever type you want.
Then you can control them via MQTT messages.

Re: MQTT

Posted: Wednesday 06 April 2016 16:12
by lebphi
Thanks it works with a virtual device. I've send as command { "idx" : 1, "nvalue" : 0, "svalue" : "30.6"}