Commit graph

347 commits

Author SHA1 Message Date
Otto Winter
5db70bea3c
Toggle Auto-Update Check With Environment Variable (#292) 2019-01-02 14:02:59 +01:00
Otto Winter
00ff99cc7d
Addressable Lights (#294) 2019-01-02 13:04:27 +01:00
Otto Winter
a51eaa93b5
GPIO Switch Restore Mode (#287) 2019-01-02 12:30:55 +01:00
Otto Winter
eddaee3a80
Fix MQTT message trigger (#282)
Fixes https://github.com/OttoWinter/esphomelib/issues/335
2019-01-02 12:29:29 +01:00
Otto Winter
2b432ea829
Disable SPIFFS to save flash space (#288) 2019-01-02 12:29:15 +01:00
Otto Winter
09ab55b85d
API Server Watchdog (#290) 2019-01-02 12:27:16 +01:00
Otto Winter
183e0f4d23
Fix ESP8266 verbose logging (#291) 2019-01-02 12:27:05 +01:00
Otto Winter
a8c17e5d05
Fix host network (#280)
* Fix Add-On host network mode

* Split up esphomeyaml tests

* Fix perms

* Fix

* Add esphomeyaml_version option

* Revert change to travis.yml
2019-01-02 12:21:26 +01:00
Otto Winter
2e65d6c02c
Api fixes (#289)
* API Client Fixes

* Fix redirect stdout stderr
2019-01-02 12:15:13 +01:00
Otto Winter
07da8950c4
Lint 2019-01-02 12:02:28 +01:00
Otto Winter
c206846816
Better internal debugging 2018-12-30 12:46:08 +01:00
Otto Winter
6aac4191f8
Hash dashboard resources 2018-12-24 14:29:11 +01:00
Otto Winter
5a7b66e207
Fix some stuff 2018-12-24 14:15:54 +01:00
Otto Winter
da2821ab36
Add native ESPHome API (#265)
* Esphomeapi

* Updates

* Remove MQTT from wizard

* Add protobuf to requirements

* Fix

* API Client updates

* Dump config on API connect

* Old WiFi config migration

* Home Assistant state import

* Lint
2018-12-18 19:31:43 +01:00
Otto Winter
7556845079
Fix download binary button for firefox 2018-12-07 10:17:19 +01:00
Otto Winter
7c7032c59e
[Huge] Util Refactor, Dashboard Improvements, Hass.io Auth API, Better Validation Errors, Conditions, Custom Platforms, Substitutions (#234)
* Implement custom sensor platform

* Update

* Ethernet

* Lint

* Fix

* Login page

* Rename cookie secret

* Update manifest

* Update cookie check logic

* Favicon

* Fix

* Favicon manifest

* Fix

* Fix

* Fix

* Use hostname

* Message

* Temporary commit for screenshot

* Automatic board selection

* Undo temporary commit

* Update esphomeyaml-edge

* In-dashboard editing and hosting files locally

* Update esphomeyaml-edge

* Better ANSI color escaping

* Message

* Lint

* Download Efficiency

* Fix gitlab

* Fix

* Rename extra_libraries to libraries

* Add example

* Update README.md

* Update README.md

* Update README.md

* HassIO -> Hass.io

* Updates

* Add update available notice

* Update

* Fix substitutions

* Better error message

* Re-do dashboard ANSI colors

* Only include FastLED if user says so

* Autoscroll logs

* Remove old checks

* Use safer RedirectText

* Improvements

* Fix

* Use enviornment variable

* Use http://hassio/host/info

* Fix conditions

* Update platformio versions

* Revert "Use enviornment variable"

This reverts commit 7f038eb5d2.

* Fix

* README update

* Temp

* Better invalid config messages

* Platformio debug

* Improve error messages

* Debug

* Remove debug

* Multi Conf

* Update

* Better paths

* Remove unused

* Fixes

* Lint

* lib_ignore

* Try fix platformio colors

* Fix dashboard scrolling

* Revert

* Lint

* Revert
2018-12-05 21:22:06 +01:00
Otto Winter
2b88c987da
Fix GPIO input schema validator (#253) 2018-12-02 13:16:02 +01:00
Otto Winter
3d49ffa134
Time SNTP validate server format (#254) 2018-12-02 13:15:28 +01:00
Otto Winter
5ed987adcd
Bump HassIO version to v1.9.3 2018-12-01 13:38:05 +01:00
Otto Winter
a463c59733
Bump version to v1.9.3 2018-12-01 13:37:28 +01:00
Otto Winter
1726c4237b
CSE7766 update interval (#250)
* CSE7766 update interval

* PollingComponent
2018-12-01 13:37:25 +01:00
Otto Winter
f2f869db89
Bump HassIO version to v1.9.3 2018-12-01 13:23:16 +01:00
Otto Winter
e37e986276
CSE7766 update interval (#250)
* CSE7766 update interval

* PollingComponent
2018-12-01 13:19:34 +01:00
Otto Winter
f1241af91d
Bump HassIO version to v1.9.2 2018-11-25 19:18:17 +01:00
Otto Winter
7ae6777fd6
Bump version to v1.9.2 2018-11-25 19:17:32 +01:00
Otto Winter
a169d37557
Fix fastled lambda light effect
Fixes #232
2018-11-25 19:05:39 +01:00
Otto Winter
5d5529ff15
Bump HassIO version to v1.9.2 2018-11-25 18:00:20 +01:00
Otto Winter
db90a7a334
Add Logo and Icon to HassIO add-on (#241) 2018-11-23 13:51:39 +01:00
Otto Winter
bb9c1faffa
Improve one_of validator (#240) 2018-11-23 13:51:22 +01:00
Otto Winter
be21aa786d
Bump HassIO version to v1.9.1 2018-11-19 23:05:18 +01:00
Otto Winter
9a881100e6
Bump version to v1.9.1 2018-11-19 23:04:56 +01:00
Otto Winter
c2f88776c7
Fix SNTP servers option (#237)
* Fix SNTP servers option

* Lint
2018-11-19 23:04:45 +01:00
Otto Winter
b4c4dc8cfb
Bump HassIO version to v1.9.1 2018-11-19 23:01:27 +01:00
Otto Winter
c3b2ab0085
Fix SNTP servers option (#237)
* Fix SNTP servers option

* Lint
2018-11-19 22:49:06 +01:00
Otto Winter
846fcb8ccd
Bump HassIO version to v1.9.0 2018-11-15 12:07:23 +01:00
Otto Winter
f087e313d4
Bump HassIO version to v1.9.0 2018-11-15 12:07:20 +01:00
Otto Winter
44495c919c
Bump version to v1.9.0 2018-11-15 12:05:25 +01:00
Otto Winter
f88cf99b67
Cleanup git auto-update 2018-11-15 10:13:32 +01:00
Otto Winter
f394968bd0
Fix fastled lambda light effect
Fixes #232
2018-11-15 10:13:21 +01:00
Otto Winter
1ad65516cf
Bump version to v1.9.0b6 2018-11-13 19:06:32 +01:00
Otto Winter
d4c7e6c634
Merge branch 'dev' into rc 2018-11-13 19:06:26 +01:00
Otto Winter
9b07bb6608
Fix my9231 IDs not being resolved 2018-11-13 19:00:36 +01:00
Otto Winter
f368255739
Update MY9231 2018-11-13 16:53:46 +01:00
puuu
083c2fce05 Add MY9231 support (#227) 2018-11-13 16:51:30 +01:00
Otto Winter
c99d4e2815
Deep Sleep Wake Up From Multiple Pins (#230) 2018-11-13 15:36:49 +01:00
Otto Winter
39457f7b8c
Enable nodelay for phase 1 of OTAv2 2018-11-13 15:31:14 +01:00
Otto Winter
01aaf14078
Add frequency option to ESP8266 PWM 2018-11-13 12:02:19 +01:00
Otto Winter
06eeed9ee9
Bump version to v1.9.0b5 2018-11-12 23:43:03 +01:00
Otto Winter
5655b5fe10
Merge branch 'dev' into rc 2018-11-12 23:43:00 +01:00
Otto Winter
15331edb78
Let esphomeyaml know about class inheritance (#229)
* Allow overriding setup priority

* Add inheritance tree

* Global variables

* Tests and better validation

* Fix

* Lint
2018-11-12 23:30:31 +01:00
Otto Winter
4f375757a5
Better validation error messages 2018-11-12 21:00:17 +01:00
Otto Winter
0dec7cfbf8
Lint 2018-11-10 15:39:25 +01:00
Otto Winter
30e7797577
Bump version to v1.9.0b4 2018-11-10 15:31:20 +01:00
Otto Winter
0e5cabadc1
Merge branch 'dev' into rc 2018-11-10 15:31:16 +01:00
Otto Winter
58f4fa53d0
Make Switch not inherit from Component 2018-11-10 14:07:11 +01:00
Otto Winter
04dc848620
Improve OTAv2 error messages 2018-11-10 11:45:38 +01:00
Otto Winter
8203b8fcd3
Add total daily energy sensor (#220)
* Add total daily energy sensor

* Add test
2018-11-09 20:27:19 +01:00
Otto Winter
0ad61f4a95
Add binary sensor multi click trigger (#226) 2018-11-09 20:18:04 +01:00
Otto Winter
9fd4076ab8
Revert Add power on value to GPIO switch (#223)
* Revert Add power on value to GPIO switch

* Fix tests

* Fix
2018-11-09 20:08:35 +01:00
Otto Winter
a9e799cb06
Clean up time API (#221) 2018-11-09 20:08:16 +01:00
Otto Winter
3ec931ffa4
Add restore state option to template switch (#222)
* Add restore state option to template switch

* Add test
2018-11-09 20:05:50 +01:00
Otto Winter
e3094d9689
OTA Send back acknowledgement 2018-11-09 14:27:12 +01:00
Otto Winter
3594779401
Better typing to components (#225)
* Add better typing

* Fix
2018-11-08 16:01:07 +01:00
Otto Winter
94978d0063
Fix HLW8012 Voltage Divider option not being added to source (#224) 2018-11-07 23:27:06 +01:00
Otto Winter
415e12309b
Improve OTA v2 error and log messages 2018-11-07 22:41:54 +01:00
Otto Winter
6b8125f5f2
Bump version to v1.9.0b3 2018-11-03 17:47:12 +01:00
Otto Winter
ab43390983
Merge branch 'dev' into rc 2018-11-03 17:47:06 +01:00
Otto Winter
27b86d89b0
Add generate home assistant config command (#208)
* Add generate home assistant config command

* Lint

* Lint
2018-11-03 14:08:31 +01:00
Otto Winter
36da3b85d5
Auto-Decode stacktraces (#214)
* Auto-Decode stacktraces

* Fix Gitlab CI
2018-11-03 14:06:14 +01:00
Otto Winter
4dce7fa103
Bump version to 1.9.0b2 2018-10-31 16:35:45 +01:00
Otto Winter
e9d9de448e
Fix output actions 2018-10-31 16:27:30 +01:00
Otto Winter
08c16020c6
Fix output platforms 2018-10-29 22:46:00 +01:00
Otto Winter
0ade9baf65
Fix automation validation 2018-10-27 14:10:37 +02:00
Otto Winter
2fab7e73b9
Add send_first_at option to sliding window sensor filter (#207)
* Add send_first_at option to sliding window sensor filter

* Lint
2018-10-26 22:59:03 +02:00
Otto Winter
af4e2bf61d
Add Stepper Motor Support (#206)
* Add stepper support

* Fix output set_level

* Lint
2018-10-26 22:57:03 +02:00
Otto Winter
21c22fe04a
Bump version to 1.10.0-dev 2018-10-20 18:32:06 +02:00
Otto Winter
15732ca465
Bump version to 1.9.0b1 2018-10-20 18:24:02 +02:00
Otto Winter
8e0f4f93d4
Fix HassIO add-on archs 2018-10-20 18:20:42 +02:00
Otto Winter
8bbfbc4cc1
Add logger.log action (#198)
* Add logger.log Action

* Simple schema

* Validate printf

* Improve error message

* Undo unfix tests :)
2018-10-20 15:19:59 +02:00
Otto Winter
8c5d12df51
Fix some typos (#202) 2018-10-20 15:18:12 +02:00
Otto Winter
25c66ed8ca
Improve API naming convention consistency (#197)
* Improve API naming convention consistency

* Fix
2018-10-20 15:16:58 +02:00
Otto Winter
7a55521807
Fix rebase error 2018-10-20 15:08:55 +02:00
Otto Winter
d04de7baeb
Fix value range trigger 😑 (#201) 2018-10-20 14:40:46 +02:00
Otto Winter
4aeb756388
Fix triggers being interpreted as a sequence of automations (#199) 2018-10-20 13:15:09 +02:00
Otto Winter
92b6ed4180
Add FastLED color correction option (#200)
* Add FastLED color correction option

* Add test
2018-10-20 13:14:02 +02:00
Otto Winter
9efd9f4fe8
Add PMSX003 Particulate Matter Sensor (#192) 2018-10-20 12:58:52 +02:00
Otto Winter
34fc2147a4
Add update component action and scripts (#196)
* Add update component action

* Add script component
2018-10-20 12:58:02 +02:00
Otto Winter
629f2b128e
Add MQTT publish JSON action and subscribe JSON trigger (#193)
* Add MQTT publish JSON action and subscribe JSON trigger

* Lint
2018-10-20 12:41:00 +02:00
Otto Winter
81bc400340
Add PN532 On Tag Trigger (#189)
* Add PN532 On Tag Trigger

* Lint

* Fix 😶

* Fix
2018-10-17 21:29:44 +02:00
Otto Winter
75628b96a1
Add Text Sensors (#166)
* Text Sensors

* Add version text sensor

* Fix

* Fixes

* Add tests

* Add template text sensor

* Lint

* Fix test
2018-10-17 21:24:02 +02:00
Otto Winter
b1f7ed4fdc
Add CSE776 for Sonoff Pow R2 (#190) 2018-10-17 21:14:31 +02:00
Otto Winter
b8d7185d99
Unify Xiaomi implementations (#188) 2018-10-17 20:56:55 +02:00
Otto Winter
2d20a1c0fb
Decentralize Automation Generator Code (#182)
* Decentralize Automation Generator Code

* Lint
2018-10-16 23:16:06 +02:00
Otto Winter
820067ae5a
GPIO Switch Power On Value v2 (#183) 2018-10-16 22:58:26 +02:00
Otto Winter
db8313e0d5
Fix config dump time output (#184) 2018-10-16 20:45:24 +02:00
Otto Winter
27a77c685d
Rework OTA to be more stable (#177)
* Rework OTA to be more stable

* Lint
2018-10-14 19:14:28 +02:00
Otto Winter
e34365dc7c
Add clean build files command and auto-clean on version change (#181)
* Add clean build files command and auto-clean on version change

* Update __main__.py
2018-10-14 18:52:21 +02:00
Otto Winter
8d395e5338
MQTT different log level (#167)
* Add option to have different log level over MQTT

* Add Test

* Lint
2018-10-14 18:46:17 +02:00
Otto Winter
6f54afec00
Add MQTT Subscribe sensor (#175) 2018-10-14 18:45:13 +02:00
Otto Winter
6a24145be6
Fix Wifi power_save_mode option (#178)
* Fix WIFI power_save_mode option

* Add Test
2018-10-13 21:17:19 +02:00
escoand
4a2cdbf31c Add Samsung IR protocol (#176)
* add Samsung ir protocol

* fix pylint

* add test

* add transmitter
2018-10-13 19:21:06 +02:00
Otto Winter
1d75ed1ff4
Add use_build_flags removal notice (#173) 2018-10-12 12:12:07 +02:00
Otto Winter
f2cd2ec178
Fix raw remote receiver (#158) 2018-10-12 09:49:10 +02:00
Otto Winter
37360bb797
Log esphomelib version and compilation time on boot (#159) 2018-10-12 09:48:55 +02:00
Otto Winter
f7671f0c90
Bump version to 1.8.2 2018-10-07 17:01:15 +02:00
Otto Winter
639b97ccb2
WiFi: Add power save mode option (#150)
* WiFi: Add power save mode option

* Lint
2018-10-07 16:52:14 +02:00
Otto Winter
0374b3a0b3
Fix component loader value error (#149)
* Print better error message when loader fails with ValueError

* Improve

* Improve
2018-10-07 14:38:22 +02:00
Otto Winter
05a1089ed2
Bump platformio-espressif32 to 1.4.0 (#142) 2018-10-04 19:01:24 +02:00
Otto Winter
71947bb6ac
Fix using unicode in lambdas (#141)
https://github.com/OttoWinter/esphomeyaml/issues/128#issuecomment-425777989
2018-10-04 19:01:13 +02:00
Otto Winter
ef54e33b70
Add clean MQTT button to dashboard (#139) 2018-10-04 19:01:02 +02:00
Otto Winter
12f20fc3cf
Fix serial monitor opening when logger disabled (#138)
Fixes #137
2018-10-04 19:00:51 +02:00
Otto Winter
ffdcddc18e
Add SSD1306 64x48 display (#136) 2018-09-29 14:50:14 +02:00
Otto Winter
85d70eb5a0
Auto-Update esphomelib dev version (#134)
* Auto-Update esphomelib dev version

* Lint
2018-09-29 14:50:04 +02:00
Otto Winter
d3f2fab88a
Fix SSD1306 lambda (#132)
As per #128
2018-09-28 18:17:22 +02:00
Otto Winter
0fa52d0ce6
Fix MQTT discovery enabled when discovery_retain in config (#131) 2018-09-27 16:34:11 +02:00
Otto Winter
cf264a2743
Fix binary sensor heartbeat not working (#130) 2018-09-27 16:34:02 +02:00
Otto Winter
433b605bef
Bump version to 1.8.1 2018-09-26 19:00:41 +02:00
Otto Winter
5e5137960d
Limit upload speed to 115200 (#122)
* Limit upload speed to 115200

* Lint
2018-09-26 01:27:47 +09:00
Otto Winter
8dba37846b
Bump version to 1.8.0 2018-09-25 13:43:45 +02:00
Otto Winter
bc8354bad5
Lint 2018-09-25 10:36:12 +02:00
Otto Winter
2abbe1bca3
Updates 2018-09-25 10:30:45 +02:00
Otto Winter
74c70509c2
Fix docker build 2018-09-25 10:30:45 +02:00
Otto Winter
1576e1847e
Lint 2018-09-25 10:30:45 +02:00
John Erik Halse
9ea9b4b102 Use tls for connecting to mqtt broker when fingerprints is set (#118) 2018-09-24 22:27:38 +09:00
Adriaan Peeters
490743c26e Add ‘only-generate’ parameter to generate command to only generate the C++ code (#84)
* Introduce parser_compile variable

* Add ‘only-generate’ parameter to the compile command which only generates the C++ code
2018-09-19 21:51:39 +09:00
Otto Winter
1c7bddd005
Last Touches 2018-08-25 22:18:22 +02:00
Otto Winter
5c39f73fda
Further changes 2018-08-24 22:44:15 +02:00
Otto Winter
2fc78a1b33
Fixes for release-candidate 2018-08-22 22:04:56 +02:00
Otto Winter
03249780fd
Displays 2018-08-18 21:40:59 +02:00
Otto Winter
5170a7cdf4
Smallish Update 2018-08-13 19:11:33 +02:00
Otto Winter
61bd2a3a44
Revert "Revert "Add password to esphomeyaml non-dev config""
This reverts commit 7802c63f5a.
2018-06-14 10:08:27 +02:00
Otto Winter
7802c63f5a
Revert "Add password to esphomeyaml non-dev config"
This reverts commit 94bef2a5a4.
2018-06-14 09:39:18 +02:00
Otto Winter
94bef2a5a4
Add password to esphomeyaml non-dev config 2018-06-14 09:29:53 +02:00
Otto Winter
12c4b0788c
Small fixes 2018-06-14 00:14:01 +02:00
Otto Winter
b13cc3a4a5
Fix lint 2018-06-13 23:01:50 +02:00
Otto Winter
c5d9bc5452
Bump version to 1.7.0 2018-06-13 22:56:49 +02:00
Otto Winter
6c6d21a7ab
Allow simpler automation syntax 2018-06-13 21:27:58 +02:00
Otto Winter
9bb06782b2
Automate HassIO builds using Gitlab CI (#52)
* Add Gitlab CI

* Fix aarch64 edge build
2018-06-13 11:13:53 +02:00
Otto Winter
a827b51887
Add ESP32 BLE Beacon 2018-06-12 21:18:04 +02:00
Otto Winter
2c30d80490
Fix multi wifi validation 2018-06-11 16:13:46 +02:00
Otto Winter
e0acdc3ae0
Revert Multi Wifi 2018-06-11 15:22:03 +02:00
Otto Winter
36a3f96011
Fix RF receiver dumpers 2018-06-11 15:21:38 +02:00
Otto Winter
6ae8e3495f
Add build_path option. Fixes#49 2018-06-11 10:12:44 +02:00
Otto Winter
6aa449115f
Add internal modifier. Fixes ottowinter/esphomelib#77 2018-06-11 10:01:54 +02:00
Otto Winter
0be29d27d5
Fixes esphomelib#72 2018-06-08 20:33:14 +02:00
Otto Winter
68fa7489a2
Improve time config validation 2018-06-08 20:33:14 +02:00
Johan Bloemberg
d7699c93d6 Fix deprecation of board_flash_mode parameter (#41)
* Fix deprecation of board_flash_mode parameter

Fixes `Warning! `board_flash_mode` option is deprecated and will be removed in the next release! Please use `board_build.flash_mode` instead.`

* Don't break flashing for older installations.
2018-06-08 11:34:06 +02:00
Johan Bloemberg
a04438e924 Make sure logs after upload works when using explicit OTA. (#42) 2018-06-08 10:41:01 +02:00
Otto Winter
e063f2aaea
Fix hmac with non-ASCII passwords 2018-06-07 21:52:41 +02:00
Otto Winter
ec3366cce0
Dashboard authentication 2018-06-07 20:47:06 +02:00