Want to save energy with my bk7231n-based device. My plan is to used a dozen of them and even 0.25…0.5W may count. If my measure is right it consumes around 1W. As far as I know, most consuming part is WiFi.
Hence there is a question whether it make sense to let sleep the wifi (or reduce wifi-power) for a while.
I am aware that Wifi (and in my case MQTT) is the (only) way to communicate with server. But I could imagine to let is sleep for 2min or even for 15min at night. My hope would be that exchange of data is than done after a reconnect.
I am not aware what might consume more energy: keep the connection or re-establish connection from time to time and let wifi sleep inbetween.
Assume the server set a command at 23:00 - it would be fine if the real execution happens at night up to 10min later. But the command shouldn’t rejected. Will this be assured if I set qos to “1” instead of “0” ?
May deep_sleep help in this case? What are your experieces?