X10 Community Forum

💬General Category => Mac/Linux & Open Source and the X10 Home => Raspberry Pi, Arduino & other SBC => Topic started by: capt-nemo on June 09, 2017, 05:50:32 PM

Title: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: capt-nemo on June 09, 2017, 05:50:32 PM
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
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: dhouston 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?
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: dhouston 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: racerfern 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.

Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave on June 12, 2017, 09:16:06 PM
..... You, my far away friend have bigger fish to fry.

Well today I made chicken salad.  ::)
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: capt-nemo 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: dhouston 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 (https://www.theatlantic.com/magazine/archive/2017/07/the-smartphone-psychiatrist/528726/?google_editors_picks=true)
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave on January 16, 2018, 10:05:55 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.

The story below.... sorta began here (http://forums.x10.com/index.php?topic=30017.msg170866#msg170866) too!

 rofl :)% Well I didn't actually stumble onto any solutions... but in on-line discussions... decided to actually try some of this myself. I may completely fail in the effort.... but that's OK too. I am learning a few things Meanwhile.... X10 is very close to releasing a new WiFi module/interface/controller that has great promise. So if nothing else.... I was wrong about what I hoped would be the future direction of HA.

Meanwhile..... back at the Automated House... I am trying to eliminate my HA PC (an old XP laptop I bought new in 2001). I bought a latest Raspberry Pi 3 Canakit (off Amazon). And with support from the members here at the forum.... I created at the very least a mini PC that can be hidden behind a TV and runs on only 2.4 amps at 5 volts, at the cost of $69. Has a great office suite, surfs the web, and runs YouTube videos like a champ.

And.... if I am lucky (I am not going to depend on skills)... I'll get an X10 HA PC that adds computer brains and a voice to my macros and automation.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave on January 16, 2018, 11:44:22 PM
Watching some videos on YouTube to get an idea of what others are doing with Raspberry Pi and Alexa. And this video was turning my lights on and off (https://www.youtube.com/watch?v=FU-KvkKhXOc)... LOL
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petec on January 17, 2018, 07:05:24 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 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: racerfern 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: dhouston 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/ (http://www.heyu.org/heyu1/)
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave on January 17, 2018, 08:50:39 PM
Daniel Suthers was active here?
http://www.heyu.org/heyu1/ (http://www.heyu.org/heyu1/)

No.... Charles Sullivan. He is mentioned in line 91 of the pages source code.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: dhouston on January 17, 2018, 09:15:25 PM
Daniel Suthers was active here?
http://www.heyu.org/heyu1/ (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.   
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: dhouston 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 (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 (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 (http://obits.dignitymemorial.com/dignity-memorial/obituary.aspx?n=Charles-Sullivan&lc=7294&pid=146305880&mid=4426701)
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: racerfern 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
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: racerfern 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...



Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave 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.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on January 20, 2018, 03:13:34 PM
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

Now you're motoring. The real work starts now. I reckon you might find HomeGenie very easy to configure. You should have all the tools you need to customise x10. Your x10 sensors along with your light and appliance modules and with the addition of an x10 sounder will form the basis of a full blown alarm system.

You can see the Alarm utility on the Dashboard. That's what you will be using. It includes some very useful program's you can customise for your own use. Now that you are up and running start a new post if you have any specific questions you need answering. Bkenobi is very familiar with Homegenie too.

All we have to do now is get HA Dave sorted out now.i imagine he will be jealous looking at that screenshot of Homegenie. Not unlike the AHP screen. :)%
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: racerfern on January 20, 2018, 03:45:05 PM
Actually, I'm not so sure about this. As soon as I installed HG, CPU usage went up to 80% minimum. That's not good.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on January 20, 2018, 09:59:10 PM
Actually, I'm not so sure about this. As soon as I installed HG, CPU usage went up to 80% minimum. That's not good.

Don't worry about that for the moment. It will settle. As long as it does not crash.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on January 22, 2018, 09:15:56 AM
Actually, I'm not so sure about this. As soon as I installed HG, CPU usage went up to 80% minimum. That's not good.


On my RPi1 the cpu usage is around 30% IIRC.  If it stays at 80%, I'd say that's a problem.  If the usage spiked when you started HG, you can try some things.

First, restart the service:
sudo service homegenie restart

Second, if that doesn't change anything, I'd probably try resetting the HG setup.  That can be done from the web interface under maintenance I believe.

Third, uninstall HG and check cpu usage.  If it's basically 0%, reinstall.  I forget the uninstall command at the moment so hopefully it won't come to that.

Finally, if nothing else works, you could try re-imaging.  I don't think that will be necessary, but if so I'd opt for starting with a new card rather than formatting.  That way, you can maybe do some sleuthing to determine the issue (if you care).
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on January 22, 2018, 09:21:26 AM
Yeah... none of that means anything to me. I have a lot of learning to do. I think I need a class.

A basic Linux class might not hurt if you can find one.  But, I learned my basics of Linux by using it.  I'm not an expert, but after hacking around with TiVo's and other systems, I am now sufficiently secure with my skills that my job uses Linux all the time.  I'm still not an admin, but I get around just fine.

I'd recommend looking at each line and just googling the command that you want to understand.  "sudo" is a way to run a command that requires admin rights (runs as a super user).  "apt-get" is a utility that installs tools from Linux repositories.  "rpi-update" is a command that updates RPi specific applications similar to "update" which is for the generic Linux OS.  The commands were put together and ordered over time, so it's not expected that anyone would know what to run out of the blue...hence the installation instructions.   8)
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: racerfern on April 01, 2018, 01:52:34 AM
Quote
.i imagine he will be jealous looking at that screenshot of Homegenie. Not unlike the AHP screen.

I decided to not continue with Homegenie. It was visually enticing, but to me it was a significant learning curve that I didn't want to deal with just for the sake of using another piece of software. I already own Homeseer and haven't found a thing it can't handle.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave on April 01, 2018, 02:45:27 AM
........... I already own Homeseer and haven't found a thing it can't handle. 

Homeseer is a premium provider of HA hardware and software. The unit you gave to me works flawlessly.... month after month. Of course the old Win XP PC's I used before Homeseer were very dependable as well. I guess there really is a lot of ways to remove fur from a feline.

I don't know which software (or even OS) is the best for Home Automation. And I don't have the time or money to play Consumers Digest (http://www.consumersdigest.com/) and test every product out there. But I do believe there are some really good, solid, simple, easy, and reliable ways out there to run a smart home.

But my own experience with DIY Linux software.... hasn't sold me. At least not yet. 
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 24, 2018, 06:12:59 PM
I finally jumped on the Pi band wagon and my 3B+ arrived yesterday.
I had played with Linux in the past so this wasn't completely foreign to me.
Today I installed HA-bridge, mochad and HomeGenie. However I'm not set any up for X10 control (yet) so I'm not sure how well any of it will work.
I can remotely log into both HA-Bridge and HomeGenie so that part seems to be working :)%
My main reason for getting a PI setup for HA control was for my off grid place.
Power consumption in the spring,summer and early fall isn't a big deal there but winter months one has to watch it.
I started a section on my forum for Pi HA related things so I have a reference to fall back on.
http://forums.tuicemen.net/index.php?board=116.0
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 24, 2018, 10:20:31 PM
I finally jumped on the Pi band wagon and my 3B+ arrived yesterday.
I had played with Linux in the past so this wasn't completely foreign to me.
Today I installed HA-bridge, mochad and HomeGenie. However I'm not set any up for X10 control (yet) so I'm not sure how well any of it will work.
I can remotely log into both HA-Bridge and HomeGenie so that part seems to be working :)%
My main reason for getting a PI setup for HA control was for my off grid place.
Power consumption in the spring,summer and early fall isn't a big deal there but winter months one has to watch it.
I started a section on my forum for Pi HA related things so I have a reference to fall back on.
http://forums.tuicemen.net/index.php?board=116.0

What version of Raspbian and HomeGenie did you load on your card. Be careful what version of Mono you are using. Mono 5.10 broke HomeGenie. You'll be pleasantly surprised how well X10 works on HomeGenie with the Raspberry and how easy it is to configure for someone with your experience. 
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 24, 2018, 10:49:26 PM
I installed latest version of Rasbian older versions I read will not work with the 3B+
I believe I loaded the newest HomeGenie as well. However I never installed Mono (yet).
I setup a few 10 devices in HomeGenie but since the Cm15 isn't connected to my Pi I've yet to test them.
Just doing baby steps ;)
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 25, 2018, 03:38:37 AM
I installed latest version of Rasbian older versions I read will not work with the 3B+
I believe I loaded the newest HomeGenie as well. However I never installed Mono (yet).
I setup a few 10 devices in HomeGenie but since the Cm15 isn't connected to my Pi I've yet to test them.
Just doing baby steps ;)

Type mono --version at the command prompt and see what it returns. Homegenie is a Windows program that runs in Linux under Mono.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 25, 2018, 01:29:15 PM
says:
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1).....
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on April 25, 2018, 04:11:17 PM
I think Stretch (the current major version of Raspbian) includes a Mono release that somewhat works with HG.  I had a script that I was working on to get everything working in a simple one step copy/paste or maybe even something that could be obtained with curl or wget and then run.  It did work, but I didn't have any other testers.  The other issue is that the service was not working for me all that well.  I was using the new devs' (Bounce et.al.) version of HG (1.1.15) rather than the original author's (Gene) version (1.1.526).  I believe Gene's version would run fine and the reason the Bounce version was having problems for me was that it's a new framework/implementation.  It looks the same from the interface, but a lot of changes/improvements have been included behind the scenes.  As a result, it works well in Windows but may have problems on other systems due to the dev approach.

That said, if you have Gene's version up and running, you should find it works very nicely with the CM15 and all X10 modules!
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 25, 2018, 04:21:30 PM
 I installed HomeGenie Version 1.1 beta r526
I can log in from another PC to it and add X10 devices however it doesn't send X10 commands so something isn't just right yet. B:(
Mochad also fails to work. B:( If I manually load it, it fails displaying it can't find a cm15/cm19
I noticed Demoticz has a PI SD image so I'll give that a test run but I suspect it will not work with the 3B+ ::) :'
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on April 25, 2018, 05:38:39 PM
Where did you find the Domoticz image?  I used one a couple years ago and it worked out of the box.  It wasn't what I was looking for at the time.  I'd like to try it again on the RPi3, though.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 25, 2018, 05:54:46 PM
domoticz image is on the https://www.domoticz.com/downloads/ under Beta
readme says it works with 3
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 25, 2018, 05:59:09 PM
says:
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1).....

You can see HomeGenie automatically installs Mono for you but not the full version.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 25, 2018, 06:04:04 PM
I installed HomeGenie Version 1.1 beta r526
I can log in from another PC to it and add X10 devices however it doesn't send X10 commands so something isn't just right yet. B:(
Mochad also fails to work. B:( If I manually load it, it fails displaying it can't find a cm15/cm19
I noticed Demoticz has a PI SD image so I'll give that a test run but I suspect it will not work with the 3B+ ::) :'

From memory you don't need to install Mochad. The XTEN drivers look after your connection between the Raspberry Pi and your CM15. Dont forget to configure your port in Homegenie for X10
Don't forget you need to sudo apt-get install libv4l-0 as well.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 25, 2018, 06:52:21 PM
You can see HomeGenie automatically installs Mono for you but not the full version.
Ok so how do I get/install the full version?
if I run
sudo apt-get install ca-certificates-mono
it says I have latest version
From memory you don't need to install Mochad. The XTEN drivers look after your connection between the Raspberry Pi and your CM15. Dont forget to configure your port in Homegenie for X10
Don't forget you need to sudo apt-get install libv4l-0 as well.
I realize I don't need Mochad but wanted it for HA-Bridge and maybe to create something myself.
ran sudo apt-get install libv4l-0 as well and it says already installed.
 B:(
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 25, 2018, 07:50:12 PM
You can see HomeGenie automatically installs Mono for you but not the full version.
Ok so how do I get/install the full version?
if I run
sudo apt-get install ca-certificates-mono
it says I have latest version
From memory you don't need to install Mochad. The XTEN drivers look after your connection between the Raspberry Pi and your CM15. Dont forget to configure your port in Homegenie for X10
Don't forget you need to sudo apt-get install libv4l-0 as well.
I realize I don't need Mochad but wanted it for HA-Bridge and maybe to create something myself.
ran sudo apt-get install libv4l-0 as well and it says already installed.
 

You need mono complete. sudo apt-get mono-complete should do it.

I'd try getting x10 working on your Raspberry Pi before you install HA Bridge.

If you search Homegenie old forums there's some good information on there about installing the HA Bridge after you have X10 up and running in Homegenie. I had Alexa running on the same Raspberry Pi as Homegenie at one stage before I switched to Homeseer.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 25, 2018, 08:14:55 PM
Here's the link I used to install the HA Bridge after I installed Homegenie and had X10 fully configured and up and running. http://old.homegenie.club:8080/www.homegenie.it/forum/indexdaeb.html?topic=1715.15
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 25, 2018, 08:26:23 PM
I don't see how Ha-Bridge could be affecting cm15 not being found ::) :'  as I don't have it setup for anything yet.
However I could trigger X10 using the Broadlink RM if I need to.

sudo apt-get mono-complete returns E: invalid operation mono-complete
sudo install mono-complete did work
But still no go with HomeGenie

I just may have to start from scratch again B:(

Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 25, 2018, 08:35:41 PM
The discussion is more on what to use for the scripts which I don't have a issue with.
However it is good to see the calls can be made to HG I was thinking I'd need mochad for that.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave on April 25, 2018, 08:36:50 PM
........ still no go with HomeGenie
I just may have to start from scratch again B:(

I wish you all the best with this! I never caught on. But I am still confident in the Pi setup.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 25, 2018, 08:40:54 PM
I don't see how Ha-Bridge could be affecting cm15 not being found ::) :'  as I don't have it setup for anything yet.
However I could trigger X10 using the Broadlink RM if I need to.

sudo apt-get mono-complete returns E: invalid operation mono-complete
sudo install mono-complete did work
But still no go with HomeGenie

I just may have to start from scratch again B:(

sudo apt-install mono-complete
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 25, 2018, 08:42:09 PM
Thanks Dave,
I've had HomeGenie working on Windows and a TV stick running Linux so I know it is possible just hope the issue isn't the Pi 3 B+ and different drivers.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 25, 2018, 09:24:46 PM
Thanks Dave,
I've had HomeGenie working on Windows and a TV stick running Linux so I know it is possible just hope the issue isn't the Pi 3 B+ and different drivers.

Tuicemen with your experience it should be a breeze to install and get X10 running.

With a fresh copy of Raspbian Stretch, and following the instructions on homegenie.it you should manage it no problem. There's a couple of options for installing on Linux but the one you want is the .deb Ubuntu/Debian option.

Before you have Homegenie installed run sudo apt update and sudo apt upgrade to get all the latest repositories and drivers and software versions for Stretch. You should then be able to install mono complete by using sudo apt-get install mono-complete
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 25, 2018, 09:44:13 PM
Yep, I did all that petera, even installed the new version of HomeGenie (HomeGenie Version V1.1.15) with no success in getting X10 to work.
I found a post where someone had the same issue but on Windows.
I thought I found the answer as I also had no batteries in the Cm15 but that wasn't the case. B:(
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 25, 2018, 11:49:48 PM
Yep, I did all that petera, even installed the new version of HomeGenie (HomeGenie Version V1.1.15) with no success in getting X10 to work.
I found a post where someone had the same issue but on Windows.
I thought I found the answer as I also had no batteries in the Cm15 but that wasn't the case. B:(

Could you disconnect the CM15 and ssh into the Raspberry Pi and type the two following commands separately and paste the output

dmesg
lsusb

Now plug in the CM15 to the same USB port and type the same two commands and once again paste the output.

Just want to see how the Raspberry Pi is treating your CM15 and how it's being assigned.

I'm assuming you are configuring the CM15 in the X10 section of Homegenie to the correct port. It should be assigned to ttyUSB0 if you have no other USB ports in use. Also you should enable X10 by toggling the Homegenie switch in the same section. Also don't forget to select the correct House Codes to match your setup.

Do you by any chance have a CM11 on hand you could use to also check that X10 is working.

Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 26, 2018, 12:12:25 AM
Have it working now had to load the Debian lite OS. :)%
I'll have to see if I can enable the desktop UI now.
 I need the WAF points after all this! rofl
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 26, 2018, 12:25:12 AM
Have it working now had to load the Debian lite OS. :)%
I'll have to see if I can enable the desktop UI now.
 I need the WAF points after all this! rofl

Great news!!!!

I wouldn't load a desktop version of any software on the Raspberry Pi. Unnecessarily hogs valuable resources.

So instead of Raspbian Stretch Lite, you loaded Debian Stretch Lite. Once you have the server running you can log on locally via your web browser. I'm assuming it defaults to port 80. If not you can try 8081, 8082 etc.

As I said earlier for someone like yourself this will be a breeze. I did suggest to you a while back over on your own site that you should get stuck into the Raspberry Pi. Well you've finally done it so here's to hours of fun with your new challenge.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 26, 2018, 12:35:26 AM

I wouldn't load a desktop version of any software on the Raspberry Pi. Unnecessarily hogs valuable resources.
The whole Idea behind this was to have a low powered streaming device which doubled as a HA machine.
The CPU never went over 50% and that was with HomeGenie, ha-bridge, mochad and the webbrowser open and streaming.
The 3b+ is very quick  and all I intend to use is HomeGenie, ha-bridge and a browser to stream.
No Programing (coding from it)
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave on April 26, 2018, 03:38:29 AM
Have it working now .....

That's great news!
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 26, 2018, 12:27:58 PM

I wouldn't load a desktop version of any software on the Raspberry Pi. Unnecessarily hogs valuable resources.
The whole Idea behind this was to have a low powered streaming device which doubled as a HA machine.
The CPU never went over 50% and that was with HomeGenie, ha-bridge, mochad and the webbrowser open and streaming.
The 3b+ is very quick  and all I intend to use is HomeGenie, ha-bridge and a browser to stream.
No Programing (coding from it)

Another convert  :)%

The X10 with all it's script possibilities and it's scenes and timers will make you wonder why you waited so long. Throw in a few IP cameras and using the Security Lights program with the ability to email you snapshots and you have a very able home security system for your off site location.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 26, 2018, 12:33:50 PM
So instead of Raspbian Stretch Lite, you loaded Debian Stretch Lite. Once you have the server running you can log on locally via your web browser. I'm assuming it defaults to port 80. If not you can try 8081, 8082 etc.

It is Raspbain Stretch lite which HomeGenie loads and runs X10 fine.
It is also the last version created by original deveolper. Interestingly I did not have to install any extra files every thing was either already in the OS or included in the HG install.
The attempt to load a desktop UI failed as it would not go past the log on screen :(
Since this is not going to fill my needs I'll try another software. Using the 3B+ for just my HA at my off grid place is a waste of horse power.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave on April 26, 2018, 02:52:52 PM
........... Using the 3B+ for just my HA at my off grid place is a waste of horse power.

Horse power??? My God man... pony power would be an exaggeration. But thats too bad. I am sure you'll figure out ways to add other features to the Pi and consolidate more functions. Meanwhile... anyway I can get an image of what you've created?
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 26, 2018, 04:18:39 PM
The image will not work on a pi 3B sadly :(  However my Zero W arrived today so I believe images from it will work on older models.
Hopefully I can find some male micro to female regular size USB adaptors or even micro male to mini female. ::) :'
Looks like I'm going shopping  rofl
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 26, 2018, 05:24:59 PM
........... Using the 3B+ for just my HA at my off grid place is a waste of horse power.

Horse power??? My God man... pony power would be an exaggeration. But thats too bad.
Considering my thin client was single core atom 1.60 ghz 32 bit processor and this is 1.4GHz 64-bit quad-core processor, dual-band wireless LAN, Bluetooth 4.2/BLE so is more then pony power for just HA.

I ran AHP from Windows 98 on a 386 at one time and my AH needs were greater then. Remember we were doing Voice control with those machines. This thing will leave those it its dust.  >!
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on April 26, 2018, 05:31:31 PM
I assume he installed Mochad because he was also looking at HA-Bridge.  HG has the XTEN library for interfacing with the CM15.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 26, 2018, 07:32:12 PM
So instead of Raspbian Stretch Lite, you loaded Debian Stretch Lite. Once you have the server running you can log on locally via your web browser. I'm assuming it defaults to port 80. If not you can try 8081, 8082 etc.

It is Raspbain Stretch lite which HomeGenie loads and runs X10 fine.
It is also the last version created by original deveolper. Interestingly I did not have to install any extra files every thing was either already in the OS or included in the HG install.
The attempt to load a desktop UI failed as it would not go past the log on screen :(
Since this is not going to fill my needs I'll try another software. Using the 3B+ for just my HA at my off grid place is a waste of horse power.

Would you actually need a GUI on a Raspberry Pi. If you really needed one just buy a Raspberry Pi 3, the previous model. All the images are known to fully work on it. Personally I never needed a GUI and Pixel the default GUI wouldn't exactly set the world on fire.

Now that you've got your hands dirty with the Raspberry Pi your next target is the Rock64. Four times the amount of memory, slightly faster CPU and USB 3.0 all in the same form factor. Plus you get to use a full Debian GUI (or any derivative of) Android and a couple of others comfortably and it still accommodates X10.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 26, 2018, 07:49:52 PM

Would you actually need a GUI on a Raspberry Pi. If you really needed one just buy a Raspberry Pi 3, the previous model. All the images are known to fully work on it. Personally I never needed a GUI and Pixel the default GUI wouldn't exactly set the world on fire.
I personally don't need the GUI it is more for my wife so she can find things.
Is it possible to open a Browser from the CLI?
If so I could just leave a browser open and that may satisfy her needs.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 26, 2018, 07:50:28 PM
I assume he installed Mochad because he was also looking at HA-Bridge.  HG has the XTEN library for interfacing with the CM15.

Looks like its all up and running. Now the real fun begins. :)%
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 26, 2018, 07:56:16 PM

Would you actually need a GUI on a Raspberry Pi. If you really needed one just buy a Raspberry Pi 3, the previous model. All the images are known to fully work on it. Personally I never needed a GUI and Pixel the default GUI wouldn't exactly set the world on fire.
I personally don't need the GUI it is more for my wife so she can find things.
Is it possible to open a Browser from the CLI?
If so I could just leave a browser open and that may satisfy her needs.

Try installing Links. Have a read here http://www.linuxandubuntu.com/home/linux-command-line-browser-to-surf-internet or possibly a divorce  >!
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: racerfern on April 27, 2018, 12:01:08 PM
For the coders, geeks, nerds (whatever the preference) GUI is not necessary. For the other 95% of the population that want things easy and pretty to look at, a nice GUI is an absolute necessity. If not, we would still be using DRDOS, MSDOS, CP/M, FORTRAN... those were the days.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 27, 2018, 12:25:13 PM
For the coders, geeks, nerds (whatever the preference) GUI is not necessary. For the other 95% of the population that want things easy and pretty to look at, a nice GUI is an absolute necessity. If not, we would still be using DRDOS, MSDOS, CP/M, FORTRAN... those were the days.
I agree with you 100%
Thats the main reason many took so long to even try Linux.
Much still has to be done from the CLI.
Many just want point and click control and set up.
A simple typo and the whole set up can get messed up.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 27, 2018, 01:11:18 PM
For the coders, geeks, nerds (whatever the preference) GUI is not necessary. For the other 95% of the population that want things easy and pretty to look at, a nice GUI is an absolute necessity. If not, we would still be using DRDOS, MSDOS, CP/M, FORTRAN... those were the days.

If I wanted something pretty to look at I'd go to an art gallery. In terms of computing there's a trade off for all this prettiness. All the eye candy gobbles up both valuable CPU and GPU processing time drawing screens instead of doing what they do best, processing data.

I'd understand if users were expected to code in Assembly or such like but most of the required work needed to be done in a terminal or SSH session is done by way of cut and pasting and you could hardly call that a hardship.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 27, 2018, 01:30:11 PM
For the coders, geeks, nerds (whatever the preference) GUI is not necessary. For the other 95% of the population that want things easy and pretty to look at, a nice GUI is an absolute necessity. If not, we would still be using DRDOS, MSDOS, CP/M, FORTRAN... those were the days.
I agree with you 100%
Thats the main reason many took so long to even try Linux.
Much still has to be done from the CLI.
Many just want point and click control and set up.
A simple typo and the whole set up can get messed up.

The beauty of Linux on a Raspberry Pi is you can take an image of your SD card (15 minutes work) and throw whatever commands or changes you desire at the OS and if it breaks the system all you need do is to restore that image you took earlier (another 15 minutes work) and you're back to a perfectly working system.

You have the added advantage of having a mini server tucked away from sight without a screen, a mouse or a keyboard hanging off it that, when required can be accessed at any time either on site or off site. And of course you have the advantage of a unit that will not draw more than 2ah of power yet can control most if not all of your home automation needs.

I think the choice of Windows over Linux goes a lot further than choices of GUI over command line usage. Commercial and economic drivers I would imagine have played a big role in OS choices over the years. This is beginning to shift dramatically and particularly over the last five years. Development in the ARM processor world has really thrown down the gauntlet to the opposition and Microsoft and Intel are no longer the giant they once were. I liken this to the battle between iOS and Android.

Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: dhouston on April 27, 2018, 02:50:58 PM
For the other 95% of the population...
Make that 98%.
https://www.netmarketshare.com/operating-system-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22deviceType%22%3A%7B%22%24in%22%3A%5B%22Desktop%2Flaptop%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Trend%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22platform%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22platformsDesktop%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222017-04%22%2C%22dateEnd%22%3A%222018-03%22%2C%22segments%22%3A%22-1000%22%7D (https://www.netmarketshare.com/operating-system-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22deviceType%22%3A%7B%22%24in%22%3A%5B%22Desktop%2Flaptop%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Trend%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22platform%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22platformsDesktop%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222017-04%22%2C%22dateEnd%22%3A%222018-03%22%2C%22segments%22%3A%22-1000%22%7D)
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave on April 27, 2018, 05:31:32 PM
For the other 95% of the population...

Make that 98%.............

And those stats have barely change over DECADES. Apple use has (proportionally) exploded... mostly due to the enormous success of the their iphones and ipads (even my 90+ year old Mom has an ipad).... and European use of Linux has helped in that front. Whereas I have real affection for both Apple and Raspbian/(Linux).... and a growing disgust with the "service" called Microsoft..... the facts are facts. The vast majority of "computers" have Windows OS's.

But there are more and more "things" also doing jobs formerly done by computers. 
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on April 27, 2018, 05:51:07 PM
I tried to grab the Domoticz RPi image, but it's failed several times.  I'm not sure if it's my terrible internet or the image provider.  I may try using my phone's data to grab the file.  But, last time I did that Verizon felt it necessary to claim I used several GB over my limit (not true) and tried to double my bill for the month.   B:(
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 27, 2018, 06:31:01 PM
Meanwhile... anyway I can get an image of what you've created?
I did PM you about this Dave.

With the Zero W now able to run HG I set about getting my 3B+ setup with the full Raspbian-Stretch and HG.
I installed HG exactly the way I did on the lite version using SSH and PuTTy and it works  :)%

I'll see about possibly getting image files for both the Zero W and 3B+ placed on my server.
I suspect this may take some time.
I don't expect either to work with a different Pi board :(
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 27, 2018, 06:38:24 PM
I tried to grab the Domoticz RPi image, but it's failed several times.  I'm not sure if it's my terrible internet or the image provider.  I may try using my phone's data to grab the file.  But, last time I did that Verizon felt it necessary to claim I used several GB over my limit (not true) and tried to double my bill for the month.   B:(
I was able to get the image without issue but that was during a week day so the internet wasn't as congested.
Once I have everything backed up here I'll attempt to load it again on my ZeroW as I really wish to try this one.
I don't believe I used the image tool they suggested and to be honest I'm lost in the Linux CLI.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 27, 2018, 08:23:09 PM
Meanwhile... anyway I can get an image of what you've created?
I did PM you about this Dave.

With the Zero W now able to run HG I set about getting my 3B+ setup with the full Raspbian-Stretch and HG.
I installed HG exactly the way I did on the lite version using SSH and PuTTy and it works  :)%

I'll see about possibly getting image files for both the Zero W and 3B+ placed on my server.
I suspect this may take some time.
I don't expect either to work with a different Pi board :(

Once you have a working version of HomeGenie on your SD card you can shrink it for the convenience of sharing it with others. Just by taking a win32discimage and using a link like this https://www.raspberrypi.org/forums/viewtopic.php?t=195882 you can reduce it in size making life a lot easier for you when hosting it.

Of course if all else fails you could copy this image onto another SD cars and use snail mail. Might be easier for those who are not familiar with Linux.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 27, 2018, 08:30:51 PM
Once you have a working version of HomeGenie on your SD card you can shrink it for the convenience of sharing it with others. Just by taking a win32discimage and using a link like this https://www.raspberrypi.org/forums/viewtopic.php?t=195882 you can reduce it in size making life a lot easier for you when hosting it.


Yep did that Sd image for the Zero W is on the server.
3B+ will be a bit longer but before days end
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on April 27, 2018, 09:54:13 PM
I think I found the issue with Domoticz.

https://www.domoticz.com/forum/viewtopic.php?f=6&t=18932&start=40#p154552

According to that post (related to fixing the issue), Domoticz hard links to an old, obsolete, insecure library that is no longer supported under Stretch.  I think my best bet is to get that image and see if I like the HA software.  If so, I can see if there's a way to get it running securely.

Oh, and here's apparently a fix for it:

https://diyprojects.io/domoticz-installation-configuration-raspberry-pi-3-2/#.Wa7rFshJYuU
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 27, 2018, 09:55:28 PM
Once you have a working version of HomeGenie on your SD card you can shrink it for the convenience of sharing it with others. Just by taking a win32discimage and using a link like this https://www.raspberrypi.org/forums/viewtopic.php?t=195882 you can reduce it in size making life a lot easier for you when hosting it.


Yep did that Sd image for the Zero W is on the server.
3B+ will be a bit longer but before days end

Just something to be mindful of. Mono 5.10 in some cases has been reported to break
Homegenie .526. The last reported guaranteed version of Mono known to work with
Homegenie .526 is Mono 5.4.1. Homegenie 1.1.15 is a little experimental at the moment and some packages are known to be missing. If I was you I would stick with Homegenie .526 as it was the last version the original author worked on.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 27, 2018, 10:27:19 PM
Just something to be mindful of. Mono 5.10 in some cases has been reported to break
Homegenie .526. The last reported guaranteed version of Mono known to work with
Homegenie .526 is Mono 5.4.1. Homegenie 1.1.15 is a little experimental at the moment and some packages are known to be missing. If I was you I would stick with Homegenie .526 as it was the last version the original author worked on.

The images are with HG .526 and a mono version that works with it.
I had thought about upgrading to the newer version but had read there were still issues which may affect user.
If one wishes to update you simply follow the install instruction here  https://bounz.github.io/HomeGenie-BE/#/get_started installing it directly over the old version.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 27, 2018, 10:31:10 PM
I think I found the issue with Domoticz.

https://www.domoticz.com/forum/viewtopic.php?f=6&t=18932&start=40#p154552

According to that post (related to fixing the issue), Domoticz hard links to an old, obsolete, insecure library that is no longer supported under Stretch.  I think my best bet is to get that image and see if I like the HA software.  If so, I can see if there's a way to get it running securely.

Oh, and here's apparently a fix for it:

https://diyprojects.io/domoticz-installation-configuration-raspberry-pi-3-2/#.Wa7rFshJYuU
Thanks for that I may just stick with HG for now since the image will not work on the 3B+ if you do get it working post some screen shots. Others may find it helpful.  ;)
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 27, 2018, 10:41:33 PM
Just something to be mindful of. Mono 5.10 in some cases has been reported to break
Homegenie .526. The last reported guaranteed version of Mono known to work with
Homegenie .526 is Mono 5.4.1. Homegenie 1.1.15 is a little experimental at the moment and some packages are known to be missing. If I was you I would stick with Homegenie .526 as it was the last version the original author worked on.

The images are with HG .526 and a mono version that works with it.
I had thought about upgrading to the newer version but had read there were still issues which may affect user.
If one wishes to update you simply follow the install instruction here  https://bounz.github.io/HomeGenie-BE/#/get_started installing it directly over the old version.

Not advisable. Bounz is more focussed on the Windows version of Homegenie and I found a number of important packages that appeared to be missing were causing Mono to throw "fatal exception" errors. You don't want to have to go down the road of interpreting Mono errors. A very time consuming exercise.

People tend to forget that Homegenie is a Windows based program running in the .net framework on Linux with the aid Xamarin's Mono. If users here feel more confident in the Windows environment they can always load Homegenie on Windows to get a feel for it before they embark on the Raspberry Pi/Raspbian version. Of course nothing stopping them getting the Windows IoT version running too on the Raspberry Pi
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on April 28, 2018, 12:58:45 AM
Following the instructions I posted a link to, I now have Domoticz running.  I'm going to start playing with getting X10 loaded as currently it's just the RPi.  At least it's a start!
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on April 28, 2018, 03:04:15 AM
So after running Domoticz setup, I realized that Mochad may not work on Stretch for the same reason Domoticz wasn't happy.  It appears that in order to install Mochad, one must install the dev package of libusb-1.0-0.  I may be able to get it to install using the same instructions as posted above, but it may be problematic in the long run.  I'm going to give it a chance, but it's not looking good.

I may just stick with HG 526 assuming I can get it running correctly.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 28, 2018, 10:32:20 AM
So after running Domoticz setup, I realized that Mochad may not work on Stretch for the same reason Domoticz wasn't happy.  It appears that in order to install Mochad, one must install the dev package of libusb-1.0-0.  I may be able to get it to install using the same instructions as posted above, but it may be problematic in the long run.  I'm going to give it a chance, but it's not looking good.

I may just stick with HG 526 assuming I can get it running correctly.

Couldnt get Mochad working with Domoticz so I opted for Heyu with the CM11 instead. I'm sure it can be achieved but it was so easy to do X10 with Heyu so I decided to go that route.

Are you struggling with Homegenie 526 on the Raspberry Pi. I wouldn't go beyond Mono 5.4.1 with that version of Homegenie. I have that version Homegenie locked in to Mono 5.4.1.

I've decided to sit back and wait to see what direction Homegenie is going in beyond V 526. There's not a lot of interest in bringing along X10 in any further releases and they seem to be unsure what platform they want to concentrate on. In fact the talk is they want to rewrite the base code.

I'll stick with v526 on the basis that if it ain't broken don't fix it.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 28, 2018, 01:07:22 PM
So after running Domoticz setup, I realized that Mochad may not work on Stretch for the same reason Domoticz wasn't happy.  It appears that in order to install Mochad, one must install the dev package of libusb-1.0-0.  I may be able to get it to install using the same instructions as posted above, but it may be problematic in the long run.  I'm going to give it a chance, but it's not looking good.

I may just stick with HG 526 assuming I can get it running correctly.

I believe all Linux HA programs that support the cm15 and/or cm19 use libusb-1.0.0-dev even HG uses this. My Plan originally was to install Mochad for HA-Bridge but that is not required with HG (thanks petera for pointing that out)

I installed HA-Bridge and now have it talking with HG. I've not ported over my Bridge setup from my PC yet but I may just edit the calls on the PC so they send the info to my Pi for now as this setup is to go to my off grid place.
I mounted my Pi case to the CM15 with Velcro and have a white case in route to replace the black one which I hope will look nicer. If not I could paint the CM15 black. rofl
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on April 28, 2018, 03:08:25 PM
Although I was able to get Domoticz running on stretch via the beta image, I could not get Mochad to install.  It appears that there is an issue with a different library that is necessary to compile and is not compatible with stretch for some reason.  I've read that the RPi3 is compatible with Jessie and all these libraries are valid on Jessie too.  So, I'm giving it one last test to see if that will be usable.

From reading a few forum posts on the Domoticz forum, it does sound as though the issue is that they hard linked libraries rather than allowing for updates.  Seems like a dumb mistake that needs a fix!
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave on April 29, 2018, 02:07:54 AM
...... ..I mounted my Pi case to the CM15 with Velcro and have a white case in route to replace the black one which I hope will look nicer. If not I could paint the CM15 black. rofl

It looks great! You've made real progress.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 29, 2018, 10:57:09 AM
Thanks Dave,
To bad the 3B+ wouldn't have fit in the CM15A case like the Zero W does.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on April 29, 2018, 09:17:05 PM
FWIW, I do have Domoticz running on the RPi3 on Jessie with Mochad communicating with a CM15A.  I have not played with it much, but it seems to function.  I was looking at the scripting language and it appears to use Lua as the native code.  I don't know Lua and it doesn't seem to follow the same conventions I'm familiar with.  I haven't decided if I will stick with HG 526 or move to Domoticz yet.  If Domoticz is stuck with an old library that's hard coded it may mean that the devs aren't on top of things and I'm no better off than with HG.   :o
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 29, 2018, 10:30:13 PM
FWIW, I do have Domoticz running on the RPi3 on Jessie with Mochad communicating with a CM15A.  I have not played with it much, but it seems to function.  I was looking at the scripting language and it appears to use Lua as the native code.  I don't know Lua and it doesn't seem to follow the same conventions I'm familiar with.  I haven't decided if I will stick with HG 526 or move to Domoticz yet.  If Domoticz is stuck with an old library that's hard coded it may mean that the devs aren't on top of things and I'm no better off than with HG.   :o

I've used Lua on Vera. Not the most comfortable environment to work in. Quite a lot of varied plugins already available in Domoticz but not sure about it either and its definitely not for the novice.

If Homegenie v526 is working for you I'd stick with it until you're forced to move on. Just a shame the forum is not what it used to be. I think the current format of the forum they are using has a lot to do with that.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 29, 2018, 11:22:27 PM
Any one tried Fhem?
It looks like it is updated regularly and supports X10 but not sure if it supports the Cm15 specificaly.
Most of the info is in German but it may be worth testing if someone hasn't found something they're comfy with yet.
It does have a phone app as well it looks like.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 30, 2018, 01:26:42 AM
Any one tried Fhem?
It looks like it is updated regularly and supports X10 but not sure if it supports the Cm15 specificaly.
Most of the info is in German but it may be worth testing if someone hasn't found something they're comfy with yet.
It does have a phone app as well it looks like.

There's a lot of alternatives out there for X10 but you've got to be comfortable adapting to different working environments. I think for simplicity Homegenie is your best option and should have the easier learning curve.

Now that you have a working setup you can share your experiences with others on this forum and maybe they too can attempt to migrate their X10 setup to it. Once you dig in deeper you will see how powerful and flexible the software is. Who knows you could become one of the contributing developers for it. :)%
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 30, 2018, 01:38:53 AM
I'm actually happy with my setup but I wish to learn what others have tried.
I setup a thread on my forum where users can post & vote for what they're using.
http://forums.tuicemen.net/index.php?topic=1290.0
I doubt I'll be contributing much to HG code, as you stated the forked version is broken, and even the guy that forked it isn't recommending it. ::) :'
I'm getting to old to attempt to learn a new programing language at least to be able to be of any help.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on April 30, 2018, 02:43:11 PM
I thought that Bounz (the new fork main dev) was saying it was only working for Windows at this time.  If you are using it for other environments, it would not necessarily work.  If you use Windows, I think he's good with it being considered working.

I like HG now that I've got my code working.  I'm not ecstatic about a few things in the code, but I've learned to live with them.  That's going to be the case for any solution that doesn't get coded by the actual user though.  I wasn't a huge fan of C# when I started with HG, but it's very logical and follows the same syntax as all C code for the most part.  Lua feels foreign to me even though I have a lot of coding experience (beginner to novice level) in different languages.  Heck, I find Scheme more logical than Lua and Scheme is pretty terrible!

I'm not going to code really complex things with Blocky or any other visual programming language (e.g., my advanced smart lights code).  As a result, if I were to switch to Domoticz I'd have to learn Lua which I have a negative feeling towards at the moment.  That's likely going to kill Domoticz for me even though it looks really promising.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 30, 2018, 06:27:07 PM
I thought that Bounz (the new fork main dev) was saying it was only working for Windows at this time.  If you are using it for other environments, it would not necessarily work.  If you use Windows, I think he's good with it being considered working.

I like HG now that I've got my code working.  I'm not ecstatic about a few things in the code, but I've learned to live with them.  That's going to be the case for any solution that doesn't get coded by the actual user though.  I wasn't a huge fan of C# when I started with HG, but it's very logical and follows the same syntax as all C code for the most part.  Lua feels foreign to me even though I have a lot of coding experience (beginner to novice level) in different languages.  Heck, I find Scheme more logical than Lua and Scheme is pretty terrible!

I'm not going to code really complex things with Blocky or any other visual programming language (e.g., my advanced smart lights code).  As a result, if I were to switch to Domoticz I'd have to learn Lua which I have a negative feeling towards at the moment.  That's likely going to kill Domoticz for me even though it looks really promising.

While you're in experimenting mode you might want to try this https://www.home-assistant.io/getting-started/

Looks interesting on the Raspberry Pi. I got it installed but havent had the time to try it.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 30, 2018, 06:40:41 PM
I had thought about giving Home Assistant a test run but the USB interfaces aren't supported
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 30, 2018, 07:10:27 PM
I had thought about giving Home Assistant a test run but the USB interfaces aren't supported

I think I used this to get X10 working in Hassbian https://www.home-assistant.io/components/light.x10/
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 30, 2018, 07:20:07 PM
I finished up my Pi Zero W, CM15 mod today.
I posted a walk through on my forum.
http://forums.tuicemen.net/index.php?topic=1291.msg7947#msg7947
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 30, 2018, 07:20:22 PM
You could have a look at this too https://community.home-assistant.io/t/rfxtrx-and-x10-configuration/4014
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 30, 2018, 07:23:30 PM
I finished up my Pi Zero W, CM15 mod today.
I posted a walk through on my forum.
http://forums.tuicemen.net/index.php?topic=1291.msg7947#msg7947

Very neat and compact. How are you connecting to your router.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 30, 2018, 07:24:38 PM
The Pi connects via wi-fi
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on April 30, 2018, 08:03:05 PM
The Pi connects via wi-fi

Are you noticing any unwanted interference with the Pi Zero located so close to the CM15's electronics. How far from the router can you place it without loosing signal. I wonder if the CM15's antenna will cause any issues.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 30, 2018, 08:59:06 PM
I've not notice any issues as yet but it has just been put into operation.
The 3B+ setup is very simular just not in th same case. I set the 3 B+ to use 2 ghz as a test but i can use 5 ghz or Eithernet with it. It has not given me a issue with RF even security sensors at the other end of the house are seen with HG. I suspect the Zero W to perform the same but time will tell. Distance form router is about 20 feet through  acouple walls and acouple floors as router is in the basement.
.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on April 30, 2018, 10:33:42 PM
Since my hardware setup uses a CM15 with a modified antenna in the attic for RF, I pretty much have to utilize that or move to a different setup/hardware.  It looks like HA can connect with X10 only through the CM11 and CM17.  That link looked to me as though the HASS was communicating through RFXTRX device to the CM17 or CM11 via RF.  Maybe I'm wrong though as there was a lot of technical stuff I didn't read in the post.  They also suggested at one point using HeyU to connect the two...sheesh, talk about complicated!
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on April 30, 2018, 10:37:24 PM
HG is about the simplest I've found to get setup with Stretch.
4 lines to type into PuTTY and it is installed.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on May 01, 2018, 12:13:05 AM
HG is about the simplest I've found to get setup with Stretch.
4 lines to type into PuTTY and it is installed.

It practically a cut and paste exercise into Putty. Ideal for someone starting out on the Raspberry Pi/Linux adventure. Even better that it was coded for WINDOWS so it will definitely be of benefit to the Windows user. Once you're in the browser you'll not know the difference anyway.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on May 01, 2018, 01:10:22 AM
Yep, 4 lines to cut and paste and your set.
Open your browser to the HG web page and setup is about as easy as AHP to set basic modules.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave on May 03, 2018, 01:22:57 PM
Maybe.... you might want to consider taking the fast, easy, sure-fire, quality way to go...... https://shop.homeseer.com/products/homeseer-hs3-pi-3-home-automation-software-for-the-raspberry-pi-3?utm_campaign=Reminder%3A+50%25+Off+Smart+Home+Software+%7C+Black+May+Begins+%28HjuYRG%29&utm_medium=email&_ke=ZGF2ZWxhbnRob3JuQHlhaG9vLmNvbQ%3D%3D&utm_source=Opened+Last+Campaign+But+Didn%27t+Buy+Anything (https://shop.homeseer.com/products/homeseer-hs3-pi-3-home-automation-software-for-the-raspberry-pi-3?utm_campaign=Reminder%3A+50%25+Off+Smart+Home+Software+%7C+Black+May+Begins+%28HjuYRG%29&utm_medium=email&_ke=ZGF2ZWxhbnRob3JuQHlhaG9vLmNvbQ%3D%3D&utm_source=Opened+Last+Campaign+But+Didn%27t+Buy+Anything)
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: bkenobi on May 03, 2018, 02:49:42 PM
$75 is certainly cheaper than what it was when I first looked (~$300 from memory).  I looked at it a few years ago and it seemed pretty capable.  But there was no trial version and I wasn't going to spend $300 to test it out.  HG works well as is and I'm pretty happy with it.  If development was still going, I would still consider it a very viable option.  As is, new technology or OS changes makes it an endangered species.

The only thing about the price is that it gets you HS3.  If they update to HS4 at some point, you won't have a license for that.  Maybe that's not a concern.   :'
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: Tuicemen on May 03, 2018, 02:53:34 PM
There is a trial version of it available which may be worth a look at.
https://shop.homeseer.com/collections/home-control-software/products/hs3-pi-trial
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on May 03, 2018, 04:24:09 PM
There is a trial version of it available which may be worth a look at.
https://shop.homeseer.com/collections/home-control-software/products/hs3-pi-trial

As a Homeseer 3 user of two or more years, yes it certainly is a polished product but it does come with it's own difficulties and it relies heavily on additional PAID plugins to get the best out of it.

I wouldn't consider anything less than HS3 Pro however which will gladly run on Linux or Windows and performs very nicely on the Raspberry Pi if you don't push it too hard. The rest of the available controllers are just variation on their flagship product and you could source that hardware a lot cheaper and build your own controller using HS3 Pro.

I love Tuicemens approach at the moment building his own solution and finding a suitable platform to run it on. I believe Homegenie will rise from the ashes again but in the meantime it's v526 is still quite solid and very adaptable and customisable and of course it's FOC. :)%
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: docbell on May 03, 2018, 06:51:02 PM
Yes, FOC = free of charge, but I did a double-take because back in my days of doing systems work for DoD it stood for "full operational capability." Not quite, but getting there.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on May 03, 2018, 07:55:45 PM
Yes, FOC = free of charge, but I did a double-take because back in my days of doing systems work for DoD it stood for "full operational capability." Not quite, but getting there.

Yup FOC= Free of Charge in this instance but the author does encourage donations. In fairness it does pretty much have full operational capability too. A double entendre one might say  >!
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: HA Dave on May 03, 2018, 09:12:03 PM
...........The only thing about the price is that it gets you HS3.  If they update to HS4 at some point, you won't have a license for that.  Maybe that's not a concern.   :' 

HS regularly updates. So it really isn't like customers don't get updated versions. And they do offer discounts via their email sales. Of course.... HS isn't free. There really are no free lunches.

It.... understandably... can be very gratifying to code your own actions and such. That has always been a draw to the Linux part of computers. 

But HS can put a mini little computer to work controlling Home Automation.... at a reasonability affordable price. 
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: racerfern on May 04, 2018, 12:41:53 PM
Quote
If they update to HS4 at some point, you won't have a license for that.

There are still many people running HS2 and have no "need" for HS3. Unless there's something significantly new other than a nicer interface, it wouldn't make much sense to upgrade HS. But they do have upgrade pricing available to registered users.

I tried HS3 full version on the Pi and it struggled beyond five or six plugins. That's the reason the HS3 version that comes with the ZeeTroller is limited to five plug-ins.
Title: Re: How I control X10 modules on Linux... (including Raspberry Pi)
Post by: petera on May 04, 2018, 06:59:23 PM
Quote
If they update to HS4 at some point, you won't have a license for that.

There are still many people running HS2 and have no "need" for HS3. Unless there's something significantly new other than a nicer interface, it wouldn't make much sense to upgrade HS. But they do have upgrade pricing available to registered users.

I tried HS3 full version on the Pi and it struggled beyond five or six plugins. That's the reason the HS3 version that comes with the ZeeTroller is limited to five plug-ins.

Possibly but I haven't experienced that issue with HS3 Pro on the Raspberry Pi 3 running on Raspbian Stretch under Mono 5.10. ZeeTroller is many releases behind the current version of Raspbian which causes problems for plugin maintainers trying to keep up with .Net Framework development and ensuring its running to tha latest version of Mono. Plus the fact a lot of the plugins don't work in Linux.