Update platformio libraries (#837)

* Update platformio libraries

* Lint
This commit is contained in:
Otto Winter 2019-11-05 22:28:19 +01:00
parent 1e1837000d
commit 1b35855e68
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E
4 changed files with 7 additions and 17 deletions

View file

@ -1,23 +1,13 @@
# Dummy integration to allow relying on AsyncTCP
import esphome.codegen as cg
from esphome.const import ARDUINO_VERSION_ESP32_1_0_0, ARDUINO_VERSION_ESP32_1_0_1, \
ARDUINO_VERSION_ESP32_1_0_2
from esphome.core import CORE, coroutine_with_priority
@coroutine_with_priority(200.0)
def to_code(config):
if CORE.is_esp32:
# https://github.com/me-no-dev/AsyncTCP/blob/master/library.json
versions_requiring_older_asynctcp = [
ARDUINO_VERSION_ESP32_1_0_0,
ARDUINO_VERSION_ESP32_1_0_1,
ARDUINO_VERSION_ESP32_1_0_2,
]
if CORE.arduino_version in versions_requiring_older_asynctcp:
cg.add_library('AsyncTCP', '1.0.3')
else:
cg.add_library('AsyncTCP', '1.1.1')
# https://github.com/OttoWinter/AsyncTCP/blob/master/library.json
cg.add_library('AsyncTCP-esphome', '1.1.1')
elif CORE.is_esp8266:
# https://github.com/OttoWinter/ESPAsyncTCP
cg.add_library('ESPAsyncTCP-esphome', '1.2.2')

View file

@ -155,7 +155,7 @@ def to_code(config):
yield cg.register_component(var, config)
# https://github.com/OttoWinter/async-mqtt-client/blob/master/library.json
cg.add_library('AsyncMqttClient-esphome', '0.8.3')
cg.add_library('AsyncMqttClient-esphome', '0.8.4')
cg.add_define('USE_MQTT')
cg.add_global(mqtt_ns.using)

View file

@ -23,4 +23,4 @@ def to_code(config):
if CORE.is_esp32:
cg.add_library('FS', None)
# https://github.com/OttoWinter/ESPAsyncWebServer/blob/master/library.json
cg.add_library('ESPAsyncWebServer-esphome', '1.2.5')
cg.add_library('ESPAsyncWebServer-esphome', '1.2.6')

View file

@ -10,10 +10,10 @@ include_dir = include
[common]
lib_deps =
AsyncTCP@1.1.1
AsyncMqttClient-esphome@0.8.3
AsyncTCP-esphome@1.1.1
AsyncMqttClient-esphome@0.8.4
ArduinoJson-esphomelib@5.13.3
ESPAsyncWebServer-esphome@1.2.5
ESPAsyncWebServer-esphome@1.2.6
FastLED@3.2.9
NeoPixelBus-esphome@2.5.2
ESPAsyncTCP-esphome@1.2.2