Page 1 of 1

notifications tab missing in collection c esp8266

Posted: 27 Mar 2024, 14:32
by _Cyber_
I am using besides the normal build also the collection C build.

I noticed, that there the notification tab is missing.
on navigating with /notifications the UI is there, and at least SMTP works as well as on normal build.

maybe it is a oversight that the tab on top is not presented?

BR
Alois

Re: notifications tab missing in collection c esp8266

Posted: 28 Mar 2024, 08:08
by Ath
Well, that's actually a bug. The bug being that the plugins are included in those builds, because for size-reasons, they should have been *excluded* long ago.
I'll fix that, and while it will make life for some users somewhat more complicated as they may need to create a Custom build, it will solve other issues.

Re: notifications tab missing in collection c esp8266

Posted: 28 Mar 2024, 19:33
by Ath
I have started PR #5015 to correct this.

Re: notifications tab missing in collection c esp8266

Posted: 03 Apr 2024, 16:08
by damiak
Will the notification be available in the next build normal for 1M? Do I need to download some collection build?

Re: notifications tab missing in collection c esp8266

Posted: 03 Apr 2024, 22:22
by Ath
damiak wrote: 03 Apr 2024, 16:08 Will the notification be available in the next build normal for 1M? Do I need to download some collection build?
The 'NORMAL' builds have Notifications available, even in the ESP8266 1M build, but not in any of the MINIMAL builds. That's for size reasons, as usual.

Re: notifications tab missing in collection c esp8266

Posted: 04 Apr 2024, 12:02
by _Cyber_
damn, you know, exactly not that what I wanted :shock: :lol: :roll:

Re: notifications tab missing in collection c esp8266

Posted: 04 Apr 2024, 12:31
by TD-er
Just why do you need 1M builds?
If it is because of those small ESP01 modules, you can swap out the flash chip for a larger one and there are now ESP32-C3 variants of the same form factor made by LilyGo: T-01C3

Re: notifications tab missing in collection c esp8266

Posted: 04 Apr 2024, 15:45
by _Cyber_
on my ESP01 I have swapped the memory chip already with the 4M chip.

system info says:
Flash Chip ID: Vendor: 0xEF Device: 0x4016
Flash Chip Real Size: 4096 kB
Flash IDE Size: 4096 kB
Flash Chip Speed: 40 MHz
Flash IDE Speed: 40 MHz
Flash IDE Mode: DOUT
Flash Writes: 0 daily / 0 boot
Sketch Size: 1017 kB (2052 kB free)
Max. OTA Sketch Size: 1019 kB (1044464 bytes)
OTA possible: true
OTA 2-step Needed: false
SPIFFS Size: 934 kB (842 kB free)

caused by the plugin "serial MCU controlled switch" I need the "collection_C" variant.

in the released binaries I can only see:
ESP_Easy_mega_20240331_collection_C_ESP8266_4M1M.bin

or did I misunderstand something?

Re: notifications tab missing in collection c esp8266

Posted: 04 Apr 2024, 21:45
by TD-er
Ah I now see that was another user asking for an 1M build.

Not sure if "collection C" has the notifications included in the build.
Maybe Ton can tell?

Re: notifications tab missing in collection c esp8266

Posted: 04 Apr 2024, 22:23
by Ath
No, by #5015 the Notifications have been removed from the Collection builds, as originally intended ~2 years ago to get some space for plugins.

To create a Custom build there are instructions in the ESPEasy PlatformIO documentation

Re: notifications tab missing in collection c esp8266

Posted: 04 Apr 2024, 23:32
by damiak
I just flashed the file - ESP_Easy_mega_20240331_normal_ESP8266_1M.bin and there is no notifications tab!
I'm just starting with esp easy and I only have 01s modules with 1MB.
I'm learning and I want to make a custom compilation to unlock this tab because I need it.
Help me.

Re: notifications tab missing in collection c esp8266

Posted: 05 Apr 2024, 00:24
by TD-er
The problem with 1M flash is that you can't really perform OTA updates, so you need to get the unit out to flash them again via serial.
Apart from that the file system also takes up space, so it really is limiting what you can do with it.

One way to make this simpler is to replace the flash chip with a 4M flash chip.
Or move to one of those LilyGo ESP32-C3 units with the same form factor as this ESP01. (LilyGo T-01C3)

Do you really need this form factor, like is it present in some existing relay board or something like that?
Of did you just pick it as it seemed small?

ESP8266 is already quite limited in RAM size and also the 'sketch' can't be over 1MB in size (even if you have larger flash chips like 4M or 16M flash)
So it would make things a lot easier for you if you could switch to either a larger flash size or switch to an ESP32-C3 board.

Re: notifications tab missing in collection c esp8266

Posted: 07 Apr 2024, 15:07
by damiak
Indeed, it will be the most sensible, I will.