Fork me on GitHub

pimatic-rpi433 by Daniel Seifarth (redxeagle) | github | npm

rpi-433 plugin

Prerequisites

important notice

Tested it with a raspberry pi 3 and raspbian. Had trouble to get the pimatic-homeduino plugin to install. Always failed with npm package serialport installation.

But with the npm libary rpi433 it was really easy to read out 433 mhz sensor.

What can this plugin do?

  • Control Devices
    • Power switch

Plugin settings in Pimatic

    {
    "plugin": "rpi433",
    "emitter": 21,
    "receiver": 22,
    "debug": true
    },

With debug mode to true and pimatic in normal console run you can read out the remote. Codes will be output to console currently.

Device settings in Pimatic

switch device

  {
    "id": "TVButton",
    "name": "TV Power",
    "class": "Rpi433Switch",
    "on": "87347",
    "off": "87356",
    "pulseLength": 178
  }

PulseLength is set to 178 by default. Can be override in device settings.

To-do

  • Currently only the configured codes can be send via emitter sensor. Plan for the future is that the receiver also is supported and switch on/off devices in case the origin remote is used.
  • when switch is recognized as switched off, but is on (because activated with remote device) then switch off this device should work again (e.g. by echo)
  • support for window/door opener

Plugin Config Options

Options for pimatic rpi433
OptionDescriptionDefault
debug
boolean
debug output on or off
false
emitter
integer
pin for the emitter
22
receiver
integer
pint for the receiver - sniffer
22

Device Config Options

pimatic-rpi433 device config schemas

Rpi433Switch

rpi433switch
OptionDescriptionDefault
on
string
The on code
"1234"
off
string
The off code
"4321"
pulseLength
string
The pulse Length
"178"
pimatic-rpi433 is written by Daniel Seifarth (redxeagle)