diff --git a/CHANGELOG.md b/CHANGELOG.md index 8762f4b97..7ed373e37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file. - Allow MCP230xx pinmode from output to input (#11104) - SML VBUS support (#11125) - Command ``Sensor80 1 <0..7>`` to control MFRC522 RFID antenna gain from 18dB (0) to 48dB (7) (#11073) +- Support for NEC and OPTOMA LCD/DLP Projector serial power control by Jan Bubík (#11145) ### Changed - TuyaMcu dimmer timeout (#11121) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index aebea7960..be8fe4f20 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -80,9 +80,10 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota ## Changelog v9.3.1.1 ### Added -- Allow MCP230xx pinmode from output to input [#11104](https://github.com/arendst/Tasmota/issues/11104) -- SML VBUS support [#11125](https://github.com/arendst/Tasmota/issues/11125) - Command ``Sensor80 1 <0..7>`` to control MFRC522 RFID antenna gain from 18dB (0) to 48dB (7) [#11073](https://github.com/arendst/Tasmota/issues/11073) +- Support for SML VBUS [#11125](https://github.com/arendst/Tasmota/issues/11125) +- Support for NEC and OPTOMA LCD/DLP Projector serial power control by Jan Bubík [#11145](https://github.com/arendst/Tasmota/issues/11145) +- Allow MCP230xx pinmode from output to input [#11104](https://github.com/arendst/Tasmota/issues/11104) ### Changed - TuyaMcu dimmer timeout [#11121](https://github.com/arendst/Tasmota/issues/11121) diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index 188d09343..33ced12ed 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -677,9 +677,9 @@ #define USE_TASMOTA_CLIENT_SERIAL_SPEED 57600 // Depends on the sketch that is running on the Uno/Pro Mini //#define USE_OPENTHERM // Add support for OpenTherm (+15k code) //#define USE_MIEL_HVAC // Add support for Mitsubishi Electric HVAC serial interface (+5k code) -//#define USE_PROJECTOR_CTRL // Add support for LCD/DLP Projector serial control interface (+1k code) -//#define USE_PROJECTOR_CTRL_NEC // Use codes for NEC -//#define USE_PROJECTOR_CTRL_OPTOMA // Use codes for OPTOMA +//#define USE_PROJECTOR_CTRL // Add support for LCD/DLP Projector serial control interface (+2k code) +// #define USE_PROJECTOR_CTRL_NEC // Use codes for NEC +// #define USE_PROJECTOR_CTRL_OPTOMA // Use codes for OPTOMA //#define USE_AS608 // Add support for AS608 optical and R503 capacitive fingerprint sensor (+3k code) // #define USE_AS608_MESSAGES // Add verbose error messages (+0k4 code) diff --git a/tasmota/tasmota_configurations.h b/tasmota/tasmota_configurations.h index 3838c6126..c4956bdbd 100644 --- a/tasmota/tasmota_configurations.h +++ b/tasmota/tasmota_configurations.h @@ -178,9 +178,9 @@ //#define USE_TASMOTA_CLIENT // Add support for Arduino Uno/Pro Mini via serial interface including flashing (+2k3 code, 44 mem) //#define USE_OPENTHERM // Add support for OpenTherm (+15k code) //#define USE_MIEL_HVAC // Add support for Mitsubishi Electric HVAC serial interface (+5k code) -//#define USE_PROJECTOR_CTRL // Add support for LCD/DLP Projector serial control interface (+1k code) -//#define USE_PROJECTOR_CTRL_NEC // Use codes for NEC -//#define USE_PROJECTOR_CTRL_OPTOMA // Use codes for OPTOMA +//#define USE_PROJECTOR_CTRL // Add support for LCD/DLP Projector serial control interface (+2k code) +// #define USE_PROJECTOR_CTRL_NEC // Use codes for NEC +// #define USE_PROJECTOR_CTRL_OPTOMA // Use codes for OPTOMA //#define USE_AS608 // Add support for AS608 optical and R503 capacitive fingerprint sensor (+3k4 code) #define USE_ENERGY_SENSOR // Add energy sensors (-14k code) @@ -436,7 +436,6 @@ #undef USE_MIEL_HVAC // Disable support for Mitsubishi Electric HVAC serial interface (+5k code) #undef USE_PROJECTOR_CTRL // Disable support for LCD/DLP Projector serial control interface - #undef USE_DHT // Disable support for DHT11, AM2301 (DHT21, DHT22, AM2302, AM2321) and SI7021 Temperature and Humidity sensor #undef USE_MAX31855 // Disable MAX31855 K-Type thermocouple sensor using softSPI #undef USE_MAX31865 // Disable support for MAX31865 RTD sensors using softSPI diff --git a/tasmota/xdrv_53_projector_ctrl.ino b/tasmota/xdrv_53_projector_ctrl.ino index 5b3e6849a..7f0c28bf5 100644 --- a/tasmota/xdrv_53_projector_ctrl.ino +++ b/tasmota/xdrv_53_projector_ctrl.ino @@ -27,6 +27,10 @@ #define XDRV_53 53 +#ifndef USE_PROJECTOR_CTRL_NEC +#define USE_PROJECTOR_CTRL_NEC // Use at least one projector +#endif + #define nitems(_a) (sizeof((_a)) / sizeof((_a)[0])) #define xxstr(s) xstr(s) #define xstr(s) #s