MQTT

Moderator: leecollings

Post Reply
lebphi
Posts: 2
Joined: Wednesday 06 April 2016 14:38
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

MQTT

Post 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
SweetPants

Re: MQTT

Post by SweetPants »

Did you follow the Wiki https://www.domoticz.com/wiki/MQTT
RidingTheFlow
Posts: 72
Joined: Friday 11 March 2016 18:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Essex, UK
Contact:

Re: MQTT

Post 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.
lebphi
Posts: 2
Joined: Wednesday 06 April 2016 14:38
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MQTT

Post by lebphi »

Thanks it works with a virtual device. I've send as command { "idx" : 1, "nvalue" : 0, "svalue" : "30.6"}
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest