X10 Community Forum
📱🖥️PiX10Hub => 🏥Help and Trouble Shooting => 🧞 ⛑HomeGenie Help => Topic started by: dkbialik on August 07, 2020, 09:58:41 PM
-
I have had PiX10Hub working great for the last seven months. A three day blackout happened and now no response from Alexa for the X10 modules. Home Genie is up and running, HA-Bridge is not. What are the SSH commands to start the service? This was from the Tuiciman image so the directory names did not change.
-
If the service was created as per the HA Bridge GitHub to start the service enter this command
sudo systemctl start ha-bridge.service
-
The service should restart on a power up of the pi. I've seen the bridge configuration file & or the device.db file get corupt on power blips so you may have to use a backup configuration if what petera mention fails. You did do a backup of your devices as well as a configuration I hope?
If not you'll need to remove the configuration file then restart HA-Bridge. Once running you'll need to reconfigure your HG info as well as any other customization your device info should be ok unless it got corupt as well..
-
Simplest to check the service first to figure out why it’s not starting. Enter these two commands
sudo systemctl start ha-bridge.service
sudo systemctl status ha-bridge.service
If the service doesn’t start the second command will tell you why.
-
Hello, I ran the status for HA-Bridge as recommended and got a fail. Please see attached image. Unfortunately my backup is not working as expected. I have not touched the config since January. Please can you assist me in troubleshooting?
-
I have confirmed that HomeGenie is working and controlling modules
-
You'll need to go into your ha-bridge/data folder and rename or delete the habridge.config file then restart the ha-bridge service. This will cause HA-Bridge to make a new configuration file.
-
please forgive my ignorance. How do I find the HA-Bridge directory? What is it called?
-
Type cd ha-bridge/data to easily see all files and folders on the PiX10Hub type mc that will bring up the file explorer Midnite Comander.
-
Thanks, I did find it. I am now rebuilding the HA-Bridge
-
It has been a while since I programmed the HA-Bridge. Are there any screen shots for configuring X10 switches and modules on HA-Bridge?
-
I tried programming a module based on the screen shots from http://forums.tuicemen.net/index.php?topic=1359.0 and am getting this error: Request Error, Please look in your habridge log: error {"type":"6","address":"/lights/125","description":"Error on calling url to change device state","method_name":"/lights/125/state"}
-
Check the syntax for your url call or better still screen shot the url from the HA Bridge screen you are using. The error message is telling you the syntax is wrong.
What version of HA Bridge are you using. Do you have the latest Stable release installed. A picture paints a thousand words.
-
Btw the output from that status command has tailed off so I can’t see error code status numbers. Are you sure your environment path is correct in the ExecStart section of your habridge.service file.
-
HA Bridge version 5.3.0
-
HA-Bridge now has a HomeGenie helper which makes adding x10 modules a simple process once your HG server info is configured. You must save then return to the configure screen before the HG tab appears. In the Home Genie settings under type add Sensor. And see if that helps.
As well if you had backed up your previous devices you can attempt a testore from bottom of device page.
-
According to your attachments you have 2 HG servers and your devices point to the second server besure HG ports are correct.
-
I only have one HG server.
-
I do not see the place where you want me to add sensor.
-
In the configuration page scrill down to the HG server info where you added the ip and port, type is far right
-
Please check the two images.
-
You have 2 HG servers configured in HA-Bridge if you dont have 2 or your not using both for Alexa remove the other and besure the IP and port are corectly entered. You may need to remove your devices and re-add them or eddit each device to point to the correct HG port and IP
-
Have you any other servers running on your unit besides HomeGenie and HA Bridge. Now that your HA Bridge appears to be running could you run this command and paste the results here.Make sure you are in full screen when you run it as the results you pasted earlier were truncated.
sudo systemctl status habridge-service
To install HA Bridge and configure your HomeGenie devices on your unit from the HA Bridge Github takes approximately 20 minutes. I'm curious to know where the entry 192.168.11.192 Port 8980 came from. Did you manually enter that on the HA Bridge HomeGenie config screen.
-
Going over the pdf files I see two HG servers one on port 8980 and one on 8081 neither match the port # of the devices path which is indicated as port 8080 this would explain the path error message that is being generated in HA-Bridge. You need to remove the multi HG servers configured and have only one as both seem to been on same ip.also since devices are configured to run on 8080 you either need to edit their paths to point to the correct path or edit HG so it is running on port 8080 or remove all devices in HA-Bidge and re-add them using the HG helper tab in the bridge.
Remembers to save any changes you make in the bridge before proceeding to do any thing else in the bridge.
-
I apologize for not getting back sooner (life got in the way). I ended up deleting all info from HA-Bridge and used the HomeGenie builder to rebuild each device and it worked! The bulk build did not work. I am noticing that intermittently I get "not connecting" announcements even though the system is switching correctly. Should I update versions? The HA bridge is 5.3.0 and HomeGenie is v1.3-stable.5.
Thank you again for all your help.
-
Your HA Bridge version is fine. I suggest you update to HG 1.3 V14 Stable. That’s the most stable. There’s no guarantee that Alexa will work efficiently with an emulator like HA Bridge and bear in mind that it’s a case of trying to keep up with Alexa updates for emulator authors
-
Thank you. Can you recommend a link to download the HomeGenie for Raspberry?
-
Thank you. Can you recommend a link to download the HomeGenie for Raspberry?
Click on this link and save the file https://github.com/genielabs/HomeGenie/releases/download/v1.3-stable.14/homegenie_1.3-stable.14.tgz
In HomeGenie go to Configure>System Options> and click on Browse. Find the name of the file you just downloaded and click on it. Once the file name appears in the Browse window select Manual Update and you're good to go
-
I did the update and intermittently I still get the "not responding message." Any other thoughts?
-
Thank you. Can you recommend a link to download the HomeGenie for Raspberry?
As I mentioned earlier there's no perfect emulator that works 100% of the time. I'm attaching an issue similar to yours posted on the HA Bridge GitHub. Read through it to get an understanding of what is happening here. https://github.com/bwssytems/ha-bridge/issues/1213
Are you seeing your devices discovered in the Amazon Alex account. If so can you control them from there. Do you have another Alexa device connected to your network.
You could try reconfiguring the HA Bridge again with the suggestions from that link I posted. As I said Alexa has a mind of its own after a firmware update.
You already have the latest release version of HA Bridge installed so read through the issues posted on the GitHub. That would be the best resource to resolving Alexa/HA Bridge issues.