WLED icon indicating copy to clipboard operation
WLED copied to clipboard

Add feature of sync!

Open ChristianSwift opened this issue 2 years ago • 1 comments

Espressif had realease a protocal called esp now. it can transmit data between two or more esp chips without network link. I hope you will add this protocol to firmware for fast and efficiency sync function!

ChristianSwift avatar May 27 '22 09:05 ChristianSwift

From the 2016 dated pdf from Expressif:

ESP-NOW supports the following features:
• Encrypted and unencrypted unicast communication.
• Mixed encrypted and unencrypted peer devices.
• Up to 250-byte payload can be carried.
• The sending callback function that can be set to inform the application layer of
transmission success or failure.
ESP-NOW technology also has the following limitations:
• Broadcast is not supported.
• Limited encrypted peers. 10 encrypted peers at the most are supported in Station
mode; 6 at the most in SoftAP or SoftAP + Station mode. Multiple unencrypted peers
are supported, however, their total number should be less than 20, including
encrypted peers.
• Payload is limited to 250 bytes.

Is 250 bytes per packet enough? Are 10 paired peers enough with NO ability to control via normal WLED means? Are 6 paired peers enough with ability to slip in random WLED control requests between all the other traffic? Or, if most pairs are left unencrypted, less than 20 total peers, is that enough?

Any one of them might be enough to make this a viable FORK of WLED, but combined, it seems like that's probably the best option. Create a fork of WLED with the intent of supporting ESP NOW with a built-in playlist of some sort, perhaps written to an SD card (see @Quindor's or other ESP32 SD card modules).

huggy-d1 avatar Jul 20 '22 18:07 huggy-d1

Implemented and will be available in 0.15.

blazoncek avatar Sep 19 '23 10:09 blazoncek

Thanks for adding this feature. Got 0.15.0-b1 installed on ESP8266. But only see: image Isn't this feature available for 8266?

Rushmed avatar Mar 21 '24 19:03 Rushmed

You need to enable it 1st in wireless settings.

blazoncek avatar Mar 21 '24 19:03 blazoncek

Thx. Ill try.

Rushmed avatar Mar 21 '24 21:03 Rushmed