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
193cebdbab
RF/RFBRIDGE Update ( #1693 )
- remove optional RFRAW_SUPPORT
- enable module when RF_SUPPORT=1, optionally enable RCSwitch
- reorder ifdef checks to treat RFB_DIRECT and old RF_SUPPORT the same
- rename RF_PIN to RFB_RX_PIN
- depend on RF_SUPPORT instead of ITEAD_SONOFF_RFBRIDGE
- runtime TX & RX PIN setting
5 years ago
Niek van der Maas
b3abd0d6b3
Send RF MQTT message with retain off
5 years ago
Xose Pérez
a7aa8363e4
Fix RFBridge not showing codes in web UI as per @mcspr suggested change ( #1571 )
5 years ago
Malachi Soord
c8231860ac
[copyright-update] Update for 2019
5 years ago
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
5 years ago
Xose Pérez
b9e13446fc
Revert "Wrap embeddis commands and move feedback to caller"
This reverts commit 7ad0e3a02b
.
5 years ago
Xose Pérez
7ad0e3a02b
Wrap embeddis commands and move feedback to caller
5 years ago
Xose Pérez
27e7b9ae89
Move terminal methods to own module
5 years ago
Niek van der Maas
951155a1ee
Fix compile error when both RF_SUPPORT and API_SUPPORT are enabled
5 years ago
Niek van der Maas
97ee520907
Fix compile error when both RF_SUPPORT are API_SUPPORT are enabled
5 years ago
Niek van der Maas
14f3427a9d
Fix compile error when RF_SUPPORT is enabled ( #1475 )
5 years ago
Xose Pérez
64c8cf313d
Added API entry points for RFBridge module ( #1407 )
5 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
5 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.
6 years ago
Xose Pérez
b51ffc29a6
Improve queue in RFBridge messages
6 years ago
Xose Pérez
b082d14c59
Loop hooks
6 years ago
Xose Pérez
a18554a3f8
Using a queue for RFBridge messages
6 years ago
Xose Pérez
ff56e38254
Added hostname and mac placeholders for MQTT base topic
6 years ago
Xose Pérez
a5df00b569
Option to disable network scanning ( #392 , #399 ). Scan networks from web UI
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
82177f5669
Fix bug in RF Bridge when RF code contains the stop byte. Check overflow ( #357 )
6 years ago
Rene Hexel
243aa8d1f5
Add raw support through web interface
6 years ago
Rene Hexel
4a6526dcc0
Subscribe to rfraw topic if RF_RAW_SUPPORT and show full message
6 years ago
Rene Hexel
3a3a06dc4d
No raw queueing to avoid data section overflow
6 years ago
Rene Hexel
f7992ed73c
Add RF_RAW_SUPPORT to rfbridge binaries
6 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