Xose Pérez
2dc2b7d176
Checking code with cppcheck
6 years ago
Xose Pérez
ce9e2a6482
Refactor settings module, added settingsCommandRegister
6 years ago
Xose Pérez
3e811c8138
Changed button event debug message
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
01770e48e1
Fix casting issue in buttonStore ( #327 )
7 years ago
Xose Pérez
1a68f89bbf
Fix mqtt group sync with different switches sharing same group
7 years ago
Xose Pérez
b3336871bf
Boot mode and pulse mode per relay
7 years ago
Xose Pérez
d1abe1fc65
Option to disable MQTT at build time
7 years ago
Xose Pérez
e83c5495de
Unify reset calls
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
9750bf26bb
Moved strings to PROGMEM, 160 bytes saved in memory
7 years ago
Xose Pérez
eb79642f2e
Major refactor of device flags
7 years ago
Xose Pérez
c6b26efbb7
Merge
7 years ago
Xose Pérez
66131bbafd
ON and OFF actions for button events
7 years ago
Xose Pérez
f5b3f9f62e
Fix typo
7 years ago
Xose Pérez
e6e9f9d6d4
Change the double click delay from the web interface
7 years ago
Xose Pérez
0535fcee5e
Issue #170 . Using updated DebounceEvent library to allow disabling double click option and get faster click responses
7 years ago
Xose Pérez
e349c6991b
Added custom reset messages
7 years ago
Xose Pérez
134647724a
Bind button actions to buttons 0 and 1 in DUAL ( #127 )
7 years ago
Xose Pérez
4dd0f358b4
Backend for RELAY_MODE_FOLLOW
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
79a8dc6c06
Fix unknown reference in Arduino IDE
7 years ago
Xose Pérez
c2beb4a44e
Added factory reset on long-long click (>10 seconds)
7 years ago
Xose Pérez
b203757b5c
Using ESP.restart() instead of ESP.reset()
7 years ago
Xose Pérez
4a65bdf1b8
Removed unnecessary code
7 years ago
Xose Pérez
4b09fb43ae
Simplify Sonoff Dual button handling
7 years ago
Xose Pérez
6d86a7108a
Map button events to actions
7 years ago
Xose Pérez
50915f0fb2
Support for toggle switches
7 years ago
Xose Pérez
69c3f40761
Fix argument type in buttonMQTT for Sonoff Dual
7 years ago
Xose Pérez
32bb6c45c7
Map buttons to relays, send MQTT messages on button events
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
e2cb9fcaa0
Rename inching to pulse
7 years ago
Xose Pérez
bacc2c2b92
Arduino IDE compatibility ( #18 ) - Renamed src folder and main file as 'espurna'
8 years ago
Xose Pérez
4a58037638
Set inching mode through MQTT
8 years ago
Xose Pérez
09fa28f28e
Set inching LED initial state
8 years ago
Xose Pérez
9e00de6b6f
Support for hardware inching button
8 years ago
Xose Pérez
d17f8259fe
Support for multiple buttons on board
8 years ago
Xose Pérez
9176240a0f
Move LED control to its own module
8 years ago
Xose Pérez
11434301e0
* Support for ITead's Sonoff Dual
* Support for Electrodragon's ESP Relay Board
* Support for multi-relay boards
* Changed relay MQTT topics
* Changed relay API entry points
* Removed non-secure api entry points
8 years ago
Xose Pérez
9f88c59262
REST entry point for relay management, supporting GET and PUT
8 years ago
Xose Pérez
e537a1297c
Swapped functions for double and long click, changed blink mode
8 years ago
Xose Pérez
88de7f51d0
Complete update
8 years ago
Xose Pérez
183b326b5f
Split main code file into modules
8 years ago