MQTT Topic

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
GriffinNOOB
Posts: 3
Joined: Saturday 04 November 2017 21:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

MQTT Topic

Post by GriffinNOOB »

Hi!
Im trying to use node red to manage all data in domoticz and have installed the "MQTT Client Gateway with LAN interface" and are successfully reciving logs on my MQTT subcriber/debug in node red.

However. I need a way to trigger on specific events (lighs on/off etc) and one way is to trigger on a topic. The default topic for domoticz is (domoticz/out) where EVERYTHING is sent, but according to the settings on the "MQTT Client Gateway with LAN interface" there are different ways for domoticz to set the topic (Flat, Hierarchial, Combined) that might solve the issue regarding triggering on the "right topic". However when i choose the drop down list there are only (out, /, out + / and none) available and whichever i choose the topic dosent change and remains "domoticz/out"

Is "MQTT Client Gateway with LAN interface" broken? Or am i using it wrong?

Any insights?

/Sebastian
Attachments
topics 2.png
topics 2.png (97.29 KiB) Viewed 300 times
topics.png
topics.png (90.73 KiB) Viewed 300 times
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: MQTT Topic

Post by waaren »

GriffinNOOB wrote: Tuesday 26 February 2019 9:05 However when i choose the drop down list there are only (out, /, out + / and none) available and whichever i choose the topic dosent change and remains "domoticz/out"
The topic for outbound MQTT traffic always starts with "domoticz/out" when send from MQTT Client Gateway with LAN interface
If you use hierarchical the topic will become domoticz/out/floorplan/roomplan and messages will be send only for devices defined in a roomplan
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest