Please login or register.

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

Author Topic: How I control X10 modules on Linux... (including Raspberry Pi)  (Read 43540 times)

racerfern

  • Hero Member
  • *****
  • Helpful Post Rating: 6
  • Posts: 275
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #15 on: January 17, 2018, 07:17:00 AM »

Welcome petec! Your input will be quite valuable. I have a z-net along with CM15A connected. One on the z-net, one on the PC running Windows and AHP. I also just got an RPi3 and a zigbee board and have an RFXCOM transceiver on its way to me. I, along with @HA Dave are learning new ways and new devices. It's cool stuff that helps keep the mind sharp.

You sound like a user with another name on the HomeSeer forum.
Logged

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #16 on: January 17, 2018, 07:32:03 AM »

Hello Folks,

Just a quickie post here.

Just joined forum today.  I am old here and have used X10 on initially Commodore VIC, 64 and Amiga way back then used it on first generation MS DOS and Windows 1.0-3.0.  ......

I had a VIC-20! , one of the 1st sold. Studied for weeks just to write a couple programs in basic.... recorded to the Commodore tape player.

Welcome to the forum petec!

You sound (read) like you'll be a valuable access here. Hope we can keep you entertained. You are far from being alone about being cloud-shy. Although I am cloud friendly myself..... MANY here (and I a sure elsewhere) are hesitant of throwing everything to the wind (er... cloud).

I have been running a Homeseer, Hometroller for months.... but JUST bought my 1st(?) stand alone Raspberry Pi 3. It's a learning process for me! Still shopping for HA software to run on it.
« Last Edit: January 17, 2018, 07:37:02 AM by HA Dave »
Logged
Home Automation is an always changing technology

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1751
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #17 on: January 17, 2018, 04:04:59 PM »

Hello Folks,

Just a quickie post here.

Just joined forum today.  I am old here and have used X10 on initially Commodore VIC, 64 and Amiga way back then used it on first generation MS DOS and Windows 1.0-3.0.   

I started to use X10 in the beginning or so 1978 or so.  Today continue to utilize X10 and have no dependencies on the cloud.  I have migrated now to Linux for my automation here.  Relating to the RPi Wheezy, Jessie and Stretch X10 works great.  Also running it here on Ubuntu 16.04 64 bit.

I tinker a bunch where as primary X10 day to day stuff is running on my Homeseer server plus utilizing a combo Leviton OmniPro 2 which is doing X10, UPB, ZWave and Zigbee.  I have been able to replicate similiar on the RPi these days.  Home here is a sandbox and do tinker with other HA software running on Linux.

I try to push the cloudless approach here and still tinker with things like Alexa.  What still works for me too is using Microsoft SAPI / Kinect for TTS and VR locally.  I can today enable Amazon Alexa via MS SAPI.  I do run MS SAPI in an Oracle Virtual box on the same computer doing automation in Linux.

Most recent RPi project here relating to a do all RPi in the attic doing a small 1-wire network, ZWave, X10 and now have added an SDR radio to download NOAA satellite weather maps.  The RPi is hardly working at all here.  I use it more as a slave to another Linux automation box in a very basic way of enabling Ethernet transport for serial stuff...easy peasy...

All written above I would like to help fellow X10 folks here move to the RPi world of X10 automation.  It is easy and works great.

Glad you made it over petec. Hopefully we can breed new life into the old dog x10

Like a lot of users I'm not a particular fan of so called cloud solutions. It is possible to control your x10 devices remotely without going through a 3rd party host and with the correct security protocols implemented on your own home server. I'm sure many users on this forum are aware of this but this is just for the ones who are not.

The Raspberry Pi is an ideal tool to achieve this and with the help of those who know how to achieve this some really smart systems can be set up for remote operation.

I understand there are a lot of dedicated Windows on this forum but I really do suggest you give the alternatives a try. You'll be pleasantly surprised at the ease with which you achieve and the results of course.
Logged

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #18 on: January 17, 2018, 06:16:50 PM »

....... Glad you made it over petec. Hopefully we can breed new life into the old dog x10

......I understand there are a lot of dedicated Windows on this forum but I really do suggest you give the alternatives a try. You'll be pleasantly surprised at the ease with which you achieve and the results of course.

If you were referring to me with that old dog... dedicated Windows stuff.... the shoe pretty much fits... or used to rofl. I am trying to keep up. Got me a Raspberry Pi... looking for software now.

Currently.... I am running AHP on an old XP laptop that is connected to a CM15A... the laptop also runs BVC (Bill's Voice Commander). BVC "hears" X10 signals (PLC or RF) and can "read" any text I assign in reaction. I get great voice announcements from a sweet female 16 bit voice (she sounds like Jeri Ryan).

Of course... I'd like to replace the laptop (and its functions) with my RBP.

But since I am also running Homeseer Hometroller (also a pi unit).... I may be able to replace the macro functions on the Hometroller... and only need voice support (Jeri's voice is NOT required) from the RBP I just recently bought.

But don't limit me to just replacing what I have. Your preaching the choir about the Raspberry Pi.
Logged
Home Automation is an always changing technology

petera

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 27
  • Posts: 1751
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #19 on: January 17, 2018, 07:10:02 PM »

....... Glad you made it over petec. Hopefully we can breed new life into the old dog x10

......I understand there are a lot of dedicated Windows on this forum but I really do suggest you give the alternatives a try. You'll be pleasantly surprised at the ease with which you achieve and the results of course.

If you were referring to me with that old dog... dedicated Windows stuff.... the shoe pretty much fits... or used to rofl. I am trying to keep up. Got me a Raspberry Pi... looking for software now.

Currently.... I am running AHP on an old XP laptop that is connected to a CM15A... the laptop also runs BVC (Bill's Voice Commander). BVC "hears" X10 signals (PLC or RF) and can "read" any text I assign in reaction. I get great voice announcements from a sweet female 16 bit voice (she sounds like Jeri Ryan).

Of course... I'd like to replace the laptop (and its functions) with my RBP.

But since I am also running Homeseer Hometroller (also a pi unit).... I may be able to replace the macro functions on the Hometroller... and only need voice support (Jeri's voice is NOT required) from the RBP I just recently bought.

But don't limit me to just replacing what I have. Your preaching the choir about the Raspberry Pi.

The sudden demise of AHP and it's servers caused a lot of grief for a lot of long time dedicated AHP users. It certainly opened up the market for alternative technologies. I have no doubt that they would have arrived anyway but the gap between the demise of AHP and where we are now made that breakthrough for the alternatives that little easier.

I for one made the break and stumbled upon the Linux alternatives to get my x10 setup back up and working. It was through this I discovered the power of Linux over networks particularly in the HA field. I'm controlling technology now that I could only have dreamt of a number of years ago. In fact my x10 remotes have been all but retired being replaced by voice technology. No harm there.

The Raspberry Pi and other single board computers will eventually replace the old laptop and desktop. Makes sense really. We certainly do live in interesting times.
Logged

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #20 on: January 17, 2018, 07:52:43 PM »

The sudden demise of AHP and it's servers caused a lot of grief for a lot of long time dedicated AHP users. ....

I was very lucky. I still have enough parts a pieces to keep me up and running for some time. I was even given a used Hometroller by racerfern. So I've done OK. But I know the changes were tragic for some.

I for one made the break and stumbled upon the Linux alternatives to get my x10 setup back up and working. ....... In fact my x10 remotes have been all but retired being replaced by voice technology. No harm there.

Years ago... we had the creator of HeyU here at the forum. I always thought he was more of a code writing hobbyist than a automation hobbyist (but a heck of nice and very helpful guy). But a LOT has changed since 2012 when RBP and Arduino burst onto the scene. 

I love voice control. And Alexa makes it work so well.
Logged
Home Automation is an always changing technology

dhouston

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 37
  • Posts: 2547
    • davehouston.org
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #21 on: January 17, 2018, 08:42:28 PM »

Years ago... we had the creator of HeyU here at the forum.

Daniel Suthers was active here?
http://www.heyu.org/heyu1/
Logged
This message was composed entirely from recycled letters of the alphabet using only renewable, caffeinated energy sources.
No twees, wabbits, chimps or whales died in the process.
https://www.laser.com/dhouston

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #22 on: January 17, 2018, 08:50:39 PM »

Daniel Suthers was active here?
http://www.heyu.org/heyu1/

No.... Charles Sullivan. He is mentioned in line 91 of the pages source code.
« Last Edit: January 17, 2018, 08:55:17 PM by HA Dave »
Logged
Home Automation is an always changing technology

dhouston

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 37
  • Posts: 2547
    • davehouston.org
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #23 on: January 17, 2018, 09:15:25 PM »

Daniel Suthers was active here?
http://www.heyu.org/heyu1/

No.... Charles Sullivan. He is mentioned in line 91 of the pages source code.

I was well acquainted with Charles - we communicated frequently about details of various protocols/hardware - but he did not create HeyU - he took over maintenance of it from its creator, Daniel Suthers.   
Logged
This message was composed entirely from recycled letters of the alphabet using only renewable, caffeinated energy sources.
No twees, wabbits, chimps or whales died in the process.
https://www.laser.com/dhouston

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #24 on: January 17, 2018, 09:36:57 PM »

I was well acquainted with Charles - we communicated frequently about details of various protocols/hardware - but he did not create HeyU - he took over maintenance of it from its creator, Daniel Suthers.

Sorry. I honestly thought he was part of the creation of HeyU.
Logged
Home Automation is an always changing technology

dhouston

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 37
  • Posts: 2547
    • davehouston.org
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #25 on: January 18, 2018, 02:27:52 PM »

As I'm not a Linux acolyte, I haven't followed things HeyU. I'm not sure who has maintained it since Charles left us but I just found this...
https://groups.yahoo.com/neo/groups/heyu_users/conversations/messages/8098

Apparently, based on that thread from earlier this month, it has been a collective effort for the past few years and it looks as if it will continue in that vein.

BTW, here's where Charles gave credit to Daniel...
http://www.heyu.org/heyu_credits.html

Just think it appropriate to give credit where credit is due.

Charles had a Ph. D. in Electrical Engineering (NYU). Here's his obituary...
http://obits.dignitymemorial.com/dignity-memorial/obituary.aspx?n=Charles-Sullivan&lc=7294&pid=146305880&mid=4426701
« Last Edit: January 18, 2018, 03:07:27 PM by dhouston »
Logged
This message was composed entirely from recycled letters of the alphabet using only renewable, caffeinated energy sources.
No twees, wabbits, chimps or whales died in the process.
https://www.laser.com/dhouston

racerfern

  • Hero Member
  • *****
  • Helpful Post Rating: 6
  • Posts: 275
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #26 on: January 20, 2018, 09:38:44 AM »

I'm continuing here from this message: http://forums.x10.com/index.php?topic=30017.msg171189#msg171189

I am up and running with homegenie. I stopped after performing the sudo gdebi...

I'll see what other parts I need as I progress. Thank you @petera
Logged

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #27 on: January 20, 2018, 10:14:19 AM »

I am up and running with homegenie........Thank you @petera

Woot Woot!

Glad to see you've figured this out.
Logged
Home Automation is an always changing technology

racerfern

  • Hero Member
  • *****
  • Helpful Post Rating: 6
  • Posts: 275
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #28 on: January 20, 2018, 10:26:24 AM »

It's relatively easy. Since you are already up and running, follow the part to install mono:
 and follow the part to install gdebi and the part to update the rpi.

6) Install needed utilities/update system
   sudo apt-get install gdebi-core rpi-update
   sudo apt-get update
   sudo apt-get upgrade
   sudo rpi-update

7) Set up SSL certificates
   sudo apt-get install mono-complete
   sudo apt-get dist-upgrade
   sudo certmgr -ssl smtps://smtp.mail.yahoo.com:465
   sudo certmgr -ssl smtps://smtp.gmail.com:465
   
   confirm setup:
   echo "" | openssl s_client -tls1 -showcerts -connect smtp.mail.yahoo.com:465

   *** yahoo and most likely google require an app specific password ***
reboot at this point

8) Install HG
   sudo wget http://sourceforge.net/projects/homegenie/files/homegenie-beta_1.1.r525_all.deb
   sudo gdebi homegenie-beta_1.1.r500_all.deb
   ln -s /usr/local/bin/homegenie/log /home/pi/.

I updated the file name to reflect the newer version.
Now I realize I didn't do the last line "ln -s...



Logged

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #29 on: January 20, 2018, 10:48:54 AM »

Yeah... none of that means anything to me. I have a lot of learning to do. I think I need a class.
Logged
Home Automation is an always changing technology
Pages: 1 [2] 3 4 ... 9
 

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