Xose Pérez
8b7eea6c72
ESPurna base image for Tuya Convert
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
21423431ce
Fixed size json payload & other WS bugfixes ( #1843 )
- update every dynamicjsonbuffer with fixed size constructor argument
- change to ws callback registration to use a class builder (just cosmetic)
- test multiple ws data callbacks for each module
- remove some of the static strings in favour of ws data callback
- improve sensor ws callback data size, remove duplicated strings
- use static buffer in wsDebugSend
- postpone wsSend until loop, implement wsPost to allow other modules to queue message callbacks. remove Ticker based ws callbacks for data
- update WebUI files
5 years ago
Max Prokhorov
aac2e1e47e
LED: store default settings exactly once ( #1719 , #1724 )
5 years ago
Xose Pérez
0987e01950
Allow to configure all LEDs from UI ( #1429 )
5 years ago
Malachi Soord
c8231860ac
[copyright-update] Update for 2019
5 years ago
Xose Pérez
356be730e2
Added message type to broker
5 years ago
Xose Pérez
cb8d9c344d
Manage relay changes in third party modules via broker
5 years ago
Xose Pérez
7d09f59952
Handle configure callbacks outside the ws module
6 years ago
Max Prokhorov
69bfafdb2f
Minor comment error in led.ino
6 years ago
Xose Pérez
210cd8df71
Option to disable LED support
6 years ago
Xose Pérez
81eb809d4f
Support for Smart Config via JustWifi
6 years ago
Xose Pérez
e6570fe1bb
Triple click to enter WPS mode, fast LED blinking
6 years ago
Xose Pérez
fa20c47f29
Check which keys should be saved and which ones shouldn't ( #730 )
6 years ago
Xose Pérez
d7af09e769
Added new relay & wifi led mode ( #604 )
6 years ago
Xose Pérez
4029ee73da
Trying to fix some issues reported by codacy
6 years ago
Xose Pérez
5c662432ee
Changed naming convention: topic key is now magnitude
6 years ago
Xose Pérez
f60f5d82a2
Added LED_MODE_STATUS
6 years ago
Xose Pérez
b082d14c59
Loop hooks
6 years ago
Xose Pérez
2dc2b7d176
Checking code with cppcheck
6 years ago
Xose Pérez
ff56e38254
Added hostname and mac placeholders for MQTT base topic
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
f06c841639
New LED modes: always ON and always OFF ( #348 )
6 years ago
Xose Pérez
1a68f89bbf
Fix mqtt group sync with different switches sharing same group
6 years ago
Xose Pérez
96202f7967
LED modes
7 years ago
Xose Pérez
d1abe1fc65
Option to disable MQTT at build time
7 years ago
Xose Pérez
68c90c1cc0
Fix bug using snprintf
7 years ago
Xose Pérez
f7cf9a691f
Replaced sprintf with safer snprintf
7 years ago
Xose Pérez
227c4b03f1
Further renaming
7 years ago
Xose Pérez
9750bf26bb
Moved strings to PROGMEM, 160 bytes saved in memory
7 years ago
Xose Pérez
8c54488fa1
Moving debug strings to PROGMEM. ~1.5KBytes of heap memory freed
7 years ago
Xose Pérez
6b1803d389
Refactor MQTT topics and reports setting names
7 years ago
Xose Pérez
e0abce8f0b
Helper methods for MQTT sending, subscribing and forwarding
7 years ago
Xose Pérez
91770f77db
Fix wifi_led index in showStatus
7 years ago
Xose Pérez
57a25a9f49
Small fixes for windows machines
7 years ago
Xose Pérez
833757a3a9
Issue #75 . User defined links between relays and LEDs
7 years ago
Xose Pérez
a1a774198c
Added MQTT message to reset the board
7 years ago
Xose Pérez
9e9ca87e62
Change LED pattern to make it less intrussive
7 years ago
Xose Pérez
52a63b1849
Changes in file comment headers
7 years ago
Xose Pérez
ff81326846
Version and year bump
7 years ago
Xose Pérez
9ce457fa86
Fixed error in relay identification from MQTT messages (issue #31 )
7 years ago
Xose Pérez
6d6878d59f
Changes in MQTT calls. Using default client_id from AsyncMqttClient
7 years ago
Xose Pérez
bacc2c2b92
Arduino IDE compatibility ( #18 ) - Renamed src folder and main file as 'espurna'
7 years ago
Xose Pérez
abf07476b6
Fix error in led module
7 years ago
Xose Pérez
76e465cac2
Check relay and led id on 'public' methods
8 years ago
Xose Pérez
8cf10eee90
Added support for MQTT_USE_SETTER in leds module
8 years ago
Xose Pérez
caf58e0eab
Automatically disable ledAuto when an MQTT message is received
8 years ago
Xose Pérez
f94d5ef927
Fix LED logic in hardware configuration
8 years ago
Xose Pérez
bda0c4d8f4
Manage LED status from MQTT
8 years ago
Xose Pérez
9176240a0f
Move LED control to its own module
8 years ago