Commit Graph

145 Commits

Author SHA1 Message Date
Skip Hansen
bfff2ef0b9 Added support for ts_option to provide finer control of time stamps.
1. Fixed time stamp overlap on weather forecast content on  2.9" tags.
2. Fixed time stamp overlap on AP info screen on 160x80 TFT displays.
3. Changed black on white to white on black on TFT displays.
2025-11-06 15:38:21 -05:00
BenV
299b8f300e Feat: dayahead fixes and improvements (#516) 2025-10-20 19:05:38 +02:00
Skip Hansen
2a5094993c Don't delay content generate when shorten latency is enabled and user is connected. 2025-07-20 11:39:20 -04:00
Vstudio LAB
a143b49492 Button 3 (#473) 2025-06-14 09:38:03 +02:00
Nic Limper
b313d07669 added sunrise/sunset/moon phase to date display 2025-04-12 19:51:57 +02:00
atc1441
561dd82236 Added a Clock mode as content type 2025-04-06 02:26:59 +02:00
Nic Limper
e8eb87e7c1 fixes crash when dayahead data is unavailable 2025-04-05 14:00:05 +02:00
Nic Limper
0fb0c6f74d more robust extended sleep time and 'no updates between' handling 2025-03-27 01:03:04 +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
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
Nic Limper
45427148f6 {mac} placeholder in json template content card 2025-01-12 14:12:52 +01: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
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
Nic Limper
a0a39e98cd some polishing before release 2024-12-08 19:46:20 +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
Jelmer
78e097738a Added G5 encoding 2024-11-29 15:30:24 +01:00
Nic Limper
95d5aac01a add support for 3bpp ACeP buffers (7 color epaper) 2024-11-13 15:12:26 +01:00
Nic Limper
7805ab2b46 new templates for M2 2.2" and M2 2.6" 2024-11-04 23:53:54 +01:00
Nic Limper
9eb0b303f3 breaking change for ESP32-S2 based AP's
- turn off Buienradar and Google Calendar content on ESP32-S2 based AP's because the firmware doesn't fit the flash memory anymore. If you need this and you use e.g. the mini AP v2, don't update. ESP32-S3 based AP's are not affected.
- On the update tab, the list of available versions now only shows the versions that are actually available for the build environment in use, so when we leave out S2-based builds in future releases, they won't show the new version.
2024-11-03 02:04:04 +01:00
Nic Limper
0cd76eebf0 smaller improvements
- dayahead Fixed surcharge now takes either one value (old behaviour) or an array with 24 elements for each hour, to add a surcharge depending on the time of day (as apparently they use in Denmark). The array should be entered like `[n,n,...,n]`
- added 1.54" template for dayahead prices
- in dayahead content, added option to only display the graph, without the current time/price/arrow. With this, the display only has to refresh one a day, which will save battery
- added the number of timedout tags to the 'sys' websocket message. The timeoutcount key/value is only present once a minute.
`{"sys":{"currtime":1730133055,"heap":194124,"recordcount":27,"dbsize":5488,"littlefsfree":5246976,"psfree":8350371,"apstate":1,"runstate":2,"rssi":-70,"wifistatus":3,"wifissid":"sensors","uptime":72,"timeoutcount":0}}`
- cosmetic: tagtype update now doesn't give an error when it tries to process readme.md
2024-10-28 17:40:40 +01:00
Nic Limper
dd5d96d1ee add dayahead prices to 4.2" displays; add custom interval to weather
don't forget to reboot the AP and clear browser cache after updating (or to open your browser developer tools and check 'disable cache' the first time you reload the UI)
2024-10-25 16:20:38 +02:00
atc1441
9fbafaf23e Changed repo to new repo organization in source 2024-07-17 00:07:45 +02:00
mnyhlen
6981171a6e Bugfix: Update variable minutesUntilNextUpdate to 32-bit integer because of integer overflow 2024-06-12 20:59:19 +02:00
Skip Hansen
eca64ee3c3 Change Fahrenheit/ mph /mm Units option to Fahrenheit / mph / in. 2024-06-03 16:05:03 -07:00
Nic Limper
73db8d52a8 fix buienradar api call 2024-05-11 11:16:04 +02:00
Thomas B. Ruecker
e1bf5dc9a9 Consolidate serial output to \r\n (#309)
So far the serial output is a mix of \r\n for println() and \n for
sprintf() and such.
This commit consolidates this to a consistent \r\n.
There should be no noticeable difference for users of terminals that
auto-substitute a sole \n to \r\n.
This will however make the serial output friendly to default behavior of
various terminal emulators like 'screen' and 'minicom'.

This commit doesn't touch anything that is not serial output and also
leaves 'ets_printf' alone just in case.

Co-authored-by: Thomas B. Rücker <thomas.ruecker@relexsolutions.com>
2024-05-10 16:31:47 +02:00
Nic Limper
303c07b4ef updated tiny font for better readability 2024-03-27 11:13:30 +01:00
Nic Limper
34ca60ba7a update templates
thanks to XiniX for donating some tags
2024-03-26 16:08:00 +01:00
Nic Limper
6197b8962e color table and various fixes
- use the actual color table in tagtype json for rendering images (until now, that color table was ignored)
- added proper ordered dithering (works with all colors now, not just gray and pink)
- on the static image content card, you can now choose floyd-steinberg or ordered dithering (or turn dithering off)
- added ÅÄÖ to twcondensed20 font
- small bugfixes
- fix serial passthrough via UART in OEPL-flasher.py
2024-03-26 01:13:02 +01:00
Nic Limper
7bdc6e55b3 dynamic loading of tagtype files 2024-03-22 16:42:55 +01:00
Nic Limper
587d7c86c0 various fixes
- added last updated time of a tag in tagdb
- day ahead prices choice of whole money units or cents
- optimization of file upload during updates
- show mac address in wifi setup
- fixed reload of display after unexpected reboot of tag
2024-03-21 20:11:12 +01:00
Nic Limper
3f1e45da28 content bugfix
- truncates long lines in calfeed (solves https://github.com/jjwbruijn/OpenEPaperLink/issues/202)
- displays button pointers correctly when rotated 180 degrees
https://github.com/jjwbruijn/OpenEPaperLink/issues/246
2024-03-18 22:09:05 +01:00
Nic Limper
59e2a5eeb8 Various fixes
- bugfix not recognizing identical image
https://github.com/jjwbruijn/OpenEPaperLink/issues/255
- Count number of updates
https://github.com/jjwbruijn/OpenEPaperLink/issues/247
- Optionally align interval of RSS/calendar/etc
https://github.com/jjwbruijn/OpenEPaperLink/issues/106
2024-03-18 16:39:44 +01:00
Nic Limper
9b2d76a6b6 bugfix: idlereq should not be queued, and only sent when queue is empty 2024-02-28 01:09:00 +01:00
Jelmer
8da475901d Support for rotating generated images based on tagtype profile 2024-02-27 00:32:09 +01:00
Nic Limper
b4836e81f3 tag flasher / timestamp content / bugfixes (#217)
- added webinterface for tag flasher
- added tcp transport for communicating with tag flasher (OTG USB also still works)
- added content 'timestamp', makes use of preloaded images and buttons on the 2.9" M3
- webinterface is now aware of C6 and flasher capabilities
- AP can run without ieee801.15.4 radio (i.e. flasher only) by shorting FLASHER_AP_TXD and FLASHER_AP_RXD
- added tcp transport option to OEPL-Flasher.py (serial also still works)
- added new environment OpenEPaperLink_Mini_AP_v4
- lots of finetuning and bug fixes
2024-02-04 20:30:52 +01:00
Nic Limper
472f148b0c typo 2024-02-02 16:36:27 +01:00
Nic Limper
107c85e3cf bugfix: too long pending filenames after a few hours of uptime 2024-02-02 16:22:19 +01:00
Nic Limper
b71844eac0 imgupload performance / Norway dayahead codes 2024-01-30 11:23:58 +01:00
Nic Limper
72c1b7bf40 bugfix dayahead 2024-01-30 00:49:49 +01:00
Nic Limper
1c7d45865d new content type: day ahead prices (S3-based AP only) 2024-01-30 00:33:22 +01:00
Nic Limper
7fd04d1ae3 esp32 support for compressed images to tag 2024-01-29 02:50:39 +01:00
Nic Limper
6292e73135 Pending queue (#210)
Pretty complex change here: pending images/commands are now queued.

A command (like LED flasher) will not overwrite a pending image anymore. Also, sending multiple preloaded images is possible.
Also works (at least, as far as I could test) in combination with Multi AP and mirroring tags ('display a copy' content type).

It you want to test this: don't forget to upload the changed files in /www (the pending icon is now displaying the amount of queued messages). Timing improvements will follow later (only one message can be transmitted every checkin. If multiple messages are queued, at this moment, you have to wait until the next checkin which takes 40-60 sec).

This comes also with the advantage of better stability if you upload multiple images to the same tag in succession. Before queuing, if was possible to replace the image between sending the pending message and the image transfer to the tag, causing md5 mismatches and instability.

Solves #47
2024-01-29 00:49:52 +01:00
Nic Limper
f00761db94 small improvements
- added short date format definition in language.json
- changed english date format to mm/dd
- added lightgrey (4)/darkgrey (5)/pink (6) colors in jsontemplate (uses pattern dither)
- fixed ntp init timing
2024-01-14 14:24:44 +01:00