Skip to content

Receive P2000 events using Home Assistant and your RTL-SDR dongle

License

Notifications You must be signed in to change notification settings

leejoow/addon-p2000_rtlsdr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant Add-on: P2000 RTL-SDR

Receive P2000 events using Home Assistant and your RTL-SDR dongle.

Supports aarch64 Architecture Supports amd64 Architecture Supports armhf Architecture Supports armv7 Architecture Supports i386 Architecture

Example dashboard in Home Assistant Frontend

About

An all-in-one add-on for receiving P2000 events from the air, filter them as you like and update sensors with detailed information.

Features

This add-on is based on my standalone project called 'RTL-SDR-P2000Receiver-HA' which had been created to run on a seperate Linux device, it was rewritten as an Hassio add-on, I left out unneeded code, added MQTT autoconfigure and optimized it.

It comes out of the box with the following features:

  • Standalone P2000 messages receiver using a local RTL-SDR compatible receiver
  • Support for a large number of RTL-SDR dongles models
  • Automatic MQTT sender configuration and device discovery/creation
  • Global text and capcode filter options
  • Unlimited number of sensors and filters (as long as hardware resources can handle it)
  • Includes detailed capcode and city names database created from data on https://www.tomzulu10capcodes.nl and http://p2000.bommel.net
  • Code to guess and complete as much address data as possible
  • Geocode functionality using https://opencagedata.com to get rough lat/long location and maps links, fetched data is stored for future use.

Installation

The installation of this add-on is pretty straightforward and not different in comparison to installing any other add-on.

  1. Add my add-ons repository to your home assistant instance
    (in supervisor addons store at top right, or click button below if you have configured my HA)
    Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.
  2. Install this add-on.
  3. Click the Save button to store your configuration.
  4. Set the add-on options to your preferences (see documentation tab after installation)
  5. Start the add-on.
  6. Check the logs of the add-on to see if everything went well.

Make sure your RTL-SDR dongle is inserted in the Home assistant device.
Place your antenna in a good location near the window, or even outside.

If you don't see the wanted result, consider setting verbosity to 'debug' and restart.
Don't leave verbosity debug enabled for a long time, since it logs a lot of data, and can wear out your storage devices.

Example setup

About

Receive P2000 events using Home Assistant and your RTL-SDR dongle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.3%
  • Dockerfile 4.7%