Application and basic MQTT subscriber
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import Config
|
||||
|
||||
config :neon_vertigo_service, :mqtt_params, [
|
||||
host: System.get_env("MQTT_HOST", "localhost"),
|
||||
port: System.get_env("MQTT_PORT", "1883") |> String.to_integer,
|
||||
username: System.get_env("MQTT_USERNAME"),
|
||||
password: System.get_env("MQTT_PASSWORD"),
|
||||
]
|
||||
Reference in New Issue
Block a user