Max Prokhorov
cde1aba561
partial sending of rfbridge codes
5 years ago
Max Prokhorov
17e5156ebf
fixup rfbridge ws-data
5 years ago
Max Prokhorov
868d153fa4
Compact WS data
* send all ws config at once on start
* reduce ws json overhead by creating message buffer manually
* use k:[values] instead of k1:value1, k2:value2 etc. for lists
5 years ago
Xose Pérez
d47ae2e4a4
Helper terminal methods terminalOK and terminalError
6 years ago
Xose Pérez
b9e13446fc
Revert "Wrap embeddis commands and move feedback to caller"
This reverts commit 7ad0e3a02b
.
6 years ago
Xose Pérez
7ad0e3a02b
Wrap embeddis commands and move feedback to caller
6 years ago
Xose Pérez
27e7b9ae89
Move terminal methods to own module
6 years ago
Niek van der Maas
951155a1ee
Fix compile error when both RF_SUPPORT and API_SUPPORT are enabled
6 years ago
Niek van der Maas
97ee520907
Fix compile error when both RF_SUPPORT are API_SUPPORT are enabled
6 years ago
Niek van der Maas
14f3427a9d
Fix compile error when RF_SUPPORT is enabled ( #1475 )
6 years ago
Xose Pérez
64c8cf313d
Added API entry points for RFBridge module ( #1407 )
6 years ago
Niek van der Maas
d299773913
Merge RF and RFBridge code ( #1435 )
* Merge RF and RFBridge code
* Keep rfbridge.ino filename
* Corrected #if checks
* Make RF_DEBOUNCE and RF_LEARN_TIMEOUT configurable
* Fix compile warnings with platform_latest
6 years ago
Max Prokhorov
677f426a7f
Comment for clarity
6 years ago
Max Prokhorov
e47bdad2ac
Increase buffer size to fit B0 code
6 years ago
Xose Pérez
4d5c0d7617
Split ws messages for relays and rf codes ( #262 )
6 years ago
Xose Pérez
91a62693ed
Added learn and forget terminal commands to RFBridge and RF modules ( #1253 )
6 years ago
Max Prokhorov
f7d2864db6
Proper buffer size to fit two digit rfbOFF key
6 years ago
Xose Pérez
484827d431
Rework debug messages for RFBRIDGE ( #1031 )
6 years ago
wildwiz
ab175de48a
sonoff rf bridge, broader range of RC codes supported on TX and prevent watchdog from kicking in
6 years ago
Xose Pérez
44f182c064
Changed RFB_DIRECT setting
6 years ago
wildwiz
e809dc895a
RFB_DIRECT sonoff bridge hardware bypass of the RF microcontroller
6 years ago
Xose Pérez
8189f90686
Do not init Serial based on SERIAL_BAUDRATE ( #787 )
6 years ago
Xose Pérez
2dc4f28dd9
Prevent resending messages from rfin in RF Bridge ( #561 )
6 years ago
Xose Pérez
5c662432ee
Changed naming convention: topic key is now magnitude
6 years ago
Phil Elson
bbb3239d86
Used the constant for RF_MESSAGE_SIZE.
7 years ago
Xose Pérez
b51ffc29a6
Improve queue in RFBridge messages
7 years ago
Xose Pérez
b082d14c59
Loop hooks
7 years ago
Xose Pérez
a18554a3f8
Using a queue for RFBridge messages
7 years ago
Xose Pérez
ff56e38254
Added hostname and mac placeholders for MQTT base topic
7 years ago
Xose Pérez
a5df00b569
Option to disable network scanning ( #392 , #399 ). Scan networks from web UI
7 years ago
Xose Pérez
af805ab045
Update copyright notices
7 years ago
Xose Pérez
82177f5669
Fix bug in RF Bridge when RF code contains the stop byte. Check overflow ( #357 )
7 years ago
Rene Hexel
243aa8d1f5
Add raw support through web interface
7 years ago
Rene Hexel
4a6526dcc0
Subscribe to rfraw topic if RF_RAW_SUPPORT and show full message
7 years ago
Rene Hexel
3a3a06dc4d
No raw queueing to avoid data section overflow
7 years ago
Rene Hexel
f7992ed73c
Add RF_RAW_SUPPORT to rfbridge binaries
7 years ago
Xose Pérez
6219dca857
Improve RFBridge message queue to support multiple messages at the same time
7 years ago
Xose Pérez
8d8384f279
Force RFBridge to send messages even if switch is already in requested state
7 years ago
Xose Pérez
91ffe4d1af
Match MQTT rfout codes to switches
7 years ago
Xose Pérez
20334d1c97
Allow to define just ON or OFF codes in rfbridge ( #304 )
7 years ago
Xose Pérez
1758efc995
Fix rfbridge OFF button toggling relay ( #303 )
7 years ago
Xose Pérez
0ab5321a6f
Fix stupid typo that prevented to learn RF codes in the RFBridge ( #287 )
7 years ago
Xose Pérez
d1abe1fc65
Option to disable MQTT at build time
7 years ago
Xose Pérez
3518a7bc5e
Websocket callbacks (part 2)
7 years ago
Xose Pérez
907b4691ab
RFBridge: toggle when RF codes for ON and OFF are the same ( #270 )
7 years ago
Xose Pérez
f2cb77180c
Changed settings keys for RFBridge codes
7 years ago
Xose Pérez
5c17df704b
Allow to specify via MQTT the number of times to transmit an RF code in Sonoff RFBridge
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
90617963e3
Method to send websocket messages from progmem
7 years ago