Please login or register.

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

Author Topic: HG and Alexa?  (Read 6652 times)

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: HG and Alexa?
« Reply #15 on: August 16, 2018, 02:07:16 PM »

Ok the thread on my forum for the HA-Bridge has been updated with the step by step setup.
http://forums.tuicemen.net/index.php?topic=1287.msg7943#msg7943
It should be noted that you should change your HG port to 8080 or something else other then 80 prior to starting the step by step for HA-Bridge.
To do that
1: open HG and click on Configure (top left)
2: scroll down and click on Maintenance
3: scroll down and click on http Settings and change port
4:with the port# changed scroll up to restart service and click to restart it.
Note: your HG address will now be localhost:8080 on your PI (if 8080 was the new port # you entered) so you need to change the address in the address bar to see HG reloaded


I'll also look at reposting this ha-bridge beginner setup on the X10 forums in the PI & Arduino section at some point.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: HG and Alexa?
« Reply #16 on: August 16, 2018, 05:00:55 PM »

Ok the thread on my forum for the HA-Bridge has been updated with the step by step setup.
http://forums.tuicemen.net/index.php?topic=1287.msg7943#msg7943
It should be noted that you should change your HG port to 8080 ...............…
........Note: your HG address will now be localhost:8080 on your PI (if 8080 was the new port # you entered) so you need to change the address in the address bar to see HG reloaded

OK... all seemed to go well. I performed all the copies and paste's. Did a reload and restart. I found Homegenie (again) hiding behind the 8080... so I would guess that means everything works there. But then... I got down to the first line of the last paragraph of the instruction on your site:

"Once you have ha-bridge installed and running open your browser to localhost click on the Bridge Control tab."

I don't even know what that means, or how to open a browser to local host. I tried a few things... but was unproductive. Did some on-line searching and found I should get something like the pic below.... but even after more trying (and the "localhost:8080") I didn't.

 
Logged
Home Automation is an always changing technology

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: HG and Alexa?
« Reply #17 on: August 16, 2018, 05:12:40 PM »

In your browser on your PI that HG is displaying type in the address bar localhost:80 or 127.0.0.1:80 (the :80 shouldn't be needed as that is the default port.)
this should open the HA bridge web interface, from there click on the Bridge Control tab.
« Last Edit: August 16, 2018, 05:21:35 PM by Tuicemen »
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: HG and Alexa?
« Reply #18 on: August 16, 2018, 05:28:04 PM »

….. So you want Alexa at the heart of your home automation using Home Genie controlling your X10 devices. Your CM11/CM15 is your hub. Most of the more modern lighting technologies are purely wireless hubs like the Harmony, Logitech and Philips the one you expressed an interest in. They are all put into discovery mode and with the relevant skill enabled on the Echo they automatically discover your devices.

I wouldn't say I want Alexa at the heart of my home automation... but that's close enough to count (in horse shoes and hand grenades) I have a few such devices up and running now. They all seem happy enough playing together. Or at least... I haven't heard any arguments about who is "the heart' of my setup.

I'm sure you have done this in HomeSeer by enabling the HomeSeer skill on the Echo and the Echo discovers your X10 devices.

Using the bridge you are providing the WebHook manually so the Echo associates the web address with the relevant device.

Yep... with Homeseer, Wink, MyQ, iHome, Etekcity…. they all have their own apps, and commutates with and through Alexa. Alexa is an AI device. I can't imagine any "smart home".... without some flavor of AI. I am looking for X10 to AI solution that will be an X10 solution.... not one based on the desires of Homeseer.

If not already registered on the HomeGenie Club forum I recommend doing so. This is exactly the chat that is needed there.

I've joined the Homegenie Club! And I've read many of the very interesting posts there. But... I am not a programmer. And after all... the club is a programmers club. I merely want to exploit the Pi.... and force it to do my (home Automation) bidding.
Logged
Home Automation is an always changing technology

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: HG and Alexa?
« Reply #19 on: August 16, 2018, 05:52:04 PM »

In your browser on your PI that HG is displaying type in the address bar localhost:80 or 127.0.0.1:80 (the :80 shouldn't be needed as that is the default port.)
this should open the HA bridge web interface, from there click on the Bridge Control tab.


Yeah.... I am getting host can't be found... error page.
Logged
Home Automation is an always changing technology

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: HG and Alexa?
« Reply #20 on: August 16, 2018, 06:06:49 PM »

I've joined the Homegenie Club! And I've read many of the very interesting posts there. But... I am not a programmer. And after all... the club is a programmers club. I merely want to exploit the Pi.... and force it to do my (home Automation) bidding.
The title for the forum maybe a bit miss leading the club is for anyone using HG not just programmers this may be what discourages newbies from joining. ::) :'
You can ask for addons to be created, share your Ideas, addons and setups, and ask for help with your setup.

Most users will likely reply in easy a to understand post if you state your new to HG and using a PI.
Yeah.... I am getting host can't be found... error page.
Sounds like HA-Bridge isn't running try a reboot or open a terminal window and type sudo systemctl start ha-bridge.service then hit enter then open your browser to the HA-Bridge address
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1750
Re: HG and Alexa?
« Reply #21 on: August 16, 2018, 06:17:12 PM »

….. So you want Alexa at the heart of your home automation using Home Genie controlling your X10 devices. Your CM11/CM15 is your hub. Most of the more modern lighting technologies are purely wireless hubs like the Harmony, Logitech and Philips the one you expressed an interest in. They are all put into discovery mode and with the relevant skill enabled on the Echo they automatically discover your devices.

I wouldn't say I want Alexa at the heart of my home automation... but that's close enough to count (in horse shoes and hand grenades) I have a few such devices up and running now. They all seem happy enough playing together. Or at least... I haven't heard any arguments about who is "the heart' of my setup.

I'm sure you have done this in HomeSeer by enabling the HomeSeer skill on the Echo and the Echo discovers your X10 devices.

Using the bridge you are providing the WebHook manually so the Echo associates the web address with the relevant device.

Yep... with Homeseer, Wink, MyQ, iHome, Etekcity…. they all have their own apps, and commutates with and through Alexa. Alexa is an AI device. I can't imagine any "smart home".... without some flavor of AI. I am looking for X10 to AI solution that will be an X10 solution.... not one based on the desires of Homeseer.

If not already registered on the HomeGenie Club forum I recommend doing so. This is exactly the chat that is needed there.

I've joined the Homegenie Club! And I've read many of the very interesting posts there. But... I am not a programmer. And after all... the club is a programmers club. I merely want to exploit the Pi.... and force it to do my (home Automation) bidding.

As Tuicemen suggested take small steps each time, accomplish one task before you move on to the next. Back up your work as you go so if you screw up you restore your last working configuration.

Speaking of configuration, that’s 95% of what you will be required to do in HomeGenie. The other 5% is done by others for yours and others benefit.

Introduce yourself to the forum and explain your level of experience. Don’t be afraid to ask questions no matter how basic or simple they may seem. Plenty of others were in the place you are now and will be only too willing to help.

One new crazy guy joined the forum recently demanding answers to his problems. I gave up helping him but Tuicemen stuck with him to the bitter end. Shortly after he posted back to state that HomeGenie was unstable and he was no longer going to use it. I still wonder who or what was unstable. :)%
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: HG and Alexa?
« Reply #22 on: August 16, 2018, 06:24:34 PM »

They were running HG in Windows and I believe that was part of the instability.
I convinced them to try a Pi zero W for under $10 it was a small investment worth the try.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: HG and Alexa?
« Reply #23 on: August 16, 2018, 09:08:27 PM »

…….. Don’t be afraid to ask questions no matter how basic or simple they may seem. Plenty of others were in the place you are now and will be only too willing to help.

I really don't think that's correct. There are LOTS of various hobbies and different lifestyles. Tuicemen may be one of the very few Home Automation guys who has turned programmer. And although Tuice is a true automation guy.... he has certainly turned to the dark side.  rofl

I was a computer hobbyists long before I discovered Home Automation. I bought a Commodore Vic-20 in the early 80's. I wrote little programs in basic. I learned HTML and created Web Pages for fun. I retired from the Government as a network administrator about a decade ago. I've spent a good bit of my life.... alone with the computer(s) over the decades. I don't want to go back there. But I think the guys at the Homegenie Club... are enjoying what they're doing... and I think that's great.

I do however... have a passion for the technology. And I enjoy what my Home Automation  does for me. And I know it... the automation technology... can do even more to assist and enrich the lives of others who are less able-bodied than myself.

I very much would like to see a no-brainer, easy to understand, Pi download-and-go HomeGenie image.... that could be on a memory card... stuck in a RBPi, configured, set-up, paired with... and discovered by... an Amazon Alexa. I'd be happy if X10 sold it!

It would be good for X10
It would be good for those who need assistive technology
It would be good for the chronically lazy (like myself) and those of us who love Home Automation and a George Jetson lifestyle.

But we may not need another programmer hobbyist.... and we certainly don't need for it to be me.


« Last Edit: August 16, 2018, 09:44:10 PM by HA Dave »
Logged
Home Automation is an always changing technology

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: HG and Alexa?
« Reply #24 on: August 16, 2018, 09:31:33 PM »

…Sounds like HA-Bridge isn't running try a reboot or open a terminal window and type sudo systemctl start ha-bridge.service then hit enter then open your browser to the HA-Bridge address

You hit that nail on the head. I followed the directions and got this:  Service not found. Apparently my install didn't work.
Logged
Home Automation is an always changing technology

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: HG and Alexa?
« Reply #25 on: August 16, 2018, 09:41:21 PM »

I am going to re-load and reinstall.... beginning with Raspbian... and getting back to the place just short of installing the ha-bridge. Maybe... we can find a better/easier ha-bridge install.
Logged
Home Automation is an always changing technology

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: HG and Alexa?
« Reply #26 on: August 17, 2018, 07:24:09 AM »

I am going to re-load and reinstall.... beginning with Raspbian... and getting back to the place just short of installing the ha-bridge. Maybe... we can find a better/easier ha-bridge install.
A nice simple installer script would be nice I wish I knew how to create one. ::) :'
The new test installers for HGBE are just that, copy one line into the terminal and hit enter.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1750
Re: HG and Alexa?
« Reply #27 on: August 17, 2018, 08:01:17 AM »

I am going to re-load and reinstall.... beginning with Raspbian... and getting back to the place just short of installing the ha-bridge. Maybe... we can find a better/easier ha-bridge install.

Did you take an image of your SD card with the working version of Home Genie before you started loading the bridge software. If so all you need to do is reformat the SD card and reimage the SD card with that working version. No need to reinstall the Raspbian OS all over again.

I assume you enabled the bridge service before you tried running it.

At the terminal prompt type sudo systemctl status ha-bridge.service to check if the service is present.

The following commands are carried out in this order to create a service, enable it and check to see if it's running

sudo nano /etc/systemd/system/ha-bridge.service (This creates the service)
sudo systemctl enable ha-bridge.service (This enables the service)
sudo systemctl start ha-bridge.service (This starts the service)
sudo systemctl status ha-bridge.service (This checks to see if the service is running)
sudo systemctl stop ha-bridge.service (This stops the service)
sudo systemctl disable ha-bridge.service (This disables the service)

Try these commands before you start all over again.
Logged

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: HG and Alexa?
« Reply #28 on: August 17, 2018, 11:19:37 AM »

I am getting nothing. Service not found.
got this when trying the creating the service

Logged
Home Automation is an always changing technology

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: HG and Alexa?
« Reply #29 on: August 17, 2018, 11:33:11 AM »

that is the text editor you need to copy the following into it
Code: [Select]
[Unit]
Description=HA Bridge
Wants=network.target
After=network.target

[Service]
Type=simple

WorkingDirectory=/home/pi/ha-bridge
ExecStart=/usr/bin/java -jar -Dconfig.file=/home/pi/ha-bridge/data/habridge.config /home/pi/ha-bridge/ha-bridge.jar

[Install]
WantedBy=multi-user.target
then press ctrl X then Y to write and save
Logged
Please Read Topic:
General Forum Etiquette
Before you post!
Pages: 1 [2] 3 4
 

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