Search

Thursday, December 20, 2012

Merry Ubuntu 12.10 Christmas

Had a old PC where I could not get windows re-installed on. It complained about the pci.sys and I could not go around it. The windows 8 installation I had on it was only beta so I needed a new approach... Have had Linux dists before but they seemed to require a whole lot to get the hardware to work. But I thought I should get it a try. Since I have played with Raspberry Pi I was familar with Debian so I tried it. But it failed to also install. Then I thought that maybe Ubuntu would be worth to try. It's based on Debian though so I was not too confident that it would work. But see and behold! It was very easy.
I downloaded this to a windows machine:
http://sourceforge.net/projects/unetbootin/
Created a memory stick with the help of the application. Ubuntu is faaaaaar down in the list. Then I booted on the stick and after a restart it was completly installed, with USB, WiFi, Bluetooth ready and available!

Two small tips. Always when looking for data on google about Ubuntu it's worth to add also the release eg. Terminal Ubuntu 12.10. There is so big difference between the versions. So how do you open the Terminal in Ubuntu 12.10? Ctrl+Alt+T was the answer. Maybe in Ubuntu 12.11 there will be a desktop app for it. It's Christmas time so I can always wish for it.

They state that Ubuntu is for human beings and I start to feel that all the discussions about Linux on the desktops is maybe old... Linux is in the laptops!

Christmas Gift: Ubuntu 7.10 Desktop Course
http://skyisgrey.org/blog/ubuntu-desktop-course.html


Wednesday, December 5, 2012

Philips Hue meets Vera

http://www.meethue.com/en-US/getstarted Philip's Hue is a remote controlled lamp and a small bridge that you can connect your (i)Phone to.For 190'ish euro you get 3 lights a the control box that you connect to the router. There is plug in development to be able to connect all this to your Vera. Limitation from the box is only 50 lights and since they are not native Z-wave you need to live with another box for now. There is other post that shows that there might still be hope for native z-wave led's some time...
http://868mhz.blogspot.fi/2012/11/greenwave-ipv6-led.html
http://868mhz.blogspot.fi/2012/09/insteon-led-lights.html
http://868mhz.blogspot.fi/2012/01/screw-in-led-light-bulb.html

The z-wave screw in light module seems to not be selling that good anymore since I see it more and more seldom. But I like the idea but the design was a bit bulky...

Vera2 vs Vera3

I just hooked up a Vera3 that I will use for the cottage. Installation was very easy, maybe due to the experience with the Vera2. Did I notice any differences? Maybe the Vera3 is sightly quicker, but everything else is very much the same. I think the Vera3 is a bit up the price range since a Vera lite would do for the needs I have. But it's good to be able to grow also since I have no clue what I need to hook up in the future :-).

Motorized Curtains

There is some ways of handling the issue of closing and open the curtains. But this company seems to be doing it in a very elegant way that could easily fit the nicest environment. 
http://www.forestgroup.nl/products/Shuttle.html
I have no clue about their prices but if I get the time and need I might hook my curtains up to a old DC screw driver.

Wednesday, November 14, 2012

Defa home

Norwegian company Defa (mostly famous for the car heaters and car battery chargers in European Nordic part of the world) http://www.hyttami.no/ or in Swedish http://www.defahome.se has launched a HA system based on some wireless protocol that can turn on and off lights, heating and have a module for presence.

The good thing is that the service is based on GSM modem that work with low cost over whole Europe and it seems to be dead simple to set-up.

The bad thing is that every module has basically the same price as z-wave modules but there is like 3 of them to select from, compared to the 700 z-wave devices certified right now but they provide support for you if you need help to connect to a device.

Oh, did I mentioned that they have a yearly fee of about 100€…

Is home automation the new Model Railroad

Is Home Automation the new model railroad? I have a strong feeling that controlling small electronic devices goes deep down in the soul of each man (and maybe also women). The model railroad has until now been an very secure way to burn the household finances and whatever spare time you might have on a hobby. The challenge with the model railroad hobby seems to be that it takes up rather big space if your hobby grows. Different scales has been introduced to try to solve this but for every down sizing of the scale you have also lost some capabilities. To mention a few. You can no longer use a automatic couple, control your crane, unload your coal wagons or drive your model cars and busses from remote. So going from the N-scale to O- or Z-scale gives you less fun for less space. Other issue is that the old investment needs to be painstakingly converted to support the new digital formats and not all formats can work with each other (honestly not all HA system can handle this either).
I'm of course writing this mostly because I don't any longer, used to as a kid, have any model railroad but I had a urge and some plans at some point in getting one, though that was before Vera from mios.com come into my life Smile

A home automation system gives you a way of controlling a wide range of things, manually, over internet, by schedule or by external triggers like place, weather, presence etc. It involves the whole family. Aware of it or not when their coffee is ready in the morning, flowers watered, warm house and a lower than ever energy bill, saving money for better things...

It lowers the energy consumption and saves the planet or at least gives you the luxury of a letting the plumber in by un-locking the front door from your office and see what he is doing while being there.

Space. A home automation system takes up very little space and you don't need to convert a whole room for it. I have seen very complex system built up completely hidden in a dorm room, devices can be hidden in your bed or mail box. The only one that knows they are there are you (so please remember to inform if that’s by law where you are).
A railroad in a house might not raise the selling price while reports from USA show a plus twenty percent higher sales price for homes with a smart house system installed.
To move your railroad to a new place is a difficult operation even though module based system provides a great mobility. Moving with a HA system is unfortunately not that easy either, but if you like you can take at least most of it with you again and if it’s based on e.g z-wave protocol then it’s wireless and mostly very easy to move.

Going all in, nothing says that you can’t control your MR with HA Winking smile

Saturday, November 10, 2012

Greenwave IPv6 LED

http://www.greenwavereality.com/solutions/led-lighting/ is now mentioning that they actually starts to ship there IP v6 LED's to "selected partners".
When and If I will see them in Europe I might actually consider to see if I could use them for my garden lights, if somebody figures out a way to also control them from the Vera gateway.

Tuesday, November 6, 2012

Western Digital RMA

See previous posts in same subject http://868mhz.blogspot.fi/2012/07/powerline-saga-final.html
My result in trying to fix my Western Digital Powerline adapters was... resultless... and my happieness was short. The adapters decided to still be a very big problem so I sent them back and after several week I have got a new pair back.
Lets see if they work any better this time....
I have in the mean time purchased a Zyxel powerline adapter that has been working great. It's providing the network connection to my Raspberry pie until I have time to get it on wireless.

Monday, October 22, 2012

Remotec ZXT-120 Z-wave Air conditioner Controller

With the help of the Remotec ZXT-120 Z-wave Air conditioner Controller I have now configured it so that I can control my Air conditioner from the Vera. It's a small battery powered (can run on USB power also) device that you set up by pressing one time on the top.
Then you need to add 27 to the Variable setting

After that you must found your Desired value. This is the number of the device you try to control.
I did not found my Mitsubishi from my vendors list:
http://www.eurox10.com/Download/c697ddd9-de68-431a-80a5-38afae1a55b5.htm
bust luckily it was here:
http://www.etotal.eu/mediafiles/images/produkter/manualer/remotec/ZXT-120-8377_code_list.pdf


Friday, October 19, 2012

Vera log files

I found a post on the http://forum.micasaverde.com from radarengineer. I think it was so good that I will add it here for future reference

You can view logs on line by going to the following address (obviously with the correct IP for your Vera):

http://192.168.x.x/cgi-bin/cmh/log.sh?Device=LuaUPnP

Tuesday, October 2, 2012

Square Connect SQ Home Controller

SQ has now started to sell a beta version of the Square Connect SQ Home Controller that will ship for $199
http://www.squareconnect.com/controller_preorder.html
It features a Z-wave chip plus IR and has a nice user interface.

Wednesday, September 26, 2012

Raspberry Pi Logitech QuickCam Communicate STX USB cam P/N 861223 added to micasaverde Vera

Updated, based on new motion version. And it works a lot better now!

Lets hope I’m finally able to write a tutorial how I was able to add the Logitech QuickCam Communicate STX USB cam P/N 861223 to Raspberry PI and then also connect it so I can see the video in the micasaverde vera. If this looks easy it wasn’t at all. I have spent so much time testing so many software's without any good result. Some disclaimers that this is the way I got it to work, not stating that this is the way it should be done… But here it comes….
The instructions is based on the Debian Raspian “wheezy”
The camera must be plugged into a _powered_ usb hub. I also run the Pi from the same hub.
Install the software:
sudo apt-get install webcam v4l-conf
To find the value that should be in the input field in the .webcamrc file

v4l-info | grep name
        name                    : "gspca_zc3xx"
        name                    : "Brightness"
        name                    : "Contrast"
        name                    : "Gamma"
        name                    : "Exposure"
        name                    : "Gain, Automatic"
        name                    : "Power Line Frequency"
        name                    : "Sharpness"

Create the config file
sudo nano /home/pi/.webcamrc
[ftp]
host = localhost
user = pi
pass = password
dir = /var/www
file = webcam.jpg
tmp = imageup.jpg
local = 1
[grab]
device = /dev/video0
width = 640
height = 480
delay = 1
wait = 1
input = zc3xx
#norm = pal
quality = 50
trigger = 0
once = 1

For setups where the cam is on a different system than the Web server, you'd have to: Set the local value to 0 in the config file
sudo mkdir /var/www
Test it:
sudo webcam /home/pi/.webcamrc
Stop the webcam with Ctrl+C
Install the web server
sudo apt-get install apache2 &
Remove web server logging so it does not use all your disk by remarking the lines in:
sudo nano /etc/apache2/apache2.conf
#LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\""$
#LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combi$
#LogFormat "%h %l %u %t \"%r\" %>s %O" common
#LogFormat "%{Referer}i -> %U" referer
#LogFormat "%{User-agent}i" agent
sudo nano /etc/apache2/sites-available/default
#       CustomLog ${APACHE_LOG_DIR}/access.log combined
Test the web server
http://x.x.x.x/webcam.jpg?Quality=Standard
Create a bash shell script to start it:
sudo nano /home/pi/cam.sh

#!/bin/bash
while ! sudo webcam /home/pi/.webcamrc  >> /dev/null 2>&1 &

Change the file so it can be executed:
chmod 777 /home/pi/cam.sh
Run it:
sudo nohup /home/pi/cam.sh&
This time it runs in the background until you restart the Pi. Press ENTER to get your prompt back.

If you like the app to start every time you start the Pi
This will add the cam to the right run level
update-rc.d cam.sh defaults

Add the Panasonic camera plug in to Mios.com Vera and configure the URL field with webcam.jpg?Quality=Standard
First times it might not show the picture directly. Then I had to go to the settings tab and then back.

Saturday, September 15, 2012

Z-way Keyfobs


I was happy to see two different key fobs released close to each others.  The one to the left is the
Z-Wave.Me 4 Button Key Fob that you can find for a bit more than 40€ at e.g.
http://store.zwaveeurope.com/product_info.php?products_id=12282
Aeon Labs Key Fob will sell at a currently undisclosed price.
http://www.tradekey.com/product_view/id/2174986.htm
I will wait for a short while to see the price on the Aeon Lab until I place my order of some of them. It will be useful thing to have for the small quick things we need to do around the house.

Z-Wave.Me 4 Button Key FobAeon Labs Key Fob

Raspberry Pie USB Logitech QuickCam for Notebooks

I gave it my best and almost made it. Tried for 3 evenings to get the Logitech QuickCam for Notebooks to work with the Raspberry Pie.

Started with this distribution:
012-08-16-wheezy-raspbian.zip.torrent
Then got the camera connected to the Pi.
sudo apt-get update
sudo apt-get install motion
sudo apt-get install ffmpeg
then edited motion's config file
sudo nano /etc/motion/motion.conf
change these lines to "off" in that file:
control_localhost off
webcam_localhost off
mkdir /tmp/motion
Start up motion program:
sudo motion -n
then looked at  http://1.1.1.1:8081 on the PC but the picture is very distorted.
By the way if you stop motion with Ctrl+C instead of Ctrl+X then you don’t have to find and kill the web-server all the time.
Good thing is that it seems to run without powered USB hub. Next camera…

Sunday, September 9, 2012

Insteon LED lights

There seems to be a lot of promises on the web that we in the old world would also see the led lights son from insteon.... Maybe I have a chance to come back to this at some point...
http://www.insteon.net/bulb.html
http://www.automatedhome.co.uk/news/insteon-update-uk-products-in-30-to-90-days.html
http://www.engadget.com/2012/06/21/insteon-says-apps-are-better-than-switches/

RFID reader with Z-wave interface

I noticed this RFID reader with Z-wave interface
http://www.2ihome.eu/
http://www.2myhome.info/index.php/products/security/tag-reader

No information available of the actual price. And unfortunately it does not handle NFC. But still I think it would make a good and easy alarm control panel. 



TagReader

Tuesday, August 21, 2012

Control of the hotel-room

I visted one hotel that had the minxon system to control the room functions. I don't know if it was only a issue with the installation or simply my unit. Since I really tried to like it and the panel quality and the responce time was extremly nice. But the few in my opinion minor software issues were that you could not turn off the aircon with out the room light turned on. I could never get the temperature higher than 22C. Every time I left the room the thermostat temperature was reset to some default. There was a big light around the bed, only way to turn it off was by the master switch (took me pretty long time to realise that). The light in the bathroom could not be turned off from the console and it turned out that was the only light I cold not turn off from the console AND the only light I then had to leave the bed for to switch off ;-)
High "Cool" factor, save's some steps and very tasty look and feel. 
http://www.minxon.us/home.htm