573 Commits

Author SHA1 Message Date
Maxim Prokhorov
f75d379d20 pio: toolchain version from platform 2024-04-10 23:19:57 +03:00
Dmitry
1e765d7e68 thermostat: clean-up and build fixes (#2601)
- update library esp8266-oled-ssd1306 to the latest version
- fix thermostat build issues
- simplify and clarify thermostat control logic
- add logs to thermostat control logic
2023-12-20 19:39:45 +03:00
Maxim Prokhorov
fc74b85e2f pio: force toolchain update 2023-03-27 20:28:26 +03:00
Maxim Prokhorov
481e851d05 pio: bump platform_latest to 4.2.x 2023-03-27 19:22:16 +03:00
Maxim Prokhorov
44ec40304c pio: build pzemv3 envs 2022-10-27 03:57:54 +03:00
Maxim Prokhorov
951fceff05 pio: no need to init Serial when debugging 2022-10-23 03:18:57 +03:00
Maxim Prokhorov
5361e3d3df cfg: clean-up 2022-09-25 08:26:22 +03:00
Maxim Prokhorov
574fbf1960 uart: standalone configuration
- setup uart at boot instead of delaying until some module needs it
  removes global `SERIAL_BAUDRATE` and `DEBUG_PORT` in favour or
  globally accessible numbered port configurations with `MODULE_NAME_PORT`
- automagically enable uart support for sensors that need it
- allow every sensor to configure uart0 (normal and swapped), uart1
  and an optional software-serial mode support with an extra build flag
  remove individual includes across the sensors
- settings queries and runtime port configuration (prefixed with uart)
- update dependencies header to cross-reference used ports at build time
- update deprecations header with serial baudrate notice
2022-09-25 08:26:22 +03:00
Maxim Prokhorov
5bc55cd1a5 hw: core -> minimal 2022-09-21 04:21:23 +03:00
Maxim Prokhorov
1f9f4998cc pio: bump platform_latest to 4.0.x 2022-06-01 21:35:25 +03:00
Maxim Prokhorov
e40f91397b pio: use git toolchain with -latest-base
preemptive fix for the issue resolved in the 3.1.0
2022-05-07 15:25:35 +03:00
Ken Nixon
99c3d24bbd hw: add support for Itead Sonoff POW R3 (#2506)
Added support for Itead Sonoff POW R3 (https://itead.cc/product/sonoff-powr3/)

This device is essentially the same as the POW R2, except:
- the relay is a normally closed type,
- the current and power ratings of the device are higher.
2022-05-06 13:47:37 +03:00
Maxim Prokhorov
57f04023d4 pio: major version option renames 2022-05-05 20:02:35 +03:00
Maxim Prokhorov
f9df216409 pio: mention registry ui 2022-05-05 17:50:21 +03:00
Maxim Prokhorov
2b50620f92 pio: move some of libraries to the registry
While I am still hesitant to call this an improvement,
at least this makes part of the installation slightly faster
2022-05-05 17:50:21 +03:00
Maxim Prokhorov
6b1a2de06d ir: bump IRremoteESP8266 to 2.8.2 2022-05-05 17:50:21 +03:00
Maxim Prokhorov
0c3b1acecc sns: more flash strings
also normalize token values of particle measurements
2022-05-05 17:50:21 +03:00
Maxim Prokhorov
5ccc70e42e pio: trying to work out 6.0.0 changes 2022-05-05 17:50:21 +03:00
Maxim Prokhorov
4d04125eb6 pio: bump toolchain-xtensa for git environments
ref. https://github.com/esp8266/Arduino/pull/8393
2021-12-07 02:11:46 +03:00
Maxim Prokhorov
c33d9960b4 ir: bump IRremoteESP8266 to 2.8.0 2021-12-07 01:08:44 +03:00
Melanie Thielker
03442608da hardware: add support for Yagusmart 1, 2 add 3 gang switches (#2488)
* Add support for Yagusmart 1, 2 ad 3 gang switches

https://www.amazon.co.uk/gp/product/B086MV5MC8

These don't come with an esp8266 anymore, but can be trivially converted
as the new chip is pin compatible. Note, GPIO15 needs to be connected to
GND on 1 and 2 gang switches in order to enable the ESP to boot.

* Update code/platformio.ini

Co-authored-by: Max Prokhorov <prokhorov.max@outlook.com>

* Adjust build flags and name to be conformant to project culture and conventions

* changelog

* sorting

Co-authored-by: Max Prokhorov <prokhorov.max@outlook.com>
2021-11-25 05:52:14 +03:00
Maxim Prokhorov
d9e37762b6 ir: bump IRremoteESP8266 to 2.7.20 2021-10-03 20:44:58 +03:00
Maxim Prokhorov
1ca8d5e7a0 pio: update platform_latest
Build with Core 3.0.2 release
2021-08-16 17:00:57 +03:00
Maxim Prokhorov
7a77d23bc5 pio: upstream toolchain
More strict than the current platform-espressif8266 and also prefer this version to for the release tag.
2021-08-06 15:07:43 +03:00
Maxim Prokhorov
4be2d370af garland: fixed-size LED arrays
Shuffle std::vector usage, trying out std::array for static data and
std::unique_ptr where common use-case is reserve / resize + emplace

Also try to workaroud exception string issue with gcc4.8, which should
not be a problem with gcc10.3 coming with Core 3.0.0, but... one solution at a time
2021-08-06 12:53:19 +03:00
Maxim Prokhorov
68436f1e72 pio: update platform_latest
Build with Core 3.0.1 release and update the git toolchain to match the upstream
2021-06-29 23:25:24 +03:00
Maxim Prokhorov
c34acf1748 ci: latest Core and split webui test into a separate job 2021-06-20 17:25:20 +03:00
Maxim Prokhorov
a9220ec2b2 pio: pin lib_deps versions and owners 2021-06-18 12:12:09 +03:00
Maxim Prokhorov
23da0b74d4 pio: use swserial from the Core 2021-06-18 12:12:09 +03:00
Maxim Prokhorov
a1e7941fa6 scripts: some more Core version fixes
Remove 2.3.0 code for ldscripts
Update
2021-06-18 12:12:08 +03:00
Maxim Prokhorov
0422d61c69 nofuss: bump to the forked 0.4.0
Make sure it does not have global flags related to the HTTPCLIENT
Use generic ::updateFS with updater, and also support generic "fs" key
in the server response
2021-06-09 12:42:32 +03:00
Andrew Leech
2fc559fa55 hardware: add support for Mirabella Genio White A60 globe (#2439) 2021-04-23 02:16:31 +03:00
Maxim Prokhorov
941ec74baf alexa: fauxmoesp 3.4 2021-04-07 03:53:40 +03:00
Maxim Prokhorov
5a97329832 wifi: refactoring / rewrite
- replace JustWifi with a custom WiFi module
- re-implemented Core methods that deal with scanning, directly work with the SDK callback
- re-implemented Core method for opmode to avoid dealing with the 2.7.x pseudo modes
- re-implemented Core method for forced-(modem)-sleep (with the intention to merge with OpmodeNull... todo)
- disable reconnect and autoconnect from SDK, avoid unintentionally storing ssid & pass for these and
  make connection routine watch for events instead. timeout is implemented as a local timer
- do not store runtime data that can be retrieved via SDK calls
- settings are loaded only when starting AP or STA, networks are no longer kept in memory
- settings STA ssidN must be unique
- remove char buffer from the event callback
- trigger station-disconnected event when actually disconnected, not when connecting or explicitly requesting it
- generic rssi sorting method for initial connection, do rssi checks while connected to find a better network

Drop (temporarily?) wps and smartconfig. Both are implementable with the new approach,
but come with some weird expectations from the SDK side (no extra heap with wps, broadcasting plain-text
passphrase with smartconfig, storing station config implicitly, etc.).

Both are sort-of fixed with RTOS SDK, but it is still a big question of whether to support them at all in the current state.
2021-03-31 09:41:05 +03:00
Rui Marinho
bfa704c2fd sns: remove need to patch bme680 static library (#2429)
Upstream released a version of their proprietary library which does not require any modification to the linker script.
2021-03-31 08:48:09 +03:00
Maxim Prokhorov
b3d9168b4a pio: bump to espressif8266 @ 2.6.3 2021-02-06 04:44:25 +03:00
Maxim Prokhorov
05cc081b7d rfm69: fix warning when building 2021-01-28 21:24:20 +03:00
Maxim Prokhorov
125ca6f9b3 rfm69: cleanup and bump version 2021-01-24 03:38:02 +03:00
Maxim Prokhorov
e50b6fe79a mdns: clean-up 2021-01-24 03:38:02 +03:00
Maxim Prokhorov
ca15752f3b pio: fixup generic build 2021-01-16 20:41:08 +03:00
Maxim Prokhorov
e7d92369fb pio: notice about macOS big sur 2021-01-04 05:01:14 +03:00
Maxim Prokhorov
d1916014c3 pio: git toolchain version bump
see https://github.com/esp8266/Arduino/issues/7792#issuecomment-750861423
2021-01-04 05:01:03 +03:00
DmitryBlinov
5aeb24f263 garland: new module (#2408)
Port of https://github.com/Vasil-Pahomov/ArWs2812 from Arduino to ESP8266
Implementing garland of WS2812

Co-authored-by: Dmitry Blinov <dblinov@blackberry.com>
2020-12-24 17:44:59 +03:00
m-kozlowski
51ad030adf alexa: bump fauxmoesp to 3.1.2
As of October 2020, this project is now being maintained at https://github.com/vintlabs/fauxmoESP

Co-authored-by: mkozlowski <gitcmt@empeka.pl>
2020-12-22 15:05:05 +03:00
Maxim Prokhorov
a62d1cdd13 pio: -latest-base -> -base for envs
Already using the "latest" stable release, no need to split things (at least for now)
2020-11-16 03:25:19 +03:00
Maxim Prokhorov
b24b0a2369 pio: fix git builds & bump current platform
- platform == platform_latest
- mcspr/toolchain-xtensa via https://github.com/platformio/platformio-core/issues/3612

Yet, this does not avoid useless warnings that platform does
not specify platformio/* prefix in the package spec :(

It should be available in the next espressif8266 version:
0859336019
2020-11-16 03:16:09 +03:00
Alex. Tircovnicu
289c8cb49c hardware: add support for Gosund P1 Power Strip (#2391) 2020-11-02 22:14:52 +03:00
Nicolas Gilles
85969e4945 hardware: add support for Benexmart GU5.3 RGBWW light (#2381)
* Add support for Benexmart GU5.3 RGBWW light

* Update arduino.h

Co-authored-by: Max Prokhorov <prokhorov.max@outlook.com>
2020-10-15 20:26:12 +03:00
tom-kaltofen
801e22a034 hardware: add support for LSC E27 10W white bulb (#2375)
* Add support for LSC E27 10W white bulb

* Add OTA config for LSC E27 10W white bulb
Add LSC E27 10W white bulb to arduino.h
2020-10-15 19:56:39 +03:00
Alex. Tircovnicu
e859f2bbf7 hw: add support for Gosund SP111 (hardware version 1.1 16A) (#2369) 2020-09-27 05:03:32 +03:00