Search found 21 matches

by Djoe
26 Feb 2019, 05:35
Forum: ESP Easy: Software
Topic: Reboot inside rules?
Replies: 74
Views: 51174

Re: Reboot inside rules?

yes, that correct and understandable, but is not possible to create a very small update (like 2 step OTA) to: 1) in one step substitute the current fw installed (espmega) with the smollest one (it will be only a bridge) 2) in second step substitute the little fw bridge installed with update 1mb new...
by Djoe
12 Feb 2019, 23:51
Forum: ESP Easy: Software
Topic: ESP_Easy_mega-minimal_ESP8266_1024_OTA
Replies: 6
Views: 6291

Re: ESP_Easy_mega-minimal_ESP8266_1024_OTA

FourIdGeek wrote: 12 Feb 2019, 17:32 You said "It's easy to reduce the size to 600k.", could you provide some detail?
For instance I don't use NTP in my modules, so I have commented out all related code:
- look at TimeESPeasy.ino
- comment everything in getNtpTime

The gain is 10336 bytes for me,
Mc/
by Djoe
12 Feb 2019, 07:58
Forum: ESP Easy: Software
Topic: ESP_Easy_mega-minimal_ESP8266_1024_OTA
Replies: 6
Views: 6291

Re: ESP_Easy_mega-minimal_ESP8266_1024_OTA

You can compile your own binary by following those instructions : https://www.letscontrolit.com/wiki/index.php?title=Tutorial_building_and_uploading_with_platformio It's easy to reduce the size to 600k. On my side the home made binary work fine on my sonoff 1mb, but after uploading it through 2-step...
by Djoe
11 Feb 2019, 10:48
Forum: ESP Easy: Software
Topic: ESP_Easy_mega-minimal_ESP8266_1024_OTA
Replies: 6
Views: 6291

Re: ESP_Easy_mega-minimal_ESP8266_1024_OTA

Hi, Have you already success to update a 1mb esp8266 through OTA ? On my side : never. However I use the 2-step OTA, I have stretch the binary to a small size (601024 bytes), the upload is ok, but after the reboot the esp is frozen. The result was the same with the minimal binary coming from the dai...
by Djoe
20 Dec 2018, 10:06
Forum: ESP Easy: Software
Topic: Please make BLANK image flashing unnecessary to enable flawless OTA
Replies: 14
Views: 9254

Re: Please make BLANK image flashing unnecessary to enable flawless OTA

I tried today the "new" 2-step-OTA on 1mb flash size (sonoff basic). It's not working, here below all serial logs, 1/ I download the 2-step firmware (through OTA) without any problem Update: ESPEasy_2step_UploaderMega_1024.bin sleep disable ....................................................
by Djoe
30 Oct 2018, 09:41
Forum: ESP Easy: Software
Topic: Please make BLANK image flashing unnecessary to enable flawless OTA
Replies: 14
Views: 9254

Re: Please make BLANK image flashing unnecessary to enable flawless OTA

So the small "2-step OTA" firmware is about 300 kB, which leaves about 575 kB for the normal image on a 1 MB flash. My "little" firmware is less than 500kB : -rw-r--r-- 1 root root 482512 sept. 12 21:53 sonoff.bin When I upload it through the sonoff basic's serial connection (1m...
by Djoe
26 Oct 2018, 08:47
Forum: ESP Easy: Software
Topic: Please make BLANK image flashing unnecessary to enable flawless OTA
Replies: 14
Views: 9254

Re: Please make BLANK image flashing unnecessary to enable flawless OTA

OTA flashing to nodes with 1M of flash is currently next to impossible. The current image size is too large for OTA flashing, even in 2 steps. Hi, do you mean that if we compile our own firmware to reduce the size (I have one less than 500kb), we can't use the 2 steps ? Because on my side the 1st s...
by Djoe
26 Oct 2018, 08:43
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 83
Views: 95277

Re: SonOff POW R2 support

Hi all,

On my side I'm in the same situation..
My pow, without changing the firmware version, have a 59165 minutes uptime...
And, or course, if I have changed a config somewhere, I don't remember what...

Have a good day !
by Djoe
02 Oct 2018, 11:55
Forum: ESP Easy: Software
Topic: Mega (V2.0.0) OTA firmware updates on 1MB modules
Replies: 47
Views: 32314

Re: Mega (V2.0.0) OTA firmware updates on 1MB modules

neoseb wrote: 02 Oct 2018, 11:12 Is there a tutorial somewhere in the web? Didn't fond anything yet..
You can have a look to :

https://www.letscontrolit.com/wiki/inde ... platformio
by Djoe
15 Sep 2018, 08:00
Forum: ESP Easy: Software
Topic: Mega (V2.0.0) OTA firmware updates on 1MB modules
Replies: 47
Views: 32314

Re: Mega (V2.0.0) OTA firmware updates on 1MB modules

I have try to update a sonoff basic (1m) like this : - I have build my own firmware with a size of 580kb approximately - I have uploaded it in the sonoff - Now I can upload ESPEasyUploaderMega_1024 through OTA, the first step - The sonoff reboot and I select the same custom firmware (580k) But after...
by Djoe
15 Sep 2018, 07:29
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 83
Views: 95277

Re: SonOff POW R2 support

Strange.. I continue to have hardware watchdog (every day).. I have read a little bit more about it, it's triggered when the watchdog timer is not reset during 8 sec. So that mean that the code is in a deadlock somewhere (probably).. I just arrive this evening to compile the firmware.. Investigation...
by Djoe
11 Sep 2018, 09:14
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 83
Views: 95277

Re: SonOff POW R2 support

All my sonoff basic have 1024 flash (v1.1 and R2). All my sonoff pow have 4096 flash (only R2). I always update my POW through OTA without any issue (I use the dev-4096 release). About sonoff basic, I only update through serial connection. The 2-step OTA firmware is too big to be store in the free s...
by Djoe
09 Sep 2018, 07:25
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 83
Views: 95277

Re: SonOff POW R2 support

@sincze I have found the issue about On System#Boot do // To have the relay ON after reboot gpio,12,1 endon to avoid switching on then off after 1 sec. I guest that you have a switch in domoticz to control the relay in the POW, and the issue come from domoticz in my automation. It's strange because ...
by Djoe
05 Sep 2018, 09:06
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 83
Views: 95277

Re: SonOff POW R2 support

@sincze "well after a reboot it switches on for 1 sec and then back off" I had a behavior like this a couple of week before, I have changed the mega version and the issue was solved. Actually I'm testing mega-20180804 and the relay stay on after reboot. @TD-er The POW is my only device whi...
by Djoe
02 Sep 2018, 06:17
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 83
Views: 95277

Re: SonOff POW R2 support

Yes now it's working, I have simplify the rules like this : On Button#State do // To have the local button working for ON OFF if [Relay#State]=1 gpio,12,0 else gpio,12,1 endif endon On System#Boot do // To have the relay ON after reboot gpio,12,1 endon On WIFI#RSSI do // To send voltage every 5 minu...
by Djoe
31 Aug 2018, 11:23
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 83
Views: 95277

Re: SonOff POW R2 support

I think I have understood. My gold was to work as a "push" system. In my CSE settings, I have put 0 (zero) in "Interval" field. I was thinking than a trigger was coming when a value is changing (like the "Generic system info" with the RSSI or UPTIME). It was a mistake. ...
by Djoe
29 Aug 2018, 10:10
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 83
Views: 95277

Re: SonOff POW R2 support

I have try a second POW R2 I had. I have exactly the same behavior : no SYS or EVENT log when a CSE7766 properties is changing (for instance Voltage). I have activated NTP to be sure it's not due to this config. And... always the same... My first and second POW R2 have a similar behavior.. I really ...
by Djoe
28 Aug 2018, 11:46
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 83
Views: 95277

Re: SonOff POW R2 support

I have upgraded the POW to mega-20180723 (dev), and it's not working better... Very strange... I'm going to continue to push CSE7759 data through the wifi#rssi trigger, but it's not a "realtime" push, so not very good for the appliance I would like to run.... I have another POW in a box, I...
by Djoe
28 Aug 2018, 08:59
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 83
Views: 95277

Re: SonOff POW R2 support

Thank you for your reply, I don't use NTP (long time ago it was not stable and all is automated from domoticz). But if you really want me to test with NTP I can do it (is there a link between NTP and a triggered property?) I have tested again all properties as "trigger", here below the com...
by Djoe
27 Aug 2018, 09:35
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 83
Views: 95277

Re: SonOff POW R2 support

Hi, @sincze which version of mega do you use? I have try mega_20180826 and mega_20180719, both correctly show values from CSE7759, but http push from rules doesn't work... This rules work fine: On WIFI#RSSI do SendToHTTP x.x.x.x,8080,/json.htm?type=command&param=udevice&idx=88&nvalue=0&a...
by Djoe
27 Aug 2018, 09:13
Forum: Introduce yourself
Topic: Iaorana from Tahiti
Replies: 1
Views: 2440

Iaorana from Tahiti

Hello everybody,

Using espeasy on sonoff basic, touch, pow... and "magic home" led string.
All is automated with domoticz.

Greetings