Sorry to ask! but it would be great if you found any of the content on my page useful to check out some of the ads to support my hosting!
So I finally got around to working on my app to control my Cinema, Lights, etc…
I used the examples in Sencha Touch to build this page / app, I am currently running it on an xampp install on my desktop (code and details below). This is the first version… so lots of it is hard coded and its using HTTP GET with the Arduino, in the future I expect to migrate everything to the Arduino / RaspberryPi MQTT… Just not had the time recently due to some personal stuff.
Below are some screenshot of the webpage in Chrome on my Galaxy S2
So check out HZ\app\view\Main.js in the webpage source below… and you can modify the buttom names and the HTTP GET Commands that point to the Arduino (Arduino Code Below)
Below is screenshot of the code with some colour grouping.
The arduino is an EtherTen From Freetronics with some IR LED’s and a 315MHZ Link kit… I am using the RCSwitch / IRremote below is a photo of what it looks like but feel free to check out the older post / schematics.
Code: HZ Webpage, Arduino
If you want more info on how all this fits together… please leave a comment and I will update the post, I suggest you look at some of my other posts as most of the details are in older updates / code / posts.
I have not had a chance to build my screen yet, so for the moment I am just using the wall… I have to say I am really happy with my custom mount … I did some cable management and now I am just waiting for my HDMI extender to arrive from www.goodluckbuy.com which will hook up my Projector to my Onkyo AMP, dreambox, PS3, xbox 360 and Wii etc..
So while waiting for the HDMI extender to arrive I started working on a solution to switch everything on and off from my phone… so I got to work on extending my Arduino DomoticHome Transmitter to include Infra Red support.
I pulled apart an old IR helicopter and salvaged the IR LEDS and the IR receiver, I then hooked this up to my Arduino and used the IRremote library to capture and retransmit the signals from my remotes with DomoticHome using my Samsung Galaxy S2. The 315HMZ transmiter is from the previous project but here is the link if you are interested.
Here is the updated code, Schematics and a video of it in action
Please remember if you find anything on my site useful… please click on one of the ads to help with the hosting
So I wanted to have cheap and simple E27 light sockets with 315mhz… before going off on an adventure to make them I managed to find a pack of 4 with a remote for $24US!!!! I picked them up from shopledlightings.com but looks like they are made by www.zsgeer.com.cn
They work as advertised, but the build quality is not great… can’t imagine they are rated over 30Watts… and I don’t think they are legal in Switzerland or Australia…
I updated my DomoticEthernetListenter code with support for rc-switch, I used rc-switch library to detect and retransmit the codes from the remote which came with the devices.
So I wanted to remove the 315mhz transmitter from the HomeZone screen without losing the ability to switch my lights on and off with DomoticHome / 315mhz wireless…
So I got to work on a DomoticHome listener… an Arduino Ethernet with 315MHZ transmitter + a DS18B20 Digital Thermometer…
So I updated the code on the HomeZone, removed the DomoticHome support directly from the HomeZone screen… I then built in support to trigger a the DomoticHome Listener when I tocuh a button on the HomeZone screen…
PS: I now power most of my arduino’s with the Freetronics POE injector which means less cables!!!
Yes it all works … here is the code for the HomeZone Screen.. and the code for the DomoticHome Listener
I was recently asked some questions regarding the pins used by the touch/LCD.. if there were any conflicts…. in short No.. The EtherMega 2560 from Freetronics and the Tocuh Screen / LCD from boxtec.ch worked without any pin modification…
The only issue that I had was the Ethernet port hitting the LCD shield and not sitting correctly… so I did some filing / sanding and it all worked out! Check out the pictures below.
I also added a small heat sink which I ripped off a voltage regulator to put on the ATmega as it was getting a little warm… unfortunately this LCD doesn’t have sleep mode so it’s always on … but for the price one can’t complain.
A close up of the board from the back.
Shot of the shield and the Ethermega together.
The wires are from the additional 315MHZ transmitter i added from boxtec.ch
Updated code which supports DomoticHome
yes i am lazzzy and created this so i wouldnt have to get off the sofa to switch the lights off!!
So I thought I’d update you on my current project using DomoticHome via Android… I have been creating Power point plugs (3 so far) which can be controlled wirelessly from the Arduino over 315MHZ (RemoteSwitch Library) which I use to turn on/off floor standing lights or anything I want actually… I have case modded some old 433MHZ plugs I had around the house…. below is a picture of 2 of the plugs!
So whats inside? I have used the wireless learning 315MHZ relay from www.boxtec.ch and to power the relay I tried two low amp 12v power supply’s from www.goodluckbuy.com here and here (both work just fine)
I am using the Arduino Ethernet with the 315MHZ link kit (just the transmitter connected to Digital pin 7… you can find the sample code here
So I finally got around to wall mounting my Asus Transformer TF101… I have put it in the kitchen!
Why you may ask? well the main reason is so that my wife and I can keep an eye on the kids and the house with 4 Foscam fi8918w… I use Net Eye Camera from the android market with split screen to keep an eye on all cameras at the same time. Check out the photos below
We also use the transformer to watch TV from my Dreambox DM500HD (Satellite) from the kitchen or to listen to internet radio… To watch the dreambox we use DreamDroid from the android market… works very well! check out the photo below!
We also use it for Skype and to stay in touch with family and friends!
Last but not least…I have setup my tablet to control some of the lights in my house using Arduino, I built some custom 315mhz controlled light switches (3 now).. I am using DemoticHome at the moment as it already has an Android app and I found this handy code generator! but the intention is to build something simular but a little more flexible on Android / Windows Phone 7 / IOS. Check out the Photo’s below!
So I have been working on some updates to my home automation remote, I now have a webserver running on the arduino!….What does this mean you say?
This means I can now control the home automation remote directly from the Tocuh screen or from my phone / computer!
Have a look the the original video in action… or check out the pic’s below or the updated video of the Webserver in action here!
The updated source with Webserver can be found here, remember the code could be cleaner but until i have more time it will have to do!
Above you see the transmitter from the 315Mhz Link Kit, EtherMega 2560 & 3.2″ TFT TouchScreen
Above you see the simple webserver used to control the lights and motion detection on my Foscam cameras.
My Home Automation Remote!
Below you will find my latest invention! (Photos below) It’s a touch screen remote for my house!
So the parts I have used are the Ethermega 2560 from Freetronics, 315Mhz RF link kit,3.2″ TFT LCD Touch Shield & the Codec-Adaptive Wireless Relay 315MHz which I picked up from Boxtec.ch
So what does it do and how does it work?
It controls the motion detection settings on my 4 Foscam IP cameras … so when I leave the house I can quickly enable motion detection on all my cameras without having to connect to each individual camera over my iPhone or computer!… what else does it do? it Switches on my lights using 315MHz and the VirtualWire Library!
I use ethernet on the Ethermega with the Webclient to send HTTP GET commands to the Foscam IP cameras depending on the buttons pressed in the menu! As for the lights… I have used the learning feature of the Codec-Adaptive Wireless Relay with the VirtualWire Library.
I have already started to work on the Infrared part to control my cinema system in the living room… which I will update and share the code once I have it working! In the meantime feel free to check out the code below & a video of it in action!
Check out the vid here and source code here… schematics coming soon!
Above you see the transmitter from 315Mhz Link Kit stuck on the side of the EtherMega 2560 & 3.2″ TFT TouchScreen
An old RF power switch which i used for the casemod.
Above i have case-modded 315Mhz Adaptive Relay & a small 12v powersupply.