Please login or register.

Login with username, password and session length
Advanced search  

News:

The Buster PiX10Hub is here! Created by the Community, for the Community.:)% #:)

Pages: 1 ... 3 4 [5] 6 7 ... 12

Author Topic: Easy intergation of Alexa into the PiX10Hub  (Read 10339 times)

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 20
  • Posts: 1472
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #60 on: December 11, 2019, 05:41:16 PM »

Your HA Bridge service file is supposed to be stored in the /etc/systemd/system Can you type the following

cd /etc/systemd/system

and see if you can locate ha-bridge.service file
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 20
  • Posts: 1472
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #61 on: December 11, 2019, 05:43:28 PM »

The version of the bridge that is running is in pi/home/ha-bridge and is 5.2x the version required 5.3 is installed in pi/home/x10hub/ha-bridge. There are a few ways to fix this but I'll  let petera walk you threw which he thinks is the easiest.

I thought you were on holidays.I wouldn't have bothered otherwise.I'll continue anyway. Where is the ha-bridge.service you created located
Logged

dkbialik

  • Sr. Member
  • ****
  • Helpful Post Rating: 0
  • Posts: 119
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #62 on: December 11, 2019, 05:44:47 PM »

It does not show anything
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 271
  • Posts: 10016
  • I don't work for X10, I use it successfuly!
    • Tuicemen Forum
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #63 on: December 11, 2019, 05:51:00 PM »

I am away just checking in so cant check things the service file should be in the normal place.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Find extra info @ My forum

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 20
  • Posts: 1472
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #64 on: December 11, 2019, 05:54:00 PM »

Type the following

sudo find / -name ha-bridge.service

and screen cap the result
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 20
  • Posts: 1472
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #65 on: December 11, 2019, 05:56:02 PM »

I am away just checking in so cant check things the service file should be in the normal place.

The normal place is /etc/systemd/system and his screen cap doesn't show it. I'll try to help him find it.
Logged

dkbialik

  • Sr. Member
  • ****
  • Helpful Post Rating: 0
  • Posts: 119
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #66 on: December 11, 2019, 05:56:37 PM »

Here it is
Logged

dkbialik

  • Sr. Member
  • ****
  • Helpful Post Rating: 0
  • Posts: 119
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #67 on: December 11, 2019, 06:05:20 PM »

Should the Second, third, and fourth be deleted?  And how do I do that?
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 20
  • Posts: 1472
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #68 on: December 11, 2019, 06:06:24 PM »

Ok. You need to stop the ha-bridge so type the following

cd

sudo systemctl stop ha-bridge.service

Then you need to disable the service

sudo systemctl disable ha-bridge service


Now you need to edit the ha-bridge service so type

sudo nano /etc/systemd/system/ha-bridge.service

and screen cap the results.Leave it in edit mode for the moment
Logged

dkbialik

  • Sr. Member
  • ****
  • Helpful Post Rating: 0
  • Posts: 119
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #69 on: December 11, 2019, 06:10:46 PM »

here is the screen shot
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 20
  • Posts: 1472
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #70 on: December 11, 2019, 06:15:59 PM »

Just copy/paste the contents of that screen cap and post it
Logged

dkbialik

  • Sr. Member
  • ****
  • Helpful Post Rating: 0
  • Posts: 119
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #71 on: December 11, 2019, 06:19:22 PM »

here is the screeenshot
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 20
  • Posts: 1472
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #72 on: December 11, 2019, 06:23:24 PM »

Not a screen cap. A copy/paste and post the paste here
Logged

dkbialik

  • Sr. Member
  • ****
  • Helpful Post Rating: 0
  • Posts: 119
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #73 on: December 11, 2019, 06:24:54 PM »

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
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 20
  • Posts: 1472
Re: Easy intergation of Alexa into the PiX10Hub
« Reply #74 on: December 11, 2019, 06:34:33 PM »

This is how the file should look. You are adding in the /x10hub folder as can be seen below on the line ExecStart. Make sure it's exactly like the lines below.If you want to clear the contents of the screen in front of you and copy/paste the lines below just to be sure. Once that is completed press the ctrl-x keys and then y then return and post back when its done



[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/x10hub/ha-bridge/data/habridge.config /home/pi/ha-bridge/ha-bridge.jar

[Install]
WantedBy=multi-user.target
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 12
 

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