mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-12 03:07:13 +01:00
ESP8266 FS-UAP1 Control board (#1925)
Control board for Hoermann UAP1 Garage interface http://frank-schuetz.de/index.php/fhem/13-hoermann-torantrieb-mit-espeasy-in-fhem-einbinden
This commit is contained in:
committed by
Max Prokhorov
parent
25d37f1c5c
commit
bd385f9fbc
@@ -34,6 +34,7 @@
|
||||
//#define EXS_WIFI_RELAY_V50
|
||||
//#define FORNORM_ZLD_34EU
|
||||
//#define FOXEL_LIGHTFOX_DUAL
|
||||
//#define FS_UAP1
|
||||
//#define GBLIFE_RGBW_SOCKET
|
||||
//#define GENERIC_8CH
|
||||
//#define GENERIC_AG_L4
|
||||
|
||||
@@ -3875,6 +3875,40 @@
|
||||
#define HLW8012_VOLTAGE_R_DOWN ( 1000 ) // Downstream voltage resistor
|
||||
#define HLW8012_INTERRUPT_ON CHANGE
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// FS UAP1
|
||||
// http://frank-schuetz.de/index.php/fhem/13-hoermann-torantrieb-mit-espeasy-in-fhem-einbinden
|
||||
|
||||
#elif defined(FS_UAP1)
|
||||
|
||||
// Info
|
||||
#define MANUFACTURER "FS"
|
||||
#define DEVICE "UAP1"
|
||||
|
||||
// Inputs
|
||||
#define DIGITAL1_PIN 4
|
||||
#define DIGITAL2_PIN 5
|
||||
|
||||
// Relays
|
||||
#define RELAY1_PIN 12
|
||||
#define RELAY2_PIN 13
|
||||
#define RELAY3_PIN 14
|
||||
#define RELAY4_PIN 15
|
||||
|
||||
#define RELAY1_TYPE RELAY_TYPE_NORMAL
|
||||
#define RELAY2_TYPE RELAY_TYPE_NORMAL
|
||||
#define RELAY3_TYPE RELAY_TYPE_NORMAL
|
||||
#define RELAY4_TYPE RELAY_TYPE_NORMAL
|
||||
|
||||
// LEDs
|
||||
#define LED1_PIN 2
|
||||
#define LED1_PIN_INVERSE 0
|
||||
|
||||
// Disable UART noise
|
||||
#define DEBUG_SERIAL_SUPPORT 0
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// TEST boards (do not use!!)
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
@@ -1594,3 +1594,13 @@ board = ${common.board_1m}
|
||||
build_flags = ${common.build_flags_1m0m} -DETEKCITY_ESW01_USA
|
||||
upload_port = ${common.ota_upload_port}
|
||||
upload_flags = ${common.ota_upload_flags}
|
||||
|
||||
[env:fs-uap1]
|
||||
board = ${common.board_4m}
|
||||
build_flags = ${common.build_flags_4m1m} -DFS_UAP1
|
||||
|
||||
[env:fs-uap1-ota]
|
||||
board = ${common.board_4m}
|
||||
build_flags = ${common.build_flags_4m1m} -DFS_UAP1
|
||||
upload_port = ${common.ota_upload_port}
|
||||
upload_flags = ${common.ota_upload_flags}
|
||||
Reference in New Issue
Block a user