Can you use MQTT in dzVents?
Moderator: leecollings
-
Timmiej93
- Posts: 64
- Joined: Saturday 26 December 2015 0:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Can you use MQTT in dzVents?
Basically, the title sums it all up: Is it possible to use MQTT in any form in dzVents?
-
SweetPants
Re: Can you use MQTT in dzVents?
depends on what you want to achieve. the question is rather generic. an event can be triggered through mqtt on domoticz/in and if you switch a light in dzventz. it generates a mqtt message on domoticz/out
-
Timmiej93
- Posts: 64
- Joined: Saturday 26 December 2015 0:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Can you use MQTT in dzVents?
Yeah, I put down a broad question at first, because I couldn't find anything about MQTT in dzVents at all, so I was expecting it not to work at all.
I'd like to trigger events through incoming messages, preferably with custom topics of course, and I'd like to send out messages, also preferably with custom topics. I must say that I can't find anything about triggering an event through mqtt on the dzVents wiki page, am I missing something obvious?
I'd like to trigger events through incoming messages, preferably with custom topics of course, and I'd like to send out messages, also preferably with custom topics. I must say that I can't find anything about triggering an event through mqtt on the dzVents wiki page, am I missing something obvious?
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: Can you use MQTT in dzVents?
MQTT reflects all Domoticz Events... so basically everything you get in the log is almost replicated as MQTT telegram
if you want to trigger a script from outside, have MQTT do something in domoticz... change a variable, toggle a virtual switch or whatever
I've asked also to implement the .topic, but as an external message (from dz to MQTT) to better identify the area of the message (switch, consumption, dimmer etc etc), as a device characteristic.... Will not really understand how to use it as an incoming message
ciao
M
if you want to trigger a script from outside, have MQTT do something in domoticz... change a variable, toggle a virtual switch or whatever
I've asked also to implement the .topic, but as an external message (from dz to MQTT) to better identify the area of the message (switch, consumption, dimmer etc etc), as a device characteristic.... Will not really understand how to use it as an incoming message
ciao
M
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
Who is online
Users browsing this forum: No registered users and 1 guest