Data logging - Day view

why are you making it on and then off after 1.5ec. is there are specific reason for this. with this you might hit rate limit and have connection interrupt .Sending MQTT messages within rate limits