Oleksandr Stolyar
Oleksandr Stolyar
I've already mentioned something similar to your needs, I've been using this https://github.com/tretyakovsa/Sonoff_WiFi_switch solution for some time. The key feature of it is in using the SSDP protocol for similar...
Thanks, for the fast reaction. The draft code is: ``` void LightStateService::dutyLoop(){ new_ts = millis(); if (new_ts - ts > 1500) { _state.pv = sensors.getTempCByIndex(0); ts = new_ts; myPID.Compute(); sensors.requestTemperatures();...
Having reduced the refresh rate to 5s, I got it working more stable. But periodically the test page tries to reconnect WS due to the lost WS connection.
Hello, yes at the moment I'm run on esp8266, I have doubts regarding AsyncWebServer and its WebSocket implementation. 1 year ago I had some experience with it and saw more...
> Yes. The async suff looks cool on paper. The esp8266 is quite RAM limited though so supporting many concurrent clients all sending and recieving JSON isn't practical. > […](#)...
It's not a task for ESP, you may search on the internet for lots of solutions. Mainly they are based on HTTP requests from the server side, ESP sends a...