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/
Vous: allume la cuisine
Jarvis: J'allume la cuisine...
# > ...
Jarvis: C'est fait...
you can see this page to help you: https://arno0x0x.wordpress.com/2015/04/02/rf433-outlet/
- Connect a 433MHz RF sender module to the Raspberry Pi by following this schema:
-
Add this plugin to your Jarvis assistant (more info here):
./jarvis.sh -p https://github.com/Lusitanos67/jarvis-chacon
-
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"}
]}'
-
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''')
-
Enjoy
This project is under MIT license. This means you can use it as you want (just don't delete the plugin header).
If you want to add more examples or improve the plugin, just create a pull request with proper commit message and right wrapping.