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
127 stars 41 forks source link

Sonoff S20 / S26 #104

Closed goosst closed 5 years ago

goosst commented 5 years ago

IMPORTANT NOTICE If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.

Make sure these boxes are checked [x] before submitting your issue - Thank you!

Dear,

Thanks a lot for this branch and hard work. Is it possible to provide some guidance if it makes sense to implement deepsleep on the S20/S26 sonoff devices?

Is this accessible on the S20/S26 devices? Most of the examples using this branch seem to be using the wemos devices.

(Please, remember to close the issue when the problem has been addressed)

stefanbode commented 5 years ago

It should work, because these two pins are available. But maybe hard do wire and solder these together. I have no S20 to my hand to check it, but maybe you have some luck with google. From my point of view this is for sure only a hardware topic. One question: deepsleep only is required and make sense on Batterie powered systems. Therefore I do not see a use-case on the S20.

goosst commented 5 years ago

Thanks for the feedback.

One question: deepsleep only is required and make sense on Batterie powered systems. Therefore I do not see a use-case on the S20.

As use-case: I only use the device as an advanced timer, I'm currently not using MQTT and other features. Looking at the reported numbers here https://github.com/arendst/Sonoff-Tasmota/wiki/Energy-Saving, one device plugged in for entire day (24*0.51=12Wh) is approximately equal to charging an extra mobile phone every day ... . So I would have hoped with your version of the software (and a reasonable hardware hack) this could be improved quite a bit.

stefanbode commented 5 years ago

hi @goosst , the power consumption is about 0.1A at 5V compared to a phone that uses 1-2A at 5V. Therefore up to 20x more. Therefore the TASMOTA will use a day the same as the smartphone uses for 1h during charge. If you calculate this for a year it is 0.5W 24h 365 = 4.2kWh ~ 1.5€ / year.

You can invest time, but this really does not make a big change.