mhdawson / PI433WirelessTXManager

Wireless Transmit Manager for PI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wireless Transmit Manager for PI

This project receives messages from an mqtt broker and then sends them wirelessly on a raspberry pi. It allows additional devices to be easily integrated.

Transmitter

The transmitter I used is a BX-TM01-433:

picture receiver 1 picture receiver 2

It works well from the basement to the second floor in my house and is available on ebay for about $3 Canadian: BX-TM01-433. While this one works well for me, any other 433 transmitter should work with this project as well.

Circuit

The is the circuit I used to wire up the transmitter to the pi:

picture transmitter circuit

PCB layout for board that includes this circuit and those for other related projects: PI433-RX-TX-Temp-board

To build:

Install wiringPi

git clone git://git.drogon.net/wiringPi
cd wiringPi
./build
cd ..

Install paho

apt-get install libssl-dev
https://github.com/eclipse/paho.mqtt.c.git
cd paho.mqtt.c.git
export MQTTCLIENT_DIR=./src
make install
cd ..

Build PI433WirelessTXManager

git clone https://github.com/mhdawson/PI433WirelessTXManager.git
cd PI433WirelessTXManager
make

Currently supported devices

  • Lacross 141 temperator sensor
  • Generic 2272 device

Lacross 141

The Lacross 141 is available at Canadian tire and often goes on sale for $10-$15. In this case it is the display that is supported and you can use this project to register a display and then send temperator value to the display. For example you could have a remote site publish a temperator and then have it displayed on a local display. cnd tire link

Lacross 141

Generic 2272 devices

120V switch

This is support for the switch part of the set. The best way to get the codes you need to send is to use the PI433WirelessRecvManager project to watch the appropriate topics and then push the buttons on the remote which will give you the codes that need to be sent to for that button.

Device: - 2272 - parameters(<your topic>, 200)

Available from ebay: ebay link 120v switch

433Switch

Custom

The following circuit is a custom receiver I built which can receive a command to turn on/off the 12v supply:

Custom circuit

Adding a new device

TODO

TODOs

  • add more info about build dependencies
  • add more comments to the code
  • add more general documenation
  • add more info about how to figure out protocol for a new device
  • add info on topics used to receive messages for each device
  • make topics more easily configurable

About

Wireless Transmit Manager for PI

License:MIT License


Languages

Language:C++ 98.5%Language:Makefile 1.2%Language:Shell 0.3%