22 lines
461 B
Elixir
22 lines
461 B
Elixir
use Mix.Config
|
|
import_config "#{Mix.env}.exs"
|
|
|
|
config :farmbot_auth,
|
|
callbacks: [Farmbot.RPC.Transport.GenMqtt.Handler]
|
|
|
|
config :json_rpc,
|
|
transport: Farmbot.RPC.Transport.GenMqtt.Handler,
|
|
handler: Farmbot.RPC.Handler
|
|
|
|
config :uart,
|
|
baud: 115200
|
|
|
|
config :logger,
|
|
utc_logs: true
|
|
|
|
config :quantum, cron: [
|
|
"5 1 * * *": {Farmbot.Updates.Handler, :do_update_check}
|
|
]
|
|
|
|
config :farmbot, config_file: "default_config_#{Mix.Project.config[:target]}.json"
|