Ignore SensorReadings created by `read_pin`

pull/678/head
connor rigby 2019-01-16 08:33:43 -08:00 committed by Connor Rigby
parent 620a6a56f7
commit fc00c6ad48
2 changed files with 3 additions and 2 deletions

View File

@ -156,7 +156,7 @@ defmodule Farmbot.BotState.Transport.AMQP do
handle_celery_script(payload, state)
{:noreply, [], state}
["bot", ^device, "sync", resource, _]
when resource in ["Log", "User", "Image", "WebcamFeed"] ->
when resource in ["Log", "User", "Image", "WebcamFeed", "SensorReading"] ->
{:noreply, [], state}
["bot", ^device, "sync", "FbosConfig", id] ->
handle_fbos_config(id, payload, state)

View File

@ -163,7 +163,8 @@ defmodule Farmbot.Mixfile do
{:nerves_time, "~> 0.2"},
{:nerves_network, "~> 0.5"},
# {:nerves_wpa_supplicant, "~> 0.5"},
{:nerves_wpa_supplicant, github: "nerves-project/nerves_wpa_supplicant", branch: "eap-notifs", override: true},
{:nerves_wpa_supplicant,
github: "nerves-project/nerves_wpa_supplicant", branch: "eap-notifs", override: true},
{:dhcp_server, "~> 0.6"},
{:elixir_ale, "~> 1.1"},
{:mdns, "~> 1.0"}