Hardware

Introduction

Warning

Make sure pilight is not running before editing your configuration or else all changes will be lost.

Since pilight 3.0 the feature to send and receive from multiple hardware modules has been introduced. This means you can control various different frequencies at the same time. However, only one module per frequency is supported. Each hardware module has its own syntax as listed below.

Disabled

1
2
3
4
5
{
  "hardware": {
    "none": { }
  }
}

433.92Mhz

Direct GPIO Access

1
2
3
4
5
6
7
8
{
  "hardware": {
    "433gpio": {
      "sender": 0,
      "receiver": 1
    }
  }
}

The default configuration to be used with the pilight PCB. When using custom wiring, refer to http://www.wiringx.org for the pin numbering of the various supported devices. If you want to disable the sender or receiver pin, set it to -1.

Deprecated since version 8.1.5.

Lirc Kernel Module

1
2
3
4
5
6
7
{
  "hardware": {
    "433lirc": {
      "socket": "/dev/lirc0"
    }
  }
}

Changed in version 8.0.

You must now specify which GPIO platform pilight is running on. Refer to the settings page for more information.

pilight USB Nano

1
2
3
4
5
6
7
{
  "hardware": {
    "433nano": {
      "comport": "/dev/ttyUSB0"
    }
  }
}

The comport value needs to correspond to a valid COM device on your platform. On Windows this value is generally formatted as COM1, on Linux as /dev/ttyUSB0, and on FreeBSD /dev/cuau0.