Modification of Glass Timer GDK example with hook to push data to MQTT broker