stefanbode / Sonoff-Tasmota

Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE, enhanced with I2C options
GNU General Public License v3.0
126 stars 40 forks source link

Update Tasmota? #37

Closed kskenyon closed 6 years ago

kskenyon commented 6 years ago

Tasmota 5.13 has been released. Time for an update?

Deepsleep is very useful with the new Wemos D1 with 18650 but this build doesn't seem to be working correctly with it. Web interface saves are not persistent. Regular Tasmota works.

Kevin

stefanbode commented 6 years ago

Hi Kevin, Web interface savings ONLY work if the device is NOT in deepsleep. Should be clear. You can use the "wakeup pin" as described in the wiki to keep the device online. Then the web interface will work. After finishing you can bring it back to deepsleep.

kskenyon commented 6 years ago

Thanks, I knew that. This Wemos D1+18650 was not in deepsleep at the time. It has a esp8266-wroom-02 board. Not sure what is different about this particular board but it works OK with regular Tasmota. Sonoff-Tasmota-Deepsleep works OK with other D1 mini boards. One has been running for weeks on two 18650’s in parallel.

Will try the console to see if it will take commands that way.

Kevin

On May 2, 2018, at 9:52 AM, stefanbode notifications@github.com wrote:

Hi Kevin, Webinferface savings ONLY work if the device is NOT in deepsleep. Should be clear. You can use the "wakeup pin" as described in the wiki to keep the device online. Then the web interface will work. After finishing you can bring it back to deepsleep.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stefanbode/Sonoff-Tasmota/issues/37#issuecomment-385984809, or mute the thread https://github.com/notifications/unsubscribe-auth/AXlpzJeJmdDE8OOye5wif4d1fmjeMt81ks5tuboGgaJpZM4Tva_y.

roblad commented 6 years ago

Hi,

There is a lot of changes witch 2.4.1, new area for config is used and esp8266-wroom-02 module should be chosen, I will test it but I thing that should not be any problems with Wemos D1 with 18650. You should to use 2.4.0 esp release for Stefan mode in platformio.ini platform = espressif8266@1.6.0 ; v2.4.0 for 2.4.1 Stefan mode will not work properly becayse of huge changes in 2.4.1

stefanbode commented 6 years ago

Updated to latest master release. @roblad: Will implement your changes on the Counterdevider asap. Maybe tomorrow. For the long term it should also work with 2.4.1. Let me know what I can change.

kskenyon commented 6 years ago

Thanks all.

Kevin

roblad commented 6 years ago

Hi, @stefanbode, in my opinion the mosure sensor should be rewritten :-) as you can :-), I investigate with gay fro Sao Paulo the PEZM004 3phase- I let you know about results. Currently I have a problem with DS18x20 for 5 sensors it came and gone, one of them 2 or all. Sometimes I have 8 ???!!! doubled some of them. Andreas was not take care about it right now - I do not know what could be a reason, I ordered new DSes because old one have 3 years and after change I will investigate what is going on. I will test your updated mode today.

stefanbode commented 6 years ago

If you have more than 1 sensor the parasite power might not work because the current is too high to support all of them. You need to connect them to a stable 3.3V and Ground connection. 8x°C is a typical reply if the measurement was not successfully. I have similar problems with the LiIon 3.7V powered devices. If the battery is "end of life" you will also see this in wrong measures of the temperature.

roblad commented 6 years ago

Hi,

Even I use 1,5 k resistor betwen data and "+" now is better, but I think that conversion takes more time, but I changed resolution and it did not help, may be 5 V will solve the problem ? but I do not know if esp will not crash on the gpio. Do uou know any devider from 5 to 3.3 for DS ?

stefanbode commented 6 years ago

Should be no problem:

http://forum.arduino.cc/index.php?topic=233644.0

roblad commented 6 years ago

Hi,

I did 5v vdd and pull-up to 3.3v through 1k, looks better, but sometimes after reboot there is 1 lost, I will monitor