-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added unified `ir-rf-transceiver` firmware - Added `BOARD_HAS_RGB_LED` flag to enable onboard RGB status LED - Enabled scheduling of X10 RF events
- Loading branch information
Showing
18 changed files
with
462 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# ir-rf-transceiver | ||
|
||
A smart IR and RF (433/315MHz) gateway device. | ||
|
||
- [Documentation and firmware install page](https://homegenie.it/mini/1.2/examples/ir-rf-gateway/) | ||
|
||
|
||
## Firmware configuration | ||
|
||
In addition to default system options the following configuration options are available: | ||
|
||
| Key | Description | Default | | ||
|------------|----------------------|-----------------------------------------| | ||
| `stld-pin` | Status LED (RGB) pin | -1 (-1=not used) | | ||
| `stld-typ` | Status LED type | RGB/RGBW order mask (see code for ref.) | | ||
| `stld-spd` | Status LED speed | 0 (0=800kHz, 256=400kHz) | | ||
| `irrc-pin` | IR Receiver GPIO # | 7 | | ||
| `irtr-pin` | IR Transmitter GPIO# | 5 | | ||
| `rfrc-pin` | RF Receiver GPIO # | 6 | | ||
| `rftr-pin` | RF Transmitter GPIO# | 4 | | ||
|
||
|
||
### Manual build and install | ||
|
||
You can also manually build and install the firmware from source code | ||
as explained in the [Getting started](../../getting-started#custom-firmware) page | ||
and using the following commands for flashing the firmware: | ||
|
||
```bash | ||
pio run -e ir-transceiver[<target>] -t upload | ||
``` | ||
|
||
where the optional `<target>` suffix can be one of the following: | ||
- ESP8266 | ||
`-d1-mini` | ||
- ESP32 (generic) | ||
*none* | ||
- ESP32-C3 | ||
`-c3` | ||
- ESP32-S3 | ||
`-s3` | ||
- ESP32 D1 Mini | ||
`-d1-mini-esp32` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Default config | ||
|
||
#include "../ir-transceiver/configuration.h" | ||
// TODO: verify if X10 and RCSwitch can share same module address | ||
#include "../rf-transceiver/configuration.h" | ||
#include "../x10-transceiver/configuration.h" |
Oops, something went wrong.