diff --git a/flake.nix b/flake.nix index 275fea1..041f35f 100644 --- a/flake.nix +++ b/flake.nix @@ -120,7 +120,6 @@ ]); packages = [ - beamPackages.elixir-ls pkgs.mix2nix pkgs.mosquitto ]; diff --git a/lib/weewx_proxy/http/ecowitt.ex b/lib/weewx_proxy/http/ecowitt.ex index 2234df7..f75c5a8 100644 --- a/lib/weewx_proxy/http/ecowitt.ex +++ b/lib/weewx_proxy/http/ecowitt.ex @@ -62,7 +62,7 @@ defmodule WeewxProxy.HTTP.Ecowitt do UV: Utils.parse_float(data["uv"]), radiation: Utils.parse_float(data["solarradiation"]), soilMoist1: Utils.parse_float(data["soilmoisture1"]), - soilTemp1: Utils.parse_float(data["tf_ch1"]), + soilTemp1: Utils.parse_float(data["tf_ch2"]), lightning_strike_count: calculate_lightning_strike_count(data), lightning_last_det_time: Utils.parse_integer(data["lightning_time"]), lightning_distance: calculate_lightning_distance(data), diff --git a/mix.lock b/mix.lock index 4f961a8..ef6afd8 100644 --- a/mix.lock +++ b/mix.lock @@ -22,7 +22,7 @@ "ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.7", "354c321cf377240c7b8716899e182ce4890c5938111a1296add3ec74cf1715df", [:make, :mix, :rebar3], [], "hexpm", "fe4c190e8f37401d30167c8c405eda19469f34577987c76dde613e838bbc67f8"}, "systemd": {:hex, :systemd, "0.6.2", "aaa24f1e3e6cb978c45369768b1abd766a0dbff637ed61254ca64797bcec9963", [:rebar3], [{:enough, "~>0.1.0", [hex: :enough, repo: "hexpm", optional: false]}], "hexpm", "5062b911800c1ab05157c7bf9a9fbe23dd24c58891c87fd12d2e3ed8fc1708b8"}, "telemetry": {:hex, :telemetry, "1.2.1", "68fdfe8d8f05a8428483a97d7aab2f268aaff24b49e0f599faa091f1d4e7f61c", [:rebar3], [], "hexpm", "dad9ce9d8effc621708f99eac538ef1cbe05d6a874dd741de2e689c47feafed5"}, - "tortoise311": {:hex, :tortoise311, "0.11.6", "fff8075ac743956875ac96cc030461e3b6746439df4d6338dfd407b87ba608e9", [:mix], [{:gen_state_machine, "~> 2.0 or ~> 3.0", [hex: :gen_state_machine, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "1b6a5ef65dc5849bb00ec688cd22aeacfad3cf5c260b6ec1792278683fe653bb"}, + "tortoise311": {:hex, :tortoise311, "0.11.7", "29e78e6ffa153a2c0728344277e587342cf7035ee62a38dc5656d970007920f0", [:mix], [{:gen_state_machine, "~> 2.0 or ~> 3.0", [hex: :gen_state_machine, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "0ef7cf940b50ab47c433323294c9a3bb2883a03e0c7cb37de3e860c0b9ba5bef"}, "typed_struct": {:hex, :typed_struct, "0.3.0", "939789e3c1dca39d7170c87f729127469d1315dcf99fee8e152bb774b17e7ff7", [:mix], [], "hexpm", "c50bd5c3a61fe4e198a8504f939be3d3c85903b382bde4865579bc23111d1b6d"}, "tz": {:hex, :tz, "0.26.2", "a40e4bb223344c6fc7b74dda25df1f26b88a30db23fa6e55de843bd79148ccdb", [:mix], [{:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}, {:mint, "~> 1.5", [hex: :mint, repo: "hexpm", optional: true]}], "hexpm", "224b0618dd1e032778a094040bc710ef9aff6e2fa8fffc2716299486f27b9e68"}, "unicode_util_compat": {:hex, :unicode_util_compat, "0.7.0", "bc84380c9ab48177092f43ac89e4dfa2c6d62b40b8bd132b1059ecc7232f9a78", [:rebar3], [], "hexpm", "25eee6d67df61960cf6a794239566599b09e17e668d3700247bc498638152521"}, diff --git a/mix.nix b/mix.nix index c669229..179e09f 100644 --- a/mix.nix +++ b/mix.nix @@ -309,12 +309,12 @@ let tortoise311 = buildMix rec { name = "tortoise311"; - version = "0.11.6"; + version = "0.11.7"; src = fetchHex { pkg = "${name}"; version = "${version}"; - sha256 = "1fskwqznhy12g70nw2r6bk7x7ymcmqicv2661sq9p165bpv5wshv"; + sha256 = "1vsvpaww0q78wdyv6z0c7sh86a5vlg4r8cij6g24gash1faczxqf"; }; beamDeps = [ gen_state_machine telemetry ];