• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Step by step: Getting started with pilight on the Raspberry Pi
This step-by-step assumes you know basic Linux commands to edit text files and have some basic soldering skills.

Step 1: Order the hardware
  1. Go to Shop and order the Full Kit
  2. Get yourself a small blank circuit board to solder the components to
  3. Get a Raspberry Pi with at least an SD card and a charger

Step 2: Hook it up
  1. Hook up the filter according to the schemetic provided with the Filter
  2. Connect the DATA pin on the Receiver to the "433.92 Receiver Data Pin" on the Filter
  3. Connect the 5v pins on the Filter, the Sender and the Receiver to the 5v pin (pin 2 or pin 4) on the Raspberry Pi
  4. Connect the GND pins on the Filter, the Sender and the Receiver to the GND pin (pin 6, 9, 14, 20 or 25) on the Raspberry Pi
  5. Connect the DATA on the Sender to pin 11 on the Raspberry Pi
  6. Connect the pilight IN on the Filter to pin 12 on the Raspberry Pi
  7. The next steps are optional, but recommended, they are for updating the firmware on the Filter
  8. Connect the MOSI on the Filter to pin 19 on the Raspberry Pi
  9. Connect the MISO on the Filter to pin 21 on the Raspberry Pi
  10. Connect the SCK on the Filter to pin 23 on the Raspberry Pi
  11. Connect the RESET on the Filter to pin 24 on the Raspberry Pi
Filter schematic (click for large):
[Image: kmRKr7u.png]

Pin numbers on the Raspberry Pi (click for large):
[Image: Tbj49QG.jpg]

Step 3: Install the software on the Raspberry Pi
  1. Download Raspbian
  2. Follow the instructions to write it to your SD card.
  3. Plug the SD card in the Raspberry Pi and follow the instructions on screen.
  4. Follow the steps under "Apt repository" in the Installation manual to install pilight.

Step 4: Configuring pilight
  1. All configurations are done to the file: /etc/pilight/config.json
  2. Before any configurations are done you have to stop the pilight service (sudo service pilight stop)
  3. After the configuration you have to start the pilight service again (sudo service pilight start)
  4. Read Getting started and read it again.
NOTE: in the default config.json the harware pins mentioned are 0 and 1. This translates to pin 11 and 12 on the Raspberry Pi. See for more info: WiringX

Step 5: More help
  1. Dig through the Website
  2. Dig through the Wiki
  3. Dig through the Forum
  4. Post a question on the Forum

Do you have any suggestions to improve this step-by-step? Please comment below and I'l update it.
I'd number the steps with numbers, not letters. Otherwise, good instructions Smile
(03-08-2015, 05:04 PM)pilino1234 Wrote: I'd number the steps with numbers, not letters. Otherwise, good instructions Smile

Thanks, done.
Hi nice tutorial. but i have some problems after I change my settings.
I stopped the pilight service and changed the config file. but when i try to restart it , it says

root@raspberrypi:/home/pi# sudo service pilight start
[FAIL] Starting : pilight failed!

even if i reboot the system i cant restart it. i could delete the sd card and reinstall the image, but my problem is, that i dont know how to change the config file. Because i have to stop the pilight service.... or is there another way to change the config file than nano?
You've made a configuration error.

type: sudo pilight-daemon -D
Somewhere at the top is the reason why it won't start.

The service NEEDS to be stopped to change the configuration file, so just: sudo nano /etc/pilight/config.json
I bought the full PCB kit. It was not easy to solder the board together, but I managed. I thought I could install the board with the connector on the Pi. Do I need all kind of wires to use the board? I have a Pi 3 model B.
If you soldered it well you can.

Possibly Related Threads...
Thread Author Replies Views Last Post
  Strange receive problem with 433Mhz Receiver and pilight 8.1.5 vanillaice30 12 214 Yesterday, 09:37 AM
Last Post: vanillaice30
  Raspberry 4B installation error royw 3 123 12-05-2019, 10:58 AM
Last Post: royw
  pilight error after update to 8.1.5 on Odroid C2 WitchDoctor 3 170 11-29-2019, 09:56 PM
Last Post: curlymo
  pilight crashing randomly PatiB 7 305 11-16-2019, 10:50 PM
Last Post: curlymo
  [Fixed] RaspberryPi4 pilight 8.1.5 - Send isn't working DominikB1993 4 332 10-18-2019, 10:25 PM
Last Post: DominikB1993
  Real 433Mhz Remote is disturbed by pilight service henne111 2 341 10-06-2019, 06:18 PM
Last Post: wo_rasp
Tongue (solved) pilight 8.1.5-1-gc0a175e0 Chrashes fleisch 5 787 10-03-2019, 01:15 PM
Last Post: fleisch
  Starting pilight on boot: "cannot bind to the SSDP multicast network" pilino1234 4 568 09-29-2019, 02:08 PM
Last Post: tomk
  pilight for Raspbian Buster (raspberry pi 4) ? starob 29 3,492 07-15-2019, 08:45 PM
Last Post: curlymo
  pilight-receive Filteroption not working Alex 2 714 07-14-2019, 08:35 AM
Last Post: Alex

Forum Jump:

Browsing: 1 Guest(s)