serkri / SmartEVSE-3

Smart Electric Vehicle Charging Station (EVSE)
MIT License
67 stars 28 forks source link

high WiFi latency #209

Closed kiss81 closed 8 months ago

kiss81 commented 8 months ago

I use the api to provide the p1 data to my smartEvse 1.7.3 I send this every 5 seconds. The problem is that it's not always received. The smartEvse module is literally within 1 meter of the router. I get this ping performance: round-trip min/avg/max = 6.771/108.583/360.105 ms I see that sometimes the SmartEVSE get into an error because it didn't receive the p1 data updates in time. This means I can't use the SMART mode now. Other esp8266 devices have decent ping performance (< 20ms) Anything I can try?

dingo35 commented 8 months ago

Basic wifi problem: change wifi channel or add repeater.

dingo35 commented 8 months ago

Just reading that your SmartEVSE is 1 meter from your router: perhaps signal is too strong? You could also try feeding through MQTT API.

kiss81 commented 8 months ago

Tried changing channels and tx power, but that doesn't bring me much. I switched to MQTT instead of curl and that seems to help for better stability. I will give smart mode another test this week!