mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
Added own devices
This commit is contained in:
@@ -1,47 +0,0 @@
|
|||||||
[platformio]
|
|
||||||
; change this for your ESP8266 device
|
|
||||||
; env_default = nodemcuv2
|
|
||||||
env_default = d1_mini
|
|
||||||
|
|
||||||
[common]
|
|
||||||
platform = espressif8266
|
|
||||||
flash_mode = dout
|
|
||||||
build_flags = -g -w
|
|
||||||
;build_flags = -g -w -DBUILD_TIME=$UNIX_TIME
|
|
||||||
|
|
||||||
wifi_settings =
|
|
||||||
; hard code if you prefer. Recommendation is to set from within the app when in Serial or AP mode
|
|
||||||
;wifi_settings = '-DWIFI_SSID="XXXX"' '-DWIFI_PASSWORD="XXXX"'
|
|
||||||
|
|
||||||
lib_deps =
|
|
||||||
CRC32
|
|
||||||
CircularBuffer
|
|
||||||
JustWifi
|
|
||||||
AsyncMqttClient
|
|
||||||
ArduinoJson
|
|
||||||
OneWire
|
|
||||||
|
|
||||||
[env:nodemcuv2]
|
|
||||||
board = nodemcuv2
|
|
||||||
platform = ${common.platform}
|
|
||||||
framework = arduino
|
|
||||||
lib_deps = ${common.lib_deps}
|
|
||||||
build_flags = ${common.build_flags} ${common.wifi_settings}
|
|
||||||
board_build.flash_mode = ${common.flash_mode}
|
|
||||||
upload_speed = 921600
|
|
||||||
monitor_speed = 115200
|
|
||||||
upload_port = ems-esp.local
|
|
||||||
;upload_port = 10.10.10.6
|
|
||||||
|
|
||||||
[env:d1_mini]
|
|
||||||
board = d1_mini
|
|
||||||
platform = ${common.platform}
|
|
||||||
framework = arduino
|
|
||||||
lib_deps = ${common.lib_deps}
|
|
||||||
build_flags = ${common.build_flags} ${common.wifi_settings}
|
|
||||||
board_build.flash_mode = ${common.flash_mode}
|
|
||||||
upload_speed = 921600
|
|
||||||
monitor_speed = 115200
|
|
||||||
upload_port = ems-esp.local
|
|
||||||
;upload_port = 10.10.10.6
|
|
||||||
|
|
||||||
@@ -120,9 +120,9 @@ const _Boiler_Type Boiler_Types[] = {
|
|||||||
{EMS_MODEL_UBA, 125, 0x09, "BC25 Base Controller"},
|
{EMS_MODEL_UBA, 125, 0x09, "BC25 Base Controller"},
|
||||||
{EMS_MODEL_UBA, 68, 0x09, "RFM20 Receiver"},
|
{EMS_MODEL_UBA, 68, 0x09, "RFM20 Receiver"},
|
||||||
{EMS_MODEL_UBA, 95, 0x08, "Bosch Condens 2500"},
|
{EMS_MODEL_UBA, 95, 0x08, "Bosch Condens 2500"},
|
||||||
|
{EMS_MODEL_UBA, 205, 0x02, "Nefit Moduline Easy Connect"},
|
||||||
{EMS_MODEL_UBA, 251, 0x21, "MM10 Mixer Module"}, // warning, fake product id!
|
{EMS_MODEL_UBA, 251, 0x21, "MM10 Mixer Module"}, // warning, fake product id!
|
||||||
{EMS_MODEL_UBA, 250, 0x11, "WM10 Switch Module"}, // warning, fake product id!
|
{EMS_MODEL_UBA, 250, 0x11, "WM10 Switch Module"}, // warning, fake product id!
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -139,6 +139,7 @@ const _Thermostat_Type Thermostat_Types[] = {
|
|||||||
{EMS_MODEL_EASY, 202, 0x18, "TC100/Nefit Easy", EMS_THERMOSTAT_READ_YES, EMS_THERMOSTAT_WRITE_NO},
|
{EMS_MODEL_EASY, 202, 0x18, "TC100/Nefit Easy", EMS_THERMOSTAT_READ_YES, EMS_THERMOSTAT_WRITE_NO},
|
||||||
{EMS_MODEL_BOSCHEASY, 206, 0x02, "Bosch Easy", EMS_THERMOSTAT_READ_YES, EMS_THERMOSTAT_WRITE_NO},
|
{EMS_MODEL_BOSCHEASY, 206, 0x02, "Bosch Easy", EMS_THERMOSTAT_READ_YES, EMS_THERMOSTAT_WRITE_NO},
|
||||||
{EMS_MODEL_RC310, 158, 0x10, "RC310", EMS_THERMOSTAT_READ_NO, EMS_THERMOSTAT_WRITE_NO},
|
{EMS_MODEL_RC310, 158, 0x10, "RC310", EMS_THERMOSTAT_READ_NO, EMS_THERMOSTAT_WRITE_NO},
|
||||||
{EMS_MODEL_CW100, 255, 0x18, "Bosch CW100", EMS_THERMOSTAT_READ_NO, EMS_THERMOSTAT_WRITE_NO}
|
{EMS_MODEL_CW100, 255, 0x18, "Bosch CW100", EMS_THERMOSTAT_READ_NO, EMS_THERMOSTAT_WRITE_NO},
|
||||||
|
{EMS_MODEL_RC10, 165, 0x02, "RC10/Nefit Moduline 1010)", EMS_THERMOSTAT_READ_YES, EMS_THERMOSTAT_WRITE_YES},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user