Skip to content

Commit

Permalink
v3.9.4
Browse files Browse the repository at this point in the history
3.9.4 20170127
* Fix Sonoff Dual Relay switching (arendst#287)
* Add confirmation before Restart via webpage
* Expand Domoticz Configuration webpage with Key, Switch and Sensor
Index and
*   add commands DomoticzSwitchIdx and DomoticzSensorIdx (arendst#86) (arendst#174)
(arendst#219)
* Fix default DHT11 sensor driver selection
* Fix LedPower status after button press (arendst#279)
* Add command Sleep 0 - 250 mSec for optional light sleep mode to lower
energy consumption (arendst#272)
*   (Expect overall button/key/switch misses and wrong values on Sonoff
Pow)
* Add Hue brightness extension (arendst#281)
* Fix Hue brightness and change to call by reference (arendst#283)
  • Loading branch information
arendst committed Jan 27, 2017
1 parent 7088970 commit d8d4a73
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion next_gen/sonoff/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Sonoff-MQTT-OTA-Arduino - TASMOTA NextGen
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 **3.9.3** - See ```_releasenotes.ino``` for change information.
Current version is **3.9.4** - See ```_releasenotes.ino``` for change information.

- This version provides all (Sonoff) modules in one file and starts up with Sonoff Basic.
- Once uploaded select module using the configuration webpage or the commands ```Modules``` and ```Module```.
Expand Down
5 changes: 4 additions & 1 deletion next_gen/sonoff/_releasenotes.ino
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* 3.9.3 20170127
/* 3.9.4 20170127
* Fix Sonoff Dual Relay switching (#287)
*
* 3.9.3 20170127
* Add confirmation before Restart via webpage
* Expand Domoticz Configuration webpage with Key, Switch and Sensor Index and
* add commands DomoticzSwitchIdx and DomoticzSensorIdx (#86) (#174) (#219)
Expand Down
4 changes: 2 additions & 2 deletions next_gen/sonoff/sonoff.ino
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* ====================================================
*/

#define VERSION 0x03090300 // 3.9.3
#define VERSION 0x03090400 // 3.9.4

enum log_t {LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_DEBUG, LOG_LEVEL_DEBUG_MORE, LOG_LEVEL_ALL};
enum week_t {Last, First, Second, Third, Fourth};
Expand Down Expand Up @@ -2611,7 +2611,7 @@ void GPIO_init()

swt_flg = ((pin[GPIO_SWT1] < 99) || (pin[GPIO_SWT2] < 99) || (pin[GPIO_SWT3] < 99) || (pin[GPIO_SWT4] < 99));

if ((sysCfg.module == SONOFF_DUAL) && (sysCfg.module == CH4)) {
if ((sysCfg.module == SONOFF_DUAL) || (sysCfg.module == CH4)) {
Baudrate = 19200;
} else {
if (sysCfg.module == SONOFF_LED) {
Expand Down

0 comments on commit d8d4a73

Please sign in to comment.