OpenEPaperLink notes: Difference between revisions

From Helpful
Jump to navigation Jump to search
(Created page with "<!-- The idea seems to be that, since every tag has a 802.15.4 radio, if you add an ESP32 to just one of these tags, you now have a tag "AP": you can talk to it over wifi, it can talk to all tags over 802.15.4 (not technically zigbee). You can also integrate with home assistant - this uses websockets over wifi(?) Regular API-like access can be made to the AP -- https://github.com/jjwbruijn/OpenEPaperLink/wiki/Image-upload Which suggests the Tags use e...")
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{stub}}
OpenEPaperLink is a project that uses various [[E-Paper]] devices -- primarily the little programmable labels (and larger ones that work the same) that supermarkets use, because they tend to be
* a display controller
* a microcontroller            (this project offers alternative software; the firmware on most takes is too proprietary to be useful)
* some communication in them
:: The tags it focuses on are 802.15.4-based devices.
<!--
<!--
:: there may be some additional features, like NFC
:: and reacting to a RF jolt meaning "actually please wake up and update ''now'' rather than where you were planning"
-->
In a shop environment, there will be thousands, probably polling a central PC where thousands of labels in the store are kept track of, and with a protocol that authenticates (and maybe has some basic encryption?).
In this project, we poll a microcontroller (which probably handles a few dozen before everything because slow), no security,
and we can afford to be makeshift and e.g. tell them apart by what's currently on there.
Because such shop tags are battery-powered, and will use a moderate amount of energy to send and/or receive data,
they check in as little as possible.
They send in the most basic "do you have something new" and unless it gets a response within ''milliseconds'',
it starts sleeping again.


In the replacement firmware from this project, every 40 seconds is the ''fastest'' in normal use, apparently weak signals increase this to 10 minutes (because it would drain faster otherwise).


The idea seems to be that, since every tag has a 802.15.4 radio,
if you add an ESP32 to just one of these tags, you now have a tag "AP":
you can talk to it over wifi, it can talk to all tags over 802.15.4 (not technically zigbee).




You can also integrate with home assistant - this uses websockets over wifi(?)


Regular API-like access can be made to the AP --
===Tag AP===


This project's idea seems to be that,
since every tag has a 802.15.4 radio,
if you add an microcontroller to just one of these tags, you can take control of it,
(custom firmware for both, ''and'' using the debug header on tags{{verify}})
you now have a tag that can act ''as'' that central checkin point for all nearby tags,
saving a specialized RF device to make or buy.




And since ESP32s have WiFi, you can now talk to that AP-Tag via WiFi, while ''it'' talks to the rest of the tags over 802.15.4.


On the wifi side, it starts as an open WiFi AP network, and configured at 192.168.4.1, and you ''can'' use it that way (some icons won't display correctly but it's otherwise okay),
: ...but it's intended to then configure it as a client onto your own WiFi and access it on there.


https://github.com/jjwbruijn/OpenEPaperLink/wiki/Image-upload


Regular API-like access can be made to this WiFi AP.
: e.g. https://github.com/jjwbruijn/OpenEPaperLink/wiki/Image-upload


Various people integrate with [[Home Assistant]] omstead (seems to use websockets over wifi(?))


Which suggests the


Note that there is support to add ''more'' of these tag-APs to add coverage of more area -- they should automatically syncing the state of what to tell tags.


The amount of tags a tag-AP (or set?) can handle is mostly limited by speed (possibly also RAM).{{verify}}
It may be 30 on the low end but if you have more patience you can get more.






Tags use energy to send and/or receive data, so check in as little as possible - every 40 seconds is the ''fastest'' in normal use,
===Tags===
apparently weak signals increase this to 10 minutes (because it would drain faster otherwise).


There is a "just add APs and it will sync everything automatically and give better coverage" thing


It sends a check-in and unless it gets a response within milliseconds, it sleeps again.
'''Firmware'''


https://github.com/jjwbruijn/OpenEPaperLink/wiki/Firmware-Updates


The amount of tags an AP can handle (remember images for) is around 30 for a xx MB PSRAM ESP32.
You can do OTA tag updates from the AP's filesystem.
(how do you get them there?)




Line 39: Line 73:




===See also===


https://openepaperlink.de/
https://openepaperlink.de/


https://github.com/jjwbruijn/OpenEPaperLink/wiki
https://github.com/jjwbruijn/OpenEPaperLink/wiki
-->

Latest revision as of 13:26, 30 April 2024

This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.


OpenEPaperLink is a project that uses various E-Paper devices -- primarily the little programmable labels (and larger ones that work the same) that supermarkets use, because they tend to be

  • a display controller
  • a microcontroller (this project offers alternative software; the firmware on most takes is too proprietary to be useful)
  • some communication in them
The tags it focuses on are 802.15.4-based devices.


In a shop environment, there will be thousands, probably polling a central PC where thousands of labels in the store are kept track of, and with a protocol that authenticates (and maybe has some basic encryption?).


In this project, we poll a microcontroller (which probably handles a few dozen before everything because slow), no security, and we can afford to be makeshift and e.g. tell them apart by what's currently on there.

Because such shop tags are battery-powered, and will use a moderate amount of energy to send and/or receive data, they check in as little as possible.

They send in the most basic "do you have something new" and unless it gets a response within milliseconds, it starts sleeping again.

In the replacement firmware from this project, every 40 seconds is the fastest in normal use, apparently weak signals increase this to 10 minutes (because it would drain faster otherwise).



Tag AP

This project's idea seems to be that, since every tag has a 802.15.4 radio, if you add an microcontroller to just one of these tags, you can take control of it, (custom firmware for both, and using the debug header on tags(verify)) you now have a tag that can act as that central checkin point for all nearby tags, saving a specialized RF device to make or buy.


And since ESP32s have WiFi, you can now talk to that AP-Tag via WiFi, while it talks to the rest of the tags over 802.15.4.

On the wifi side, it starts as an open WiFi AP network, and configured at 192.168.4.1, and you can use it that way (some icons won't display correctly but it's otherwise okay),

...but it's intended to then configure it as a client onto your own WiFi and access it on there.


Regular API-like access can be made to this WiFi AP.

e.g. https://github.com/jjwbruijn/OpenEPaperLink/wiki/Image-upload

Various people integrate with Home Assistant omstead (seems to use websockets over wifi(?))


Note that there is support to add more of these tag-APs to add coverage of more area -- they should automatically syncing the state of what to tell tags.

The amount of tags a tag-AP (or set?) can handle is mostly limited by speed (possibly also RAM).(verify) It may be 30 on the low end but if you have more patience you can get more.


Tags

Firmware

https://github.com/jjwbruijn/OpenEPaperLink/wiki/Firmware-Updates

You can do OTA tag updates from the AP's filesystem. (how do you get them there?)



See also

https://openepaperlink.de/

https://github.com/jjwbruijn/OpenEPaperLink/wiki