extra slash at the end

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
AndrewZ
Normal user
Posts: 10
Joined: 03 Jan 2017, 21:52

extra slash at the end

#1 Post by AndrewZ » 17 Jan 2017, 11:05

Hello

I'm running Build: 147. This is my configuration:

Code: Select all

Publish Template: %sysname%/%tskname%/%valname%
This is what I'm getting from MQTT broker (using mosquitto_sub):

Code: Select all

esp1/rssi/ -69
Why the slash is added at the end?
"rssi" seems to be a %valname%, but what is the %tskname% ?

sonnyboy
New user
Posts: 5
Joined: 08 Aug 2016, 13:38

Re: extra slash at the end

#2 Post by sonnyboy » 03 Feb 2017, 12:13

I think this looks exactly like it should.
Your RSSI is -69

sysname comes from Config page "Name"
tskname comes from Devices "Name"
valname is the value of Device name

AndrewZ
Normal user
Posts: 10
Joined: 03 Jan 2017, 21:52

Re: extra slash at the end

#3 Post by AndrewZ » 04 Feb 2017, 10:50

Thanks, already fixed - I misunderstood some configuration fields meaning.

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests