Google Search

Custom Search

Powered by...

Find us on Facebook

Tuesday, 20 August 2013

How to Z-wave your existing wired doorbell with Vera

I’ve been wanting to Z-wave up my doorbell for a while but never read about any good solutions. Everspring have a Z-wave doorbell set here but the push button doesn’t work properly and Everspring never fixed the problem shame on them!

I then read about people using the Fibaro Door/Window Sensor as it also has a Dry Contact input on it but you can’t use this Fibaro sensor wired in to your doorbell and also use it as a door sensor as you have to do away with the magnetic contact bit so seemed a waste.

I then started thinking about using a Z-wave.me iTemp device, this is a small device, about the size of a matchbox, it has a temperature sensor and a dry contact input. There is also an identical looking device from Wintop here. I decided to go with the slightly more expensive Z-wave.me iTemp device as the guys at Vesternet had written a nice setup guide for it and how to get it working in Vera / VeraLite the Z-wave gateway controller from Micasaverde.

I can’t take any credit for the final solution that honor goes to @RexBeckett on the Micaverde forum he was the brains behind this little project! The thread where we discuss how to do the doorbell project can be seen here

So once you have your iTemp device the first thing to do is follow the setup guide and get it appearing in Vera. The guide is fairly easy to follow and you end up with 3x new devices in Vera - an iTemp plugin the iTemp Temperature Sensor and the iTemp Binary Contact device. The only issue I did have with the Vera setup was that the iTemp_Devices variable as shown in one of the screen shots in the guide, did not appear for quite some time, you need to enter the iTemp’s physical device ID in to this field.

APNT-33_iTemp_Icons

Here you can see my Temperature Sensor device in Vera, I renamed it to “Lounge Temperature”

image

I then had to look at my existing doorbell chime and figure out how to wire the thing up. My doorbell chime takes 4x batteries totalling 6 Volts. So I also needed to purchase a 6V mini coil relay switch off eBay like this one.

OMRON COMPONENTS - G5V-1 6DC SPDT Relay - 6 volt miniature PCB relay (24V one pictured)

$T2eC16FHJGoFFvjq9O,DBRrSdvLd-w~~60_12

Using a multi-meter I tested the terminals on the doorbell chime, with the multi-meter set to read volts. There are 3 x terminals marked 0 , 1 , 2 on my doorbell chime, with a little trial and error I worked out the following:

If I put the red positive pin of the volt meter on to terminal 2 and the black negative pin of the volt meter on to terminal 0 I got 6.40 volts.
If I then put the black negative pin on to terminal 1 I got 0.00 volts.

If I put the red pin of the volt meter on terminal 2 and the black pin of the volt meter on terminal 1 this gives me 0 volts, when I press the door bell it jumps up to about 5.5 volts. So terminal 1 is the one that gets the voltage when the doorbell is pressed down.

Hi-Res-Doorbell-2

So in my case terminals 1 & 2 on the doorbell chime are the ones that should be connected to pins 2 & 9 on the coil relay (no polarity).


RelayPins

Pins 1 & 5 on the relay (no polarity) were then connected to the dry input connector on the Z-Wave iTemp device which you can see in the picture below.

iTemp Sensor

I mounted the Z-wave.me iTemp device in my living room as I wanted the temperature sensor on the device to read the temperature of the living room rather than the porch, I then used a CAT 5 cable and drilled a hole in the top of the wall through in to the porch and ran the CAT5 cable to where the doorbell chime unit is mounted. I only used two cables within the CAT 5 cable.

Z-wave.me iTemp device mounted in the living room

48

CAT 5 cable from the living room going in to the porch and to where the doorbell chime unit is, which is on the right of this picture.

51

Doorbell chime unit, you can see the CAT 5 cable coming in from the living room and two other cables connected to terminals 1 & 2 of the chime. The thicker white cables you can see connected on the chime go outside to the doorbell push button.

47

Now to solder in the relay switch, my soldering is not great but I got the job done!

49

50

Pictures are off my phone so they are not great either!

OK so now everything was wired up it was time to test it, looking in the Vera UI my binary contact device was GREEN i.e. not tripped.

image

Upon pressing the doorbell it changes to RED i.e. now tripped

image

After a short while the binary contact device should return back to green.

So now what? Well you can now trigger Vera scenes based upon when this binary contact device is tripped. So for example I have added LUUP code in to a doorbell scene to send a popup notification to all XBMC HTPC’s / TVs in the house, that there is someone at the door, video / audio playback is also paused on said HTPC’s which when paused the lights will automatically brighten up to 100%. I am using the XBMCState add-on for Vera to do that which I wrote about here.

I have also recently installed the VeraAlerts add-on for Vera and the Android app, so I can have a notification sent to my Android phone along with a photo from the front door cam, or notifications sent to tablets in the house. On the tablets I configured VeraAlerts to talk so it actually says out loud “There is someone at the door”. I’ve only just started using VeraAlerts however I plan to buy this MK806 (Bluetooth Version) Mini Android PC to setup as a dedicated VeraAlerts device connected to some speakers in the house.

So we can have voice announcements for all other sorts of things that are going on in the Vera Home Automation system. For example when I press a button on my key-fob for my leaving house scene, it will say aloud “Goodbye you are now leaving the house” and when I return I push another button on the key-fob for the welcome home scene and it will say “Welcome Home” this way I know these scenes have been run correctly.

Also if my door sensors are tripped at night it will say and repeat several times “Burglar alarm tripped, police have been called” and then all hell kicks off when the siren goes off and all the lights in the house come on, I know that would scare me the heck out of there.

I also have setup VeraAlerts voice announcements on my Arm House / Disarm House scenes and it also announces “Schedule, turning on garden lights” or “Porch, motion detected” when the Everspring motion sensor detects movement. The possibilities are endless.

Summary

The Z-wave.me iTemp device is ideal for use as a dry contact input from your existing wired doorbell chime unit with the added bonus of also giving you a new temperature sensor device. The relay coil is fairly easy to solder in to the wiring and overall this is a relatively low cost project to Z-wave up your doorbell.

If you are interested in any Euro Z-wave products, I am an authorised dealer and can supply any products on the European Z-wave distributors website here. Prices you will see are retail ones however if you contact me with your requirements I will do a quotation and bespoke pricing tailored to your order!



Wednesday, 12 June 2013

My Movies Pro for MAC OSX adds XBMC Frodo metadata

My Movies have been working on improving their movie metadata services for XBMC Frodo with the recently released My Movies Pro for MAC OSX, these changes came in version 1.30 the current version is 1.31.

image

I recently wrote about my frustrations with My Movies metadata and XBMC here and since then things have improved considerably at least on the MAC, there is still no current support for TV Series metadata though just movie metadata. I am currently using the in-built TheTVDB scraper in XBMC for TV Series.

The My Movies team I can confirm are now also working on updating the Windows and WHS versions of My Movies to support XBMC Frodo better.

I have a 27” iMAC machine so was able to beta test this new version of My Movies Pro for MAC OSX. I will be comparing the My Movies metadata against the XBMC Universal Movie Scraper and I am using the Aeon MQ4 XBMC skin.

My Movies metadata for Bolt

image

Universal Movie Scraper for Bolt

image

My Movies metadata for Madagascar 2

image

Universal Movie Scraper for Madagascar 2

image

My Movies metadata for Nemo

image

Universal Movie Scraper for Nemo

image

Things that were previously broken and what they fixed:

Previously when using My Movies metadata for XBMC a movie title might look like the screen shot below, you can see various things were missing, like the rating logo in the top left corner, the actor images, country and some of the media info icons would be missing or incorrect. Studio icons would also not normally be displayed and the media type icons e.g. XVID, H.264 etc would either be missing or incorrect, also the duration times were all incorrect.

[Image: Nemo.png?psid=1]

The My Movies development team have now resolved these issues and generally the My Movies metadata is as good as what the XBMC Universal Movie Scraper is displaying. The only weak point is the Written By field which can be unavailable on some titles, as in the My Movies IMDB cast import option it did not import this historically, so now some titles have this data and some do not.

I am looking forward to testing the updated Windows versions!

Thursday, 6 June 2013

XBMC Live TV / PVR – DVBLogic’s DVBLink – Part3

In Part 1 we looked at the DVBLink Server “back-end” in Part 2 we looked at the official DVBLogic XBMC add-on for DVBLink.

In Part 3 we will cover the 3rd Party XBMC add-on for DVBLink developed by Zeroniak. The forum thread for the 3rd Party add-on can be found here. There are download links and installation instructions on this thread. EDIT: That forum thread seems to be dead now, try this page here instead for the download links. The actual discussion about this add-on can be found here now.

First thing to note is that you will not be able to install the 3rd Party add-on using a stable version of XBMC Frodo. I was running Frodo Version 12.2 on my test machine and when trying to install the add-on it would not install. I had to upgrade XBMC to a nightly build from 30th May 2013 in order for the add-on to be installed. This is an issue for me not sure I want to update all my Linux HTPC’s to XBMC nightlies.

Note:- for the purposes of this guide I am using the default XBMC skin Confluence, however I will also show how the Live TV stuff looks in Aeon MQ4 skin as well.

Add-on Requirements


  • DVBLink Connect! Server v 4.5.3 (Installed and functional, please test that you can stream tv )

  • XBMC nightly builds (This is very important as the addon uses functionality not yet in the official release)

  • You can find the nightly builds here : http://mirrors.xbmc.org/nightlies/

  • The addon has only been tested with the nightly from 30-May-2013.

Download the correct .ZIP file from the forum thread for your platform and install into XBMC using the Install from Zip file option.

image

image

Now because this 3rd Party add-on is a PVR client we can enable Live TV in the XBMC settings

image

Select the Enabled option and then click OK

image

Select the DVBLink PVR Client from the list to enable it.
Note on this screen shot you can also see a list of some of the other PVR Clients that are available for XBMC!

image

image

Now configure the add-on, enter the IP address of your WHS or NAS or leave as localhost if you installed DVBLink Server on the same machine as XBMC.

Specify a client name, each XBMC HTPC that connects to DVBLink should have a unique client name.

If you specified a user name and password in the DVBLink Server configuration webpage in Part 1, enter those details here.

image

An explanation of the add-on settings can be seen in this user guide here

Stream – I didn’t change anything in here.

image

Likewise in Advanced I didn’t change anything, click OK.

image

Back out to the main XBMC menu and you should have a new Live TV menu item !
You can see the sub-menu items: TV Channels / Radio Channels / EPG / Recordings / Timer.

I haven’t added any Radio channels yet so will not cover that part.

image

TV Channels

image

Pressing i (info) on a TV Channel.

Switch will play the TV Channel record will start recording it.

image

If I start playback it looks like this, if I press OK on the remote again it goes full screen.

image

image

On the transport controls at the bottom, if I click the TV screen icon, it brings up a Channel list on the right hand side.

image

If I select the EPG icon from the transport controls, it brings up a mini guide.

image

If you use the Confluence menu on the left you can switch from TV Channels to Radio Channels / EPG: Timeline / Recordings / Timer / Search

image

EPG

A better looking EPG than the official add-on IMHO and you can scroll right in to the future!
One issue I have is that the channel numbers being displayed are not the actual channel numbers as they are in DVBLink. It just lists the channels in number order, for example on this screen shot BBC Four should be channel 9 not 8 and Pick TV should be channel 11 etc. Not sure how to correct this?

image

I am not sure if this is a problem with this XBMC nightly build or with the 3rd Party DVBLink add-on but when pressing up and down in the guide the UI can get a bit screwed up and it highlights more than one channel and starts flickering, this is a UI navigation bug of some kind.

image

XBMC Context menu whilst highlighting a TV show currently airing in the guide. I don’t think this add-on support series record which is a serious limitation.

image

XBMC Context menu whilst highlighting a TV show which will be aired sometime in the future. Notice the Record option has changed to Add Timer.

image

Upon selecting Add Timer you see a Record Yes/No dialogue. Again no option for series record can be seen.

image

If I choose Yes a notification pops up and a timer icon appears on the TV Show.

image

Here is another screen shot showing a recording notification

image

Bringing up the context menu again on the same show, I now have a Delete Timer option.

image

TV Show info

image

TV Recordings

Here you can see the recorded TV shows.

image

Recorded TV Show info

image

Playback of a recorded TV show.

image

Context menu on a recorded TV show

image

Timer

Timer shows upcoming recordings

image

image

Live TV Settings in XBMC

There is a lot of settings relating to TV in the main XBMC settings area under Live TV, I am not going to cover all these settings in this post as I haven’t as yet figured out what they all do.

image

3rd Party DVBLink PVR Client add-on with other XBMC skins

Because this 3rd Party add-on is a PVR Client add-on unlike the official DVBLogic add-on which is a Program add-on, the 3rd Party add-on integrates properly with other skins. I am using the Aeon MQ4 skin.
Live TV menu

image

Live TV menu – sub-menu options

I only get a Search option, I would have liked the sub-menus items to be like they were in Confluence, I cant seem to add these sub-menus either using the Aeon MQ4 Customizations.

image

TV Channels

In Aeon MQ4 the TV channels are in this view and it appears you cannot change this view to another more sensible view like list. So I have to press left or right directional arrows on the remote and then the different channels move left or right etc.

image

TV Show info

image

EPG

No longer has any colours on it and I still have that wacky UI navigation bug on the EPG.
There are square boxes where the channel logos can go, I need to look in to how to add channel logos.

image

Recordings

image

Summary

As you can see the 3rd Party DVBLink add-on for XBMC integrates better into XBMC and the new Live TV / PVR functionality of XBMC, rather than being a stand alone Program add-on like the official add-on from DVBLogic. However with no apparent way to series record, that is going to be a problem!

Pros-
  • Proper XBMC PVR Client add-on
  • Works with other skins and UI adapts and is not a static UI like the official add-on
  • Better looking UI overall and blends in better with XBMC
Cons-
  • Buggy EPG navigation this is probably this XBMC build not the add-on
  • No series record?
  • Has to be installed on an XBMC nightly build, not good if your currently running a stable version

Final thoughts on this XBMC series

Well I hope you have enjoyed this entire blog post series on XBMC, I think this will be my last post for a while on the subject, but not too long!

XBMC PVR is not as mature as Windows MCE and I always knew that, but I think in time it will catch up with MCE. As Live TV on the HTPC is not a main feature I use I have been able to migrate away from MCE to XBMC. I am happy however I will now have Live TV in XBMC when I configure the rest of the machines, but I know I will have to wait some more time till things improve somewhat. Hopefully that’s not going to be too much longer now!

Let me know your thoughts and if you plan to migrate from MCE or not ?