Add support for weather stations (#532)
* Add support for weather stations * Add configuration for ESP8266
This commit is contained in:
1 parent
aeb00c4a7a
commit
4115f2a723
5 files changed
+251
No files matched your search
@@ -33,6 +33,7 @@ extra_configs =
|
||||
;default_envs = esp32dev-all
|
||||
;default_envs = esp32dev-rf
|
||||
;default_envs = esp32dev-pilight
|
||||
;default_envs = esp32dev-weatherstation
|
||||
;default_envs = esp32dev-ir
|
||||
;default_envs = esp32dev-ble
|
||||
;default_envs = esp32-m5stick-ble
|
||||
@@ -43,6 +44,7 @@ extra_configs =
|
||||
;default_envs = rf-wifi-gateway
|
||||
;default_envs = nodemcuv2-rf2
|
||||
;default_envs = nodemcuv2-pilight
|
||||
;default_envs = nodemcuv2-weatherstation
|
||||
;default_envs = nodemcuv2-ir
|
||||
;default_envs = nodemcuv2-ble
|
||||
;default_envs = nodemcuv2-all
|
||||
@@ -67,6 +69,7 @@ irremoteesp = IRremoteESP8266@2.7.0
|
||||
irremote = IRremote
|
||||
lora = sandeepmistry/arduino-LoRa#f4a1d27
|
||||
esppilight = ESPiLight@0.16.2
|
||||
rfWeatherStation = WeatherStationDataRx@0.3.0
|
||||
rfm69 = RFM69@4a6f77ad47
|
||||
dht = DHT sensor library@1.3.0
|
||||
unifiedsensor = Adafruit Unified Sensor@1.0.2
|
||||
@@ -209,6 +212,17 @@ build_flags =
|
||||
'-DZgatewayPilight="Pilight"'
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP32_RF"'
|
||||
|
||||
[env:esp32dev-weatherstation]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32dev
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
${libraries.rfWeatherStation}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DZgatewayWeatherStation="WeatherStation"'
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP32_WeatherStation"'
|
||||
|
||||
[env:esp32dev-ir]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32dev
|
||||
@@ -433,6 +447,19 @@ build_flags =
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP8266_Pilight"'
|
||||
board_build.flash_mode = dout
|
||||
|
||||
[env:nodemcuv2-weatherstation]
|
||||
platform = ${com.esp8266_platform}
|
||||
board = nodemcuv2
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
${libraries.rfWeatherStation}
|
||||
${libraries.esp8266_mdns}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DZgatewayWeatherStation="WeatherStationDataRx"'
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP8266_RF3"'
|
||||
board_build.flash_mode = dout
|
||||
|
||||
[env:sonoff-basic]
|
||||
platform = ${com.esp8266_platform}
|
||||
board = esp8285
|
||||
|
||||
Reference in new issue
Block a user