Two bug using R95 down to R87 Dallas/MQTT [Solved]

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
rotopeon
New user
Posts: 3
Joined: 03 Apr 2016, 18:35

Two bug using R95 down to R87 Dallas/MQTT [Solved]

#1 Post by rotopeon » 03 Apr 2016, 18:53

I have two esp-201
compiling using arduino 1.6.5
Compiling and programming works flawlessly and ESP boot normally
I can access webserver and make the ESP config like protocol and device name etc...

I have a Dallas temp sensor tied to GPIO-2
it was working with previous version (R78)
now i can set it, then, it shows into the device list with the right port number.
but at the first sensor refresh, i get this error message on the serial feed
DS : Temperature: Error! (0-0-0-0-0-0-0-0)
and port number in the device list is resetted to 0
no MQTT message

if the device reset, sensors reading works back to life until i go back on the device list of the webserver then i get the error message again
maybe a webform error?



Next bug is setting a GPIO pin via MQTT message

i publish a message to let's say /newdevice/gpio/9
with payload 0
the pin drops to 0 and after a few seconds, ESP goes into reset showing this on the serial feed

ets Jan 8 2013,rst cause:4, boot mode:(3,5)

wdt reset
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
ªU
INIT : Booting Build nr:95
WIFI : Connecting... 1
Last edited by rotopeon on 17 Apr 2016, 11:42, edited 1 time in total.

rotopeon
New user
Posts: 3
Joined: 03 Apr 2016, 18:35

Re: Two bug using R95 down to R87 Dallas/MQTT

#2 Post by rotopeon » 03 Apr 2016, 20:58

Regarding the first bug, i found in another bug report that it only affect the first task, so putting the same sensor in task number 2 does not show these problems and works well

Martinus

Re: Two bug using R95 down to R87 Dallas/MQTT

#3 Post by Martinus » 09 Apr 2016, 10:35

First bug may be fixed in R96.
Second bug may come from using pin 9. This can only be used on ESP modules that have nothing connected on this pin.

rotopeon
New user
Posts: 3
Joined: 03 Apr 2016, 18:35

Re: Two bug using R95 down to R87 Dallas/MQTT

#4 Post by rotopeon » 17 Apr 2016, 11:41

You were right about the pin! Switched to pin 13 and it works fine now thank you. Haven't had a chance to test the task 1 situation but i believe it was looked at since i found various reports
Thanks for the support for this nice piece of software!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 9 guests