This is an arduino Sim MQTT library to publish to an MQTT broker. and a simple JSON format Publish arduino demo DTH sensor- Sensor data replae with dummy data to test regardless of sensor avalibility.
hope this helps, at least a little. Cheers.