mirror of https://github.com/arendst/Tasmota.git
Prep RC522 rfid reader
This commit is contained in:
parent
7be7d96de6
commit
0614906e03
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -729,6 +729,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC - RX"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD - Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD - Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 - Reset"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "А"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "А"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "A"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "安"
|
||||
|
|
|
@ -733,6 +733,7 @@
|
|||
#define D_SENSOR_MIEL_HVAC_RX "MiEl HVAC Rx"
|
||||
#define D_SENSOR_SHELLY_DIMMER_BOOT0 "SHD Boot 0"
|
||||
#define D_SENSOR_SHELLY_DIMMER_RST_INV "SHD Reset"
|
||||
#define D_SENSOR_RC522_RST "RC522 Rst"
|
||||
|
||||
// Units
|
||||
#define D_UNIT_AMPERE "安培"
|
||||
|
|
|
@ -128,6 +128,7 @@ enum UserSelectablePins {
|
|||
GPIO_WE517_TX, GPIO_WE517_RX, // ORNO WE517 Serial interface
|
||||
GPIO_AS608_TX, GPIO_AS608_RX, // Serial interface AS608 / R503
|
||||
GPIO_SHELLY_DIMMER_BOOT0, GPIO_SHELLY_DIMMER_RST_INV,
|
||||
GPIO_RC522_RST, // RC522 reset
|
||||
GPIO_SENSOR_END };
|
||||
|
||||
enum ProgramSelectablePins {
|
||||
|
@ -235,7 +236,8 @@ const char kSensorNames[] PROGMEM =
|
|||
D_SENSOR_MIEL_HVAC_TX "|" D_SENSOR_MIEL_HVAC_RX "|"
|
||||
D_SENSOR_WE517_TX "|" D_SENSOR_WE517_RX "|"
|
||||
D_SENSOR_AS608_TX "|" D_SENSOR_AS608_RX "|"
|
||||
D_SENSOR_SHELLY_DIMMER_BOOT0 "|" D_SENSOR_SHELLY_DIMMER_RST_INV
|
||||
D_SENSOR_SHELLY_DIMMER_BOOT0 "|" D_SENSOR_SHELLY_DIMMER_RST_INV "|"
|
||||
D_SENSOR_RC522_RST
|
||||
;
|
||||
|
||||
const char kSensorNamesFixed[] PROGMEM =
|
||||
|
@ -605,6 +607,9 @@ const uint16_t kGpioNiceList[] PROGMEM = {
|
|||
AGPIO(GPIO_MIEL_HVAC_TX), // Mitsubishi Electric HVAC TX pin
|
||||
AGPIO(GPIO_MIEL_HVAC_RX), // Mitsubishi Electric HVAC RX pin
|
||||
#endif
|
||||
#ifdef USE_RC522
|
||||
AGPIO(GPIO_RC522_RST), // RC522 Rfid reset
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------------------------------------------*\
|
||||
* ESP32 specifics
|
||||
|
|
Loading…
Reference in New Issue