Maxim Prokhorov
c414ba1251
ha: log autodiscovery -> discovery
5 years ago
Maxim Prokhorov
e8acf33a69
ha: more cancelation reasons
5 years ago
Maxim Prokhorov
9956cd835b
ha: send discovery on reconnect
5 years ago
Maxim Prokhorov
7adedc8992
ws: use std::pair instead of custom struct
5 years ago
Maxim Prokhorov
5bef606f2a
ha: delay discovery until next loop
- stack-like discovery struct to store pending mqtt topic and
message
- use separate json objects for sensor and switch data (different solution for the #1957 )
5 years ago
Maxim Prokhorov
5e7f3c29bd
mqtt: reduce debug log pressure, return result of mqttSend
5 years ago
Max Prokhorov
2f6d3ecf4b
Fix releases URLs and add more info about compilation ( #1960 )
- reference releases/latest for master branch
- add vscode and arduinoide pages
- reword nightly notice, add build info before it
5 years ago
Max Prokhorov
2ecce4d136
README: add nightly builder releases and missing sensors ( #1955 )
* Update README.md
Add nightly build information
Update sensor list
Minor cleanup
* link vscode instructions
5 years ago
Niek van der Maas
e17ee6168e
MQTT & OTA Fingerprint setting capitalization fix ( #1952 )
* MQTT Fingerprint setting capitalization fix
* otafp -> otaFP
5 years ago
Max Prokhorov
a2ada68d6e
Restore WebUI builds in travis ( #1953 )
* test: restore webui builds in travis
* show build.sh usage via -h, exclude build stage instead of explicitly including it
5 years ago
Max Prokhorov
75ceae799e
Merge pull request #1951 from mcspr/test/build-opts
Test: add an ability to run only one build configuration + fix related gcc warnings
5 years ago
Maxim Prokhorov
9025a4eb42
sensor/si7021: unused variable
5 years ago
Maxim Prokhorov
49bfd0819a
sensor/ade7953: unused variable
5 years ago
Maxim Prokhorov
cb9dba4bb6
sensor/pmsx003: only delete object when it is managed by sensor
5 years ago
Maxim Prokhorov
ec37c06ba5
sensor/ads1x15: fix changing sensor type when reading adc
5 years ago
Maxim Prokhorov
0f2226e177
sensor: cast variable as UNUSED and prevent intended assignment warnings
5 years ago
Maxim Prokhorov
01b76adff0
crash,lights: ensure that settings contain positive value
5 years ago
Maxim Prokhorov
b36e5ee396
test: allow to run a single configuration test, improve commandline handling
5 years ago
Max Prokhorov
e97ed26d48
README: add notice about SECURE_CLIENT ( #1950 )
https://github.com/xoseperez/espurna/issues/1465
5 years ago
Max Prokhorov
c18490cc4a
PIO: pass APP_REVISION via extra scripts ( #1946 )
* utils/version: use git description token as version, add memoization
* pio: move extra scripts to a separate directory
* pio: add -DAPP_REVISION=... as local build flag
5 years ago
Max Prokhorov
6cb503b623
Merge pull request #1945 from mcspr/light/cfg-colortemp-range
Lights: configure mired warm / cold at runtime
5 years ago
Max Prokhorov
ff5b0d5165
ha: add platform="mqtt" back to the yaml output ( #1949 )
5 years ago
Max Prokhorov
7ad8045304
Fix infinite loop when printing crash dump ( #1947 )
* terminal: avoid softlock when comparing signed with unsigned
* move offset increment to condition
* adjust settings and crash handler available space
* key
* offset embedis writer and reader too
* rollback settings change
5 years ago
Niek van der Maas
7db0df0a67
NTP: Fix warning about unused variable if DEBUG support is disabled ( #1944 )
5 years ago
Max Prokhorov
d0a137ce94
Test: move travis boards outside of hardware header ( #1943 )
* travis: move build flags tests outside of hardware header
* mqtt: fix typo
* travis: use files instead of bundling test cases into script
* fixup! travis: use files instead of bundling test cases into script
* fix variable expansion, remove custom h at the end
* add ade7953 to sensors list
* custom.h path as variable
* shellcheck
* fix printf syntax, silent again
* fix bash 4.3 treating empty array as unset variable
5 years ago
Max Prokhorov
8dda0072f2
WiFi: allow button action to also disable softAP ( #1942 )
5 years ago
Max Prokhorov
6a3ef86c8f
light: change naming order for cct vars
5 years ago
Max Prokhorov
5a2314e17a
light: update XIAOMI_SMART_DESK_LAMP mired values
5 years ago
Max Prokhorov
6d9d4ae149
light: provide mired warm / cold limits to webui
5 years ago
Maxim Prokhorov
bcd2bf807f
light: configure colortemp limits from settings
5 years ago
Xose Pérez
0a11a74f94
Support for TFlag NX-SM100 and NX-SM200 power monitoring switches
5 years ago
Xose Pérez
8b7eea6c72
ESPurna base image for Tuya Convert
5 years ago
Xose Pérez
06ebab31b5
Support for Teckin SP21
5 years ago
Max Prokhorov
1949bc8e3b
Telnet: (optional) buffered output for AsyncTcp server ( #1929 )
* telnet: buffered output for async server
* telnet: make async buffer an option
* just use the queue containers directly
* try with simpler list
* exhaust buffers as much as possible in a single try
* don't forget to destroy the client object
* naming
* kill the connection earlier
* fix merge issues
5 years ago
Niek van der Maas
f3b35567d4
Added support for reverse telnet ( #1920 )
* Added support for reverse telnet
* Fix issues with first command being ignored
* Fix incorrect client creation
* Integrate PR 1927
5 years ago
Max Prokhorov
cf4540ae90
lights: module declarations in the header
5 years ago
Max Prokhorov
038cb912d5
encoder: load once, use iterators
5 years ago
Max Prokhorov
f007b484e3
lights: directly use String as buffer for group payload
5 years ago
Max Prokhorov
97821f3b21
lights(xxx): help 2.3.0 string deduplication
...2.6.0+ does this all by itself
5 years ago
Max Prokhorov
3ae164490a
light: move hardcoded comms masks to the header
5 years ago
Max Prokhorov
9ec3723a11
light: update toRGB and toHSV to use local buffer
5 years ago
Max Prokhorov
559c75d3c7
lights: switch to signed arithmetic, introduce adjustment and update step functions
5 years ago
Max Prokhorov
ee6ee89302
mqtt: fix building with pubsubclient / arduinomqtt without secureclient enabled ( #1939 )
hide _mqtt_client_secure under preprocessor check
5 years ago
Thomas Oeding
bd385f9fbc
ESP8266 FS-UAP1 Control board ( #1925 )
Control board for Hoermann UAP1 Garage interface
http://frank-schuetz.de/index.php/fhem/13-hoermann-torantrieb-mit-espeasy-in-fhem-einbinden
5 years ago
Max Walter
25d37f1c5c
Markdown Typo Fix ( #1926 )
5 years ago
Niek van der Maas
a0fc672816
Properly handle telnet negotiation ( #1927 )
* Get rid of _telnetFirst (assumption that first line is always telnet renegotiation)
Discussed in: #1920 (comment)
5 years ago
Max Prokhorov
d4698c0a37
light: fix inconsistent transitions ( #1901 , #1923 )
* light: fix inconsistent transitions
- capture step variable for the current transition
- use one-shot timer, restart from the timer callback
* schedule inside provider func, not transition
5 years ago
Xose Pérez
fe247c7465
Fix button2 GPIO in Sonoff MINI
5 years ago
Xose Pérez
50eda3371b
Itead Sonoff Mini support
5 years ago
Max Prokhorov
deb465763f
Fix WiFi scan results in Web ( #1913 )
* web: re-add wifi scan action, send as json array
* ws: forcibly inline send functions
5 years ago