Commit graph

148 commits

Author SHA1 Message Date
dependabot[bot]
a21c3e8e2d
Bump platformio from 6.0.2 to 6.1.4 (#3711)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-10-20 12:49:11 +13:00
Andrey Yantsen
7097b7677e
Add the same docker tags as used in HA (#3752) 2022-09-04 20:23:54 +12:00
Peter Galantha
c95acd2568
update packages: nginx-light-1.18.0-6.1+deb11u2 nano-5.4-2+deb11u1 (#3631) 2022-07-25 16:04:21 +12:00
Jesse Hills
311a48c64e
Bump platformio to 6.0.2 (#3566) 2022-06-21 11:53:51 +12:00
quentin9696
3346bc8bba
feat: add openssh-client on docker image (#1681) (#3319)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-04-26 10:09:49 +12:00
Otto Winter
0b1161f7ef
Bump docker dependencies (#3354) 2022-04-04 19:21:43 +02:00
Otto Winter
3208c8ed1e
Bump docker dependencies (#3281) 2022-03-09 13:48:02 +01:00
Jesse Hills
2c7b104f4a
Fix fatal erroring in addon startup script (#3244) 2022-02-21 10:01:00 +13:00
Otto Winter
953f0569fb
Docker ha-addon switch to nginx-light (#3218) 2022-02-17 12:07:36 +01:00
Otto Winter
34c229fd33
Fix platformio docker version mismstch (#3215) 2022-02-17 11:56:14 +01:00
Otto Winter
4e24551b90
Docker move deps install into base (#3207) 2022-02-16 22:25:04 +01:00
Jesse Hills
5c22065135
Change most references from hassio to ha-addon (#3178) 2022-02-09 23:46:20 +13:00
Otto Winter
df0de2fc2d
Bump docker dependencies (#3131) 2022-01-29 13:04:15 +01:00
Otto Winter
470071e0b0
Bump docker dependencies (#3019) 2022-01-08 14:15:05 +01:00
Oxan van Leeuwen
e62c3e00c1
Bump PlatformIO to 5.2.4 and zeroconf to 0.37.0 (#3007) 2022-01-06 16:36:23 +01:00
Jesse Hills
b601560e81
Apply --no-use-pep517 for docker images (#2985) 2022-01-04 10:16:02 +01:00
Jesse Hills
f859b346a6
Remove -e for hassio images (#2964) 2021-12-30 10:42:22 +13:00
Jesse Hills
7927b5f624
Workaround installing as editable package not working (#2936) 2021-12-23 08:43:17 +13:00
Jesse Hills
79d73d8f8b
Add option to load docker image when building (#2938) 2021-12-22 20:49:04 +13:00
Jesse Hills
99bd808ebe
Update curl package version in docker (#2939) 2021-12-22 15:27:34 +13:00
Oxan van Leeuwen
04740fbcbb
Install test requirements in lint Docker image (#2719) 2021-11-15 10:04:43 +13:00
Otto Winter
4765173778
Update docker base images (#2583) 2021-10-21 20:07:44 +02:00
dependabot[bot]
f408f074c4
Bump platformio from 5.2.1 to 5.2.2 (#2569)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
2021-10-21 20:01:27 +02:00
Otto Winter
156104d5f5
Fix platformio_install_deps no longer installing all lib_deps (#2584) 2021-10-21 15:29:32 +02:00
Otto Winter
c248ba4043
Fix platformio version in Dockerfile doesn't match requirements (#2582) 2021-10-21 14:53:08 +02:00
Otto Winter
7af1c04493
Bump debian base to 5.1.0 / 20210902 (#2413) 2021-09-28 23:16:00 +02:00
Otto Winter
11daabc9c2
Fix docker pio settings not applied (#2370) 2021-09-22 10:32:39 +02:00
Otto Winter
2d7f8b3bdf
Install python requirements after apt ones for better caching (#2349)
* Install python requirements after apt ones for better caching

* Fix buildkit caching works differently
2021-09-20 10:31:48 +02:00
Otto Winter
5e345783bd
Fix docker release deploy push flag (#2348) 2021-09-20 09:55:18 +02:00
Otto Winter
272ceadbb0
Redo docker build system with buildkit+multi-stage and cache pio packages (#2338) 2021-09-20 09:07:38 +02:00
Oxan van Leeuwen
aed140d802 Fix typo 2021-09-15 19:13:30 +02:00
Oxan van Leeuwen
c69b88bb55 Fix platformio.ini parser used by container build 2021-09-15 19:10:51 +02:00
Otto Winter
b9767bdcbc
Bump platformio to 5.2.0 (#2291) 2021-09-13 21:16:13 +02:00
Oxan van Leeuwen
924df1e7de
Run clang-tidy against Arduino 3 (#2146)
* Add macros header with more usable Arduino version defines

* Change Arduino version checking to use our version defines

* Add missing ESP8266 check

* Rename Arduino version macro to ARDUINO_VERSION_CODE

* Upgrade clang-tidy to use Arduino 3

* Fix clang-tidy warnings

* Upgrade NeoPixelBus to upstream 2.6.7

* Use Arduino-version-appropriate API to set redirect flags

* Remove now unnecessary CLANG_TIDY ifdefs

* Add preprocessor hackery to avoid including pgmspace.h

* Bump base image to 4.1.1 and update lint

* Fix nfctag

* Fix make_unique ambiguous

* Fix ignore name

* Fix ambiguous v2

* Remove unused begin

* Cast time_t to prevent issues on platforms where time_t is 32bit

Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-13 18:55:04 +02:00
Jesse Hills
b3ae3e1feb
Tidy HA addon (#1937) 2021-08-09 10:30:19 +12:00
Otto Winter
799f04efc0
GH Actions CI use GHCR (#2027) 2021-07-15 21:51:52 +02:00
Otto Winter
cc7dbeada6
Refactor docker build system and workflows (#2023) 2021-07-15 21:30:04 +02:00
dentra
c411043681
Adds support cpp to vscode (#1828)
Co-authored-by: Stefan Agner <stefan@agner.ch>
2021-06-15 10:45:22 +12:00
Otto Winter
4711f36a1f
Bump base image to 3.4.0 (#1879) 2021-06-08 22:03:04 +02:00
Oxan van Leeuwen
33625e2dd3
CLI user experience improvements (#1805)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-06-08 11:14:12 +12:00
Stefan Agner
0277218319
Bump Docker base version to 3.1.0 (#1864)
Bump Docker base version to 3.1.0 which includes Arduino SDK 1.0.6
for ESP32.
2021-06-08 07:02:31 +12:00
Otto Winter
89d0d41c5a
Switch docker images to debian (#1626) 2021-03-20 20:58:46 +01:00
Otto Winter
5eeb110d74
Bundle platformio lib_deps in docker images (#1625) 2021-03-20 18:43:31 +01:00
Klarstein
50006e4c42
Update Dockerfile health check timings (#1517) 2021-02-12 15:26:55 +13:00
Klarstein
d3b758d10a
Add docker healthcheck (#1492) 2021-01-27 19:16:59 +13:00
Klarstein
22ab830ff3
Expose port 6052 in Dockerfile (#1437) 2020-12-30 22:58:09 +13:00
Otto Winter
ccb6fc3010
Bump docker base image to 2.6.0 (#1245) 2020-08-08 18:42:21 +02:00
Otto Winter
3f6f3c14c4
Bump ESP8266 Arduino framework from 2.7.2 to 2.7.3 (#1229) 2020-07-29 23:29:38 +02:00
Otto Winter
cb0ba647ed
Bump base image to 2.4.1 (#1224) 2020-07-29 20:04:14 +02:00
Otto Winter
d26c43103d
ESP8266 change recommended framework version to 2.7.2 (#1208) 2020-07-27 18:22:47 +02:00
Otto Winter
e069687477
Fix Dockerfile.hassio and improve caching
Previous one was broken, see also https://github.com/esphome/esphome/runs/874896962
2020-07-15 22:13:14 +02:00
Otto Winter
8166d0de79
Remove i386 arch
See also https://github.com/esphome/esphome-docker-base/issues/5
2020-07-15 21:42:12 +02:00
Otto Winter
d9c33f19e2
Fix executable bits on some hassio files (#1151) 2020-07-15 15:30:32 +02:00
Otto Winter
dcadcdf056
Use more layer caching for esphome/esphome Dockerfile (#1150) 2020-07-15 15:03:15 +02:00
Otto Winter
764eb960c6
Update build scripts 2020-07-15 01:37:30 +02:00
Otto Winter
cf703f6ac4
GH Actions Update (#1134) 2020-07-14 14:34:44 +02:00
Jesse Hills
ac4a179703
Install updated git version in lint image (#1122) 2020-07-11 17:22:03 -03:00
Niklas Wagner
b650704877
Update docker base image (#1093)
* Upgrade docker base image to 2.1.0

* Upgrade docker base image to 2.1.1

Co-authored-by: Otto Winter <otto@otto-winter.com>
2020-06-13 19:51:43 -03:00
Nikolay Vasilchuk
3b7a47fb90
VSCode devcontainer support (#914)
* Devcontainer

* Removed header from json
2020-04-05 15:50:52 -03:00
Otto Winter
056c72d50d
Drop Python 2 Support (#793)
* Remove Python 2 support

* Remove u-strings

* Remove docker symlinks

* Remove from travis

* Update requirements

* Upgrade flake8/pylint

* Fixes

* Manual

* Run pyupgrade

* Lint

* Remove base_int

* Fix

* Update platformio_api.py

* Update component.cpp
2019-12-07 18:28:55 +01:00
Jesse Hills
d280380c8d Allow loading esphome version from a fork (#907) 2019-12-05 12:01:12 +01:00
Otto Winter
c0adaa8de8
Update docker base image to 2.0.1 (#785) 2019-10-21 22:55:16 +02:00
Otto Winter
e553c0768e
Link pip&python in lint Dockerfile 2019-10-19 20:23:14 +02:00
Otto Winter
823ae7d1aa
Switch to Python 3 for docker installs (#774) 2019-10-19 16:31:03 +02:00
Nikolay Vasilchuk
1a763ae974 Authorization by username and password (#668)
* Auth

* Logout

* Lint fix

* Small hassio fix

* Reverted uppercase

* Secrets editor

* Reverted secrets editor

* Reverted log height

* Fix default username
2019-10-13 13:52:02 +02:00
Otto Winter
f99352f7e0
Update base image to 1.8.3 (#625) 2019-06-08 16:44:13 +02:00
Otto Winter
4d00dfd308
Update docker base image to 1.8.0 (#618) 2019-06-06 13:39:14 +02:00
Otto Winter
f977e9da2b
Fix Hass.io addon SSL (#613)
Fixes https://github.com/esphome/issues/issues/404
2019-06-06 13:14:20 +02:00
Otto Winter
c53483a3b2
ESP8266 connect fixes (#605)
* ESP8266 Connection Fixes

* Update client.py

* Update mqtt_client.cpp

* Update mqtt_client.cpp

* Fix ping

* Async dump config

* Update base image to 1.7.0

* Update helpers.py

* Updates

* Update Dockerfile.lint
2019-06-03 15:21:36 +02:00
Otto Winter
a23ebead68
Update gitlab CI script, add cpp lint 2019-05-28 10:23:15 +02:00
Otto Winter
a323679771
Revert upgrade ESP8266 core
Binary size increased by 30kb
2019-05-16 18:34:51 +02:00
Otto Winter
ed61c1dd58
Update docker base image 2019-05-15 14:41:11 +02:00
Otto Winter
797aadaf26
Update CI linter (#544)
* Update CI matcher

* Check Executable bit
2019-05-11 15:12:30 +02:00
Otto Winter
5e5b9f2205
Hass.io Ingress (#519)
* Hass.io ingress

* Update

* Remove global vars

* Fix

* Fixes

* Fixes

* Upgrade base image to 1.5.1

* Lint
2019-04-24 17:08:05 +02:00
Otto Winter
0272048899
Upgrade docker base image to 1.4.3 (#499) 2019-03-31 12:25:44 +02:00
Otto Winter
7ad2d86929
Update Hassio base image to 1.4.1 (#484)
* Update Hassio base image to 1.4.1

* Fix rotary encoder typo

Fixes https://github.com/esphome/issues/issues/136
2019-03-17 20:41:07 +01:00
Otto Winter
f3ec83fe31
Add ESP32 Camera (#475)
* Add ESP32 Camera

* Fixes

* Updates

* Fix substitutions not working for non-ASCII

* Update docker base image to 1.3.0
2019-03-13 16:40:09 +01:00
Otto Winter
067ec30c56
Add relative_url, streamer_mode, status_use_ping dashboard options (#461)
* Add relative_url, streamer_mode, status_use_ping dashboard options

Additionally Hass.io now stores all build files in /data, so that snapshots no longer get huge.

* Lint

* Lint

* Replace tabs with spaces
2019-03-03 16:50:06 +01:00
Otto Winter
34ca5d6d8a
Update base image to 1.2.1 2019-02-17 15:54:15 +01:00
Otto Winter
a8d87a1fee
Update to 1.1.0 docker base image 2019-02-14 16:07:28 +01:00
Otto Winter
d7eacb2a2f
Fix docker hub build 2019-02-13 21:40:10 +01:00
Otto Winter
41ec337ba0
Try to fix docker hub build 2019-02-13 21:29:08 +01:00
Otto Winter
3d9301a0f7
Rename esphomeyaml to esphome (#426)
* Rename

* Update

* Add migration

* Fix

* Fix dashboard

* Change test

* Fixes

* Code cleanup

* Fix import order

* Update

* Automate docker builds

* Shellcheck
2019-02-13 16:54:02 +01:00
Otto Winter
d9cf91210e
Add local mDNS responder for .local (#386)
* Add local mDNS responder

* Fix

* Use mDNS in dashboard status

* Lint

* Lint

* Fix test

* Remove hostname

* Fix use enum

* Lint
2019-02-10 16:57:34 +01:00
Otto Winter
804a1ed7b3
Upgrade HassIO Ubuntu Base to 2.2.1 (#368) 2019-01-19 16:48:35 +01:00
Otto Winter
86130b2954
Pin platformio platforms (#335) 2019-01-13 19:03:07 +01:00
Otto Winter
9bce35e335
Make tzlocal a requirement 2019-01-06 09:48:03 +01:00
Otto Winter
22fd4ec722
Make compatible with python 3 (#281)
* Make compatible with python 3

* Update travis

* Env

* Fix typo

* Fix install correct platformio

* Lint

* Fix build flags

* Lint

* Upgrade pylint

* Lint
2019-01-02 14:11:11 +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
39457f7b8c
Enable nodelay for phase 1 of OTAv2 2018-11-13 15:31:14 +01:00
Otto Winter
8a58ff91c3
Update Gitlab Build Script (#215) 2018-11-03 16:24:26 +01:00
Otto Winter
ab6d293d0d
Fix docker installs using old platformio version (#125)
* Fix min platformio version and update requirements

* Remove unnecessary requirements from travis
2018-09-27 01:14:51 +09:00
Otto Winter
5cd82d7c25
Try fix docker build 2018-09-25 13:26:01 +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
Otto Winter
1c7bddd005
Last Touches 2018-08-25 22:18:22 +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
982e9c1051
Initial Commit 🎉 2018-04-07 01:23:03 +02:00