Powstro (sonoff) [multiple trials] - SOLVED
Moderators: grovkillen, Stuntteam, TD-er
Re: Powstro (sonoff)
Will do so tonight.
But it obviously looks exactly like in the PDF.
In notice many people send these switches back thinking that they are not compatible.
But we should be able to get it working.
I just wonder if the unconventional gpio LEDs is holding it from booting up at all.
But it obviously looks exactly like in the PDF.
In notice many people send these switches back thinking that they are not compatible.
But we should be able to get it working.
I just wonder if the unconventional gpio LEDs is holding it from booting up at all.
Re: Powstro (sonoff)
First update, so actually there is no device name on the chip:
Unfortunately I broke the switch.
Unfortunately I broke the switch.
Re: Powstro (sonoff)
What memory size and SPIFF is the minimum I can compile for?
Re: Powstro (sonoff)
1MBit and how much SPIFF?
https://photos.google.com/share/AF1QipM ... J6ZTV0VDB3
https://photos.google.com/share/AF1QipM ... J6ZTV0VDB3
Re: Powstro (sonoff)
I gave up for today.
Something seriously wrong with my Arduino setup..
I cannot get TASMOTA to compiled and upload either (even though it is running on this thing already)
It keeps asking me for IRsend.h
So I think I have to figure out what's wrong with my Arduino IDE setup first.
Maybe upgrading to ESP 2.4.0 broke it?
Something seriously wrong with my Arduino setup..
I cannot get TASMOTA to compiled and upload either (even though it is running on this thing already)
It keeps asking me for IRsend.h
So I think I have to figure out what's wrong with my Arduino IDE setup first.
Maybe upgrading to ESP 2.4.0 broke it?
Re: Powstro (sonoff)
If you're going to use it, don't use it with high currents.
And can you look at the used flash chip? Does it have any labels on the flash chip indicating "PUYA" ?
And can you look at the used flash chip? Does it have any labels on the flash chip indicating "PUYA" ?
Re: Powstro (sonoff)
The PCB's which carry the load are quite thin and not covered with tin.
So when you will try to get like 5 - 10 A through them, their temperature will rise.
10 Watt is fine, but such devices are often sold to be able to handle 10 Amps or more and they simply cannot.
Re: Powstro (sonoff)
Should I solder some parallel electrical cable?
Re: Powstro (sonoff)
For a 10W LED it should suffice....
For more it should be enforced.
For more it should be enforced.
Regards
Shardan
Shardan
Re: Powstro (sonoff)
Agreed, I would never try to run 10A through these, 1-2A should be ok, maybe 200 watts at most (non-inductive load!!). Not only are the traces questionable, I wouldn't trust the tiny relay either.
These are great for home lighting which these days is fairly low power, but they are not for heaters, refrigerators, full size desktop computers, or pretty much anything with a motor - power tools, garage door opener, etc.
These are great for home lighting which these days is fairly low power, but they are not for heaters, refrigerators, full size desktop computers, or pretty much anything with a motor - power tools, garage door opener, etc.
Re: Powstro (sonoff)
I'm safe then, as i only want to use it power single 240V-10Watt LED lamps.
Re: Powstro (sonoff) [multiple trials]
So I need to re-try to flash myself (I tried again, but I now noticed that my GPIO0 was soldered incorrectly second time around).
Over on the openhab community someone failed to flash it via a linux flashtool, but managed to flash TASMOTA from Arduino (as I did).
From TASMOTA, they made an OTA update of the ESP_EASY.bin (Version 120, 1MB size).
ESP_EASY could then run.
They then tried to OTA the latest ESP_EASY, but that fails.
Over on the openhab community someone failed to flash it via a linux flashtool, but managed to flash TASMOTA from Arduino (as I did).
From TASMOTA, they made an OTA update of the ESP_EASY.bin (Version 120, 1MB size).
ESP_EASY could then run.
They then tried to OTA the latest ESP_EASY, but that fails.
Re: Powstro (sonoff) [multiple trials]
I am not familiar with ESPEasy 120, only using Mega versions... but as i know, Tasmota 5.9 did not use SPIFFS, but ESPEasy uses it, so it can be a little problem.
On 1MB module did you use the intermediate ESPEasy OTA binary, or the v120 is small enough to fit in 400k?
Re: Powstro (sonoff) [multiple trials]
Hmmm, but TASMOTA saves user settings, is that not SPIFF?
Not possible to flash ESP_EASY SPIFF-less anyway?
When I flashed TASMOTA I selected 1M(64K SPIFF).
Not possible to flash ESP_EASY SPIFF-less anyway?
When I flashed TASMOTA I selected 1M(64K SPIFF).
Re: Powstro (sonoff) [multiple trials]
I finally got it to work.
I do not know why, but it seems I hard to start the flash within a short window of powering it on:
python esptool.py -p /dev/ttyUSB0 write_flash --flash_mode dout -ff 20m 0x0 ESP_Easy_v2.0-20180116_normal_ESP8266_1024.bin
esptool.py v2.3-dev
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 1MB
Flash params set to 0x0322
Compressed 574976 bytes to 378527...
Wrote 574976 bytes (378527 compressed) at 0x00000000 in 33.5 seconds (effective 137.4 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting...
When I waited a couple of seconds, this happened:
python esptool.py -p /dev/ttyUSB0 write_flash --flash_mode dout -ff 20m 0x0 ESP_Easy_v2.0-20180116_normal_ESP8266_1024.bin
esptool.py v2.3-dev
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
I do not know why, but it seems I hard to start the flash within a short window of powering it on:
python esptool.py -p /dev/ttyUSB0 write_flash --flash_mode dout -ff 20m 0x0 ESP_Easy_v2.0-20180116_normal_ESP8266_1024.bin
esptool.py v2.3-dev
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 1MB
Flash params set to 0x0322
Compressed 574976 bytes to 378527...
Wrote 574976 bytes (378527 compressed) at 0x00000000 in 33.5 seconds (effective 137.4 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting...
When I waited a couple of seconds, this happened:
python esptool.py -p /dev/ttyUSB0 write_flash --flash_mode dout -ff 20m 0x0 ESP_Easy_v2.0-20180116_normal_ESP8266_1024.bin
esptool.py v2.3-dev
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
Re: Powstro (sonoff) [multiple trials]
In the official Arduino compilation FAQ it is clearly stated that: "1M (no SPIFFS)"
https://github.com/arendst/Sonoff-Tasmo ... rduino-IDE
It is also described here:
https://github.com/arendst/Sonoff-Tasmo ... smota-Tips
At ESPEasy i found this on behalf the Mega version:
https://www.letscontrolit.com/wiki/inde ... SPEasyMega
"It will use native SPIFFS support and all older custom flash access routines will be dropped"
I did not found any other documentation about SPIFF usage in ESPEasy.. but
1/ The deployed platformio.ini only contains lines with SPIFFS only setups
2/ And ESPEasy.ino contains the following error message string:
"No (or too small) SPIFFS area..\nSystem Halted\nPlease reflash with 128k SPIFFS minimum!""
So i guess that you are correct and latest ESPEasy versions can not be compiled in SPIFF-less.
Re: Powstro (sonoff) [multiple trials] - SOLVED
Flaky issues when writing, and odd required timing would qualify, could be related to the power supply. Adding a capacitor can help. Since I last responded on this thread, I was having some flakey writes on a device that was solved by adding a 470uf low voltage cap at the power output of my serial board.
Who is online
Users browsing this forum: No registered users and 33 guests