Commit Graph

3991 Commits

Author SHA1 Message Date
gemu2015
e96bf9af4e updata tasmota serial, add sml driver 2019-08-27 15:33:09 +02:00
Theo Arends
022df89950
Merge pull request #6296 from shantur/tuya-serial-fixes
More Tuya support
2019-08-27 14:39:09 +02:00
Theo Arends
3af4b2ec08
Merge pull request #6297 from s-hadinger/fix_no_use_light
Fix Would not compile if USE_LIGHT not defined
2019-08-27 14:20:25 +02:00
Shantur Rathore
231a1ba137 Tuya Serial: Add support for power metering
Capable Tuya serial devices send power metering data over serial interface. User needs to identify the ids of all power metering functions and set as
SetOption44 -> Voltage
SetOption45 -> Current
SetOption46 -> Power
2019-08-27 10:50:34 +01:00
Shantur Rathore
579f68cf2f Tuya Dimmer: Add support for dimmers with max 24
New Tuya Dimmer has dim values from 0 to 24. Currently the code expects it to be 0-100 or 0-255.
With this change we move the flag to a param and use that to calculate correct dim percentage.

This change also makes sure to update settings on version upgrade.
2019-08-27 10:46:27 +01:00
Stephan Hadinger
0cb49214e4 Fix Would not compile if USE_LIGHT not defined 2019-08-27 10:02:25 +02:00
Theo Arends
0ef45c1fa3 Add IsDst()
Add IsDst()
2019-08-25 17:31:27 +02:00
Theo Arends
427dee028d Fix compile error
Fix compile error
2019-08-25 17:30:12 +02:00
Theo Arends
43c3d3611d Prep domoticz for P1 smart meter
Prep domoticz for P1 smart meter
2019-08-25 16:25:38 +02:00
Theo Arends
459101ee3a Add translation
Add translation
2019-08-25 16:19:23 +02:00
Theo Arends
6c905b65a4 Expand Settings area to 4k for future use
Expand Settings area to 4k for future use
2019-08-25 14:58:45 +02:00
Theo Arends
dc76792b5f Bump version to 6.6.0.7
Bump version to 6.6.0.7
2019-08-25 12:41:00 +02:00
Theo Arends
28eb6d7661 Integrate ibeacon 2019-08-25 12:29:48 +02:00
Theo Arends
87ca95f5eb
Merge pull request #6288 from gemu2015/ibeacon
ibeacon added
2019-08-25 10:41:25 +02:00
Theo Arends
6d9839a23c
Merge pull request #6287 from Jason2866/patch-2
Use pre 2.6 as default
2019-08-25 10:35:04 +02:00
gemu2015
f6503ca01d Update xsns_52_ibeacon.ino 2019-08-24 15:56:28 +02:00
gemu2015
3b30ba8810 ibeacon added 2019-08-24 13:20:00 +02:00
Jason2866
4b506eddee
Use pre 2.6 as default
After some weeks of testing (and fixing the mqtt lag issue BIG THX @ascillato ) it is stated, pre 2.6 core is better than core 2.5.2.
The pre core 2.6 differs from main Arduino repo. Two additional PRs added (PR which frees >600 bytes iram and PR which fixes mqtt lag)  
Main benefit core pre 2.6. fixes mqtt reconnects of cores 2.4.x. and 2.5.x
2019-08-24 12:30:19 +02:00
Theo Arends
5cb863d35b Restore define USE_DISPLAY_EPAPER_42
Restore define USE_DISPLAY_EPAPER_42
2019-08-23 17:33:30 +02:00
Theo Arends
e2b71af4df
Merge pull request #6284 from shantur/tuya-serial-fixes
Tuya serial dimmer and switch fixes
2019-08-23 17:17:33 +02:00
Shantur Rathore
92a6f6672c Tuya Fix: Dimmer doesn't switch on from HASS
Tuya serial dimmer doesn't switch on from HASS because when powered off, HASS sends dimmer command.
Internally, dimmer update and power command are sent too quickly to serial out and switch doesn't turn on.
Adding a delay fixes things.
2019-08-23 10:02:24 +01:00
Shantur Rathore
9fb804b426 Fix: Tuya Switches are detected as dimmers.
Tuya switches are detected as dimmers even after setting SetOption65 to 1.
Currently SetOption65 just hides the dimmer from Web UI for Tuya switches with SetOption65 to 1 but they are advertised as dimmer to HASS.
With this change we set light_type to LT_BASIC (on/off) instead of LT_SERIAL1 (dimmable) when option 65 is set.
2019-08-23 10:02:24 +01:00
Shantur Rathore
1c7fd88ec4 Tuya: Rename tuya_show_dimmer to tuya_disable_dimmer to make the option clear.
By default the option is set to 0 in which case the tuya serial will act as dimmer
When its set to 1 tuya serial will disable dimmer functions.
2019-08-23 10:02:24 +01:00
Theo Arends
1da6cd0ae0
Merge pull request #6283 from gemu2015/display-update
display update
2019-08-23 10:49:12 +02:00
gemu2015
8c3c3f1709 display update 2019-08-23 10:26:09 +02:00
Theo Arends
3fe57e0841
Merge pull request #6281 from s-hadinger/fix_6238
Fix Hue Emulation not responding on /resourcelinks, issue #6238
2019-08-22 21:16:19 +02:00
Stephan Hadinger
993216c8c6 Fix Hue Emulation not responding on /resourcelinks, issue #6238 2019-08-22 19:13:14 +02:00
Theo Arends
944cf3877f Final fix buffer dump
Final fix buffer dump
2019-08-22 12:36:13 +02:00
Theo Arends
5ddd5633ff Fix watchdog restarts due to buffer overflow
Fix watchdog restarts due to buffer overflow (#6266)
2019-08-22 10:54:12 +02:00
Theo Arends
c7b61db0c9
Merge pull request #6275 from Jason2866/patch-1
Update .gitpod.yml
2019-08-21 22:16:02 +02:00
Jason2866
b871e779c8
Update .gitpod.yml
No problems with actual platformio v.4.0
2019-08-21 21:53:24 +02:00
Theo Arends
c2474f8d5d Quick fix MHZ19 watchdog reset
Quick fix MHZ19 watchdog reset (#6266)
2019-08-21 09:44:34 +02:00
Theo Arends
86b6dc7ecb Fix warning
Fix warning
2019-08-20 12:17:21 +02:00
Theo Arends
1bd4b1900e Document display libraries
Document display libraries
2019-08-20 12:15:56 +02:00
Theo Arends
e04bea8768
Merge pull request #6262 from s-hadinger/fix_http_head
Renamed HTTP_HEAD to HTTP_HEADER
2019-08-20 09:29:16 +02:00
Theo Arends
c17bdb028b
Merge pull request #6264 from shantur/development
Fix: Legacy Led1 doesn't power up with Relay1.
2019-08-20 09:28:40 +02:00
Shantur Rathore
e9475592b3 Fix: Legacy Led1 doesn't power up with Relay1.
https://github.com/arendst/Sonoff-Tasmota/pull/6246 broke Legacy Led1 power up logic. Make sure the if statement matches the if statement before #6246
2019-08-19 21:04:27 +01:00
Stephan Hadinger
a49c416c81 Renamed HTTP_HEAD to HTTP_HEADER 2019-08-19 21:14:58 +02:00
Theo Arends
5f6a87c7c0 Update libraries and fix SSD1306 power control
Update libraries and fix SSD1306 power control
2019-08-19 18:17:44 +02:00
Theo Arends
42c8ac61e8 Bump version to 6.6.0.6
Bump version to 6.6.0.6
2019-08-19 17:09:31 +02:00
Theo Arends
b6e95e818c Add new display driver defines
Add new display driver defines
2019-08-19 16:58:24 +02:00
Theo Arends
e8f28740a7 Display fixes part 1
Display fixes part 1
2019-08-19 16:49:20 +02:00
Theo Arends
45cc7521f9
Merge pull request #6260 from gemu2015/more-displays
More displays
2019-08-19 16:33:45 +02:00
Theo Arends
15d2745e3b
Merge pull request #6259 from curzon01/development
decode-config.py: adapt settings
2019-08-19 13:48:21 +02:00
Norbert Richter
aecb7fa1a9 decode-config.py: adapt settings
- add Setoption69 (tuya_dimmer_min_limit)
- add WebSensor (sensors[])
2019-08-19 13:40:06 +02:00
gemu2015
eb7ca618c7 display update 2019-08-19 13:38:14 +02:00
gemu2015
cb0de03df7 update displays 2019-08-19 13:21:54 +02:00
Theo Arends
33aa430f64 Add support for RDM6300 125kHz RFID Reader by Gerhard Mutz
Add support for RDM6300 125kHz RFID Reader by Gerhard Mutz
2019-08-19 11:47:59 +02:00
Theo Arends
347ebe5e0d
Merge pull request #6258 from gemu2015/rdm6300
rdm6300 support
2019-08-19 11:22:50 +02:00
Theo Arends
7d690dcc1b Gain a little code space on WebSend response
Gain a little code space on WebSend response
2019-08-19 11:21:00 +02:00