Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanishqmanuja/ha.integration.rf4ch
4 Channel RF Switcher integration for Home Assistant
https://github.com/tanishqmanuja/ha.integration.rf4ch
hacs-integraiton home-assistant home-assistant-integration home-automation
Last synced: 1 day ago
JSON representation
4 Channel RF Switcher integration for Home Assistant
- Host: GitHub
- URL: https://github.com/tanishqmanuja/ha.integration.rf4ch
- Owner: tanishqmanuja
- License: mit
- Created: 2022-11-11T09:09:20.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-01T12:30:01.000Z (6 months ago)
- Last Synced: 2024-11-08T23:54:22.604Z (about 2 months ago)
- Topics: hacs-integraiton, home-assistant, home-assistant-integration, home-automation
- Language: Python
- Homepage:
- Size: 87.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rf4Ch //RF Four Channel
Home Assistant integration to control my basic of the shelf Four Channel RF Switchers easily.
#### 📦 Actual Switcher Device
These devices are dirt cheap! Can be retro-fitted into existing switches and also consume less power than wifi enabled devices.
The only problem being they are not "smart", but with a wifi enabled device acting as a bridge you can control them from Home Assistant.
## ⚙️ Configuration
Example snippet for configuration.yaml file.
```yaml
rf4ch:
my_switcher:
name: My Switcher
code:
channel_a: "0001"
channel_b: "0010"
channel_c: "0100"
channel_d: "1000"
channel_on: "1111"
channel_off: "0000"
service:
id: rf4ch.dummy_rf_sendyour_switcher:
name: Your Switcher
code:
channel_a: "0001"
channel_b: "0010"
channel_c: "0100"
channel_d: "1000"
channel_on: "1111"
channel_off: "0000"
prefix: "0110"
service:
id: rf4ch.dummy_rf_send
data:
repeat: 6
availability_template: "{{ is_state('switch.my_switcher_ch_a','on') }}"
```## 🌐 ESPHome API Service
This is how I expose a RF Bridge service to Home Assistant.
```yaml
api:
services:
- service: rf_bridge_send
variables:
code: string
repeat: int
then:
- remote_transmitter.transmit_rc_switch_raw:
protocol: 1
code: !lambda "return code;"
repeat:
times: !lambda "return repeat;"
wait_time: 0s
```