Otto Winter and GitHub
072cd5b83e
Change ESP8266 default wifi output power ( #862 )
...
See also https://github.com/esphome/issues/issues/455
2019-11-17 23:28:43 +01:00
Otto Winter and GitHub
cfd42ea162
Revert ESP32 BLE Tracker defaults ( #863 )
...
Fixes https://github.com/esphome/issues/issues/824
Fixes https://github.com/esphome/issues/issues/851
2019-11-17 23:28:30 +01:00
Otto Winter and GitHub
b55544b860
Fix MQTT python 3 stringify IPAddress Type ( #864 )
...
Fixes https://github.com/esphome/issues/issues/850
2019-11-17 23:25:20 +01:00
Otto Winter and GitHub
5becaebdda
Improve WiFi disconnect messages ( #857 )
...
* Improve WiFi disconnect messages
* Fix
* Update wifi_component_esp32.cpp
2019-11-17 23:25:04 +01:00
Otto Winter and GitHub
694395ac91
Switch to 115200 baud upload if 460800 fails ( #856 )
...
* Switch to 115200 baud upload if 460800 fails
* Update __main__.py
2019-11-14 12:42:50 +01:00
Otto Winter
a386bb476f
Fix output_power log strings, lint
2019-11-12 22:26:35 +01:00
Otto Winter and GitHub
663f84f8b4
Mark python 3.5 support deprecated ( #849 )
...
* Mark python 3.5 unsupported
Fixes https://github.com/esphome/issues/issues/831
* Update .travis.yml
* Update typing dep
2019-11-12 21:44:28 +01:00
Otto Winter and GitHub
8677d47777
Fix PZEM004T v2 ( #846 )
...
Fixes https://github.com/esphome/issues/issues/817
2019-11-12 21:44:20 +01:00
Otto Winter and GitHub
4f1a28d460
Adjust some units ( #852 )
...
* Adjust some units
Fixes https://github.com/esphome/issues/issues/843
* Lint
2019-11-12 19:04:39 +01:00
Otto Winter and GitHub
7b142525b4
Check DHT sensor exists before publishing ( #850 )
...
Fixes https://github.com/esphome/issues/issues/841
2019-11-12 19:04:11 +01:00
Otto Winter and GitHub
7d4f279206
Web server CORS headers ( #840 )
...
* Add CORS header to web server
* Refactor
* Cleanup
See also https://github.com/esphome/issues/issues/806
2019-11-12 19:03:59 +01:00
Otto Winter and GitHub
51233e1931
Fix sensor force_update native API ( #847 )
...
Fixes https://github.com/esphome/issues/issues/842
2019-11-12 19:01:36 +01:00
Otto Winter and GitHub
907c14aa98
Fix neopixelbus missing method pins ( #848 )
...
Fixes https://github.com/esphome/issues/issues/839
2019-11-12 18:59:23 +01:00
Otto Winter and GitHub
fb055750df
Add missing state attribute ( #851 )
...
* Add api missing_state attribute
Fixes https://github.com/esphome/issues/issues/828
Adds a new property for missing state, so that HA can now when a sensor does not have a state yet.
* Update api.proto
2019-11-12 18:58:26 +01:00
Otto Winter and GitHub
fad05d5a2e
Add wifi output_power setting ( #853 )
...
* Add wifi output_power setting
See also:
- https://github.com/esphome/feature-requests/issues/471#issuecomment-552350467
- https://github.com/esp8266/Arduino/issues/6366
- https://github.com/esp8266/Arduino/issues/6471
- https://github.com/xoseperez/espurna/blob/849f8cf920096fa4b804e70913dab0917ee18ad9/code/espurna/config/general.h#L593-L599
- https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/network/esp_wifi.html#_CPPv425esp_wifi_set_max_tx_power6int8_t
* Lint
2019-11-12 17:39:27 +01:00
Otto Winter and GitHub
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
Otto Winter and GitHub
b5af3aa048
Update variable in scheduler ( #838 )
...
Fixes https://github.com/esphome/issues/issues/826
2019-11-06 22:35:22 +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 and GitHub
d97bc95798
Update platformio libraries ( #837 )
...
* Update platformio libraries
* Lint
2019-11-05 22:28:19 +01:00
Otto Winter and GitHub
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 and GitHub
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 and GitHub
85c46becdf
WiFi AP apply manual ip settings ( #836 )
2019-11-05 22:11:15 +01:00
Otto Winter and GitHub
0cbd373817
ESP8266 remove default opmode check ( #835 )
2019-11-05 21:56:35 +01:00
Otto Winter and GitHub
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 and GitHub
16c2dc2aaf
Fix stack trace decode for latest platformio ( #830 )
2019-11-02 21:19:15 +01:00
Otto Winter and GitHub
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
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 and GitHub
65d3dc9cb8
Fix update-all input in dashboard ( #826 )
...
Fixes https://github.com/esphome/issues/issues/798
2019-11-02 19:35:55 +01:00
Otto Winter and GitHub
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
Otto Winter and GitHub
be6b4ee47f
Fix wizard mkdir ( #824 )
...
* Fix CLI wizard mkdir_p with empty path
Fixes https://github.com/esphome/issues/issues/796
* Cleanup
* Lint
2019-11-02 19:35:37 +01:00
Otto Winter
09fd505f08
Add stale probot
2019-11-01 11:50:36 +01:00
Otto Winter
042ccde441
Add lock probot
2019-11-01 11:50:26 +01:00
Otto Winter
442030b6ca
Add sentiment-bot
2019-11-01 11:50:12 +01:00
Otto Winter
1df9ae53f8
Add ci-reporter bot
2019-11-01 11:50:02 +01:00
Otto Winter and GitHub
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 and GitHub
80aaf66963
Fix fan oscillating ( #818 )
...
Fixes https://github.com/esphome/issues/issues/783
2019-10-31 20:31:58 +01:00
Otto Winter and GitHub
560251ab2a
Scheduler fixes ( #813 )
...
* Scheduler fixes
Fixes https://github.com/esphome/issues/issues/789 , fixes https://github.com/esphome/issues/issues/788
Also changes to use unique_ptr - this should be much safer than the raw pointers form before (though the scoping rules might cause some issues, but looking closely I didn't find anything)
* Disable debugging
* Format
2019-10-31 20:25:16 +01:00
Otto Winter and GitHub
864c5d8908
Allow TimePeriod for time_period_str_unit ( #815 )
2019-10-31 20:09:57 +01:00
Otto Winter and GitHub
742c21506c
Print update interval for pulse counter ( #816 )
2019-10-31 20:09:23 +01:00
Otto Winter and GitHub
a6faccb4d9
Uppercase ESPHome ( #814 )
2019-10-31 20:09:07 +01:00
Otto Winter and GitHub
08148c5830
Fix web server transition length truncated ( #807 )
...
Fixes https://github.com/esphome/issues/issues/772
2019-10-27 12:30:48 +01:00
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 and GitHub
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 and GitHub
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 and GitHub
c1f5e04d6c
Warn when UART and logger operating on same bus ( #803 )
2019-10-27 12:27:46 +01:00
Otto Winter and GitHub
bb2582717f
Make file generation saving atomic ( #792 )
...
* Make file generation saving atomic
* Lint
* Python 2 Compat
* Fix
* Handle file not found error
2019-10-24 21:53:42 +02:00
Otto Winter and GitHub
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 and GitHub
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
Otto Winter and GitHub
8ff742d9ab
Implement more dump_configs ( #791 )
2019-10-23 14:43:41 +02:00
Otto Winter and GitHub
d63cd8b4cd
Add additional custom lint checks ( #790 )
2019-10-23 14:43:27 +02:00
Otto Winter and GitHub
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
Otto Winter and GitHub
c18050bda0
Add Python 2 deprecation notice ( #784 )
...
* Add Python 2 deprecation notice
* Update __main__.py
2019-10-21 23:32:12 +02:00
Otto Winter and GitHub
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 and GitHub
c0adaa8de8
Update docker base image to 2.0.1 ( #785 )
2019-10-21 22:55:16 +02:00
Otto Winter and GitHub
ae8700447e
Add sensor force_update option ( #783 )
...
* Add sensor force_update option
* Add test
2019-10-21 15:46:39 +02:00
Otto Winter and GitHub
1e22b1e959
Update AsyncMQTTClient/ESPAsyncWebServer ( #779 )
2019-10-20 19:24:34 +02:00
Otto Winter and GitHub
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 and GitHub
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 and GitHub
9a152e588e
Vl53l0x ( #644 )
...
* VL530LX
* VL53L0X
* Updates
* License
* Lint
2019-10-20 17:56:57 +02:00
Otto Winter and GitHub
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
6c8d0f1852
Change message
2019-10-20 15:57:59 +02:00
Otto Winter and GitHub
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
Otto Winter
e553c0768e
Link pip&python in lint Dockerfile
2019-10-19 20:23:14 +02:00
Otto Winter
62d4b29662
Format
2019-10-19 17:48:30 +02:00
Otto Winter
16bc60644d
Bump version to v1.15.0-dev
2019-10-19 17:11:22 +02:00
Otto Winter and GitHub
823ae7d1aa
Switch to Python 3 for docker installs ( #774 )
2019-10-19 16:31:03 +02:00
Otto Winter
28031cfa3e
Add to ignore list
2019-10-19 16:17:20 +02:00
Otto Winter
292c2d0c53
Remove debug log from dashboard js
2019-10-19 16:17:12 +02:00
Otto Winter
869775ec7a
Fix compile warning in SCD30
2019-10-19 16:17:01 +02:00
Otto Winter
783b179af7
Fix TinyGPSPlus having name conflict
2019-10-19 16:16:49 +02:00
Otto Winter
28454ea4cd
Fix dashboard setup for python 3
2019-10-19 15:48:57 +02:00
Otto Winter and GitHub
9f4b666ef0
ESP32 Upgrade AsyncTCP to 1.1.1 ( #773 )
2019-10-19 14:15:22 +02:00
Otto Winter and GitHub
80214640b1
Filter some debug lines from PlatformIO in output ( #771 )
...
* Filter some debug lines from PlatformIO in output
* Lint
* Strip trailing newline from esp-idf output
* Only create global std::string if on esp32
2019-10-19 14:04:14 +02:00
Otto Winter and GitHub
4310c14497
Add BLE scan parameters ( #769 )
...
* Add BLE parameters
Fixes https://github.com/esphome/issues/issues/735
* Fix
2019-10-18 18:15:53 +02:00
Otto Winter
aebb6d2fcc
Revert "Fix filter_out bug"
...
This reverts commit 1ade7bcb2d .
2019-10-18 17:30:44 +02:00
Otto Winter
af35c9258e
Py3 Updates
2019-10-18 16:58:29 +02:00
Otto Winter
1bf55c130b
Format
2019-10-18 16:43:37 +02:00
Otto Winter and GitHub
95a74a7f19
Addressable light transition ( #750 )
...
* Improve addressable light transition behavior
Fixes https://github.com/esphome/issues/issues/555
* Improve addressable flicker effect
See also https://github.com/esphome/feature-requests/issues/348
* Update addressable_light_effect.h
* Refactor
* Format
* Prevent divide by zero
* Fixes
2019-10-18 16:27:36 +02:00
Otto Winter and GitHub
b78b28ea0e
Fix platformio monkey patch ( #768 )
2019-10-18 15:33:30 +02:00
Otto Winter and GitHub
aed7b3fbb2
Fix typo in Component::set_interval ( #767 )
...
Ouch...
2019-10-18 15:33:18 +02:00
Otto Winter
1ade7bcb2d
Fix filter_out bug
2019-10-18 14:58:06 +02:00
Otto Winter and GitHub
21bbafb63d
Captive portal fixes ( #766 )
...
* Enable MDNS logs comment
* Work around ESP8266 mDNS broken for AP
See also https://github.com/esp8266/Arduino/issues/6114
* Enable captive_portal in AP-only mode
Fixes https://github.com/esphome/issues/issues/671
* Make ESP32 connecting faster
See also https://github.com/espressif/arduino-esp32/pull/2989
* Format
2019-10-18 14:46:44 +02:00
Otto Winter and GitHub
1cfc6ac3c6
Update ESP8266/ESP32 bases ( #760 )
...
* Update ESP8266/ESP32 bases
* Update platformio.ini
* Update boards definitions
2019-10-18 14:46:29 +02:00
Otto Winter and GitHub
c3aa834d80
Fork some base libraries ( #758 )
...
* Fork some base libraries
* Update ESPAsyncWebServer
2019-10-18 14:46:09 +02:00
Otto Winter and GitHub
68d0d045c0
Add LEDC set_frequency action ( #754 )
...
* Add LEDC set_frequency
Fixes https://github.com/esphome/feature-requests/issues/380
* Fix log
* Fixes
* Format
* Update test1.yaml
* Update test1.yaml
* Fix
2019-10-18 11:22:08 +02:00
Otto Winter and GitHub
22aecdfc6f
Use higher default baudrate for USB upload ( #761 )
...
See also https://github.com/espressif/esptool/issues/435
2019-10-18 10:23:06 +02:00
Otto Winter and GitHub
ee0b6e835f
Sensor filter_out rounded ( #765 )
...
Fixes https://github.com/esphome/issues/issues/741
2019-10-18 10:22:29 +02:00
Otto Winter and GitHub
6ceb975a3a
calibrate_linear check not all from values same ( #714 )
...
Fixes https://github.com/esphome/issues/issues/524
2019-10-17 21:35:59 +02:00
Otto Winter and GitHub
9a40d6ef50
Integration sensor use double precision ( #715 )
...
Fixes https://github.com/esphome/issues/issues/534
Kept the RTC value as a float in order not to introduce a breaking preferences change.
2019-10-17 21:35:31 +02:00
Otto Winter and GitHub
32195f77d9
Fix dallas not unknown ( #716 )
...
* Fix dallas not sending unknown on disconnected sensor
* Deep sleep
2019-10-17 21:34:58 +02:00
Otto Winter and GitHub
aae633277f
Fix strobe/flicker effect not using selected value ( #749 )
...
Fixes https://github.com/esphome/issues/issues/562
2019-10-17 19:15:02 +02:00
Otto Winter and GitHub
996c50e8f2
Add rotary_encoder.set_value action ( #747 )
...
* Add rotary_encoder.set_value action
Fixes https://github.com/esphome/feature-requests/issues/389
* Fix
2019-10-17 19:14:52 +02:00
Otto Winter and GitHub
95c883ae9b
Fix MCP23017 setup priority ( #751 )
...
Fixes https://github.com/esphome/issues/issues/535
2019-10-17 19:14:25 +02:00
Otto Winter and GitHub
35a725fa1e
Update and pin all requirements ( #759 )
2019-10-17 18:23:39 +02:00
Otto Winter and GitHub
78c1adafcd
Make UART flush function consistent ( #748 )
...
See also https://github.com/esphome/esphome/commit/78be9d29376d5fdcff81874540c540eb80a338f6
2019-10-17 16:54:38 +02:00
Otto Winter and GitHub
e15071228e
Fix addressable light fade to black function ( #752 )
...
Fixes https://github.com/esphome/issues/issues/517
2019-10-17 16:53:55 +02:00
Otto Winter and GitHub
ac48ff1fd6
Fix potential ISR digital_write issue ( #753 )
2019-10-17 16:53:39 +02:00
Otto Winter and GitHub
cdb9c59662
Add ADE7953 Support ( #593 )
...
* Add ADE795 support
* Lint
* Fix
* Fix, add test
2019-10-16 13:19:41 +02:00