MQTT VARs

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
martim
New user
Posts: 1
Joined: 22 Dec 2018, 23:11

MQTT VARs

#1 Post by martim » 22 Dec 2018, 23:18

Hi,

I am very new to ESP Easy.

I would like to change my MQTT Controller Publish string. I would like to mention in this string "Homey/%tskname%/%id%/SensorData/%valname%/" also have the PLUGIN_NAME or the PLUGIN_ID. How do I need to do this?

I tried %devicename% or %pluginid% but this didn't work.

I would like to have this as I am writing and APP for Homey and I need to know the sensors type to know the possible capabilities.

Anyone that can help me?

Thanks

Marcel

User avatar
ThomasB
Normal user
Posts: 1065
Joined: 17 Jun 2018, 20:41
Location: USA

Re: MQTT VARs

#2 Post by ThomasB » 22 Dec 2018, 23:54

If your intent is to tag the MQTT publish with an internal name (that's assigned to the ESP Easy device) then I suggest using %sysname%

- Thomas

Post Reply

Who is online

Users browsing this forum: No registered users and 93 guests