Skip to content

Lusitanos67/jarvis-chacon

 
 

Repository files navigation

Description

Control DIO Wireless wall switches (ON/OFF) with Jarvis assistant. This plugin uses mochad to control your X10 devices. It will allow you to simply turn on and off your devices. For now needs wiring and g++ pre-installed (this will be automated in the plugin installation). See https://arno0x0x.wordpress.com/2015/04/02/rf433-outlet/

Usage

 Vous: allume la cuisine
 Jarvis: J'allume la cuisine...
 # > ...
 Jarvis: C'est fait...

How to install

you can see this page to help you: https://arno0x0x.wordpress.com/2015/04/02/rf433-outlet/

  1. Connect a 433MHz RF sender module to the Raspberry Pi by following this schema:

  1. Add this plugin to your Jarvis assistant (more info here): ./jarvis.sh -p https://github.com/Lusitanos67/jarvis-chacon

  2. Configure the config.sh, to match your requirements (use any chacon number if you don't have remote controler).

-Indicate the controler code uses (default:12325261):

pg_chacon_num=12325261

-List your device names & corresponding addresses in json format

pg_chacon_config='{ "devices":[
 { "name": "SALON", "address": "1"},
 { "name": "SALLE A MANGER", "address": "2"},
 { "name": "CUISINE", "address": "3"}
 ]}'
  1. Pair the wireless wall switches with your Raspberry Pi (to do with all your switches): Connect your wireless wall switch and in the 5 seconds, send a "ON" then "OFF" command to the switch (use the terminal to send the command since the right folder like this: '''sudo ./chacon_send 0 12325261 1 on''' then '''sudo ./chacon_send 0 12325261 1 off''')

  2. Enjoy

Author

Lusitanos67

License

This project is under MIT license. This means you can use it as you want (just don't delete the plugin header).

Contribute

If you want to add more examples or improve the plugin, just create a pull request with proper commit message and right wrapping.

About

Template to create plugins for Jarvis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 67.9%
  • Shell 32.1%