Please login or register.

Login with username, password and session length

Poll

Would you be interested in such a thing?

Yes
- 5 (62.5%)
No, I'll build it my self or would never use it
- 0 (0%)
Don't care one way or the other
- 3 (37.5%)

Total Members Voted: 8


Pages: 1 ... 5 6 [7] 8 9

Author Topic: The Pi Alexa X10 Hub  (Read 38549 times)

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: The Pi Alexa X10 Hub
« Reply #90 on: October 11, 2018, 01:33:47 PM »

Sounds like a mochad issue not detecting the CM19 on boot. I hope that doesn't happen every reboot.
Nice to hear your delay has now be reduced.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

brobin

  • Hero Member
  • *****
  • Helpful Post Rating: 160
  • Posts: 1458
Re: The Pi Alexa X10 Hub
« Reply #91 on: October 11, 2018, 01:41:02 PM »

Seems to have been a one off occurrence. I don't know why or if it's related but it only happened the one time I used 'halt' before pulling the power on the pi.  In any case, the delays are gone now. :)
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1751
Re: The Pi Alexa X10 Hub
« Reply #92 on: October 11, 2018, 04:38:59 PM »

What version of Mochad are you using. Certain versions are notorious for RF lockups and delays.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: The Pi Alexa X10 Hub
« Reply #93 on: October 11, 2018, 04:43:34 PM »

the script for the Alexa x10 Hub installs 17
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1751
Re: The Pi Alexa X10 Hub
« Reply #94 on: October 11, 2018, 04:52:24 PM »

the script for the Alexa x10 Hub installs 17

Ver 0.1.17 has a little bug that can be adjusted but ver 0.1.16 is a lot more stable. As you probably know Raspbian is a subset of Debian.

NOTE Hansbit on May 10 2018: There is an issue with Mocad 0.1.17 and Debian Stretch that causes nc to become unresponsive after a first command. The solution is to add a time out parameter (-w1) to you nc command. Example:

  CM15Pro
  echo "pl a1 on" | nc -w1 localhost 1099
  CM19A
  echo "rf a1 on" | nc -w1 localhost 1099
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: The Pi Alexa X10 Hub
« Reply #95 on: October 11, 2018, 05:52:56 PM »

If I remember that is what the demo calls look like for devices in HA-Bridge when the installer script is run.

Brobin might confirm this as I don't have the Alexa Hub currently running here. HA-Bridge is setup with HG here.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

brobin

  • Hero Member
  • *****
  • Helpful Post Rating: 160
  • Posts: 1458
Re: The Pi Alexa X10 Hub
« Reply #96 on: October 11, 2018, 07:28:58 PM »

I'm happy to check - where do I look?
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: The Pi Alexa X10 Hub
« Reply #97 on: October 12, 2018, 08:20:26 AM »

I'm happy to check - where do I look?
I had a look at the script seems HA-Bridge is loaded using the X10cmd.sh file to execute mochad commands,
so you won't find the command line in HA-Bridge
This uses -q 1 parameter. the -w 1 parameter if I remember now didn't work -q 1 was suggested as the alternative.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1751
Re: The Pi Alexa X10 Hub
« Reply #98 on: October 16, 2018, 11:20:10 AM »

@Tuicemen might be worth compiling, installing and testing ver 0.1.18 of Mochad. It includes support for IPv6. https://github.com/linuxha/mochad
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: The Pi Alexa X10 Hub
« Reply #99 on: October 16, 2018, 12:00:52 PM »

That may be something I'll  look at doing once HA season sets in. I've ordered another PI Zerro W to play with as my current ones are in operation working well with HG. However since there is little to no interest in the Alexa X10 Hub I feel it will be a waste of time.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

brobin

  • Hero Member
  • *****
  • Helpful Post Rating: 160
  • Posts: 1458
Re: The Pi Alexa X10 Hub
« Reply #100 on: October 16, 2018, 12:15:21 PM »

Maybe little but not "no" - I love it! :)%
I'm really surprised that there's not more interest in this.  It's not only useful but a great way to get started learning the pi environment.  Even though you did all the heavy lifting I've learned a lot and am encouraged to go further. 
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1751
Re: The Pi Alexa X10 Hub
« Reply #101 on: October 16, 2018, 02:05:25 PM »

Maybe little but not "no" - I love it! :)%
I'm really surprised that there's not more interest in this.  It's not only useful but a great way to get started learning the pi environment.  Even though you did all the heavy lifting I've learned a lot and am encouraged to go further.

I'd imagine there would be if everyone stayed positive about the project instead of picking holes in it at every opportunity particularly those who have no real interest in it.

I asked @Tuicemen to run a poll and ten users expressing interest should be good enough to continue. The alternatives as it stands don't look too promising.
Logged

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1751
Re: The Pi Alexa X10 Hub
« Reply #102 on: October 16, 2018, 02:07:48 PM »

That may be something I'll  look at doing once HA season sets in. I've ordered another PI Zerro W to play with as my current ones are in operation working well with HG. However since there is little to no interest in the Alexa X10 Hub I feel it will be a waste of time.

Also there's been a development in the XtenLib and a new version downloadable from the NUGET repository. You could test that on HomeGenie if it's not already included https://www.nuget.org/packages/XTenLib/1.0.10
Logged

alzy

  • Hero Member
  • *****
  • Helpful Post Rating: 5
  • Posts: 358
Re: The Pi Alexa X10 Hub
« Reply #103 on: January 05, 2019, 03:41:56 PM »

With brobin's help and his infinite patience, I have a PiAlexaHub running on my Pi Zero W with a cm19a interface! The only change I made to the image was to add a wpa_supplicant.config file once the image was written to give me headless setup. As brobin reported, It handles the cm19a well. I have a 2.5 A Pi supply.
Brobin, thanks again! :)% >!

Is it possible to dim with this setup? If so how? Any help would be appreciated.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: The Pi Alexa X10 Hub
« Reply #104 on: January 05, 2019, 05:39:40 PM »

If I'm not mistaken there is a readme file in the mochad folder that explains different calls that are available
Logged
Please Read Topic:
General Forum Etiquette
Before you post!
Pages: 1 ... 5 6 [7] 8 9
 

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