Skripts for posting MQTT messages to databases