Home Automation – RFM69 Gateway Setup

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

I believe you have already installed OpenHAB on your Raspberry Pi and also configured your Home Automation Server (OpenHAB) properly. Is this right to you? 🙂 

 

Then as next step, we should integrate RFM Gateway to your Raspberry Pi so that Home Automation Server can receive packets via RFM Gateway! 

 

If not, please click the below button to see how to install and configure Home Automation Server on your Raspberry Pi.

Home Automation

How we do (Hardware)

We need to connect RFM69 module and Raspberry Pi. 

It might depends on what kind of Raspberry Pi you have, but here i would like to explain with Raspberry Pi 2 Model B.

 

How we do (Software)

Please note that if you buy the kit, the included micro SD card has already pre-made image in it.

so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


 

  • Sneak peek on Software part

 

First of all, you should prepare Raspberry Pi.

Please click these buttons to look into other posts for prerequisite learnings.

 

Prepare RaspberryPi

 

Once your Raspberry Pi is ready,

 

1. Connect the RFM69 to the Raspberry PI
2. Install Git core
3. Download WiringPi
4. Build WiringPi
5. Setup SPI interface, using raspi-config
6. Install Mosquitto and the development libraries
7. Clone the gateway
8. Compile the gateway
9. Launch the gateway
10. Install Daemon

 

The full details are explained in the enclosed docs. (HowToSetupRFMGateway.txt)

Still shots Outcome

Home Automation – End Node – RFM69 – GPS

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

Now, we're going to make GPS sensor node using RFM69 module.

 

but please note you should have RFM Gateway Setup first in your OpenHAB Configuration.

If not, just click the below button for setting up RFM Gateway.

 

OpenHAB Gateway

How we do (Hardware)

How we do (Software)

Please note that if you buy the kit, the included Arduino Uno has been uploaded with code already.

so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


 

  • Sneak peek on Software part

 

First of all, you should know how to upload sketch on Arduino Uno.

Please click these buttons to look into other posts for prerequisite learnings.

 

HowToUpload

 

Once your Arduino is ready,

 

1. Define variables for GPS module
2. Set up Pins and modes
3. Radio initialization
4. Read Data from GPS module
5. Send data via Radio packet

 

The full details are explained in the enclosed docs.

Still shots Outcome

Home Automation – End Node – RFM69 – Ultrasonic sensor

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

Now, we're going to make Ultrasonic Sensor node using RFM69 module.

 

but please note you should have RFM Gateway Setup first in your OpenHAB Configuration.

If not, just click the below button for setting up RFM Gateway.

 

OpenHAB Gateway

How we do (Hardware)

How we do (Software)

Please note that if you buy the kit, the included Arduino Uno has been uploaded with code already.

so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


 

  • Sneak peek on Software part

 

First of all, you should know how to upload sketch on Arduino Uno.

Please click these buttons to look into other posts for prerequisite learnings.

 

HowToUpload

 

Once your Arduino is ready,

 

1. Define variables for Ultrasonic Sensor
2. Set up Pins and modes
3. Radio initialization
4. Read Data from Ultrasonic sensor
5. Send data via Radio packet

 

The full details are explained in the enclosed docs.

Still shots Outcome

Home Automation – End Node – RFM69 – Sound sensor

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

Now, we're going to make Sound Sensor node using RFM69 module.

 

but please note you should have RFM Gateway Setup first in your OpenHAB Configuration.

If not, just click the below button for setting up RFM Gateway.

 

OpenHAB Gateway

How we do (Hardware)

How we do (Software)

Please note that if you buy the kit, the included Arduino Uno has been uploaded with code already.

so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


 

  • Sneak peek on Software part

 

First of all, you should know how to upload sketch on Arduino Uno.

Please click these buttons to look into other posts for prerequisite learnings.

 

HowToUpload

 

Once your Arduino is ready,

 

1. Define variables for Sound Sensor
2. Set up Pins and modes
3. Radio initialization
4. Read Data from Sound sensor
5. Send data via Radio packet

 

The full details are explained in the enclosed docs.

Still shots Outcome

Home Automation – End Node – RFM69 – Reed Switch

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

Now, we're going to make Reed Switch node using RFM69 module.

 

but please note you should have RFM Gateway Setup first in your OpenHAB Configuration.

If not, just click the below button for setting up RFM Gateway.

 

OpenHAB Gateway

How we do (Hardware)

How we do (Software)

Please note that if you buy the kit, the included Arduino Uno has been uploaded with code already.

so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


 

  • Sneak peek on Software part

 

First of all, you should know how to upload sketch on Arduino Uno.

Please click these buttons to look into other posts for prerequisite learnings.

 

HowToUpload

 

Once your Arduino is ready,

 

1. Define variables for Reed Switch Sensor
2. Set up Pins and modes
3. Radio initialization
4. Read Data from Reed Switch sensor
5. Send data via Radio packet

 

The full details are explained in the enclosed docs.

Still shots Outcome

Home Automation – End Node – RFM69 – PIR Sensor

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

Now, we're going to make PIR Sensor node using RFM69 module.

 

but please note you should have RFM Gateway Setup first in your OpenHAB Configuration.

If not, just click the below button for setting up RFM Gateway.

 

OpenHAB Gateway

 

How we do (Hardware)

How we do (Software)

Please note that if you buy the kit, the included Arduino Uno has been uploaded with code already.

so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


 

  • Sneak peek on Software part

 

First of all, you should know how to upload sketch on Arduino Uno.

Please click these buttons to look into other posts for prerequisite learnings.

 

HowToUpload

 

Once your Arduino is ready,

 

1. Define variables for PIR Sensor
2. Set up Pins and modes
3. Radio initialization
4. Read Data from PIR sensor
5. Send data via Radio packet

 

The full details are explained in the enclosed docs.

Still shots Outcome

Home Automation – End Node – RFM69 – Light Sensor

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

Now, we're going to make Light sensor node using RFM69 module.

 

but please note you should have RFM Gateway Setup first in your OpenHAB Configuration.

If not, just click the below button for setting up RFM Gateway.

 

OpenHAB Gateway

How we do (Hardware)

How we do (Software)

Please note that if you buy the kit, the included Arduino Uno has been uploaded with code already.

so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


 

  • Sneak peek on Software part

 

First of all, you should know how to upload sketch on Arduino Uno.

Please click these buttons to look into other posts for prerequisite learnings.

 

HowToUpload

 

Once your Arduino is ready,

 

1. Define variables for Light Sensor
2. Set up Pins and modes
3. Radio initialization
4. Read Data from Light sensor
5. Send data via Radio packet

 

The full details are explained in the enclosed docs.

Still shots Outcome

Home Automation – End Node – RFM69 – Flame Sensor

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

Now, we're going to make Flame node using RFM69 module.

 

but please note you should have RFM Gateway Setup first in your OpenHAB Configuration.

If not, just click the below button for setting up RFM Gateway.

OpenHAB Gateway

How we do (Hardware)

How we do (Software)

Please note that if you buy the kit, the included Arduino Uno has been uploaded with code already.

so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


 

  • Sneak peek on Software part

 

First of all, you should know how to upload sketch on Arduino Uno.

Please click these buttons to look into other posts for prerequisite learnings.

 

HowToUpload

 

Once your Arduino is ready,

 

1. Define variables  for Flame Sensor
2. Set up Pins and modes
3. Radio initialization
4. Read Data from Flame sensor
5. Send data via Radio packet

 

The full details are explained in the enclosed docs.

Still shots Outcome

Home Automation – End Node – RFM69 – Gas Sensor

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

Now, we're going to make Gas node using RFM69 module.

 

but please note you should have RFM Gateway Setup first in your OpenHAB Configuration.

If not, just click the below button for setting up RFM Gateway.

OpenHAB Gateway

How we do (Hardware)

How we do (Software)

Please note that if you buy the kit, the included Arduino Uno has been uploaded with code already.

so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


 

  • Sneak peek on Software part

 

First of all, you should know how to upload sketch on Arduino Uno.

Please click these buttons to look into other posts for prerequisite learnings.

 

HowToUpload

 

Once your Arduino is ready,

 

1. Define variables  for Gas/Smoke Sensor
2. Set up Pins and modes
3. Radio initialization
4. Read Data from Gas sensor
5. Send data via Radio packet

 

The full details are explained in the enclosed docs.

Still shots Outcome

Home Automation – OpenHAB Configuration

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

From the previous post, we’ve fresh installed OpenHAB in Raspberry Pi.

(if not, please click here to see the prerequisite post.)

 

so now, we need to configure OpenHAB and this will show how to use OpenHAB quickly and easily.

How we do (Hardware)
How we do (Software)
  1. Install Add-ons(Binding)
  2. Choose Binding from Inbox
  3. Searching Things
  4. Add as Things
  5. Simple Mode selection in Item Linking option in Configuration/System
  6. Configure Channels in Configuration/Things
  7. See and Check Items in Control

  • Install Add-ons(Binding)

Click on the 'PAPER UI' link


  • Choose Binding from Inbox

 


  • Searching Things


  • Add as Things


  • Simple Mode selection in Item Linking option in Configuration/System


  • Configure Channels in Configuration/Things


  • See and check Items in Control