import Config # Runtime configuration that can use environment variables config :systant, Systant.MqttClient, host: System.get_env("SYSTANT_MQTT_HOST", "localhost"), port: String.to_integer(System.get_env("SYSTANT_MQTT_PORT", "1883")), client_id: System.get_env("SYSTANT_CLIENT_ID", "systant"), username: System.get_env("SYSTANT_MQTT_USERNAME"), password: System.get_env("SYSTANT_MQTT_PASSWORD"), stats_topic: System.get_env("SYSTANT_STATS_TOPIC", "system/stats"), command_topic: System.get_env("SYSTANT_COMMAND_TOPIC", "system/commands"), publish_interval: String.to_integer(System.get_env("SYSTANT_PUBLISH_INTERVAL", "30000"))