Skip to content

This module sends 433Mhz signal to control RF switch

Notifications You must be signed in to change notification settings

Boimb/gladys-radioemitter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gladys radioemitter

Radio emitter is used to control radio plugs.

Installation

  • First, install the Serial module in Gladys
  • Then, install this module in Gladys
  • Push the arduino code to your arduino with the Arduino IDE. You need to have ArduinoJson and RCSwitch libraries installed. To install the libraries, in the arduino IDE (version > 1.6) go to "Sketch" => "Include Library" => "Manage Libraries". Then search "ArduinoJson" and click on "install". Same for "RCSwitch".
  • Reboot Gladys
  • Connect your arduino in USB to your Raspberry Pi
  • Click on the "config" button of the "Serial" module in the "Modules" view.
  • Create a device in Gladys in the Device view with the following info =>
name identifier protocol service
My Switch YOUR_DECIMAL_CODE_FOR_THIS_SWITCH_OFF radio radioemitter
  • Then, inside this device, create a deviceType :
type min max
binary 0 1

note: if phenix like outlets (decimalCodeOn = decomalCodeOff + 1), keep 1 as max value. If decimal codeON is not related to decialCodeOff, just put decimalCodeON as max.

  • You can specify canal & pulseLength of signal sent in deviceTypeIdentifier. Default are 1 & 100 if not specified and work for most devices.
identifier type min max
CANAL:PULSELENGTH binary 0 1

Credits

Thanks to Irumi for the first version of this module :)

About

This module sends 433Mhz signal to control RF switch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 52.7%
  • JavaScript 47.3%