As I said, this sending events is new to me. Think you need to google for examples. I think I found a page that compared sending events with socket.io. Can’t find it now. Think it said you can’t send events from web-page to server. All my projects with RPi server and P5.js web-pages are based on https://www.youtube.com/watch?v=bjULmG8fqc8&t=450s&pp=ygUXY29kaW5nIHRyYWluIG5vZGUganMgIzE%3D and use socket.io. Haven’t thought how ESP8266 might replace RPi in that scheme.
1 Like