[DISC] Add runtime configuration for OpenHAB (#1658)
* [DISC] Add runtime configuration for OpenHAB Add an MQTT configurable system key "ohdiscovery" for OpenHAB auto discovery * Docs and environments update
This commit is contained in:
1 parent
4a28f491f5
commit
6e23ca029b
11 files changed
+83
-128
No files matched your search
@@ -239,23 +239,6 @@ build_flags =
|
||||
'-DGateway_Name="OMG_ESP32_BLE"'
|
||||
custom_description = Regular BLE gateway with adaptive scanning activated, automatically adapts the scan parameters depending on your devices
|
||||
|
||||
[env:esp32dev-ble-openhab]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32dev
|
||||
board_build.partitions = min_spiffs.csv
|
||||
lib_deps =
|
||||
${com-esp32.lib_deps}
|
||||
${libraries.ble}
|
||||
${libraries.decoder}
|
||||
build_flags =
|
||||
${com-esp32.build_flags}
|
||||
'-DZgatewayBT="BT"'
|
||||
'-DLED_SEND_RECEIVE=2'
|
||||
'-DLED_SEND_RECEIVE_ON=0'
|
||||
'-DOpenHABDiscovery=true'
|
||||
'-DGateway_Name="OMG_ESP32_BLE_OH"'
|
||||
custom_description = BLE gateway with OpenHAB discovery and adaptive scanning activated, automatically adapts the scan parameters depending on your devices
|
||||
|
||||
[env:esp32dev-ble-mqtt-undecoded]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32dev
|
||||
@@ -1222,18 +1205,6 @@ build_flags =
|
||||
'-DGateway_Name="OMG_TEST_MANUAL_WIFI"'
|
||||
board_build.flash_mode = dout
|
||||
|
||||
[env:openhab-test]
|
||||
platform = ${com.esp8266_platform}
|
||||
board = nodemcuv2
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
${libraries.wifimanager8266}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DOpenHABDiscovery=true'
|
||||
'-DGateway_Name="OMG_TEST_OPENHAB"'
|
||||
board_build.flash_mode = dout
|
||||
|
||||
[env:nodemcuv2-mqtt-fw-test]
|
||||
platform = ${com.esp8266_platform}
|
||||
board = nodemcuv2
|
||||
|
||||
Reference in new issue
Block a user