p.kaczmarek2 wrote: What do you think, do we have enough flash size for that?
This depends, how much it is used and if it's "worth" it's memory "price": The increase is quite notable, mainly about 2k (output without "OTA" or "rbl" files):
Size +/- Filename main_bf3682a7ef91 dsttest_4bce2fcf3eba
-1 obkSimulator_XX.zip 2515017 2515016
0 OpenBK7231M_ALT_QIO_XX.bin 1253376 1253376
0 OpenBK7231M_ALT_QIO_XX_btproxy.bin 1253376 1253376
0 OpenBK7231M_QIO_XX.bin 1220464 1220464
0 OpenBK7231N_ALT_QIO_XX.bin 1253376 1253376
0 OpenBK7231N_ALT_QIO_XX_btproxy.bin 1253376 1253376
0 OpenBK7231N_ALT_UA_XX.bin 1183744 1183744
0 OpenBK7231N_ALT_UA_XX_btproxy.bin 1183744 1183744
0 OpenBK7231N_QIO_XX_battery.bin 1220464 1220464
0 OpenBK7231N_QIO_XX_berry.bin 1220464 1220464
0 OpenBK7231N_QIO_XX.bin 1220464 1220464
0 OpenBK7231N_QIO_XX_hlw8112.bin 1220464 1220464
0 OpenBK7231N_QIO_XX_irRemoteESP.bin 1220464 1220464
0 OpenBK7231N_QIO_XX_powerMetering.bin 1220464 1220464
0 OpenBK7231N_QIO_XX_sensors.bin 1220464 1220464
0 OpenBK7231N_QIO_XX_tuyaMCU.bin 1220464 1220464
0 OpenBK7231N_UA_XX_battery.bin 1150832 1150832
0 OpenBK7231N_UA_XX_berry.bin 1150832 1150832
0 OpenBK7231N_UA_XX.bin 1150832 1150832
0 OpenBK7231N_UA_XX_hlw8112.bin 1150832 1150832
0 OpenBK7231N_UA_XX_irRemoteESP.bin 1150832 1150832
0 OpenBK7231N_UA_XX_powerMetering.bin 1150832 1150832
0 OpenBK7231N_UA_XX_sensors.bin 1150832 1150832
0 OpenBK7231N_UA_XX_tuyaMCU.bin 1150832 1150832
0 OpenBK7231T_ALT_QIO_XX.bin 1253376 1253376
0 OpenBK7231T_ALT_UA_XX.bin 1183744 1183744
0 OpenBK7231T_QIO_XX_berry.bin 1048576 1048576
0 OpenBK7231T_QIO_XX.bin 1048576 1048576
0 OpenBK7231T_QIO_XX_irRemoteESP.bin 1048576 1048576
0 OpenBK7231T_QIO_XX_powerMetering.bin 1048576 1048576
0 OpenBK7231T_QIO_XX_sensors.bin 1048576 1048576
0 OpenBK7231T_QIO_XX_tuyaMCU.bin 1048576 1048576
0 OpenBK7231T_UA_XX_berry.bin 978944 978944
0 OpenBK7231T_UA_XX.bin 978944 978944
0 OpenBK7231T_UA_XX_irRemoteESP.bin 978944 978944
0 OpenBK7231T_UA_XX_powerMetering.bin 978944 978944
0 OpenBK7231T_UA_XX_sensors.bin 978944 978944
0 OpenBK7231T_UA_XX_tuyaMCU.bin 978944 978944
0 OpenBK7231U_QIO_XX.bin 1253376 1253376
0 OpenBK7231U_UA_XX.bin 1183744 1183744
0 OpenBK7238_QIO_XX_battery.bin 1253376 1253376
0 OpenBK7238_QIO_XX_berry.bin 1253376 1253376
0 OpenBK7238_QIO_XX.bin 1253376 1253376
0 OpenBK7238_QIO_XX_btproxy.bin 1253376 1253376
0 OpenBK7238_QIO_XX_irRemoteESP.bin 1253376 1253376
0 OpenBK7238_UA_XX_battery.bin 1183744 1183744
0 OpenBK7238_UA_XX_berry.bin 1183744 1183744
0 OpenBK7238_UA_XX.bin 1183744 1183744
0 OpenBK7238_UA_XX_btproxy.bin 1183744 1183744
0 OpenBK7238_UA_XX_irRemoteESP.bin 1183744 1183744
0 OpenBK7252N_QIO_XX.bin 1253376 1253376
0 OpenBK7252N_UA_XX.bin 1183744 1183744
0 OpenBK7252_QIO_XX.bin 1253376 1253376
0 OpenBK7252_UA_XX.bin 1183744 1183744
0 OpenRTL8720D_XX.bin 1138688 1138688
16 OpenW800_XX.fls 708496 708512
192 OpenRTL87X0C_XX.bin 835652 835844
256 OpenRTL87X0C_XX_btproxy.bin 925828 926084
1024 OpenXR806_DCDC_XX.img 901984 903008
1024 OpenXR806_XX.img 901984 903008
1024 OpenXR809_XX.img 916264 917288
1280 OpenBK7231T_UG_XX_tuyaMCU.bin 497776 499056
1296 OpenBK7231N_UG_XX_hlw8112.bin 459968 461264
1296 OpenBK7231T_UG_XX_powerMetering.bin 497824 499120
1316 OpenW600_XX_gz.img 348728 350044
1360 OpenBK7231N_UG_XX_berry.bin 586176 587536
1376 OpenBK7231T_UG_XX_irRemoteESP.bin 562592 563968
1412 OpenECR6600_XX.bin 996137 997549
1424 OpenBK7231N_UG_XX_powerMetering.bin 519792 521216
1504 OpenBK7231N_UG_XX_battery.bin 472224 473728
1536 OpenRDA5981_XX.bin 511532 513068
1536 OpenTXW81X_XX.bin 606736 608272
1552 OpenBK7231N_UG_XX_tuyaMCU.bin 518656 520208
1584 OpenBK7231N_UG_XX_irRemoteESP.bin 581088 582672
1600 OpenBK7231N_UG_XX.bin 520864 522464
1600 OpenBK7231T_UG_XX_sensors.bin 489728 491328
1608 OpenW600_XX.fls 567488 569096
1640 OpenLN882H_XX_btproxy.bin 980528 982168
1648 OpenBK7231N_UG_XX_sensors.bin 513856 515504
1648 OpenBK7231T_UG_XX.bin 495872 497520
1680 OpenLN882H_XX.bin 734840 736520
1680 OpenRTL8710B_XX.bin 680692 682372
1696 OpenRTL8721DA_XX.bin 1571456 1573152
1704 OpenTR6260_XX.bin 671864 673568
1712 OpenESP32S2_XX_4M.factory.bin 1065984 1067696
1712 OpenESP32S2_XX_4M.img 1000448 1002160
1712 OpenESP32S3_XX_4M.factory.bin 1102960 1104672
1712 OpenESP32S3_XX_4M.img 1037424 1039136
1728 OpenESP32_XX_4M.factory.bin 1103232 1104960
1728 OpenESP32_XX_4M.img 1037696 1039424
1728 OpenRTL8720E_XX.bin 1309600 1311328
1776 OpenBK7231T_UG_XX_berry.bin 560768 562544
1792 OpenRTL8710A_XX.bin 690628 692420
1864 OpenBK7231U_XX.bin 752272 754136
1880 OpenBK7231N_ALT_XX.bin 752664 754544
1880 OpenBK7231N_ALT_XX_btproxy.bin 906728 908608
1880 OpenBK7231T_ALT_XX.bin 750336 752216
1880 OpenBK7238_XX_battery.bin 715808 717688
1880 OpenBK7238_XX.bin 746440 748320
1880 OpenBK7238_XX_btproxy.bin 949232 951112
1880 OpenBK7238_XX_irRemoteESP.bin 823080 824960
1880 OpenBK7252N_XX.bin 725028 726908
1880 OpenBK7252_XX.bin 730988 732868
1888 OpenBK7238_XX_berry.bin 843392 845280
1944 OpenBK7231N_XX_battery.bin 731805 733749
1944 OpenBK7231N_XX_berry.bin 929345 931289
1944 OpenBK7231N_XX_hlw8112.bin 711461 713405
1944 OpenBK7231N_XX_irRemoteESP.bin 922125 924069
1944 OpenBK7231N_XX_sensors.bin 818353 820297
1944 OpenBK7231T_XX.bin 793177 795121
1944 OpenBK7231T_XX_powerMetering.bin 773909 775853
1944 OpenBK7231T_XX_tuyaMCU.bin 774013 775957
1952 OpenBK7231N_XX.bin 826985 828937
1952 OpenBK7231N_XX_powerMetering.bin 804629 806581
1952 OpenBK7231N_XX_tuyaMCU.bin 803365 805317
1952 OpenBK7231T_XX_berry.bin 895537 897489
1952 OpenBK7231T_XX_irRemoteESP.bin 897437 899389
1952 OpenBK7231T_XX_sensors.bin 786001 787953
2032 OpenESP8266_1MB_XX.factory.bin 768464 770496
2032 OpenESP8266_2MB_XX.factory.bin 768464 770496
2032 OpenESP8266_XX.img 702928 704960
2048 OpenGD32VW553_XX.bin 869045 871093
2048 OpenXR872_XX.img 794456 796504
2144 OpenESP32C6_XX_4M.factory.bin 1286720 1288864
2144 OpenESP32C6_XX_4M.img 1221184 1223328
2160 OpenESP32C3_XX_2M.factory.bin 1039632 1041792
2160 OpenESP32C3_XX_2M.img 974096 976256
2160 OpenESP32C3_XX_4M.factory.bin 1189984 1192144
2160 OpenESP32C3_XX_4M.img 1124448 1126608
2176 OpenESP32C2_XX_2M.factory.bin 934960 937136
2176 OpenESP32C2_XX_2M.img 869424 871600
2176 OpenESP32C2_XX_4M.factory.bin 1071952 1074128
2176 OpenESP32C2_XX_4M.img 1006416 1008592
2176 OpenESP32C5_XX_4M.factory.bin 1274112 1276288
2176 OpenESP32C5_XX_4M.img 1208576 1210752
2176 OpenESP32C61_XX_4M.factory.bin 1240064 1242240
2176 OpenESP32C61_XX_4M.img 1174528 1176704
2208 OpenBL602_XX_berry.bin 907508 909716
2224 OpenBL602_XX.bin 782172 784396
3248 OpenLN8825_XX.bin 923000 926248
3360 OpenRTL8710B_UG_XX.img 1271328 1274688
Some code is used for "correcting" output, for example, enabling DST will give correct DST information in JSON output instead of "2022-03-27T02:00:00" and "2022-10-30T03:00:00".
On the other hand, I don't think we come near to the maximum size yet, I only see BL602_berry near it's limit for 1MB (907508 to 909716).
OTA isn't working even for "regular" berry, but flashing DST firmware by serial worked fine, DST is working.
Just realized, the command documentation for "time_setDST" is wrong

describing it will use "hours" for offset, while it will use minutes.
Will fix that and look if I can squeeze some more bytes by optimizing the code.