Commit Graph

284 Commits

Author SHA1 Message Date
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