Showing posts with label home. Show all posts
Showing posts with label home. Show all posts

Home automation update

Last year I wrote about my first entry into the field of home automation and the Internet of Things. My first purchase was a combined motion sensor, video camera and Z-Wave hub that can control switches or lights remotely. The device, called Piper, also has sensors for temperature, light, and sound and contains a security siren. I then added some Belkin Wemo LED lights, that required a separate controller and then some OSRAM Lightify LED bulbs and light strips that required their own controller. Ok so now things were getting rather complex with three separate controllers controlling different things. This really reflects the state of the home automation market with many competing standards fighting for dominance; such as: Z-Wave, ZigBee, Hue, Wemo, and even Google and Apple now entering the fray.
   I then came across something called Smartthings that can talk to most of the different automation standards allowing a single controller to automate a wide variety of devices. Of particular interest to me also was that it supports open-source code allowing developers to make their own "SmartApps" for their own needs. which then they can share with the Smartthings community. For example, somebody might make a SmartApp to always ensure that the garage door is closed at sunset. Somebody else might make a SmartApp to turn on the irrigation system at Sunset for one hour, but only if it hasnt rained in the previous day. I now have a Smartthings hub controlling a variety of lights, a motion sensor, garage door opener, and video door bell. My favourite functionality is being told if the garage door is open if Ive left home and being able to remotely close it. The Ring video doorbell that lets me see whos at the front door and talk to them, even when Im not at home, is pretty cool as well.

from The Universal Machine http://universal-machine.blogspot.com/

IFTTT

Put the internet to work for you.

Turn off or edit this Recipe

Read More..

Mounting the home directory on a different drive on the Raspberry Pi


I found myself struggling with SD card corruption this week.
I think it was due to a combination of overclocking and an old SD card. Although I use svn or git with most of my code, occasionally I do a lot of work in a day and forget to add a file. After this last time, I decided to move my home directory to a partition on an external HDD just in case.

I will be posting some file recovery methods later in case you have also lost data.

Start by making sure your external drive is connected and open a terminal.
First of all you need to have root privileges to do all this (or use sudo privileges)
Make sure your drive is not mounted. To unmount it:
umount /mntpoint
If you already have your external drive partitioned, skip to Step 4.

Step 1: Partition External Drive

The fdisk command with the -l flag can list all of your drives and partitions. So start by running that:
fdisk -l
Pick the HDD you want to use (mine was /dev/sdb but Ill put sdx and you can fill in appropriately) and run fdisk again to see partition information
fdisk /dev/sdx
You should be in an interactive prompt. Type p to see the partitions. There should be none. If there arent any, skip to Step 3.

Step 2: Deleting or resizing

If you need the old partitions and want to shrink them, type q to exit the fdisk prompt, otherwise skip to Step  3.
If you are using the partitions and just want to resize them, then there are various commands to do that (also its a good idea to have a back up).
For ext3/ext4, just use: resize2fs /dev/sdx #size
Or use parted
parted /dev/sdx (opens interactive prompt)
resize #size
For ntfs: 
ntfsresize --size #sizeM /dev/sdx
Then open back up the fdisk prompt, you need to make new partitions that match.

Step 3: Writing partition changes

(Open fdisk back open if you closed it)
Now just use d #partition to delete any old partitions.
Then type n to make a new partition followed by p to make it a primary partition. If this is the only partition you need, you can make it the whole disk size. If you shrank a partition, you need to make two new partitions, with the first one having a size that matches your resize options.
Now type w to write changes to disk then q to quit. It will probably give you some warnings, it almost always does. Pay attention to them but dont freak out.
Now format the new partition (If you only made one partition #=1):
mkfs.ext4 /dev/sdx#

Step 4: Copying over your home directory files

Mount your new partition:
sudo mkdir /media/tmp
sudo mount -t ext4 /media/tmp
Navigate to your root folder
cd /home
Copy all your data recursively (this option seems to have worked the best for me to get all of the files including .bashrc and .vimrc files)
sudo cp -rp ./ /media/tmp

Step 5: Mounting your new home directory

Once that is finished, you can move the home directory and mount the new one (make sure no program is currently using the home directory or you will get errors).
sudo umount /media/tmp
sudo rm -rf /media/tmp (get rid of the tmp folder)
sudo mv /home /old_home
sudo mkdir /home
sudo echo "/dev/sdx# /home ext4 defaults,noatime,nodiratime 0 0" >> /etc/fstab
Again replacing x# with your drive number (mine was b2).
Now we can test it by mounting home. If this doesnt work, somewhere you messed up
sudo mount /home
After you have confirmed everything is working and copied over and you dont need your old home directory, you can delete it.
sudo rm -fr /old_home


Now you dont need to worry about SD Corruption.
References for help:
http://joshua14.homelinux.org/blog/?p=660
http://linuxtechres.blogspot.com/2007/08/how-to-use-ntfsresize-from-command-line.html



Consider donating to further my tinkering.


Places you can find me
Read More..

Home automation

I like gadgets, it kinda comes with the job. Ive always been fascinated by home automation systems but also recognised that firstly, they were very expensive, and secondly were almost instantly obsolete. Until very recently home automation systems would require lots of complex wiring throughout the house, clunky control panels and bulky remotes and, to be honest, rather like bling but for houses. The fact that any system would become obsolete so fast was a particular problem, since a house is built to last for generations. However, this is changing with the advent of wireless systems and Ive decided to take the plunge. Ill be reporting on what I install and the experience as the system progresses.
   
The first purchase is a Piper from Black Sumac. This is essentially a security camera with extra functionality. Its fish eye video camera can be activated by its built in motion sensor or microphone. Its controlled via an iPhone or Android app and I can watch its live video feed on my iPhone from anywhere. Different security levels can be set depending on whether were just asleep in the front of the house, at work or away on a holiday. Security alerts can be sent to our phones and to a trusted circle of friends who may be asked to check on the property. Piper uses an open source wireless protocol, called Z-Wave, that can control light switches, thermostats, door and window sensors, door locks, and other devices. Rules can be created to trigger various actions; for example, if a door sensor reports that it has been opened, Piper can sound its 120db siren, turn on the lights and start recording video to the cloud. Alternatively, if the rooms temperature falls below a threshold a thermostat can be activated. Piper monitors outdoor and indoor temperatures, humidity, light levels, and ambient sound levels. Piper was easy to install and set up and has operated faultlessly for a couple of weeks without any reboots. It is though very much a work in progress, with some important functionality not available yet, such as downloading video clips from the cloud. It also currently interacts with a very limited range of Z-Wave products. The makers of Piper however say that lots more functionality and interoperability is in the pipeline.

from The Universal Machine http://universal-machine.blogspot.com/

IFTTT

Put the internet to work for you.

via Personal Recipe 895909

Read More..

Home Computer Support

Home Computer Support & Service New Jersey

Your home computer is just as important if not more so than user machine at work and in fact, with todays home and business computer networks merging the two might very well be the same computer. Secure networking is a must to protect user personal information and data against network threats, risks, and spyware.

Wireless Network Setup

Our fast growing coverage area allows us to completely service Central Jersey and the surrounding areas. We offer the same excellent business-grade performance to our residential customers that we provide to our professional clients. Our home computer service technicians provide guaranteed on-site service and support for user computer, peripherals and applications.

Install New Hardware/Software

Our consultants are Microsoft and/or A+ certified technicians with several years of experience supporting network servers, desktops, routers hubs, and switches in both small office and enterprise wide environments

Remove Viruses & Spyware

Computer Cured has been a provider of computer support in the New Jersey for more than 10 years. Our technicians are all certified professionals and can help you with a complex task such as proxy-server or firewall configuration all the way down to virus removal.

Data Backup and Recovery

We offer non-destructive data recovery methods and will provide back-up data consulting for home or office machines. We know that proper data backup is an integral part of setting up any network. Thats why when we provide data back-up consulting we target the information you need the most. Whether on DAT or Hard Disk, at work or at home we provide backup and recovery that is reliable and timely.

Onsite Computer Repair

We are located right in Central Jersey, our technicians are only a few hours away from helping you with user computer problem.

Let us help you reach user desired destination.


Source:-www.pccured.com

Read More..

How to Learn PC Repair at Home

Although you can gain a Computer repair education from a traditional university, this takes a lot of time and money. An easier way to learn the trade is to teach userself Computer repair at home. With the skills you learn from trying it at home, you should be able to fix both software and hardware problems on nearly any computer. Computer repair skills will open user career options and make you more useful to friends and family.

Instructions


Take classes from an online university. Penn Foster Career School offers an at-home Computer Maintenance and Repair program that teaches you about hardware, software, networking and troubleshooting. Also try classes from CBT Direct or Delmar Learning.


Purchase a few older Computers that you can use to study on. Open up the case while the power is unplugged so you can have a look at the innards of the computer. This is a better idea than testing out Computer repair concepts on user main computer as you may end up making a wrong move and damaging the computer beyond easy repair.


Read books about Computer repair. There are books at varying difficulty levels so you can gain a complete education. Visit a library or a bookstore to browse their selection of Computer repair books. "A+ Guide to Computer Hardware Maintenance and Repair" by Michael Graves is a good book for dealing with Computer hardware repair and can prepare you for A+ certification.


Subscribe to computer magazines such as ComputerWorld and ComputerMag. Not only will you learn Computer repair techniques, but you will also learn about new updates in technology throughout the computer industry. Since computer technology improves drastically every year, its important to stay up-to-date.


Watch videos about Computer repair on the internet. Video Jug has an entire section of how-to videos devoted to computers. Learn about hardware, software and more. YouTube has many Computer repair tutorial videos as well. Watch these videos when ever youre stuck on a problem or you want to learn a new technique.


Read more: http://www.ehow.com/how_6120991_learn-pc-repair-home.html#ixzz1SRWm6UQP
Read More..