-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added parameters for configuring receiver and transmitter GPIOs# to IR and X10 transceiver firmwares
- Loading branch information
Showing
26 changed files
with
363 additions
and
137 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# ir-transceiver | ||
|
||
A smart IR 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 | | ||
|
||
|
||
### 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
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 |
---|---|---|
@@ -1,10 +1,4 @@ | ||
#define CONFIG_IRReceiverPin 5 | ||
#define CONFIG_IRTransmitterPin 7 | ||
|
||
#ifndef CONFIG_StatusLedNeoPixelPin | ||
#ifdef ESP32_C3 | ||
#define CONFIG_StatusLedNeoPixelPin 10 | ||
#endif | ||
#endif | ||
#define CONFIG_IRReceiverPin 7 | ||
#define CONFIG_IRTransmitterPin 5 | ||
|
||
#define CONFIG_IR_MODULE_ADDRESS "IR" |
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
Oops, something went wrong.