Otto Winter and Jesse Hills
ac0d921413
ESP-IDF support and generic target platforms ( #2303 )
...
* Socket refactor and SSL
* esp-idf temp
* Fixes
* Echo component and noise
* Add noise API transport support
* Updates
* ESP-IDF
* Complete
* Fixes
* Fixes
* Versions update
* New i2c APIs
* Complete i2c refactor
* SPI migration
* Revert ESP Preferences migration, too complex for now
* OTA support
* Remove echo again
* Remove ssl again
* GPIOFlags updates
* Rename esphal and ICACHE_RAM_ATTR
* Make ESP32 arduino compilable again
* Fix GPIO flags
* Complete pin registry refactor and fixes
* Fixes to make test1 compile
* Remove sdkconfig file
* Ignore sdkconfig file
* Fixes in reviewing
* Make test2 compile
* Make test4 compile
* Make test5 compile
* Run clang-format
* Fix lint errors
* Use esp-idf APIs instead of btStart
* Another round of fixes
* Start implementing ESP8266
* Make test3 compile
* Guard esp8266 code
* Lint
* Reformat
* Fixes
* Fixes v2
* more fixes
* ESP-IDF tidy target
* Convert ARDUINO_ARCH_ESPxx
* Update WiFiSignalSensor
* Update time ifdefs
* OTA needs millis from hal
* RestartSwitch needs delay from hal
* ESP-IDF Uart
* Fix OTA blank password
* Allow setting sdkconfig
* Fix idf partitions and allow setting sdkconfig from yaml
* Re-add read/write compat APIs and fix esp8266 uart
* Fix esp8266 store log strings in flash
* Fix ESP32 arduino preferences not initialized
* Update ifdefs
* Change how sdkconfig change is detected
* Add checks to ci-custom and fix them
* Run clang-format
* Add esp-idf clang-tidy target and fix errors
* Fixes from clang-tidy idf round 2
* Fixes from compiling tests with esp-idf
* Run clang-format
* Switch test5.yaml to esp-idf
* Implement ESP8266 Preferences
* Lint
* Re-do PIO package version selection a bit
* Fix arduinoespressif32 package version
* Fix unit tests
* Lint
* Lint fixes
* Fix readv/writev not defined
* Fix graphing component
* Re-add all old options from core/config.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-09-20 11:47:51 +02:00
Stefan Agner
11477dbc03
Fix format warning in Tuya component ( #1954 )
2021-08-11 16:50:05 +12:00
6144ce1fe0
Break the Tuya set_datapoint_value method into separate methods per datapoint type ( #2059 )
...
Co-authored-by: Chris Nussbaum <chris.nussbaum@protolabs.com >
Co-authored-by: Trevor North <trevor@freedisc.co.uk >
2021-08-11 07:44:31 +12:00
John K. Luebs
5abbe385c5
More Tuya MCU robustness ( #2080 )
2021-07-28 14:01:15 +12:00
a3dcac62f9
Fix a bunch of typos ( #2058 )
...
Co-authored-by: Stefan Agner <stefan@agner.ch >
Co-authored-by: Otto Winter <otto@otto-winter.com >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-07-26 14:48:57 +02:00
Chris Nussbaum and Chris Nussbaum
6b535b11f8
Couple more updates for the Tuya component ( #2065 )
...
Co-authored-by: Chris Nussbaum <chris.nussbaum@protolabs.com >
2021-07-26 21:39:03 +12:00
Jesse Hills
4891cfef56
Add data sizes to tuya log message ( #1938 )
2021-06-18 15:50:56 +12:00
Chris Nussbaum and Chris Nussbaum
4395664547
Don't send Tuya commands while currently receiving a message ( #1886 )
...
Co-authored-by: Chris Nussbaum <chris.nussbaum@protolabs.com >
2021-06-18 14:58:39 +12:00
Stefan Agner
501f88ca86
Avoid non-const globals and enable clang-tidy check ( #1892 )
2021-06-11 08:19:44 +12:00
Otto Winter
360effcb72
Activate some clang-tidy checks ( #1884 )
2021-06-10 13:04:40 +02:00
Stefan Rado
913ac8b7e8
Support raw datapoints for tuya components ( #1669 )
2021-06-03 13:10:29 +12:00
Trevor North and Jesse Hills
c5c24c1989
Tuya improvements ( #1491 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-06-02 21:31:56 +12:00
stubs12
87154e9b6f
Tuya: Use queue for sending command messages ( #1404 )
2021-02-26 12:52:40 +13:00
Paul Nicholls
9d38543cb0
Add support for string-type Tuya datapoints ( #1488 )
2021-01-26 17:44:10 +13:00
Dan Jackson
5df398ec31
Add encode_uint32 method ( #1427 )
2021-01-10 17:53:12 +13:00
Ryan Mounce
039810eef3
Fix Tuya initialisation regression ( #1408 )
2020-12-07 19:30:55 +13:00
stubs12
0ea41e2f71
Add option to suppress embedded MCU updates on certain datapoints ( #1396 )
2020-12-03 17:38:17 +13:00
Yaroslav
9fed7cab5f
Add support for Tuya MCU 0x1C (obtain local time) ( #1344 )
...
* Fix some Tuya devices not handling commands sent without delay
* Also do not report WiFi status if MCU does not support it
* Support Tuya MCU 0x1c command (obtain local time)
* Use #ifdef USE_TIME to handle optional dependency on RTC
* Rename Tuya clock config variable to time to be consistent with the codebase
* Add tuya time configuration to test4
2020-11-11 11:31:28 +13:00
Otto Winter
009cea1abf
Fix tuya.cpp compile warning ( #1232 )
2020-07-30 17:26:40 +02:00
Brandon Davidson and Otto Winter
4f8f59f705
Tuya: Fix init sequence and handle wifi test command ( #820 )
...
* Handle WiFi test command
Also rename commands to match Tuya protocol docs
* Fix init sequence and product info check
* Fix clang-format suggestions
* Additional changes based on code review
* Fix temp command buffer scope
* Let the interval timer fire the first heatbeat
* Fix init steps; add logging
* Lint
* Remove setup_priority override
* Add delay to dump_config
* Refactor dump sequence
* Fix verbose logging
* Fix lints
* Don't bother suppressing duplicate config dumps
* nolint
Co-authored-by: Otto Winter <otto@otto-winter.com >
2019-11-14 13:43:44 +01:00
Otto Winter
7bf6fd316f
Add Tuya message for no datapoints ( #804 )
...
See also https://github.com/esphome/feature-requests/issues/352#issuecomment-546579206
2019-10-27 12:28:01 +01:00
Otto Winter
e077ad56bd
Add PZEM004T/PZEMAC/PZEMDC Support ( #587 )
...
* Add PZEM004T Support
* Don't flush as much
* Update pzem004t.cpp
* Add generalized modbus
* Add PZEMAC
* Add PZEMDC
* Fix file modes
* Lint
* Fix
* Fix
* Add check_uart_settings
2019-10-20 19:24:20 +02:00
96ff9a162c
Add new component for Tuya dimmers ( #743 )
...
* Add new component for Tuya dimmers
* Update code
* Class naming
* Log output
* Fixes
* Lint
* Format
* Fix test
* log setting datapoint values
* remove in_setup_ and fix datapoint handling
Co-authored-by: Samuel Sieb <samuel@sieb.net >
Co-authored-by: Otto Winter <otto@otto-winter.com >
2019-10-19 21:47:24 +02:00