Guillermo Ruffino
367ae906c3
fix missing checks of is_playing condition ( #844 )
2019-11-11 23:50:06 -03:00
Nikolay Vasilchuk
f8d98ac494
http_request component ( #719 )
...
* It works
* Template doesn't work
* Template fix
* CA Certificate untested
* ESP32 done
* URL validation
* Lint fix
* Lint fix (2)
* Lint fix (<3)
* Support unsecure requests with framework >=2.5.0
* Removed fingerprint, payload renamed to body
* Removed add_extra
* Review
* Review
* New HTTP methods
* Check recommended version
* Removed dead code
* Small improvement
* Small improvement
* CONF_METHOD from const
* JSON support
* New JSON syntax
* Templatable headers
* verify_ssl param
* verify_ssl param (fix)
* Lint
* nolint
* JSON string_strict
* Two json syntax
* Lambda url fix validation
* CI fix
* CI fix
2019-11-09 18:37:52 +01:00
Alexander Leisentritt
3e8fd48dc0
implemented ruuvi_ble and ruuvitag with RAWv1 and RAWv2 protocol ( #810 )
...
* implemented ruuvi_ble and ruuvitag with RAWv1 protocol
fixes esphome/feature-requests#313
* lint
* updated data calculations
* cpp lint
* use string directly in message
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* add RAWv2 protocol support
* fix ICON_SIGNAL
* typo
* calculation correction and cleaning
* c++ lint
* added acceleration and fixed typo
* removed remote_receiver to reduce firmware size
remote_receiver also in test1.yaml
2019-11-07 22:10:09 +01:00
Otto Winter
003326f2eb
Fix calculations for negative sun declination ( #839 )
...
Fixes https://github.com/esphome/issues/issues/793
Also adds a clampd function that operates with doubles, not floats
2019-11-06 22:49:38 +01:00
Sergio
a919b015b4
Add support for INA226 Current/Power Monitor ( #801 )
...
* Add support for INA226 Current/Power Monitor
* fix lint errors
* fix narrowing conversion
* Remove useless code
Co-authored-by: Sergio Muñoz <sergio@iMac-de-Sergio.local>
2019-11-06 13:59:00 +01:00
DAVe3283
f94e9b6b1e
Add MAX31865 sensor support, fix MAX31855 sensor ( #832 )
...
* Add MAX31865 sensor support, fix MAX31855 sensor.
# MAX31865
Added support for the MAX31865 RTD-to-Digital Converter to measure PT100 and
similar RTDs. Verified with an Adafruit unit (product ID: 3328) and a PT100
probe.
# MAX31855
This was setup for incorrect SPI clock polarity and phase, and would return bad
data due to a race condition measuring on the wrong edge (verified with Saleae
Logic scope). Selecting the correct configuration fixes that problem.
Re-wrote the decode off the datasheet to handle error states better (sends NaN
as an update on failure to read temperature, which shows the value as Unknown
in Home Assistant).
Added the *optional* ability to monitor the internal high-precision temperature
sensor, which can be nice in some applications.
* Tests for MAX31855/MAX38165.
* Update style to match project rules.
Also fix CONF_REFERENCE_RESISTANCE and CONF_REFERENCE_TEMPERATURE being defined
multiple places. Missed this when I added them to const.py.
* Update style to match project rules.
Pylint line limit 101/100 ("missed it by that much").
Also apparently I can't read and patched the wrong line in max31855.cpp.
* Minor string/style cleanup.
There was a copy-paste leftover in max31855.cpp and max31865/sensor.py had
unnecessary whitespace.
* Improve MAX31865 fault detection and logging.
Log levels are more in-line with the documented descriptions.
Fault detection code is improved. A transient fault between reads is still
reported, but now only faults *during* a read cause the sensor to fail and
return NAN ("unknown" in Home Assistant).
* Update style to match project rules.
I just now realized the .clang-format and pylintrc files are included. D'oh!
* MAX31855 & MAX31865 code style alignment.
@OttoWinter caught some style mismatches, updated to match project better.
* Fix a lost '\' in max31865/sensor.py.
2019-11-06 13:56:43 +01:00
Otto Winter
1ed8e63d59
Remove useless code
...
See also https://github.com/esphome/esphome/pull/801/files#r342813117
2019-11-05 22:45:31 +01:00
Otto Winter
d97bc95798
Update platformio libraries ( #837 )
...
* Update platformio libraries
* Lint
2019-11-05 22:28:19 +01:00
Otto Winter
5c56f15c67
Fix homeassistant.service schema lambda ( #833 )
...
* Fix homeassistant.service schema lambda
Fixes https://github.com/esphome/issues/issues/820
* Improve
* Fix
2019-11-05 22:27:35 +01:00
Otto Winter
3fdb68cba8
Fix ESP32 rotary encoder ( #834 )
...
* Fix ESP32 rotary encoder
Fixes https://github.com/esphome/issues/issues/672
* Update rotary_encoder.cpp
* Lint
2019-11-05 22:26:06 +01:00
Otto Winter
85c46becdf
WiFi AP apply manual ip settings ( #836 )
2019-11-05 22:11:15 +01:00
Otto Winter
0cbd373817
ESP8266 remove default opmode check ( #835 )
2019-11-05 21:56:35 +01:00
Otto Winter
8027facb39
Fix weird ESP8266 wifi crashes ( #831 )
...
* Try fix ESP8266 weird crashes
* Only call disconnect if STA is active
2019-11-03 00:19:57 +01:00
Otto Winter
dc2279b74f
Add servo missing restore option to codegen ( #829 )
...
See also https://github.com/esphome/issues/issues/609
2019-11-02 20:56:42 +01:00
Otto Winter
75275c4e93
Remove PCF8574 input_pullup mode and cleanup ( #828 )
...
Fixes https://github.com/esphome/issues/issues/755
Closes https://github.com/esphome/esphome/pull/822
Fixes https://github.com/esphome/issues/issues/667
Closes https://github.com/esphome/esphome/pull/808
Co-Authored-By: Amish Vishwakarma <amishv@users.noreply.github.com>
Co-Authored-By: S-Przybylski <s-przybylski@users.noreply.github.com>
2019-11-02 20:31:39 +01:00
Otto Winter
66aa02fc34
Move native API enums to new namespace ( #825 )
...
Fixes https://github.com/esphome/issues/issues/801
2019-11-02 19:35:45 +01:00
Alexander Leisentritt
90f909d2ea
refactored xiaomi ble data parsing ( #823 )
2019-11-02 18:55:10 +01:00
Otto Winter
adf2a463fd
Fix some binary_sensor not having an initial state ( #819 )
...
Fixes https://github.com/home-assistant/home-assistant/issues/28384
2019-10-31 21:03:57 +01:00
Otto Winter
80aaf66963
Fix fan oscillating ( #818 )
...
Fixes https://github.com/esphome/issues/issues/783
2019-10-31 20:31:58 +01:00
Otto Winter
742c21506c
Print update interval for pulse counter ( #816 )
2019-10-31 20:09:23 +01:00
Lumpusz
69fd3e8937
service uuid based ble tracking ( #800 )
...
* service uuid based ble tracking
* code review fixes
* fix import, format
* fix indentation
* reformat
2019-10-31 15:34:19 +01:00
Otto Winter
08148c5830
Fix web server transition length truncated ( #807 )
...
Fixes https://github.com/esphome/issues/issues/772
2019-10-27 12:30:48 +01:00
Otto Winter
969bdb06ce
Fix modbus register ( #806 )
...
Fixes https://github.com/esphome/feature-requests/issues/49#issuecomment-546555289
Co-Authored-By: tsunglung <tsunglung@users.noreply.github.com>
2019-10-27 12:30:36 +01:00
Otto Winter
b0bb692af4
AS3935 Use normal pin polling for IRQ ( #805 )
...
* AS3935 Use normal pin polling for IRQ
See also https://github.com/esphome/feature-requests/issues/452
* Fix tests
2019-10-27 12:30:19 +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
c1f5e04d6c
Warn when UART and logger operating on same bus ( #803 )
2019-10-27 12:27:46 +01:00
John
5a67e72389
Added more power data to the atm90e32 component ( #799 )
...
* Added more data to atm90e32 component
* ignore
* correction
* Delete 6chan_energy_meter.yaml
* Update sensor.py
fixed indents
* Update atm90e32.h
* Update esphome/components/atm90e32/sensor.py
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* PR request changes
* repository test branch
* Update setup.py
* Update const.py
* backslash
* comma!
* delete test yaml
* corrected chip temp
* change to signed int for get_pf_ functions
* Update atm90e32.h
formatting
* adjusted function & variable names
* Update atm90e32.h
formatting
* Update sensor.py
Import CONF_POWER_FACTOR from const.py
* travis formatting
* Update esphome/components/atm90e32/sensor.py
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* Update esphome/components/atm90e32/atm90e32.h
Co-Authored-By: Otto Winter <otto@otto-winter.com>
2019-10-27 12:05:13 +01:00
Pavel Golovin
91c9b11647
Fujitsu General climate new component ( #677 )
...
* new Fujitsu-General climate component
* Refactor out climate_ir
CC @glmnet
Refactored out climate_ir python files too.
Fixed invalid namespace name for climate_ir.
* Add namespace lint check
* Refactor Fujitsu Climate to climate_ir
Co-authored-by: Otto Winter <otto@otto-winter.com>
2019-10-25 11:32:31 +02:00
Otto Winter
d62ef35860
Fix scheduler first execution ( #798 )
...
* Fix scheduler first execution not immediately
* Also update sensor filters
2019-10-24 21:24:57 +02:00
Otto Winter
59c5956f93
Fix MQTT not showing logs with Python 3 ( #797 )
...
* Fix MQTT logging for Python 3
* Also fix captive portal PACKED
2019-10-24 20:11:17 +02:00
Nikolay Vasilchuk
e4f055597c
Logger on_message trigger ( #729 )
...
* on_message
* Lint fix
* Lint fix (2)
* Lint fix (<3)
* Replace cg.int_ with int
* Revert
* Removed strdup
Co-authored-by: Otto Winter <otto@otto-winter.com>
2019-10-24 14:19:33 +02:00
Chris Debenham
4c49beb3c7
Add missing include - fixes missing GPIOPin definition ( #794 )
2019-10-24 14:13:50 +02:00
Otto Winter
8ff742d9ab
Implement more dump_configs ( #791 )
2019-10-23 14:43:41 +02:00
Otto Winter
d63cd8b4cd
Add additional custom lint checks ( #790 )
2019-10-23 14:43:27 +02:00
Otto Winter
3f0503c296
Fix modbus CRC calculation ( #789 )
...
* Fix modbus CRC calculation
Fixes https://github.com/esphome/feature-requests/issues/49#issuecomment-545045776
* Fix
2019-10-22 22:56:34 +02:00
Nils Schulte
9fb60b8015
web_server_base AUTO_LOAD includes ASYNC_TCP ( #788 )
...
* web_server_base AUTO_LOAD includes ASYNC_TCP
fix AUTO_LOAD of web_server_base to include ASYNC_TCP
* Remove from dependencies
Co-authored-by: Otto Winter <otto@otto-winter.com>
2019-10-21 23:05:50 +02:00
Otto Winter
1177b856a0
Fix ledc can't find bit_depth ( #786 )
...
Fixes https://github.com/esphome/issues/issues/759
2019-10-21 22:55:27 +02:00
Otto Winter
ae8700447e
Add sensor force_update option ( #783 )
...
* Add sensor force_update option
* Add test
2019-10-21 15:46:39 +02:00
amishv
d64a4ef2b4
Implementation of LCD Clear ( #781 )
...
* Implementation of LCD Clear
* Implementation of LCD Clear
* Implementation of LCD Clear
* Implementation of LCD Clear
2019-10-21 12:43:28 +02:00
Otto Winter
1e22b1e959
Update AsyncMQTTClient/ESPAsyncWebServer ( #779 )
2019-10-20 19:24:34 +02: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
Otto Winter
f1e00f8c8e
Add GPIO Switch interlock wait time ( #777 )
...
* Add interlock wait time to gpio switch
Fixes https://github.com/esphome/issues/issues/753
* Format
* Fix
2019-10-20 18:10:14 +02:00
Otto Winter
9a152e588e
Vl53l0x ( #644 )
...
* VL530LX
* VL53L0X
* Updates
* License
* Lint
2019-10-20 17:56:57 +02:00
Otto Winter
16f42a3d03
Add script.wait action ( #778 )
...
Fixes https://github.com/esphome/feature-requests/issues/416 , fixes https://github.com/esphome/issues/issues/572
2019-10-20 16:15:30 +02:00
Otto Winter
b59cf6572b
Add lint check for integer constants ( #775 )
2019-10-19 22:31:32 +02:00
Otto Winter
4fa11dfa68
Lint
2019-10-19 21:59:55 +02:00
Otto Winter
352bdd9fb5
Tuya Set gamma correction and transition length defaults
...
See also https://github.com/esphome/esphome-docs/pull/353/files#r336751499
2019-10-19 21:50:39 +02:00
Samuel Sieb
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
Guillermo Ruffino
af15a4e710
Add dfplayer mini component ( #655 )
...
* Add dfplayer mini component
* receiving some data
* implemented many actions
* lint
* undo homeassistant_time.h
* Update esphome/components/dfplayer/__init__.py
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* Update esphome/components/dfplayer/dfplayer.cpp
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* add set device. fixes
* lint
* Fixes and sync with docs
* add test
* lint
* lint
* lint
2019-10-19 21:37:05 +02:00
Nad
18426b71e4
Add support for STS3x Temperature sensors ( #669 )
...
* Add support for Sensirion STS3x Temperature sensors
* Removed humidty reading from STS3x sensor
* Fixed line error and operand error
* Fixed syntax
* Add test snippet for STS3x sensor
* Clean up
* #550 Proactive fix for STS3x component reporting WARNING status and reinitialzing similar to SHT3xd
* Flattened config.
* Fixed missing temperature unit
* Code formatting
* Added marking for future commands
* Cleanup
* Removed whitespace
* Cleanup
* Cleanup
2019-10-19 21:31:37 +02:00