Publish the RN8209 depending on a threshold added to a frequency Also merge the 2 tasks into one to save heap