Theo Arends
29e990dd23
Remove obsolete code
2020-11-13 14:23:16 +01:00
Stephan Hadinger
5f494b7d8a
Remove compiler warnings
2020-11-12 19:38:21 +01:00
Theo Arends
fa7fdbd51a
Consolidate `AddLog_P`
...
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Theo Arends
488a360d5b
Fixed NTP fallback server functionality
...
Fixed NTP fallback server functionality (#9739 )
2020-11-06 15:22:03 +01:00
Theo Arends
404e34df36
Fix ESP32 serial issues
2020-10-31 17:53:12 +01:00
Theo Arends
57a3e7f88c
Fix ESP32 issues
2020-10-31 17:28:33 +01:00
Theo Arends
604a03e617
Fix ESP32 serial reconfig
...
Fix ESP32 serial reconfig (#9664 )
2020-10-30 18:27:34 +01:00
Theo Arends
af5082320d
Use global struct
2020-10-30 12:29:48 +01:00
Theo Arends
e59bfc1d69
Use global struct
2020-10-29 13:58:50 +01:00
Theo Arends
280f0a9de7
Use global struct
2020-10-29 13:37:09 +01:00
Theo Arends
3bebfb32d3
Use global struct
2020-10-29 12:21:24 +01:00
Christopher Tremblay
4a8bc0841e
Add support for EZO PRS
...
Adds support for EZO PRS sensors
2020-10-29 02:34:44 -07:00
Theo Arends
f1ac7b2d67
Use global struct
2020-10-28 19:03:39 +01:00
Theo Arends
b93b719108
Use global struct
2020-10-28 17:32:07 +01:00
Theo Arends
66f5d5d180
Prep global struct
2020-10-28 11:48:57 +01:00
Theo Arends
f2d1785701
Fix GCC 10.1 compile errors
2020-10-22 15:23:22 +02:00
Theo Arends
f79ed4464e
Fix MQTT data corruption on ``MQTTLog 4`
...
Fix MQTT data corruption on ``MQTTLog 4`` (#9571 )
2020-10-19 12:39:27 +02:00
Theo Arends
7bc8956d86
Changed management of serial baudrate
...
Changed management of serial baudrate (#9554 )
2020-10-16 15:18:16 +02:00
Theo Arends
5ec972376c
Consolidate function RemoveSpace
2020-10-10 17:00:37 +02:00
Theo Arends
70d49d210b
Remove ctrlchars from mqtt log message
2020-10-10 16:44:35 +02:00
Theo Arends
490e7d838e
Fix Template using ``#define USER_TEMPLATE``
...
Fix Template using ``#define USER_TEMPLATE`` (#9506 )
2020-10-10 12:20:15 +02:00
Theo Arends
82e74b369f
Add additional chk before converting template
2020-10-04 15:46:20 +02:00
Theo Arends
73ad5706c3
Fix template conversion when GPIO17 is 0
2020-10-04 12:46:06 +02:00
Theo Arends
6f790c0bb0
Add support for GPIO_ANY
2020-10-03 15:06:52 +02:00
Theo Arends
b51ee2aa22
Update template using JSMN
2020-09-30 15:26:46 +02:00
Theo Arends
7a73dd7019
Merge branch 'development' into dev-gpio16
2020-09-30 14:54:29 +02:00
Theo Arends
1ae9adc642
Change redesigning ESP8266 GPIO internal numbering
...
Change redesigning ESP8266 GPIO internal numbering in line with ESP32
2020-09-30 14:19:18 +02:00
Theo Arends
c00d7035d9
Redesign GPIO to 16-bit
2020-09-29 18:10:21 +02:00
Theo Arends
895ed2d041
Redesign GPIO to 16-bit
2020-09-29 14:41:45 +02:00
Theo Arends
805f93cfab
Redesign GPIO to 16-bit
2020-09-29 14:08:48 +02:00
Theo Arends
46cbe13e9b
Fix ESP32 compilation
2020-09-25 18:34:14 +02:00
Theo Arends
9cbd2d531d
Initial GPIO redesign
2020-09-25 18:15:31 +02:00
Stephan Hadinger
019e402fe7
Move IR from ArduinoJson to JSMN
2020-09-24 08:51:43 +02:00
Stephan Hadinger
f3591b8419
Fix memory corruption
2020-09-23 19:38:24 +02:00
Theo Arends
bbd15fa174
Fix Status13 shutter exception 9
2020-09-23 17:13:10 +02:00
Stephan Hadinger
2ff756b3cc
Change replace ArduinoJson with JSMN for JSON parsing
2020-09-21 21:49:32 +02:00
Stephan Hadinger
ea85b70685
Zigbee minor improvements
2020-09-14 22:06:19 +02:00
Theo Arends
d7017661ed
Fix esp32 compilation error
2020-08-23 09:08:47 +02:00
Theo Arends
ff0654701d
Update template comments
2020-08-22 18:25:01 +02:00
Theo Arends
2d8916a9fa
Module/Gpio re-design - consolidate internal templates - phase 3
...
Module/Gpio re-design - consolidate internal templates - phase 3
2020-08-22 18:03:20 +02:00
Theo Arends
474fb2518a
Update status 13
2020-08-20 17:58:58 +02:00
stefanbode
91d2324cfb
Update support.ino
2020-08-20 16:22:40 +02:00
Theo Arends
3308b7a995
Module/Gpio re-design - consolidate internal templates - phase 2
...
Module/Gpio re-design - consolidate internal templates - phase 2
2020-08-19 15:18:33 +02:00
Theo Arends
ce388c799f
Add ESP32 Analog input support for GPIO32 to GPIO39
2020-08-04 16:33:05 +02:00
Theo Arends
317d4977d1
Fix masterlog_level to control master log level control
2020-07-31 16:56:42 +02:00
Theo Arends
a5857ac03f
Add masterlog_level to control master log level control
2020-07-31 11:53:12 +02:00
George
2ced749e4d
serialsend6 - more fixes
...
oops
2020-07-20 10:14:01 +10:00
George
63242de249
Serialsend6
...
* Adds serialsend6, allowing sending of binary data with comma-delimited string of decimal numbers.
2020-07-19 20:34:43 +10:00
Theo Arends
934ca43463
Remove Arduino ESP8266 Core support before 2.7.1
...
Remove Arduino ESP8266 Core support for versions before 2.7.1
2020-07-17 11:49:56 +02:00
Theo Arends
7dafeb280e
Rename global temp and pressure
...
- Rename global temp and pressure (#8808 , #8810 )
- Fix SGP30 calculation (#8808 )
2020-06-28 12:23:18 +02:00
Theo Arends
ff327106be
Refactor ESP32 support
2020-06-24 15:58:56 +02:00
Theo Arends
b5f45aa295
Fix ESP32 SPI config
2020-06-20 17:58:21 +02:00
Theo Arends
c533eb1186
BLM certify part 2
...
- Change define USE_TASMOTA_SLAVE into USE_TASMOTA_CLIENT
- Change commands ``SlaveSend`` and ``SlaveReset`` into ``ClientSend`` and ``ClientReset``
2020-06-18 16:05:55 +02:00
Theo Arends
2af506e48b
Change ESP32 USER GPIO template representation decreasing template message size
...
Change ESP32 USER GPIO template representation decreasing template message size
2020-06-18 12:55:10 +02:00
Theo Arends
ef0b797686
Add basic support for ESP32 ethernet
...
Add basic support for ESP32 ethernet adding commands ``Wifi 0/1`` and ``Ethernet 0/1`` both default ON (#8503 )
2020-06-15 18:27:04 +02:00
gemu2015
7d1a275606
fix chartofloat digit overflow
2020-06-15 07:25:39 +02:00
Theo Arends
0abfcf1954
Fix global temperature
...
- Fix global temperature use of float solving intermittend power off (#8175 )
- Fix BL0940 power monitoring when powered on but no load present
2020-06-12 16:51:21 +02:00
Theo Arends
11d6486534
Fix time 4 display with SO52 1
2020-06-11 19:13:08 +02:00
Staars
7077a80541
unify USE_*_COMPRESSION to USE_UNISHOX_COMPRESSION
2020-06-06 20:04:10 +02:00
device111
917124af26
fix start without stop condition
2020-06-01 11:51:57 +02:00
Theo Arends
b3540879ab
Zero fill millis positions to three digits
2020-05-26 10:26:41 +02:00
Theo Arends
90d3cd45c4
Add command ``Time 4``
...
Add command ``Time 4`` to display timestamp using milliseconds (#8537 )
2020-05-25 11:44:17 +02:00
Stephan Hadinger
f5f1bdefdb
Add wildcard patter for JSON marching in rules using ``?`` pattern
2020-05-24 09:57:11 +02:00
Stephan Hadinger
02faa2ea49
Fix style and compilation error when no compression
2020-05-23 10:05:57 +02:00
Stephan Hadinger
6154fd1015
Fixed compilation error
2020-05-22 23:05:55 +02:00
Stephan Hadinger
7ee9b2d34d
Compressed string in Wemo emulation
2020-05-22 22:14:17 +02:00
Theo Arends
d8d9e334f6
Add ValidTemplate function
2020-05-18 17:02:24 +02:00
Theo Arends
001b6e4895
Fix Dew Point is null
...
Fix Dew Point is null if either or both Temperature and/ot Humidity is null (#8411 )
2020-05-11 15:38:59 +02:00
Stephan Hadinger
1b682d3564
Add rule length, truncates rules too long and add escape JSON
2020-05-10 15:24:10 +02:00
Theo Arends
82ccd7ed37
Fix compilation error
2020-05-08 11:17:18 +02:00
Mickael Gaillard
b6165d5a18
Add Translate Fahrenheit
...
Signed-off-by: Mickael Gaillard <mick.gaillard@gmail.com>
2020-05-08 00:53:13 +02:00
Theo Arends
5df4b7b391
Fix ESP32 template upload
2020-05-01 17:52:01 +02:00
Theo Arends
892be892fa
Remove gpio to pin support
2020-05-01 17:37:56 +02:00
Theo Arends
5d18ad1c74
Add experimental basic support for ESP32
...
- Add experimental basic support for Tasmota on ESP32 based on work by Jörg Schüler-Maroldt
- Bump version to 8.2.0.6
- This ESP32 upgrade breaks current ESP32 templates
2020-05-01 17:30:09 +02:00
Theo Arends
7177c7d8e0
Change ESP32 pin allocation part 4
2020-05-01 16:47:41 +02:00
Theo Arends
ef61668037
Change ESP32 pin allocation part 2
2020-04-29 17:44:03 +02:00
Theo Arends
d805803daa
Change pin array names
...
Change pin array names to block unwanted use of direct access
2020-04-29 14:01:02 +02:00
Theo Arends
c24de18278
Change ESP32 pin allocation part 1
2020-04-28 18:27:07 +02:00
Theo Arends
60e7a73b60
Switch from GPIO array to Pin array
2020-04-28 14:42:47 +02:00
Theo Arends
3fef91d6ca
Change pin handling part 6
2020-04-27 17:28:05 +02:00
Theo Arends
c939077514
Change pin handling part 3
2020-04-27 12:54:07 +02:00
Theo Arends
24280bcdea
Change pin handling part 2
2020-04-27 11:54:23 +02:00
Theo Arends
5d9be9a4d0
Fix pin handling part 1
2020-04-27 10:35:38 +02:00
Theo Arends
c9149b53c5
Change pin handling part 1
2020-04-26 17:33:27 +02:00
Theo Arends
104e3c4838
Implement ARRAY_SIZE macro
2020-04-25 11:37:36 +02:00
Theo Arends
9ed8e7c254
Fix internal array size checks
2020-04-24 17:39:26 +02:00
Theo Arends
be1fb3756c
Change ESP32 freeHeap to MaxAllocHeap
2020-04-22 16:07:52 +02:00
Theo Arends
19796a7f97
Refactor ESP32 code
2020-04-19 16:58:13 +02:00
Theo Arends
0f3619238f
Add ESP32 bootloop control
2020-04-19 13:08:04 +02:00
Theo Arends
e1d7416a36
Add features to ESP32
...
- Decided to support ONLY flash mode DOUT (no software change but allows for RX1/TX1)
- Add GPIO9 (RX1) and GPIO10 (TX1) for hardware serial support
- Add above two GPIOs to template
- Moved basic ADC0 support from GPIO36 to GPIO33
2020-04-18 18:10:41 +02:00
Theo Arends
09599bb4a1
Provide ESP32 base module support
2020-04-17 16:17:01 +02:00
Theo Arends
367658b75b
More ESP32 compatibility
2020-04-16 18:33:26 +02:00
Theo Arends
e8f3d1d986
Increase ESP32 compatibility
...
Increase ESP32 compatibility (breaks current ESP32 configuration again!)
2020-04-13 17:45:06 +02:00
Theo Arends
16ca5cb103
Increase ESP32 compatibility
2020-04-13 13:01:54 +02:00
Theo Arends
ad1054a6ae
Increase ESP32 compatibility
...
Increase ESP32 compatibility (breaks current ESP32 configuration!)
2020-04-12 18:17:35 +02:00
Theo Arends
7651b447fb
Fix SI1145 compile warning
...
Fix SI1145 compile warning (#8141 )
2020-04-12 11:26:33 +02:00
Theo Arends
93fd5dd618
Add experimental minimal support for ESP32
...
Add experimental minimal support for ESP32 (#8110 )
2020-04-10 18:24:08 +02:00
Theo Arends
a0b0c32ff4
Update references
2020-04-10 10:52:22 +02:00
Theo Arends
d713468c0c
Add support for longer template names
...
Add support for longer template names
2020-03-29 17:41:31 +02:00
Theo Arends
e5a44e6326
Refactor template
2020-03-28 18:08:43 +01:00
Theo Arends
5a98fd44e2
Fix HumOffset on some sensors
...
Fix HumOffset on some sensors
2020-03-18 11:23:00 +01:00
Theo Arends
0a0afe3615
Add Dew point to more sensors
...
Add Dew point to more sensors and refactor JSON Temperature and Humidity message
2020-03-17 16:29:59 +01:00
Federico Leoni
5ba26780e9
Humidity Offset
2020-03-16 14:29:55 -03:00
Theo Arends
566bc47af4
Add Dewpoint to Temp/Hum sensors Prt. 1
...
- Add Dewpoint to Temp/Hum sensors Prt. 1
- Update AHT10 driver (#7930 )
2020-03-16 16:52:22 +01:00
Theo Arends
1a825db2b9
Fix ghost logging
2020-03-14 17:45:36 +01:00
Theo Arends
71d810aac4
Update Tx2x Sensor
...
Update Tx2x Sensor with command SpeedUnit (#7843 )
2020-03-02 15:51:33 +01:00
Theo Arends
5e4d8e5641
Fix relation between RSSI and signal strength
...
Fix relation between RSSI and signal strength
2020-02-20 10:07:00 +01:00
Theo Arends
5f80febcf4
Another DHT driver with humidity range check
...
Another DHT driver with humidity range check, usec overflow check and NAN debug info (#7717 )
2020-02-15 12:57:23 +01:00
Theo Arends
fb485dabd3
Add optional parameter <startcolor> to command ``Scheme``
...
Add optional parameter <startcolor> to command ``Scheme <scheme>, <startcolor>`` to control initial start color
2020-01-22 11:55:48 +01:00
Leonid Muravjev
e03a14ce21
i2c: I2cSetDevice wrong behavior
...
Most drivers do not expect address blocking after calling i2cSetDevice.
I2cSetActive removed from I2cSetDevice. All drivers waiting for this call are fixed.
refs #7556
2020-01-19 16:15:18 +03:00
Theo Arends
5716d08de9
Refactor MQTT Logging and publish
2020-01-18 15:34:01 +01:00
Hadinger
77191f2fe9
Simplified TimeDifference (saves 16 bytes)
2020-01-14 16:41:47 +01:00
Theo Arends
0db458c774
Fix exception 9 restart on log message
...
Fix exception 9 restart on log message in Ticker interrupt service routines NTP, Wemos and Hue emulation (#7496 )
2020-01-14 12:47:48 +01:00
Theo Arends
a6dcf46771
Move heap to stack
2020-01-09 11:35:01 +01:00
Theo Arends
8aa9109656
Happy New Year
...
Happy New Year
2019-12-31 14:23:34 +01:00
Theo Arends
df944ed058
Fix Serial initialization regression
...
Fix Serial initialization regression from previous fix
2019-12-29 13:27:48 +01:00
Theo Arends
ab167b0974
Add more crash dump information
2019-12-28 14:54:26 +01:00
Theo Arends
5682675ac9
Fix some serial interface initializations
...
Fix Sonoff Bridge, Sc, L1, iFan03 and CSE7766 serial interface to forced speed, config and disable logging
2019-12-27 15:13:40 +01:00
Theo Arends
e8626e9cca
Fix command processing
...
Fix commands ``Display`` and ``Counter`` from overruling command processing (#7322 )
2019-12-26 12:26:06 +01:00
Theo Arends
5c282db649
Add some GPIO checks
2019-12-18 18:21:10 +01:00
Theo Arends
aae86a6718
Add fallback functionality
...
Add fallback functionality from next version 7.1.2.7
2019-12-16 15:13:57 +01:00
Hadinger
53cfabdbca
Add RemoveAllSpaces()
2019-12-09 21:43:30 +01:00
Andreas Schultz
46566952a0
report Signal Strength in dBm over MQTT
...
Also include dBm in debug log and in WebIf information display.
2019-12-08 19:42:08 +01:00
Theo Arends
29d5d68ca0
Redesign Exception reporting
...
Redesign Exception reporting removing exception details from both MQTT info and Status 1. Now consolidated in Status 12 if available.
2019-12-08 13:18:15 +01:00
Theo Arends
00fd7f2f7c
Bump version to 7.1.2.2
...
Add command ``SerialConfig 0..23`` or ``SerialConfig 8N1`` to select Serial Config (#7108 )
2019-12-06 15:02:05 +01:00
Theo Arends
e150717e95
Restore hardware detection
2019-12-02 10:31:33 +01:00
Theo Arends
1692241b25
Fix lost functionality of GPIO9 and GPIO10
...
- Remove inconsistent hardware detection introduced in version 7.0.0.5
- Fix lost functionality of GPIO9 and GPIO10 on some devices (#7080 )
2019-12-01 19:03:53 +01:00
Theo Arends
0830fe113d
Fix True or False parameters
...
Fix True or False parameters (#3769 )
2019-11-23 15:30:40 +01:00
Theo Arends
b80708aef0
Add hardware detection
...
Add hardware detection to be overruled with SetOption51 (#6969 )
2019-11-21 15:00:35 +01:00
Theo Arends
0f68ccfe23
Add full exception data to Status 1
2019-11-20 21:49:57 +01:00
Theo Arends
7777fa08b0
Sanitize code
2019-11-20 20:53:12 +01:00
Theo Arends
95673103dd
Merge pull request #6958 from stefanbode/patch-1
...
#enhancement: Adding option to compensate on a global level temperature
2019-11-18 11:47:50 +01:00
Theo Arends
11c5947c23
Fix possible reboot loop regression
2019-11-18 11:02:04 +01:00
stefanbode
c48e6daed4
Update support.ino
2019-11-18 09:23:21 +01:00
Theo Arends
f64264da95
Fix core 2.3.0 compile error
...
Fix core 2.3.0 compile error (#6856 )
2019-11-15 12:19:47 +01:00
Theo Arends
7b10bec8fe
Refactor SDK erase
...
Add device hardware type to status 2
2019-11-14 15:57:52 +01:00
Theo Arends
492260cb7e
Refactor I2C driver detection phase 4
2019-11-09 18:34:22 +01:00
Theo Arends
f32b64d5de
Refactor I2C driver detection phase 2
2019-11-07 16:56:05 +01:00
Theo Arends
d42e81402a
Refactor I2C driver detection phase 1
2019-11-06 17:48:38 +01:00
Theo Arends
4891bad69a
Change sonoff references to tasmota
2019-11-03 15:37:33 +01:00
Theo Arends
4b49979274
Add SetOption comments to code
2019-11-03 13:51:22 +01:00
Theo Arends
5f4e38023d
Add SetOption comments to code
2019-11-03 12:33:36 +01:00
Theo Arends
57e62b1e68
Bump version 7.0.0.2
...
Add command WebColor19 to control color of Module and Name (#6811 )
2019-11-02 13:25:23 +01:00
localhost61
d6115b7dd1
Add COLOR_TITLE as WebColor19
2019-11-02 05:33:40 +01:00
Theo Arends
6fc9dccfe8
Some CppCheck optimizations
2019-10-30 14:08:43 +01:00
Theo Arends
0e07397ff7
Change Sonoff-Tasmota to Tasmota
2019-10-27 12:04:08 +01:00