-->
Page 1 of 1

Faster connection to Mqtt / WiFi ?

PostPosted: Thu Sep 26, 2019 2:50 pm
by WhiteLion
Hello,
my PIR sensor wakes my ESP, connects to WiFi and sends a message by Mqtt.
This process will take about 5-7 seconds. Thats a way to long for switching lights on by motion, when I enter a dark room at night. Are there any ways to speed up the connection process ?

Re: Faster connection to Mqtt / WiFi ?

PostPosted: Fri Sep 27, 2019 3:47 pm
by rudy

Re: Faster connection to Mqtt / WiFi ?

PostPosted: Sun Sep 29, 2019 3:13 pm
by WhiteLion
Thanx. The link leads me to the following informations:
1. The type of rooter and different network conditions can make a difference of upt to 3 seconds.
2. There is way with open wrt, wireshark plus other stuff that can reduce sending times to 100ms. For me thats to much efford atm.