Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

A Home Assistant addon for a software defined radio tuned to listen for RF transmissions and convert them into device triggers. This device trigger can be used to trigger any automation as soon as a specific message is received. For example, the add-on allows to integrate the KAKU ACDB-7000A to be used in Home Assistant. Setup is done automatica…

License

gerritjandebruin/ha-rtl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTL433 to Home Assistant

Supports aarch64 Architecture Supports amd64 Architecture Supports armhf Architecture Supports armv7 Architecture Supports i386 ArchitectureGitHub Repo starsGitHub issues


MARKED AS ARCHIVED SAME FUNCTIONALITY IS COVERED BY https://github.com/pbkhrv/rtl_433-hass-addons/

If you want to integrate the KaKu ACDB-7000A, use the folloing config file:

# This is an empty template for configuring rtl_433. mqtt information will be
# automatically added. Create multiple files ending in '.conf.template' to
# manage multiple rtl_433 radios, being sure to set the 'device' setting.
# https://github.com/merbanan/rtl_433/blob/master/conf/rtl_433.example.conf

output mqtt://${host}:${port},user=${username},pass=${password},retain=${retain}

protocol    51
frequency   433.92M
convert     si
report_meta newmodel
report_meta time:iso:tz:local

# Uncomment the following line to also enable the default "table" output to the
# addon logs.
output kv
output json

A Home Assistant addon for a software defined radio tuned to listen for RF transmissions and convert them into device triggers. This device trigger can be used to trigger any automation as soon as a specific message is received. For example, the add-on allows to integrate the KAKU ACDB-7000A to be used in Home Assistant. Setup is done automatically via MQTT Discovery.

This hass.io addon is based on https://hub.docker.com/r/hertzg/rtl_433, which is based on the well-known rtl_433 library (https://github.com/merbanan/rtl_433). Compared to https://github.com/pbkhrv/rtl_433-hass-addons, this add-on has a few differences:

  • Configuration is done via the configuration tab of the addon.
  • In default mode, logging is done via the logging tab of the addon.
  • The addon is a pre-built container, allowing much faster installation.
  • This addon provides currently only device_triggers, which are well suited for buttons, remote controls, etc.

If anything does not work, or you have trouble using your own RF device, please raise an issue.

Usage

  1. Install the addon by adding the repository https://github.com/gerritjandebruin/ha-rtl in the add-on store. Or use this button: Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

  2. Connect to a USB RTL-SDR Dongle supported by rtl_433. For example this item.

  3. Use addon configuration to configure the following options (all are optional) for each device:

  • protocol (=device, look here)
  • automation_type (only device_automation supported at this time)
  • trigger_type
  • trigger_subtype
  • manufacturer
  • frequency
  • manufacturer
  • name
  • id (=house code, see below)
  • model
  1. Start the addon.

ID/ house code

The addon will log any pulse received. When home assistant should only respond to your specific device, set the id option for the device. This id can be found by looking to the logs, where it is reported as `house code'.

Hardware

This has been tested and used with the following hardware:

Total costs: +- €35, including chime and doorbell that work also when HA is down.

My hardware used for this addon.

Automations

To use this device in automations, please make use of the visual editor and choose under trigger for "Device". You should see your device as soon as the add-on starts.

In my case, I create a notification for every device that the doorbell rang, see https://github.com/gerritjandebruin/home-assistant/blob/a1145e7b9ec0b38e20aaa4893a0365a1e106976e/automations.yaml#L248.

Contact

Open an issue if needed.

To do

  • support different device_classes

About

A Home Assistant addon for a software defined radio tuned to listen for RF transmissions and convert them into device triggers. This device trigger can be used to trigger any automation as soon as a specific message is received. For example, the add-on allows to integrate the KAKU ACDB-7000A to be used in Home Assistant. Setup is done automatica…

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published