ESPixelStick - conn...
 
Notifications
Clear all

ESPixelStick - connection dropping

11 Posts
5 Users
0 Reactions
3,172 Views
Posts: 277
Topic starter
(@blake-l)
Reputable Member
Joined: 19 years ago

I've searched every thread for "ESPixelStick" and "DHCP". Found a number of comments alluding to issues, but no solid advice. Links below are the closest I found.

So, I'll still try DHCP when I get home. 🙂

http://doityourselfchristmas.com/forums/showthread.php?43867-RenardESP-will-not-save-any-changes&p=432623#post432623
http://doityourselfchristmas.com/forums/showthread.php?39166-ESPixelStick-E1-31-WiFi-Pixel-Controller&p=404312#post404312


Reply
Posts: 528
(@bud29)
Honorable Member
Joined: 17 years ago
Reply
Posts: 236
(@afremont)
Reputable Member
Joined: 10 years ago

I didn't stay at Holiday Inn either nor did I read those threads, but I've seen a similar problem before. Some routers drop their wifi clients in a very short time if their is no traffic. They seem to expect the client to reauthenticate before attempting to communicate. I'm not sure who is to blame, or if this is just a gray area in the standards. I think the pixel stick firmware guys could avoid the issue by pinging the gateway every few seconds while connected but not passing traffic.

Sent from my Moto G (4) using Tapatalk


Reply
jchuchla
Posts: 8698
(@jchuchla)
Illustrious Member
Joined: 15 years ago

The DHCP conversation is a workaround to the problem. Not related to the actual problem. There's many reasons wifi clients drop and that all needs to be addressed first using standard wifi engineering practices. But given a network that's stable and minimal interference, the ESP specific issue appears to be waking them up if they sleep. So the goal is to keep them from sleeping by making sure communications happen at a frequent interval all the time. The observed magic number seems to be under 5 minutes. So the DHCP trick works by making a lease last only 4 minutes forcing the ESP to renew its lease every 4 minutes and therefore communicating before it falls asleep. But this communication could be anything. It could be a ping, a web request, or even live show data. The DHCP solution was just one way to ensure a regular communication. The point is there can't be an idle period longer than 4 minutes.
If you're running vixen you could simply leave vixen running all the time. It's going to feed 20 packets every second and so long as that's happening it won't sleep.

Sent from my iPhone using Tapatalk


Reply
jchuchla
Posts: 8698
(@jchuchla)
Illustrious Member
Joined: 15 years ago
afremont wrote:I didn't stay at Holiday Inn either nor did I read those threads, but I've seen a similar problem before. Some routers drop their wifi clients in a very short time if their is no traffic. They seem to expect the client to reauthenticate before attempting to communicate. I'm not sure who is to blame, or if this is just a gray area in the standards. I think the pixel stick firmware guys could avoid the issue by pinging the gateway every few seconds while connected but not passing traffic.

Sent from my Moto G (4) using Tapatalk

Many show networks don't have a gateway. So this would always fail in those networks. Any network would have an AP, but there's no way to reliably discover the IP of the AP, and it may not respond to a ping either. And if the AP is truly in bridge mode, it may not even have an IP address. There isn't a good "one size fits all" solution to add to the firmware.

Sent from my iPhone using Tapatalk


Reply
Page 2 / 3
Share: