Skip to main content

Home Assistant 433 MHz devices

Types of devices supported:

  1. Light

Install

$ sudo pip install dvdp.ha-433

Use

1 - Record

First you will have to record your 433 signal.

For help:
$ record_433 -h

Minimal command:
$ sudo record_433 <your_device_name> <ON or OFF>

If you want to specify your recording BCM Pin (default is 15):
$ sudo record_433 <your_device_name> <ON or OFF> -p <PIN_NR>

Simply follow instructions. All recordings are saved to disk. Use --help flag for more info.

2 - Test transmission

If you used the default recordings directory it is quite simple.

First check what recordings are available by using --help:

$ transmit_433 -h 
usage: Transmit signal from recordings.

Recordings available in /usr/local/lib/python3.7/site-packages/dvdp/recordings:
        device: test_device_2, actions: ['ON', 'OFF']
        device: test_device, actions: ['ON', 'OFF']

...

Then select the one you want to test from these recordings:
$ sudo transmit_433 <your_device_name> <ON or OFF>

e.g.:
$ sudo transmit_433 test_device_2 ON

3 - Start MQTT Client for Home assistant

For this to work you will have to install:
Mosquitto broker for Hass.io
https://github.com/home-assistant/hassio-addons/tree/master/mosquitto

To have Home Assistant Hass.io control your devices:
$ ha_433 <BROKER IP>

or if you require a password:
$ ha_433 <BROKER IP> -u <USERNAME> -p <PASSWORD>

For more options please refer to -h

Metadata

Release files for dvdp.ha-433 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dvdp.ha-433 0.1.8
File Size Uploaded Provenance
dvdp.ha_433-0.1.8.tar.gz 6.1 kB Without provenance Details

Release files / dvdp.ha_433-0.1.8.tar.gz

Download URL dvdp.ha_433-0.1.8.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
aefc1d0c720e38abfc2ff8da1974e868c8c9aaf1b2ca70647ec9a0c33a4b1848
BLAKE2b-256 checksum
How to use checksums
0a4f18c720c2d2d9c7f7af7407899ff0fb4ba619f8d074f1f2d406b9046eeca2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Security for dvdp.ha-433 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page