X10 Community Forum

📱🖥️PiX10Hub => 🏥Help and Trouble Shooting => 🧞 ⛑HomeGenie Help => Topic started by: Moose on February 13, 2020, 02:06:27 PM

Title: I need help to get started- Homegenie and X10
Post by: Moose on February 13, 2020, 02:06:27 PM
I could use some help inputting my first module and getting it configured and working in HG. I would like to configure for one X10 lamp module to function with my Pi, HG, HA-Bridge and CM19a.  B:( :(
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on February 13, 2020, 05:24:24 PM
Please, anybody... :) I have been jumping around all over. All the directions that I have found seemed to be missing some detail. With the odd behavior of my HG, I cannot be sure that it fully installed properly.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on February 14, 2020, 11:33:18 AM
I'm away for a few days so I may not beable to help much till next week are you saying you can't get HG to see your cm19? Configure/setting/X10 select port (cm19) then click enable.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on February 14, 2020, 02:47:58 PM
are you saying you can't get HG to see your cm19? Configure/setting/X10 select port (cm19) then click enable.

I did configure the CM19 as above, but so far I cannot turn a light on.  :(
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on February 14, 2020, 03:36:37 PM
Top right corner of HG page do you see a light or dark grey x?.
Have you added any x10 modules to a group?
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on February 14, 2020, 04:02:01 PM
Top right corner of HG page do you see a light or dark grey x?.
Have you added any x10 modules to a group?

I am not sure how to answer that. Most of the time it is light grey like it is "on". I have seen it change like it has been "greyed out", if that makes sense. I had added 2 modules last night, but they seem to have disappeared.

Right now HG keeps connecting and disconnecting, as if it was doing an update. At least once a minute. Does that seem right?
 
Also, I created a Group yesterday and I cannot get into it. It stays on Dashboard.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on February 14, 2020, 05:08:18 PM
You should not see constant disconnect reconnect messages that indicatates there is an issue some where.  I'd  stop the Hg service then start it in debug mode sudo mono HomeGenie.exe from Hg folder that way you can see possibly what is the issue.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on February 14, 2020, 05:35:28 PM
We are right back where we were a couple of days ago. The debug mode just crashes.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on February 15, 2020, 07:38:26 AM
Ok I thought you were using a new image. The debug shouldn't crash so the HG install may be corrupt.I belive petera told you how to reinstall HG.
If you still experiance issues then something else is messed up.
There are a few dependencies that get installed prior to HG.
I'm wondering if one of those failed ::) :'
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on February 15, 2020, 08:55:40 AM
Ok I thought you were using a new image. The debug shouldn't crash so the HG install may be corrupt.I belive petera told you how to reinstall HG.
If you still experiance issues then something else is messed up.
There are a few dependencies that get installed prior to HG.
I'm wondering if one of those failed ::) :'

I was using a new image. I reinstalled a new HG. HG is still connecting and disconnecting, although I was able to configure a couple of modules, while connected. I tried your mono version again with the same "aborted" at the end.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on February 15, 2020, 05:10:27 PM
If upnp is enabled disable it. If you still have errors disable x10 to see if that stops the errors.  It is possible your cm19 is faulty. I did test my 3b* with a cm19 and had no issues however to get the most out of HG I'd recommend a cm15.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on February 16, 2020, 09:28:44 AM
I installed Active Home Pro AHP on my PC and the CM19A drivers, and my CM19A controls my hose lights and the red led blinks. Hmmm. ???
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on February 16, 2020, 10:05:48 AM
It is possible your cm19 is faulty. I did test my 3b* with a cm19 and had no issues however to get the most out of HG I'd recommend a cm15.
  What is the amp. rating for your Pi power supply? Mine is 2.5 amps. I have just ordered a 3 amp, just in case.
Title: Re: I need help to get started- Homegenie and X10
Post by: bkenobi on February 16, 2020, 10:34:53 AM
2.4a is just fine so long as the psu actually can supply that (cheap units could cut corners and may not be fully capable). I was using a Samsung charger for a while and had strange issues. Once I replaced that one (750ma) with full spec unit (2.4a) things went better.
Title: Re: I need help to get started- Homegenie and X10
Post by: petera on February 16, 2020, 11:39:10 AM
It is possible your cm19 is faulty. I did test my 3b* with a cm19 and had no issues however to get the most out of HG I'd recommend a cm15.
  What is the amp. rating for your Pi power supply? Mine is 2.5 amps. I have just ordered a 3 amp, just in case.

My PSUs deliver 2.5ah minimum. That’s what’s important. If you’re sticking with your CM19 the more overhead you have the better. Do a little research before buying. Not all 2.5ah rated units deliver what they claim. I’m also assuming you don’t have your Pi hooked up to HDMI and have mouse and keyboard attached. These are other matters to consider too. My Pi is a headless server.
Title: Re: I need help to get started- Homegenie and X10
Post by: HA Dave on February 16, 2020, 08:11:08 PM
If upnp is enabled disable it. If you still have errors disable x10 to see if that stops the errors.  It is possible your cm19 is faulty. I did test my 3b* with a cm19 and had no issues however to get the most out of HG I'd recommend a cm15.

I originally tried setting up with a Cm19. But when I wasn't having any luck with the HA Bridge populating, I switched to a CM15A. I don't think that was my problem. But the CM15A did seem better suited for HG.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on February 19, 2020, 07:13:32 AM
It is possible your cm19 is faulty. I did test my 3b* with a cm19 and had no issues however to get the most out of HG I'd recommend a cm15.
  What is the amp. rating for your Pi power supply? Mine is 2.5 amps. I have just ordered a 3 amp, just in case.
I use the official power supply for the 3b+ however I do still have under voltage conditions even with running just the lite OS (no GUI).
These are evident if you connect a monitor and keyboard to the pi.
You will actually get an under voltage message and possibly even a yellow lightening bolt in the top right corner of the monitor.
Interestingly this condition doesn't stop HG from being able to use my cm19 nor do I get mono crash logs. ::) :'
Title: Re: I need help to get started- Homegenie and X10
Post by: petera on February 19, 2020, 03:43:07 PM
If the OP wants to increase the power available to USB ports it’s just a simple case of adding max_usb_current=1 to the config file. It’s that simple. The problem here lies deeper though and is probably down to those awful PSU’s bundled with the starter packs. Cheap regulators usually cause low voltage drops which equals a reboot sequence to a Raspberry Pi and toasted SD cards. A warning on playing around with the config file. Make sure you know what you’re doing.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on February 19, 2020, 04:37:17 PM
In my case the under voltage isn't the power supply but the board itself or the power port. I've used several different PS  with no changes and not attempted to run power directly to the board yet. In my case that may be the only solution.  As my PSU is not one bundled with a starter pack nor the others I tested I can't  believe all were/are bad. I only posted away to test for the under voltage condition not a fix as I've not found one for my Pi3B+.
 
Title: Re: I need help to get started- Homegenie and X10
Post by: petera on February 19, 2020, 05:41:10 PM
In my case the under voltage isn't the power supply but the board itself or the power port. I've used several different PS  with no changes and not attempted to run power directly to the board yet. In my case that may be the only solution.  As my PSU is not one bundled with a starter pack nor the others I tested I can't  believe all were/are bad. I only posted away to test for the under voltage condition not a fix as I've not found one for my Pi3B+.

They’re so cheap I wouldn’t waste time trying to fix it. Just replace it. I must admit since buying the Pi 1 back in 2012 I’ve yet to have one go bad. Don’t do fried Raspberry Pi here. Don’t like the smell of it  rofl
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on February 19, 2020, 06:17:12 PM
 rofl I don't imagine I'd like fried pi either. Thats the main reason Ive not tried the direct connect method.
My Pi 3B+ has been desigated as a test pi and will remain that way untill one of my zerro w boards no longer does its job. Still I may just get another newer model.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on February 20, 2020, 06:04:58 AM
So, I ended up buying 4 power supply units. One had the USB C connector used on the Rasp PI 4.  >*< The other 3, two 3 amp and one 2.5 amp. ::), all performed the same. I even removed the bluetooth dongle for the keyboard and the HDMI monitor, again with no improvement.

Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on February 20, 2020, 06:25:01 AM
If the OP wants to increase the power available to USB ports it’s just a simple case of adding max_usb_current=1 to the config file. It’s that simple.

I looked into this. I wonder if this was configurable only on the older PI's because that parameter is not commented out in the config.txt file?  Anyway, I did add it in and rebooted, but it made no difference. So, I guess I will have to order a CM15A.  -:) :'

I will just mention again that the CM19A does work when used with AHP on my desktop. I did notice that when asserted from AHP, the "on" signal is about 5 sec. long.
Title: Re: I need help to get started- Homegenie and X10
Post by: petera on February 20, 2020, 06:25:49 AM
So, I ended up buying 4 power supply units. One had the USB C connector used on the Rasp PI 4.  >*< The other 3, two 3 amp and one 2.5 amp. ::), all performed the same. I even removed the bluetooth dongle for the keyboard and the HDMI monitor, again with no improvement.

Can you outline exactly what setup hardware wise you are using. My suggested setup would be

Raspberry Pi 3b or 3b+
Power supply 2.5ah or greater
CM19
Reliable Class 10 micro SD card 16gb or greater.

Nothing else attached to the USB ports.

Do you know how to image an SD card with the latest version of Raspbian Buster that will boot with WiFi enabled and SSH access.

For HG software setup if you want to send me a PM I can provide you with a simple list of copy/paste instructions. This setup will successfully load the CM19 driver. I tested the installation on Monday:
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on February 20, 2020, 06:39:30 AM
So, I ended up buying 4 power supply units. One had the USB C connector used on the Rasp PI 4.  >*< The other 3, two 3 amp and one 2.5 amp. ::), all performed the same. I even removed the bluetooth dongle for the keyboard and the HDMI monitor, again with no improvement.

Can you outline exactly what setup hardware wise you are using. My suggested setup would be

Raspberry Pi 3b or 3b+
Power supply 2.5ah or greater
CM19
Reliable Class 10 micro SD card 16gb or greater.

Nothing else attached to the USB ports.

Do you know how to image an SD card with the latest version of Raspbian Buster that will boot with WiFi enabled and SSH access.

For HG software setup if you want to send me a PM I can provide you with a simple list of copy/paste instructions. This setup will successfully load the CM19 driver. I tested the installation on Monday:

I have everything configured as above, and it still does not work. I have PM'd you.
Title: Re: I need help to get started- Homegenie and X10
Post by: petera on February 20, 2020, 09:04:20 AM
I'm getting your PMs. Could you stay on PM and just confirm the questions
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 06, 2020, 04:45:14 PM
I am back at this project again. I gave up on the CM19 and now have the CM15 and the HG is working just fine.

I am now having issues getting the HA Bridge to function. I have two lights configured but they do not control the X10 lights. i have tried to follow Tuicemens script here but... http://forums.x10.com/index.php?topic=30664.msg178626#msg178626

Any suggestions?
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 06, 2020, 05:04:08 PM
I am back at this project again. I gave up on the CM19 and now have the CM15 and the HG is working just fine.

I am now having issues getting the HA Bridge to function. I have two lights configured but they do not control the X10 lights. i have tried to follow Tuicemens script here but... http://forums.x10.com/index.php?topic=30664.msg178626#msg178626

Any suggestions?
Do you mean you can't control them with HA-Bridge or from Alexa?
You should be able to test them from the device page pressing the on & off buttons
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 06, 2020, 05:52:52 PM
I am back at this project again. I gave up on the CM19 and now have the CM15 and the HG is working just fine.

I am now having issues getting the HA Bridge to function. I have two lights configured but they do not control the X10 lights. i have tried to follow Tuicemens script here but... http://forums.x10.com/index.php?topic=30664.msg178626#msg178626

Any suggestions?
Do you mean you can't control them with HA-Bridge or from Alexa?
You should be able to test them from the device page pressing the on & off buttons

No, I cannot control from HA Bridge. While I was messing with the configuration, I was getting command responses on the screen, but no X10 results. I tweaked something and now I get error messages.
Title: Re: I need help to get started- Homegenie and X10
Post by: HA Dave on March 06, 2020, 05:53:16 PM
I am now having issues getting the HA Bridge to function.

Don't forget.... you have to tell Alexa to discover new devices.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 06, 2020, 05:58:10 PM
Yes, I realize that, but I cannot even get HA Bridge to effect keyboard commands yet.

I tried it just for fun, but she did not find anything. :)
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 06, 2020, 06:09:34 PM

No, I cannot control from HA Bridge. While I was messing with the configuration, I was getting command responses on the screen, but no X10 results. I tweaked something and now I get error messages.
If you can't  control from the bridge the devices were most likely added incorrectly. Did you try a bridge reinitialization after you added the HomeGenie devices?
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 06, 2020, 06:16:12 PM

No, I cannot control from HA Bridge. While I was messing with the configuration, I was getting command responses on the screen, but no X10 results. I tweaked something and now I get error messages.
If you can't  control from the bridge the devices were most likely added incorrectly. Did you try a bridge reinitialization after you added the HomeGenie devices?

I did try that but no change. Do you have any different screen shots of the configuration pages that I can use as examples? I am likely missing some small detail.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 06, 2020, 06:27:13 PM
Did you install HA-Bridge manually  or are you running it from the PiX10Hub installer?
Did the bridge pickup all HG devices or are you adding manualy?
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 06, 2020, 06:38:20 PM
Did you install HA-Bridge manually  or are you running it fromthe PiX10Hub installer?
Did the bridge pickup all HG devices or are you adding manualy?

I used your installer. It picked up the default ones, but not mine. So I was converting the default ones to X10 devices.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 07:07:01 AM
Ok thats the problem.
The bridge has to see your devices and they must be named.
Are they Lights Dimmers or Switches?
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 08:21:29 AM
Can you post a screen shot of the bridge page showing the HG configuration?
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 08:31:21 AM
Ok thats the problem.
The bridge has to see your devices and they must be named.
Are they Lights Dimmers or Switches?

No, I have to take that back. My devices are showing up. I had to change the names to make them stand out.

For my understanding, I just want a couple of lights to go on/off. Does it matter whether we call them lights, dimmers or switches?
Some are switches with dimmers, some are just lights plugged into appliance modules.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 08:38:26 AM
Can you post a screen shot of the bridge page showing the HG configuration?

Is this what you mean?
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 08:49:44 AM
No I was looking for the bridge control page.
However the Bridge seems to be seeing all your devices. and I see you have at least one device already configured.
if you have more did you add(configure) as a bulk or add 1 at a time?
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 08:55:19 AM
No I was looking for the bridge control page.
However the Bridge seems to be seeing all your devices. and I see you have at least one device already configured.
if you have more did you add(configure) as a bulk or add 1 at a time?

I did them one at a time.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 09:01:56 AM
In the HG configuration line scroll across to  the Other Types (opt) field in it type Switch then click update.
go back to the top and click save.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 09:03:29 AM
Your docx posts don't show me the whole screen
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 09:07:42 AM
In the HG configuration line scroll across to  the Other Types (opt) field in it type Switch then click add.
go back to the top and click save.

Here is an updated page. Is this what you meant? If so, the commands still show error.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 09:14:07 AM
no re-read post I still don't see your whole page.
your HG info should look similar to this with your info
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 09:17:17 AM
commands will still show errors as they were configured incorrectly you'll need to remove them all.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 09:19:54 AM
When I opened my own attachment from the website message , HABridge4, there is a scroll bar at the bottom to get to the right edge. I have resaved it a little smaller.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 09:22:15 AM
Don't bother posting as a docx then as I can't view it correctly
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 09:28:19 AM
Is this better?
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 09:44:29 AM
yes delete the line with no info and the line that has your info type in Switch to the other types and click update then save.
once reloaded go to the already configured devices and remove the devicews
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 09:53:19 AM
add only one HG device and post a screen shot of the page that appears when you click build item
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 10:18:46 AM
I hope this is what you asked for.  :)
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 10:37:27 AM
I have really screwed up now. B:( While playing with HABridge, the light modules on HG are flashing. They seem to be sending continuous light On commands.

I stopped the Bridge service and restarted HG but they are still flashing.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 10:45:11 AM
I think maybe I should just reinstall from scratch. HG is hung up.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 12:02:44 PM
just reboot your pi
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 12:12:06 PM
If your lights are still blinking SSH into your pi ha-bridge/data folder then stop the HA-Bridge service and delete all files in the data folder that will reset HA-Bridge then you can restart the ha-bridge service. no need to reinstall.
If everything is working go to the HA-Bridge Device page and click on edit for the device you have setup.
in the edit page copy what is displaying  for the on Target Item and the off Target Item
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 12:21:06 PM
If your lights are still blinking SSH into your pi ha-bridge/data folder then stop the HA-Bridge service and delete all files in the data folder that will reset HA-Bridge then you can restart the ha-bridge service. no need to reinstall.
If everything is working go to the HA-Bridge Device page and click on edit for the device you have setup.
in the edit page copy what is displaying  for the on Target Item and the off Target Item

I did try rebooting with no change. I tried deleting my devices from HABridge and then stopping the service. I restarted HG alone and it was still sending Light on commands. My conventional X10 controllers would not work. I will get back to this shortly.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 12:23:00 PM
Sounds like you've created a loop, are you sure your Cm15 memory is clear?
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 12:46:24 PM
Okay. I started over. I have Hg working with 5 lights configured. I have HABridge working with 2 lights configured. I did find several fields that I had left blank.

So, how do I get Alexa to interface? I asked Alexa to "discover new devices" but she found none.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 01:02:59 PM
If HA-Bridge is on port 80 at the top of the HA-Bridge page is a tab "My Echo" click on it and log in then add devices.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 01:17:00 PM
If HA-Bridge is on port 80 at the top of the HA-Bridge page is a tab "My Echo" click on it and log in then add devices.

I am in my echo, but now what? I tried discovering devices from here but no result.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 01:33:35 PM
What echo devices and version #s are you using?
if you click on the test on button for a configured device in the bridge does it turn on?
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 01:38:20 PM
What echo devices and version #s are you using?
if you click on the test on button for a configured device in the bridge does it turn on?

An echo dot version 3. Yes, the Test On/Off work for the 2 lights configured in HABridge.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 01:50:47 PM
OK I'm not sure if BWSSystems has Ha-Bridge working with the 3rd gen dots yet.
Since HA-bridge is sending commands correctly now the issue appears to be interfacing with the 3rd gen dot,
all my dots are 1st generation.
You may wish to post to the HA-Bridge issues section https://github.com/bwssytems/ha-bridge/issues about not getting the 3rd generation Dot working with the bridge. Prior to that check to see if there other issues posted for 3rd gen Dots to see if a solution was found.
I do remember reading a issue with the 2nd or 3rd gen dots but don't remember if it was resolved.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 07, 2020, 02:40:10 PM
I have not found anything useful on 3rd gen dots. To not miss the obvious, is there a Skill I need to install for this?
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 07, 2020, 02:44:32 PM
no skill required. It may be worth posting on the HA-Bridge issues a question to others that may be using a 3rd gen dot to see if you need to do an extra step for it to see devices in the Bridge as yours can't.
Bwssystems may have you run some debugging tests as he is working on a new build currently I believe.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 08, 2020, 06:38:27 PM
Reading through some of the issues on the Bridge GitHub page I found a few things you may wish to try.
1:
One is to use the link button. this is disabled by default so you have to enable it. To enable go to the Bridge control page and click on Update security Settings then check the "Use Link button" and click update and close the security window.
Once that has been done go to the Bridge Devices screen and click the link button then put Alexa into discovery mode.
2:
If Alexa still fails try it again after waiting for 5 seconds some users have reported a second attempt works. try it with and with out the link button option.
3:
Try port 81
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 09, 2020, 07:03:12 AM
I did stumble upon this and tried it but with no effect. I found a 1st gen dot on line, so I will try that when it arrives.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 13, 2020, 07:30:00 AM
What wifi band is your echo and Alexa set to? The newer devices allow 5 GHZ but should be set to use 2 to be fully compatible with all older stuff. Also check that your pi is set to use 2 Ghz.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 25, 2020, 11:37:37 AM
Everything is on the 2.4 Ghz network band. I now have an echo gen 1. Is the info in the "Manage Links" field important? This is what I have...

test_ha_bridge#192.168.0.136   2020-03-07T12:27:30   This is my main PC's address
test_ha_bridge   2020-03-25T11:15:47

I have tried discovery with the Link button pushed, no difference.   I did update the ha-bridge.jar file.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 25, 2020, 12:36:57 PM
If your HA-Bridge is installed on your pi then the ip for it is your Pi's. If you updated the HA-Bridge jar file tou need to be sure it is the correct name (no version# in the jar file name)
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 25, 2020, 12:45:51 PM
If your HA-Bridge is installed on your pi then the ip for it is your Pi's. If you updated the HA-Bridge jar file tou need to be sure it is the correct name (no version# in the jar file name)

Yes, the Bridge is on the Pi. How do I ensure that the PI's address is used?

After the update I executed mv ha-bridge-5.3.0.jar ha-bridge.jar
to rename it. Correct?
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 25, 2020, 01:10:04 PM
You need to stop the habridge service then rename the  downloaded  file to ha-bridge.jar then restart the service. Prior to restarting the service go into the ha-bridge/data folder and be sure there are no files  so you have a clean slate.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 25, 2020, 01:19:49 PM
This is the procedure I followed from the Github site. Does this procedure not rename the jar file?

We need to stop the habridge service (if running):
$ sudo systemctl stop habridge
Navigate to where you installed ha-bridge, (use your folder name if not “habridge”):
$ cd habridge
Then rename the existing ha-bridge.jar to something you’ll remember or understand:
$ mv ha-bridge.jar ha-bridge-ARCHIVE.jar
Download the release you wish to update to, (where {VERSION} is the version number):
$ wget https://github.com/bwssytems/ha-bridge/releases/download/v{VERSION}/ha-bridge-{VERSION}.jar
Now rename the downloaded file, (where {VERSION} is the version number):
$ mv ha-bridge-{VERSION}.jar ha-bridge.jar
Lastly we need to restart the habridge service:
$ sudo systemctl start habridge
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 25, 2020, 01:49:59 PM
Yes that does rename the file correctly. However if your previous configuration was compromised your new install will not work. Thats why you need to clear your device and config files. If you wish you can just rename them.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 25, 2020, 01:55:32 PM
If you have Midnight commander installed ( is with last PiX10Hub image) you can simply type mc to open the file manager which will make finding,renaming,deleting...files much simpler. ;)
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 25, 2020, 01:59:13 PM
Yes that does rename the file correctly. However if your previous configuration was compromised your new install will not work. Thats why you need to clear your device and config files. If you wish you can just rename them.
Okay. I just wanted to make sure we agreed on the jar file before I move on. I deleted the data files. But i have no backup. So, I have to remember how to build the devices.  >*<
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 25, 2020, 02:00:45 PM
Habridge will build the HG devices you just need to add them.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 25, 2020, 02:03:49 PM
I had to delete the Bridge config file on my off grid setup as it got corupt and not see HG, the only way to get back up running was to start over with a new config file.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 25, 2020, 04:17:59 PM
So, I deleted everything and reloaded HA-bridge and it is running. Back to my earlier question, what should be in the Manage Links dropdown box? The Pi address? As I mentioned, mine has my PC's address.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 25, 2020, 04:52:10 PM
Just clear all it is more for reference of what has connected to ha-bridge.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 26, 2020, 09:09:09 AM
I am now back to where started 10 hours ago, with Ha-bridge working again.  :' Having a gen 1 Echo has not made a difference. Do I need to "Forget" all my other Gen 2 and 3 devices? Other suggestions, please! -:)
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 26, 2020, 09:56:44 AM
Anything alexa previously was seeing from HA-Bridge needs to be removed from Alexa prior to a rediscover. To be sure Alexa dose indeed forget them disable the bridge and do a discovery if nothing is found then restart the bridge and do another discovery.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 26, 2020, 10:57:07 AM
Anything alexa previously was seeing from HA-Bridge needs to be removed from Alexa prior to a rediscover.
I am a little confused here. Alexa never saw anything from the HA-bridge. That is the main problem.

But, I unplugged all my Alexa echo devices except the Echo gen 1. From the online alexa.amazon.ca page, I "forgot" all my Echos. When I hit Discover now, it does not find my Echo gen1, only my Ring doorbell. On the phone app, all the Echos are there and show "offline" except the gen1 which shows "online". Thoughts?

I plugged in my dot gen2 and it was discovered along with the Ring.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 26, 2020, 11:35:15 AM
The online (web)app works a bit differently then the phone apps. I also find it slower at finding devices. Sometimes takes a couple of tries. I prefere to just tell Alexa via voice to discover.
Does HA-bridge see your HG devices? If it does can you turn them on and off from the bridge?
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 26, 2020, 11:40:54 AM
Does HA-bridge see your HG devices? If it does can you turn them on and off from the bridge?

Yes, that all seems to work correctly. But it is odd that the gen2 dot shows up on that page but the gen 1 echo does not, ever.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 26, 2020, 01:54:16 PM
Any suggestions for something to check or try? I thought the Echo gen 1 device should still be able to discover the Ha-bridge devices??
This is driving me to insanity. B:(
Title: Re: I need help to get started- Homegenie and X10
Post by: brobin on March 26, 2020, 02:03:16 PM
Try re-adding the Gen 1 Echo in the Alexa phone app. I can attest that the Gen 1 will work w/HAB.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 26, 2020, 02:16:23 PM
Try re-adding the Gen 1 Echo in the Alexa phone app. I can attest that the Gen 1 will work w/HAB.

I deregistered the Gen 1 from the phone app. I reinstalled, successfully, the Gen 1 using the PC interface and the Echo appeared on the Settings page and the Smart Home Devices page. Did a Discovery on the Devices page and the Echo gen 1 disappeared. No HA-bridge devices were discovered either. B:(
Title: Re: I need help to get started- Homegenie and X10
Post by: brobin on March 26, 2020, 02:49:15 PM
I'm as confused as you are on that. If I had the same issue here's what I'd try. This is just a shot in the dark but since you're probably sitting home as bored as the rest of us it's easy enough to try.  Deregister the device again. From your PC or phone log out of Amazon. Set up a brand new Amazon account using a different email address then make sure to log into it with your phone. Then add the Gen 1 to your new account, test that it works and discover devices. You've got nothing to lose but a few minutes time.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 26, 2020, 03:41:54 PM
I tried your suggestion with another email that I use. I can login to Amazon.ca with it, but I cannot login to alexa.amazon.ca. The window just opens and closes. I think I would have to delete my original account. :(
Title: Re: I need help to get started- Homegenie and X10
Post by: brobin on March 26, 2020, 03:49:07 PM
Maybe just delete it from your phone. I know you can have different accounts at the same address because we have 3 in our house with alexa devices split between two.  If I switch accounts on my Amazon Shopping app the Alexa app will reflect whatever I'm logged into. My accounts are US based to the extent that makes any difference. 
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 26, 2020, 04:54:50 PM
There is a new beta version on github, but did not work for me.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 27, 2020, 08:54:54 AM
Be sure your pi is using 2ghz not the 5 ghz band even if your conected using the eithernet cable.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 27, 2020, 09:16:24 AM
I checked again. All my devices are on 2.4 ghz except my PC- Win 10.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 27, 2020, 10:16:40 AM
How is you pi 3b+ connected to your router? Is your pi IP reserved in the router?
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 27, 2020, 10:19:51 AM
Wifi and yes the address is reserved.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 28, 2020, 08:32:39 AM
Try using the eithernet cable.
Title: Re: I need help to get started- Homegenie and X10
Post by: Moose on March 29, 2020, 03:51:39 PM
For those who may have been following this saga, I now have Alexa controlling my X10 devices with HG and Habridge. :)% >! But, I had to buy a gen. 1 Echo, after 1st trying a gen 3 then gen 2. :( I also had to start over with a clean from scratch build, ie, a new Buster then HG followed by Ha-bridge. I could not get Tuicemens Image to work with Alexa. Sorry.  :( But it is still flakey as heck. I managed to get Alexa to discover X10 devices about 5 times out of about 100 attempts.
Title: Re: I need help to get started- Homegenie and X10
Post by: Tuicemen on March 29, 2020, 04:07:34 PM
Glad to see you made progress. There have been reports of alexa and Google timing out presently  for discoveries and sending of commands I suspect it maybe due to so many now stuck at home thus putting a larger then normal demand onthe band width. ::) :'
Hopefully things will improve sooner then latter.