I need a way to monitor if router (RUT240) has internet connection or not. I already have some infra so simplest way I thought would be periodically publish MQTT message from router. So absence of event during some period of time means it lost connection. Now I have 2 questions:
1. I configured MQTT publisher package but I do not see any controls how to publish message. It seem it is used only for resending events from internal broker to other. Is it correct?
2. How to perform periodical operations?