Number of Devices / Tasks limited to 12 ?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Jufo
Normal user
Posts: 36
Joined: 12 Mar 2017, 13:47

Re: Number of Devices / Tasks limited to 12 ?

#21 Post by Jufo » 04 Jul 2018, 11:17

I tried to find the parameter in ESPEasy.ino:
#define TASKS_MAX 12 // max 12!"

but unfortunately I do not see it in the version ESPEasy_mega-20180625.

Please help.

Best Regards
Robert

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Number of Devices / Tasks limited to 12 ?

#22 Post by grovkillen » 04 Jul 2018, 13:09

It's in the globals now. Just search using the IDE search function
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Jufo
Normal user
Posts: 36
Joined: 12 Mar 2017, 13:47

Re: Number of Devices / Tasks limited to 12 ?

#23 Post by Jufo » 04 Jul 2018, 13:44

can I ask for more details, I will do it for the first time I need to change from 12 to 15 tasks.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Number of Devices / Tasks limited to 12 ?

#24 Post by grovkillen » 04 Jul 2018, 14:12

What IDE do you use! (PlatformIO or Arduino?)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Jufo
Normal user
Posts: 36
Joined: 12 Mar 2017, 13:47

Re: Number of Devices / Tasks limited to 12 ?

#25 Post by Jufo » 04 Jul 2018, 19:57

I have never used an IDE (PlatformIO or Arduino) but will adapt to the instructions.
I always flash a ready bin file.

Best Regards,
Robert

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Number of Devices / Tasks limited to 12 ?

#26 Post by grovkillen » 04 Jul 2018, 20:26

Then you need to study the wiki and try to resolve the issue with self compile. We do not have the time to support self compilers, sorry.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

TD-er
Core team member
Posts: 8752
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Number of Devices / Tasks limited to 12 ?

#27 Post by TD-er » 04 Jul 2018, 21:46

Increasing those limits can result in data corruption of the settings.
The current method of storing settings is based on blocks in the settings file. When you increase that setting, those blocks may start overwrite data of adjacent blocks (e.g. controller settings)

Jufo
Normal user
Posts: 36
Joined: 12 Mar 2017, 13:47

Re: Number of Devices / Tasks limited to 12 ?

#28 Post by Jufo » 07 Jul 2018, 21:15

I got a little lost in all this.
What do I have to do to extend from 12 to 15 devices?
Help, please.

Best Regards
Robert
Last edited by Jufo on 08 Jul 2018, 09:36, edited 2 times in total.

Jufo
Normal user
Posts: 36
Joined: 12 Mar 2017, 13:47

Re: Number of Devices / Tasks limited to 12 ?

#29 Post by Jufo » 07 Jul 2018, 21:25

grovkillen wrote: 04 Jul 2018, 20:26 Then you need to study the wiki and try to resolve the issue with self compile. We do not have the time to support self compilers, sorry.
Okay, I read Arduino's instructions:
https://www.letscontrolit.com/wiki/inde ... are_Upload

What next do I need to do to change the range to 15?

Best Regards
Robert

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Number of Devices / Tasks limited to 12 ?

#30 Post by grovkillen » 08 Jul 2018, 02:15

You need to update the specific ino file. But I will not give you more specific instructions than that since I don't want to have to support you if you're experiencing problem because of corrupted settings. Sorry.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Jufo
Normal user
Posts: 36
Joined: 12 Mar 2017, 13:47

Re: Number of Devices / Tasks limited to 12 ?

#31 Post by Jufo » 08 Jul 2018, 09:40

Is it planned to extend the number of tasks?
If it can not be extended normally?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Number of Devices / Tasks limited to 12 ?

#32 Post by grovkillen » 08 Jul 2018, 10:47

Yes its planned but not in the near future. We'll have to get the overall system 100% stable and released.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Jufo
Normal user
Posts: 36
Joined: 12 Mar 2017, 13:47

Re: Number of Devices / Tasks limited to 12 ?

#33 Post by Jufo » 08 Jul 2018, 11:16

Ok, in that case, use two wemos d1 mini.

tparvais
Normal user
Posts: 99
Joined: 28 Oct 2015, 23:13

Re: Number of Devices / Tasks limited to 12 ?

#34 Post by tparvais » 04 Feb 2020, 21:48

Hello

I recompile ESPEasy_mega-20191208.zip with TASKS_MAX=20

This is not working perfectly.

I observed on Wemos D1 mini, after wifi config, and changing IP address to fix and then reboot, the Wemos cycles during boot with the following code below :

any idea ? Cnot qure this is related to Max 20 tasks ? which paramters in Arduino compiler should I use ?

Thanks

`load 0x4010f000, len 1392, room 16
tail 0
chksum 0xd0
csum 0xd0
v3d128e5c
~ld
¬U87 : Info :

INIT : Booting version: (custom) (ESP82xx Core 2_6_3, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2)
88 : Info : INIT : Free RAM:36192
89 : Info : INIT : Warm boot #538 Last Task: Background Task - Restart Reason: Exception
91 : Info : FS : Mounting...
140 : Info : FS : Mount successful, used 75802 bytes of 1953282
148 : Info : CRC : No program memory checksum found. Check output of crc2.py
158 : Info : CRC : SecuritySettings CRC ...OK
370 : Info : INIT : Free RAM:33056
371 : Info : INIT : I2C
372 : Info : INIT : SPI not enabled
461 : Info : INFO : Plugins: 46 [Normal] (ESP82xx Core 2_6_3, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2)
565 : Info : WIFI : Set WiFi to STA
599 : Info : WIFI : Start network scan
600 : Info : WIFI : Connecting Orange-70a attempt #0
Exception (9):
epc1=0x40275724 epc2=0x00000000 epc3=0x00000000 excvaddr=0x3fff0f96 depc=0x00000000

>>>stack>>>

ctx: cont
sp: 3ffffd40 end: 3fffffc0 offset: 01a0
3ffffee0: 0000000e 3fff4c6c 3fff03cc 3fff0c44
3ffffef0: 3fff0c24 3fff0c04 00000020 4010168b
3fffff00: 3fff0c24 3fff4c6c 00000002 40223a28
3fffff10: 40276030 00000000 40276030 00000000
3fffff20: 40276030 00000000 40276030 00000000
3fffff30: 3fff0c24 3fff0c04 3fff0170 40237c59
3fffff40: 3fff4c00 0027002f 80ff0f8c 40268f4c
3fffff50: 2e310029 3ffe865c 00000002 3fff18dc
3fffff60: 3fff03c9 3ffe865c 3fff0f8c 4024e59e
3fffff70: 3fff4000 003d003f 8027005d 40273ed4
3fffff80: 3fff324c 005b006f 00efeffe feefeffe
3fffff90: feefeffe feefeffe feefeffe 3fff1a0c
3fffffa0: 3fffdad0 00000000 3fff19cc 4026a16c
3fffffb0: feefeffe feefeffe 3ffe86e0 4010194d
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,7)`

tparvais
Normal user
Posts: 99
Joined: 28 Oct 2015, 23:13

Re: Number of Devices / Tasks limited to 12 ?

#35 Post by tparvais » 08 Feb 2020, 00:29

Problem solved with News release

f4gqk
New user
Posts: 1
Joined: 19 May 2020, 17:38

Re: Number of Devices / Tasks limited to 12 ?

#36 Post by f4gqk » 19 May 2020, 17:43

Hello,

I'm looking for a compiled file where

TASKS_MAX is greater than 12?

Do you have a link ?


I can't compile a bin file to put it on my Wemos

Thanks

Sebastien

User avatar
Ath
Normal user
Posts: 3515
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Number of Devices / Tasks limited to 12 ?

#37 Post by Ath » 19 May 2020, 21:35

f4gqk wrote: 19 May 2020, 17:43 I'm looking for a compiled file where

TASKS_MAX is greater than 12?
Currently, only the ESP32 builds support over 12 tasks, 32 to be exact.
Downloads are available from the ESPEasy Github releases page
You will need the Esspressif ESP32 flash tool to upload it to the device, or install the VSCode/platformio tooling to build & upload yourself, as the flash tool in the release package doesn't seem to work for ESP32's
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 87 guests