Please login or register.

Login with username, password and session length
Pages: [1] 2 3 ... 17

Author Topic: Alex10 (x10 control with Amazon echo, dot or tap)  (Read 148591 times)

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10522
  • I don't work for X10, I use it successfuly!
Alex10 (x10 control with Amazon echo, dot or tap)
« on: December 16, 2016, 04:45:46 PM »

Why did I create this?
The Owner of Authinx asked if I wanted to play with controlling x10 via Alexa. Based on some sites he had found it sounded like it was doable, however most end users would not attempt it as it involved scripts.
As well the write up was using out dated software for the cm17 (a serial port interface which newer PCs lack).
He wanted to see if I could come up with something for the community. I stated I would give it a go but it was difficult to get an Amazon echo, dot or tap in Canada , though not impossible if the price was right.
A day later I was informed a dot was on its way to me. :)%
I spent a few days looking into creating a x10 skill for Alexa and looking at HA-Bridge.
Developing an Alexa skill sounded like a lot of hoops to jump through, but maybe I was overthinking things ::) :'
Open sourced HA-Bridge was already out there
In any case Alex10 was the out come.

What will it do?
This communicates with the HA-Bridge as well as handles the x10 signal transmission.
Alex10 will work with the CM19, CM11, CM15 or any x10 controller that will work with AHP or the SDK.

Currently via the HA-Bridge, it will allow Alexa:
1: to activate  x10 lights On/Off/Dim using RF or PLC
2: to activate  x10 appliances On/Off using RF or PLC
3: turn all x10 lights on/off
4: turn all x10 units off

It displays the last 50 configured x10 commands sent either triggered by Alexa or a X10 remote.
It writes needed scripts in the HA-bridge for On/off or dim execution of x10 devices.
It is small and will run on a mini PC, though Windows is required.
  setup is simple

What limitations are there?
1: Your imagination. ;)
2: What Ha-Bridge can receive from Alexa and pass to Alex10.
3: Alexa's HA control options.
4: You need a PC and it running 25/7 or at least when you expect to use Alexa.
5: Java 8.11 is required for HA-bridge

How difficult is it to setup HA-Bridge?
1: Start Alex10
2: In the port# text box enter a port
3:  In the IP text box enter the PCs IP address
4: Click Change Address then Start HA- Bridge Now (if this is your initial setup close and restart Alex10).
5: Add devices in Alex10 they now get auto added to HA-Bridge
6: Setup Alexa if not already done and tell Alexa to discover devices (your Done!)
Note: using all the Startup options will increase speed if checked.

Remember the Port And IP as that will be the address for the HA-Bridge if you need to open it



How difficult is it to Setup Alexa?
Probably the easiest part of the whole setup!
With the browser open to the localhost (ha-Bridge) click the MyEcho tab and follow the directions in the new window that opens.
Once Alexa is setup  find and open smart home click find devices or simply say "Alexa find devices"
If all goes well all your configured devices will appear.

Where can you get Alex10?
Find Alex10 here!
There is also a section on my forum dedicated to Alex10 ;)
 >!







« Last Edit: December 29, 2018, 08:11:32 AM by Tuicemen »
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #1 on: December 16, 2016, 07:33:52 PM »

Looks promising. But what is this "HA-Bridge" which you reference.
Logged
Home Automation is an always changing technology

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10522
  • I don't work for X10, I use it successfuly!
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #2 on: December 16, 2016, 09:13:29 PM »

Looks promising. But what is this "HA-Bridge" which you reference.
HA-Bridge is what Alex10 uses to interface with Amazon's Alexa.
It is a free open source software create by BWS systems with Java, HA-Bridge was built to help put the Internet of Things together. ;)
It will handle many protocols though other APIs may be required for those to work.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10522
  • I don't work for X10, I use it successfuly!
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #3 on: December 18, 2016, 05:13:41 PM »

I caught my wife demonstrating Alexa the other day turning on the Christmas tree as well as other things! rofl
Do you think maybe she's hooked? ::) :'

I notice I can say "Alexa, activate something" and she'll fire the on command for something so It is possible to trip all kinds of things with the right script.  :)%
Sometimes saying "turn on" just isn't natural sounding.
Also tried the "Alexa, thank you" to which she replied "your welcome"
 >!
« Last Edit: December 18, 2016, 05:18:48 PM by Tuicemen »
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #4 on: December 18, 2016, 07:03:32 PM »

I caught my wife demonstrating Alexa the other day turning on the Christmas tree as well as other things! rofl
Do you think maybe she's hooked? ::) :'

Yep! And I know that hooked. Once machines start doing what you tell them.... there is no turning back.

You might want to try (just plain old) something ON (not say turn). That works with Siri (and BVC).
« Last Edit: December 18, 2016, 07:14:03 PM by HA Dave »
Logged
Home Automation is an always changing technology

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10522
  • I don't work for X10, I use it successfuly!
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #5 on: December 19, 2016, 11:45:14 AM »

You might want to try (just plain old) something ON (not say turn). That works with Siri (and BVC).
Yep, that does work too! I was thinking more for running something like a program or macro, saying On or Off didn't feel right.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

gg4000

  • Sr. Member
  • ****
  • Helpful Post Rating: 2
  • Posts: 116
  • Been playing x-10 since Windows 3.0
    • GG4000.com
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #6 on: December 19, 2016, 11:56:02 AM »

Alexa is a good singer too. Ask her to sing we wish you a Merry Christmas, or jingle bells, or happy birthday. :)%

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #7 on: December 19, 2016, 08:58:59 PM »

..... I was thinking more for running something like a program or macro, saying On or Off didn't feel right.

I just checked. Siri doesn't like "activate", "run", or "engage".
Logged
Home Automation is an always changing technology

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10522
  • I don't work for X10, I use it successfuly!
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #8 on: December 20, 2016, 07:13:35 AM »

Well Alexa won't respond to engage or run either but at least there is something to use in place of "ON" if needed.

I just tested Alexa with PcCompanion and the HA-Bridge with great success so Alexa is here to stay at my place.
As I expected, Alex10 didn't need to be created. ;)
However creating Alex10 made me more aware of how I can get things here all connected together. :)%
Alex10 was created more for those that were turned away a the thought of having to create scripts.
 >!
« Last Edit: January 10, 2017, 09:38:39 AM by Tuicemen »
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

racerfern

  • Hero Member
  • *****
  • Helpful Post Rating: 6
  • Posts: 275
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #9 on: December 27, 2016, 05:48:56 PM »

OK, I "think" I have HA Bridge installed. I love software designed by hard edged programmers but they should never write a user-friendly installation manual. THAT WAS PAINFUL!

Anyway, I typed localhost:80 and I got home genie as I had installed that. I am now uninstalling homegenie and will install Alex10. Fingers crossed.

BTW, I get a Windows warning when executing the Alex10 setup.
« Last Edit: December 27, 2016, 05:54:11 PM by racerfern »
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10522
  • I don't work for X10, I use it successfuly!
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #10 on: December 27, 2016, 05:56:10 PM »

You'll need to back up the bridge Installing Alex10 writes a copy of the bridge as the two need to be in the same folder.
Did it that way for ease of install.
The windows warning is a Administrator thing I believe but run a virus checker on it in any case.
usually on exe files you download you need to go into it's properties and unblock it so it installs correctly
« Last Edit: December 27, 2016, 05:59:38 PM by Tuicemen »
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10522
  • I don't work for X10, I use it successfuly!
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #11 on: January 02, 2017, 06:53:44 PM »

Well I think I've got this just about idiot proof.  rofl
Alex10 auto adds the scripts to HA-Bridge and will even do it if Ha-bridge is running.
However HA-bridge won't see them until reinitialized or restarted. ::) :'
I've also added the ability to change the port number for HA-Bridge in Alex10 for those with port 80 issues preventing HA-Bridge from an initial start.
Most issues reported so far have been with HA-Bridge and or user inputting wrong values.
Alex10 itself is/was solid, with these new adds may reveal some new issues. B:(
I was about to upload the new beta when I realized everyone doesn't have the same IP as me B:( B:(
I'll get that worked out an hopefully post a update later tonight.
 >!
 
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10522
  • I don't work for X10, I use it successfuly!
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #12 on: January 02, 2017, 09:16:37 PM »

New version 1.04.0.5 is now on the server, for those with links they are still the same.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10522
  • I don't work for X10, I use it successfuly!
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #13 on: January 04, 2017, 06:17:06 PM »

I believe I have all the kinks worked out and have a RC build (Ver. 1.05) posted on the server.
I updated the OP with new screen shots and info.
For those testing, the download links are still the same.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10522
  • I don't work for X10, I use it successfuly!
Re: Alex10 (x10 control with Amazon echo, dot or tap)
« Reply #14 on: January 05, 2017, 02:56:14 PM »

Just some clarification as some assume Alex10 needs a Wi-Fi connected PC.
Alex10 doesn't require a Wi-Fi connection a Ethernet connection will work.
However Amazon's Alexa products require a Wi-Fi connection and this is required to initially setup your Alexa device.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!
Pages: [1] 2 3 ... 17
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.