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
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
Max Prokhorov
c0c534926b
Light: store pwm consts as progmem data ( #1906 )
5 years ago
Max Prokhorov
ae070b5973
Lights: channel value change detection ( #1914 )
5 years ago
Max Prokhorov
1f44bf5790
WiFi: Configure TX power ( #1915 )
5 years ago
Max Prokhorov
0ede907400
cfg: ignore MDNS_CLIENT_SUPPORT with lwip2
5 years ago
Max Prokhorov
9232ebae66
ws: move cmdVisible to terminal module
5 years ago
Max Prokhorov
fc2e29552e
test: netstat and dns probing in terminal
5 years ago
Niek van der Maas
29ce81e4bf
Fix SSL check callback function definition ( #1916 )
* Fix SSL check callback function definition
* Print secure client check as string
5 years ago
Max Prokhorov
cf3bd49bde
light: fix value2pwm range conversion ( #1902 , #1905 )
5 years ago
Niek van der Maas
ad2188cc0b
Fix HTTPS support with OTA_CLIENT_HTTPUPDATE ( #1894 )
5 years ago
Max Prokhorov
7959863526
lights: toRGB default arg
5 years ago
Max Prokhorov
054a9a5ea7
lights: fix kelvin/mired const naming
5 years ago
Max Prokhorov
f0a86ded9e
lights/hsv: properly divide rgb values
5 years ago
Max Prokhorov
a2688ec376
lights: don't show v for hsv picker, use brightness instead
5 years ago
Max Prokhorov
f8deb535b5
lights: selector typo
5 years ago
Max Prokhorov
8dbd25c548
lights: initColor args
5 years ago
Max Prokhorov
e233fd5b08
web: move hsv picker conversions into functions
5 years ago
Max Prokhorov
5622fb8183
wifi: try garp before checking AP, if it is destroyed
5 years ago
Max Prokhorov
5d5f0f8b8c
light: schedule provider update on loop
5 years ago
Max Prokhorov
019e8ae10d
util: do not construct struct for simple getFreeHeap
5 years ago
Max Prokhorov
7efaaa8a80
ir: use proper methods
5 years ago
Max Prokhorov
0bf07f166e
web: update to jquery 3.4.1 and wheelcolorpicker 3.0.8
5 years ago
Max Prokhorov
68270310c7
web: parse host query via browser api, logging
5 years ago
Thomas
24788474ad
ha: add color_temp_state_topic ( #1891 )
5 years ago
Max Prokhorov
26fcdd76c5
WiFi settings clean-up ( #1893 )
* use indexed getsetting
* store defaults in progmem
5 years ago
Max Prokhorov
4bc530452c
relay: fix typos in payload configuration ( #1892 )
5 years ago
Max Prokhorov
beff73ef8b
relay/mqtt: handle custom relay status payloads ( #1889 )
- customize relay TOGGLE payload
- match payload string when receiving mqtt status message
- reference enum values instead of raw integers, spell out intended status
- remove dead code
amend #1885 , capitalize `relayPayload...` suffix instead of using uppercase
add `relayPayloadToggle`
5 years ago
Max Prokhorov
13c1a19328
Home Assistant updates ( #1885 )
- remove "platform" key, see #1440 . this implicitly sets schema to "basic". pending some other clean-up regarding json and mqtt queueing, other schema can be added down the line
- updated ws module queue elem to capture callbacks list, allows to pass more than one callback (for example, when they are generated on the fly as lambdas, see ha wsPost usage)
- modified method to send ha config to use global ws queue, fix #1762 problem with empty topics and ensure json allocation is consistent.
- use existing defines to set mqtt payload options. amend #1085 , #1188 , #1883 to use the set payload value. drop HOMEASSISTANT_PAYLOAD... defines.
- update MQTT_STATUS_ONLINE/OFFLINE and RELAY_MQTT_ON/OFF with runtime configuration
- filter payload strings so that the resulting yaml value is not interpreted as bool (python True, False)
- helper method for settings to streamline string values manipulation
5 years ago
Max Prokhorov
e398685ba4
mqtt: generic secureclient configuration ( #1873 )
* Rework MQTT sync client configuration
* MQTT_LIBRARY_...
* comments
* fix not doing any checks for bearssl, remove afterconnected template for mqttclient
* comments
* comments
* secure bool stub
* typos, always include sc helpers
* fix on_fingerprint return type
* typo
* typo
* indent
* tag is already in config obj
* generate mqtt featureset string at compile time
* reword again
* trusted_root_ca
5 years ago
Max Prokhorov
9d166f8a30
mqtt: update MQTT_MAX_PACKET_SIZE to fit JSON payload ( #1888 )
5 years ago