Hey guys!
I have a code on my ESp to ping a device in WiFi to check, if it is turned On or Not.
This works great, but now my questiosn:
Does it affect somehow my device or even my WiFi if i ping it like every second? Do i have to increase the intervall?
Try putting Wireshark on a laptop and look at your WiFi traffic. If it's anything like mine, a 1Hz ping will be a drop in the ocean. Having said that, I'd be surprised if you need to check quite that often.
Ping packets are small and as Wildbill says you are hardly likely to notice the extra load it puts on your network. Just for reference a 10Mb/s ethernet can transmit upto 29,000 packets per second, a 100Mb/s ethernet upto 290,000 packets per second. Wifi comes in different forms, but g is 54Mb/s and n is 300M/s iirc - there is an overhead with Wifi and number of packets/s depends on packet size - but 2 packets per second is not likely to make much impact.