Page 1 of 1

Subscribe / Publish Template Bug in 8266 -01 ?

Posted: 19 Mar 2016, 20:56
by Barb232
When i am using MQTT in my ESP8266-01
my string in Subscribe and Publish gets damaged after i press submit.

Code: Select all

%2F%25sysname%25%2F%23

Code: Select all

%2F%25sysname%25%2F%25tskname%25%2F%25valname%25
my Wittyboard works fine

Code: Select all

/%sysname%/%tskname%/%valname%
I tried with different country codec (utf 8 / windows) , no luck.

Re: Subscribe / Publish Template Bug in 8266 -01 ?

Posted: 24 Apr 2016, 16:23
by Oehoeboeroe
Hi,
I have the same issue here with R103, any change subscriber in the MQTT template and/or the publish template on the "advanced settings"-page, gives me
a unwanted change in the string like: %25sysname%25%2F%23.

It seems to get back to the original value when I change the Protocol on the config page. However editting the string for the templates on the web interface corrupts the string.

I have the same results for ESP12E and Witty boards.
Very annoying, any clue how to solve? or workaround?

/Thanks

Patrick

Re: Subscribe / Publish Template Bug in 8266 -01 ?

Posted: 24 Apr 2016, 20:52
by tozett
had similar effects in r078,
i thought my flash was not erased proberly.

i put the espeasy on the serial monitor, typed there "erase",
waited a while, cold-reboot, and tried again.

maybe you want to try this?

Re: Subscribe / Publish Template Bug in 8266 -01 ?

Posted: 25 Apr 2016, 14:33
by Oehoeboeroe
Hi tozett,
Thanks for your reply. I have some ways to get it back to orginal settings, however I want to change the publish template. And that is just where the issue is. When I change the string via the webinterface the string gets corrupted...

I think we need back the decode function as was included earlier...

Correct ?

Re: Subscribe / Publish Template Bug in 8266 -01 ?

Posted: 25 Apr 2016, 16:37
by tozett
sorry, i am no dev, only a simple user.
i tested somethings, but maybe you check with a downgrade?
or call the devs here for a bug in r103...
;-((