465 Commits

Author SHA1 Message Date
Nic Limper
e102f8e4e9 stability improvements in C6 flashing 2025-03-27 21:10:10 +01:00
Nic Limper
0fb0c6f74d more robust extended sleep time and 'no updates between' handling 2025-03-27 01:03:04 +01:00
Frank Kunz
f311239c9c Add new AP hardware support OpenEPaperLink_ESP32-PoE-ISO_AP (#431)
* Fix filesystem mutex handling

This fixes the re-initialization of the filesystem mutex when the dyn storage
module is reinitialized. Using xSemaphoreCreateMutex would cause a memory leak
when the begin function is called multiple times and a semaphore leakage could
be caused by the re-initialization of the global fsMutex variable while the
semaphore is taken.

The fsMutex should not be taken while the logLine function is called as this
would cause a nested take of the fsMutex, which causes a deadlock.

Signed-off-by: Frank Kunz <mailinglists@kunz-im-inter.net>

* Fix hard coded littlefs in json upload

Signed-off-by: Frank Kunz <mailinglists@kunz-im-inter.net>

* Add new AP hardware support OpenEPaperLink_ESP32-PoE-ISO_AP

This is based on Olimex ESP32-PoE-ISO
https://www.olimex.com/Products/IoT/ESP32/ESP32-POE-ISO/open-source-hardware

It has a SD Card slot that is used to store all filesystem data on SD.
Use the prepare_sdcard.sh script to copy all needed data to an empty
SD card that is formatted with FAT filesystem. The AP firmware will format
the SD if an unformatted or from formatted card is used. This can be used
to intially prepare an empty SD card for usage.

For tag communication a ESP32-C6-WROOM-1(U) is used with the following
connection scheme:

ESP32-PoE-ISO  |  ESP32-C6-WROOM-1
---------------+------------------
  GPIO5        |    EN
  GPIO13       |    GPIO9
  GPIO36       |    GPIO3
  GPIO4        |    GPIO2
  GPIO33       |    GPIO24
  GPIO32       |    GPIO25
               |    GPIO8 pullup 5.1k

Signed-off-by: Frank Kunz <mailinglists@kunz-im-inter.net>

* Avoid error message log print when parsers.json is missing

Signed-off-by: Frank Kunz <mailinglists@kunz-im-inter.net>

* Workaround for IEEE802.15.4 modem stuck issue

The ESP32-C6 esp-idf based modem firmware can run into a case where it
does not receive data anymore from the tags. This can be detected when
it starts to print

"receive buffer full, drop the current frame"

and does not recover from that. In such a case a modem reset is triggered.

Signed-off-by: Frank Kunz <mailinglists@kunz-im-inter.net>

* Add OpenEPaperLink_ESP32-PoE-ISO_AP to release build

Signed-off-by: Frank Kunz <mailinglists@kunz-im-inter.net>

* Add OpenEPaperLink_ESP32-PoE-ISO_AP to condidional build

Signed-off-by: Frank Kunz <mailinglists@kunz-im-inter.net>

* Add Ethernet support

The ethernet support allows to make the network/internet connection
via LAN cable instead of WiFi. LAN is preferred, if a LAN cable is
connected and a valid IP configuration via DHCP can be obtained, WiFi
is switched off. If the LAN cable is disconnected, a fall back to
WiFi is done.

Use those defines in platform.ini for PHY settings:
ETHERNET_PHY_POWER: IO pin where the PHY can be switched of/on, can be
                    -1 if not used.
ETHERNET_CLK_MODE: PHY clock mode, see eth_clock_mode_t in ETH.h
ETHERNET_PHY_MDC: PHY MDC pin
ETHERNET_PHY_MDIO: PHY MDIO pin
ETHERNET_PHY_TYPE: PHY type, see eth_phy_type_t in ETH.h

Limitations:
- only DHCP is supported, no static IP configuration for LAN so far.
- If GPIO0 is used for one of the ETHERNET_CLK_MODE modes, then GPIO0
  cannot be used to clear the WiFi configuration.

Signed-off-by: Frank Kunz <mailinglists@kunz-im-inter.net>

---------

Signed-off-by: Frank Kunz <mailinglists@kunz-im-inter.net>
Co-authored-by: Frank Kunz <mailinglists@kunz-im-inter.net>
2025-03-27 00:48:05 +01:00
Skip Hansen
447611ba4a Added support for Elcrow Advanced 2.8" AP. 2025-03-25 10:02:39 -07:00
Skip Hansen
32c74ba5b4 Added support for Elecrow C6 wireless module. 2025-03-25 08:09:26 -07:00
Skip Hansen
177f93844c Display SN rather than MAC for wider range of Chroma tags. 2025-03-23 11:23:43 -07:00
atc1441
1584f35624 Improved 4inchAP 2025-03-23 13:55:41 +01:00
atc1441
ac0c3ccfc9 Added Touch support for the 4inchAP 2025-03-22 23:28:53 +01:00
Nic Limper
047230de25 weather forecast enhancements 2025-03-20 13:43:21 +01:00
Nic Limper
107764c6be fixed y-axis labels on dayahead prices (https://github.com/OpenEPaperLink/OpenEPaperLink/issues/446) 2025-03-19 23:18:30 +01:00
Nic Limper
0819b19db2 follow redirects on getimgurl 2025-03-19 22:55:46 +01:00
Nic Limper
4aedce7839 sync gzipped files; update some tagtypes 2025-03-19 22:02:16 +01:00
Nic Limper
2d486d7c66 update to arduinojson 7.3.0, change ESPAsyncWebServer fork, Arduino 3.x compatibility, enabled comments within json files (#438)
* updated arduinojson to version 7.3.0, enabled comments within json files

* update ESPAsyncWebServer/AsyncTCP to the ESP32Async fork

ESP32Async/ESPAsyncWebServer and ESP32Async/AsyncTCP are much better maintained and it looks like a lot of bugs are fixed compared to the ESPHome version we used before.

* Arduino 3.x compatibility (while maintaining 2.x compatibility)
2025-03-19 21:48:06 +01:00
atc1441
cce5f56d67 Bug fix of LilyGo init 2025-03-02 16:09:00 +01:00
Wheeze_NL
0232725711 Comment out defined ports (#426)
Without defined ports, platformio will autodetect the ports.
Best for most usecases.
2025-02-18 06:18:46 -08:00
Nic Limper
ff7f397705 added missing characters in vlw font 2025-02-16 15:41:32 +01:00
Nic Limper
d8fa96b20e support for multiple folder levels 2025-02-11 20:00:06 +01:00
Skip Hansen
4b667d0039 Coprocessor OTA changes (#425)
OTA changes to support C6/H2 OTA updates from configured repo.
2025-01-25 14:11:39 -08:00
Nic Limper
45427148f6 {mac} placeholder in json template content card 2025-01-12 14:12:52 +01:00
Nic Limper
dec9b17655 add Portugal to dayahead prices options 2025-01-09 17:24:16 +01:00
atc1441
b8c4d4420e Added 4inch AP 2025-01-08 20:03:48 +01:00
atc1441
4d186c81ff Added more options in the direct image upload 2025-01-03 22:43:46 +01:00
Skip Hansen
5cc7869c0f Disable builds for deprecated configurations,
OpenEPaperLink_Mini_AP, OpenEPaperLink_Nano_AP, Simple_AP, and
ESP_THREAD_BORDER_ROUTER.
2025-01-02 08:59:00 -08:00
Nic Limper
7e49c2a09e some small tweaks 2024-12-17 19:20:17 +01:00
Jelmer
375662c69e Added 'Set Mac' datatype/content card 2024-12-15 23:11:19 +01:00
Nic Limper
e246ac578d optional border color and -width in box and rbox json template 2024-12-11 14:12:26 +01:00
Nic Limper
d8dcd498a3 optional colored google calendar events on BWR/BWY displays 2024-12-11 12:49:39 +01:00
Nic Limper
91b01c5fca gzipped wwwfiles 2024-12-10 23:01:28 +01:00
Nic Limper
30812dff49 color related improvements
- added "image" to json commands to insert a jpg image/icon from the flash partition
- added optional center/right alignment to "textbox" json command
- google calendar content: added optional colors, different color per calendarid
- improved ordered dithering, works also with unevenly spaced color tables. This is to be used with graphs etc., not suitable for photos (use floyd steinberg for photos)
- improved flyod steinberg dithering (fix some bugs)
- added preview rendering for 4bpp images
- log tab now scrolls to the top on entering
- added optional perceptual color table to tagtypes (for rendering previews, for example to display darker yellows on screen while keeping the 255,255,0 color to the tag
- drag/dropping in an image to a tag while holding shift key now uses ordered dithering (default is floyd steinberg)
- some tagtype improvements
2024-12-10 23:01:02 +01:00
Jelmer
31a90d1498 Fixed G5 overflow bug 2024-12-09 20:58:31 +01:00
Nic Limper
33f77b2192 gzipped wwwroot 2024-12-08 20:55:59 +01:00
Nic Limper
e079c30c54 version compare bugfix 2024-12-08 20:48:58 +01:00
Nic Limper
eba9f54454 Update update_actions.json 2024-12-08 20:14:00 +01:00
Nic Limper
a0a39e98cd some polishing before release 2024-12-08 19:46:20 +01:00
Jelmer
fdd87779d7 Merge pull request #404 from OpenEPaperLink/G5-compress
Added G5 encoding
2024-12-08 15:59:29 +01:00
Nic Limper
44514e24d1 fix 2024-12-08 15:36:26 +01:00
Nic Limper
8857ecb669 DATATYPE_IMG_G5 2024-12-08 15:32:03 +01:00
Nic Limper
2e38e9f218 added g5 preview to file editor 2024-12-07 22:25:23 +01:00
Nic Limper
a48511145c added header to g5 compressed buffer 2024-12-07 21:59:39 +01:00
Nic Limper
ae87ac1960 added javascript g5 decoder for previews 2024-12-07 20:46:25 +01:00
atc1441
f4025fb18f Added ATC BLE OEPL Sending 2024-12-05 09:45:58 +01:00
Jelmer
9d4e31b01b Added G5 to M2 (zbs243) tag types 2024-12-04 00:48:21 +01:00
Jelmer
691b64d192 fixed the lut argument for g5-compressed images 2024-12-01 11:34:50 +01:00
Jelmer
573ba8c424 Added fallback, updated types 2024-12-01 10:41:24 +01:00
atc1441
511fa3e5dd Updated Tagtypes to support compression 2024-12-01 02:36:07 +01:00
Jelmer
78e097738a Added G5 encoding 2024-11-29 15:30:24 +01:00
Skip Hansen
7735612a16 Enable SubGhz, changed CC1101 pin assigments for the Lilygo T-Panel. 2024-11-16 13:51:02 -08:00
Nic Limper
95d5aac01a add support for 3bpp ACeP buffers (7 color epaper) 2024-11-13 15:12:26 +01:00
Nic Limper
a6772c6fae fixes https://github.com/OpenEPaperLink/OpenEPaperLink/issues/389 and https://github.com/OpenEPaperLink/OpenEPaperLink/issues/392 2024-11-08 11:17:56 +01:00
Nic Limper
7805ab2b46 new templates for M2 2.2" and M2 2.6" 2024-11-04 23:53:54 +01:00