MQTT push via sensors
Time and duration

Needs cleaned up, but it functions.