Please login or register.

Login with username, password and session length
Advanced search  

News:

The X10 Community wants to know how you use your X10 system!
Share your story in the Automated Home Showcase.

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

capt-nemo

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 4

Heyu - (heyu.org)

- Open source.
- It's very powerful and since it's command line, it's also easy to script.
- It works on 'regular' x86 computers, Raspberry PIs (any computer running linux).

It's also easy to use, to turn on a module:
heyu on A1  (where A1 is the housecode and module #)

To turn off a module:
heyu off A1
Logged

HA Dave

  • Community Organizer
  • Hero Member
  • **
  • Helpful Post Rating: 168
  • Posts: 5741
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #1 on: June 09, 2017, 06:12:44 PM »

Heyu - (heyu.org)

Charles Sullivan was a longtime and highly respected member of this forum (and all corners of the Home Automation community). Charles Sullivan pasted away about 7 years ago... I believe. If you scroll down to the very bottom of the heyu.org page..... you'll see he created that site.

I think someone (with more knowledge than I'll ever have) could create a cloud-dependent Pi device for X10.
Logged
There is a lot more to automation... than turning things on and off.
The use of Home Automation is limited... only by our imaginations.

dhouston

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 33
  • Posts: 2000
    • davehouston.org
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #2 on: June 11, 2017, 10:54:47 AM »

I think someone (with more knowledge than I'll ever have) could create a cloud-dependent Pi device for X10.

What features would you want for such a cloud-dependent Pi device for X10?
Logged
This message was composed entirely from recycled letters of the alphabet using only renewable, caffeinated energy sources.
No trees, wabbits, chimps or whales died in the process.
https://www.laser.com/dhouston

HA Dave

  • Community Organizer
  • Hero Member
  • **
  • Helpful Post Rating: 168
  • Posts: 5741
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #3 on: June 11, 2017, 09:33:07 PM »

What features would you want for such a cloud-dependent Pi device for X10?

I have it now. Using Amazons cloud servers via echo/Alexa.... (PLUS Chamberlain, Wink, and ihome servers and apps to control devices via Alexa and my phone(s) from anywhere). But I think a device that builds on the abilities of the CM15A could really rule.

And I am controlling my X10 devices using Homeseer's Hometroller.... which is a cloud connected Raspberry Pi device. It's app allows world-wide remote control of my X10 devices using my phone. Or... through Alexa I can voice control my X10 devices. There is even an Alexa app (I haven't tried it yet).... that would allow me to control my X10 devices using the voice control... in my car.

What I like best is cross-platform compatibility. I can (and do) mix different flavors of home automation products within the same robot/program/macro.

An example: Normally the garage door opening only turns on lights in the garage (plus a small X10 light, via macro). But a cloud based macro (called a robot) will turn on a series of different brands/flavor of HA lights if the door opens (during certain hours) at night. 

It's pretty slick. I can even set-up geo-fencing. Which would monitor my and/or the wife's location (via our phone GPS locator) to activate robots (cloud based programs/macros). I could set this up to automatically open the garage door... when I return from bicycling or jogging.

I haven't figured out how to send text notices yet. And I think THAT is the cloud-based service that might be the most welcomed/needed/useful service going yet.

What features would you want for such a cloud-dependent Pi device for X10?

But what I want or would do.... is pretty meaningless. I've always marveled at and been amazed by the imagination and creativity of other HA users. And right now.... we're into summer. I have yard work the wife thinks I should be doing. And I have my outside hobby's that require my attention... (and money). But I've added HUGE amounts to my setup the year.
« Last Edit: June 11, 2017, 10:33:54 PM by HA Dave »
Logged
There is a lot more to automation... than turning things on and off.
The use of Home Automation is limited... only by our imaginations.

dhouston

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 33
  • Posts: 2000
    • davehouston.org
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #4 on: June 12, 2017, 11:28:46 AM »

But none of what you are doing necessitates the cloud. And, even when it uses the cloud, it doesn't have to be cloud-dependent. There are voice recognition engines that run locally on the Raspberry Pi. It's only because Apple, Google, Amazon, et al want you to use their cloud that it's designed that way. And they want you in their clouds for purposes of data mining. Problems arise when there are cloudbursts as when X10's cloud dissipated.

I designed the BX24-AHT in 2000-2001, back when the skies were not cloudy all day, and the IP Commander was introduced in late 2001. The combination allowed HA control from anywhere in the world that had Internet access. And, with multiple input/output ports the BX24-AHT could integrate most of the HA hardware then available doing IFTTT long before IFTTT was a thing. It even incorporated temperature, humidity & barometric pressure sensors to monitor your home environment from afar as one user did, monitoring his southern California home while he and his family were in Canada where he was on a lengthy, temporary assignment.
« Last Edit: June 12, 2017, 11:51:45 AM by dhouston »
Logged
This message was composed entirely from recycled letters of the alphabet using only renewable, caffeinated energy sources.
No trees, wabbits, chimps or whales died in the process.
https://www.laser.com/dhouston

racerfern

  • Sr. Member
  • ****
  • Helpful Post Rating: 0
  • Posts: 117
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #5 on: June 12, 2017, 06:03:48 PM »

Quote
I have yard work the wife thinks I should be doing.
I've never met your wife, nor you for that matter, but I'm sure your wife will understand and agree that HA is far more important than yard work. There are gardeners and landscapers for that.  :' You, my far away friend have bigger fish to fry.

Logged

HA Dave

  • Community Organizer
  • Hero Member
  • **
  • Helpful Post Rating: 168
  • Posts: 5741
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #6 on: June 12, 2017, 09:16:06 PM »

..... You, my far away friend have bigger fish to fry.

Well today I made chicken salad.  ::)
Logged
There is a lot more to automation... than turning things on and off.
The use of Home Automation is limited... only by our imaginations.

capt-nemo

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 4
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #7 on: June 12, 2017, 11:19:09 PM »

I, for one, do not want my home automation in the cloud.  I want a home controller that is not accessible to chinese hackers.  Went I want to control my modules remotely, I ssh into my home machine.

I know 'the cloud' is the newest fad but, it's also a bad idea security wise.
Logged

HA Dave

  • Community Organizer
  • Hero Member
  • **
  • Helpful Post Rating: 168
  • Posts: 5741
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #8 on: June 12, 2017, 11:44:05 PM »

I, for one, do not want my home automation in the cloud.  I want a home controller that is not accessible to chinese hackers......

I can remember... not that long ago.... when plenty of distractors were complaining that X10 wasn't secure. Because all it took/takes to hack X10 is a palmpad remote.

You don't have to be Chinese to hack a computer! The 14 year old kid next door.... with nothing to do this summer while his parents are at work... should be your biggest concern. But... neither the juvenal basement dweller or the Chinese are likely to hack a well managed server farm.

I know 'the cloud' is the newest fad but, it's also a bad idea security wise.

Well if it new(?) and popular technology... then it must be all bad... huh?

I really don't care if people don't want Home Automation. Very few people (as a percentage) are attracted to HA. I guess Edison's Direct Current electric lights were HA... at one time. But electric lighting... is pretty much standard fare now-a-days. Yes... the Cloud WAS is cutting edge for HA not very long ago. But the edge doesn't stay cutting sharp for very long. And yesterdays "fad" is hardly modern automation.
« Last Edit: June 12, 2017, 11:46:49 PM by HA Dave »
Logged
There is a lot more to automation... than turning things on and off.
The use of Home Automation is limited... only by our imaginations.

dhouston

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 33
  • Posts: 2000
    • davehouston.org
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #9 on: June 14, 2017, 09:20:35 AM »

It's only because Apple, Google, Amazon, et al want you to use their cloud that it's designed that way. And they want you in their clouds for purposes of data mining.
And here's what Big Brother Google is doing...
Quote
Insel hopes to use data—especially the rich, ongoing streams of data that a smartphone can provide—to detect a deteriorating state of mind faster and more reliably than we can now, and then to respond and turn things around more quickly. He believes a smartphone can be both a diagnostic instrument and, through the links it gives us to others, a life-saving mode of connection and treatment.
https://www.theatlantic.com/magazine/archive/2017/07/the-smartphone-psychiatrist/528726/?google_editors_picks=true
Logged
This message was composed entirely from recycled letters of the alphabet using only renewable, caffeinated energy sources.
No trees, wabbits, chimps or whales died in the process.
https://www.laser.com/dhouston

HA Dave

  • Community Organizer
  • Hero Member
  • **
  • Helpful Post Rating: 168
  • Posts: 5741
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #10 on: June 14, 2017, 12:30:48 PM »


And here's what Big Brother Google is doing...

I can assure you.... whatever you think "Big Brother" is doing... you're incorrect.

People naturally fear the things they have the least control or knowledge of. I can assure you.... people in the government only care about the actions of the people in-mass. And the governments latest, best, greatest, human behavior algorithms... told them Hillary Clinton was sure to win the election.

I think we have a few more years before government mind-control takes over. When the time comes to wear the foil caps.... I'll buy the foil.
Logged
There is a lot more to automation... than turning things on and off.
The use of Home Automation is limited... only by our imaginations.

HA Dave

  • Community Organizer
  • Hero Member
  • **
  • Helpful Post Rating: 168
  • Posts: 5741
Re: How I control X10 modules on Linux... (including Raspberry Pi)
« Reply #11 on: June 14, 2017, 12:43:50 PM »

What we really need... is some HA-tech minded person to set-up a well managed cloud based Pi service and (Pi downloadable software)... sold in kit form... if need be. If done right one unit could cover a spread of devices. I hope.... HOPE... this is the direction X10 is going.

As some of these countless brands/flavors of IP address based devices will fall to the curb.... X10 could/should buy one of them to add to X10's devices, programs, and store. Slap an X10 logo on it! Yet continue to manage and enable the millions of X10 device still out here. Everyone would be happy. Win-win.
« Last Edit: June 14, 2017, 04:06:46 PM by HA Dave »
Logged
There is a lot more to automation... than turning things on and off.
The use of Home Automation is limited... only by our imaginations.
 

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