Application and basic MQTT subscriber

This commit is contained in:
2025-12-17 02:12:07 +02:00
parent d450229356
commit dd134a632c
6 changed files with 65 additions and 9 deletions
View File
+8
View File
@@ -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"),
]