diff --git a/README.md b/README.md index 88755b9e3..c2e18f479 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## Sonoff-Tasmota Provide ESP8266 based Sonoff by [iTead Studio](https://www.itead.cc/) and ElectroDragon IoT Relay with Serial, Web and MQTT control allowing 'Over the Air' or OTA firmware updates using Arduino IDE. -Current version is **5.8.0d** - See [sonoff/_releasenotes.ino](https://github.com/arendst/Sonoff-Tasmota/blob/development/sonoff/_releasenotes.ino) for change information. +Current version is **5.8.0e** - See [sonoff/_releasenotes.ino](https://github.com/arendst/Sonoff-Tasmota/blob/development/sonoff/_releasenotes.ino) for change information. ### ATTENTION All versions diff --git a/sonoff/_releasenotes.ino b/sonoff/_releasenotes.ino index fa0ce80fd..b7710deab 100644 --- a/sonoff/_releasenotes.ino +++ b/sonoff/_releasenotes.ino @@ -1,4 +1,8 @@ -/* 5.8.0d +/* 5.8.0e + * Add Domoticz counter sensor to Sonoff Bridge representing Received RF code (#943) + * Add support for Luani HVIO board (https://luani.de/projekte/esp8266-hvio/) (#953) + * + * 5.8.0d * Remove previous GPIO configuration when another module is selected * Fix inverted relay power on state (#909) * Change default PWM assignments for H801 RGB(CW) led controller to support optional Color/Dimmer control diff --git a/sonoff/sonoff.ino b/sonoff/sonoff.ino index c67c00db4..628cb1f27 100644 --- a/sonoff/sonoff.ino +++ b/sonoff/sonoff.ino @@ -25,7 +25,7 @@ - Select IDE Tools - Flash Size: "1M (no SPIFFS)" ====================================================*/ -#define VERSION 0x05080004 // 5.8.0d +#define VERSION 0x05080005 // 5.8.0e enum week_t {Last, First, Second, Third, Fourth}; enum dow_t {Sun=1, Mon, Tue, Wed, Thu, Fri, Sat}; diff --git a/sonoff/sonoff_template.h b/sonoff/sonoff_template.h index 940b45071..ef9e870fd 100644 --- a/sonoff/sonoff_template.h +++ b/sonoff/sonoff_template.h @@ -160,6 +160,7 @@ enum module_t { WITTY, YUNSHAN, MAGICHOME, + LUANIHVIO, MAXMODULE }; /********************************************************************************************/ @@ -202,6 +203,7 @@ const uint8_t nicelist[MAXMODULE] PROGMEM = { ELECTRODRAGON, EXS_RELAY, SUPLA1, + LUANIHVIO, YUNSHAN, WION, H801, @@ -664,6 +666,21 @@ const mytmplt modules[MAXMODULE] PROGMEM = { GPIO_USER, // GPIO13 RGBW LED White (optional - set to PWM4 for Cold White or Warm White) GPIO_PWM1, // GPIO14 RGB LED Red 0, 0, 0 + }, + { "Luani HVIO", // ESP8266_HVIO - https://luani.de/projekte/esp8266-hvio/ + 0, // GPIO00 Flash jumper + GPIO_USER, // GPIO01 Serial RXD and Optional sensor + GPIO_USER, // GPIO02 Optional sensor / I2C SDA pad + GPIO_USER, // GPIO03 Serial TXD and Optional sensor + GPIO_REL1, // GPIO04 Relay 1 (0 = Off, 1 = On) + GPIO_REL2, // GPIO05 Relay 2 (0 = Off, 1 = On) + 0, 0, 0, 0, 0, 0, // Flash connection + GPIO_SWT1, // GPIO12 External input 1 (0 = On, 1 = Off) + GPIO_SWT2, // GPIO13 External input 2 (0 = On, 1 = Off) + GPIO_USER, // GPIO14 Optional sensor / I2C SCL pad + GPIO_LED1, // GPIO15 Led (1 = On, 0 = Off) + 0, + GPIO_ADC0 // ADC0 A0 Analog input } }; diff --git a/sonoff/xdrv_domoticz.ino b/sonoff/xdrv_domoticz.ino index fcd514673..98a64f0eb 100644 --- a/sonoff/xdrv_domoticz.ino +++ b/sonoff/xdrv_domoticz.ino @@ -19,8 +19,6 @@ #ifdef USE_DOMOTICZ -#define DOMOTICZ_MAX_SENSORS 8 - #ifdef USE_WEBSERVER const char HTTP_FORM_DOMOTICZ[] PROGMEM = "