X10 Community Forum

📱🖥️PiX10Hub => 💬General Discussion => Topic started by: Tuicemen on February 05, 2019, 06:15:50 PM

Title: The PiX10Hub Just keeps getting better!
Post by: Tuicemen on February 05, 2019, 06:15:50 PM
Well maybe subject should read HomeGenie just keeps getting better. ::) :'
The latest update (1.2-stable.37) fixes many HG Security system issues and adds the HG Echo Bridge so updates don't require a reinstall.
I spent a day creating a macro to reload the HG security system as Armed if it was armed prior to a system reboot or HomeGenie service restart only to have this version render that obsolete B:( But that's a good thing! :)%
Gene is on top of requests and issues reported in the HG GitHub issues threads! :)%
I may be early in posting my pleasure with this build but I'm excited even more with HG and Gene's work now!
Gene really deserves more then a simple donation for his work on this. Thanks Gene(HomeGenie)! #:)
 >!
Title: Re: The PiX10Hub Just keeps getting better!
Post by: mike on February 18, 2019, 11:45:55 AM
Not sure if this is where to comment or not;  if not, please move to proper thread if of any value?

I have been using this basic X10user image now for months.  It has been running months with no crashes, doing as it is supposed to do.

I too upgraded to the latest 1.2-stable.37 build - it is so simple to do.  It is built in the HG program.  Just click and let it update.  Worked fine.

Yes, it improved the DS10 security module status reports and previously for me names for each that would randomly go away. 

I just last week finally believe this is stable enough and powerful enough to have shut off my main cm15/AHP running fully programmed unit.  I now have each timer and macro duplicated in HG instead and it is sweet.  The only thing missing for me is the F2 Activity monitor;  I will probably be clearing memory in my original cm15/AHP and bring it back on line without transceive active, just so I have a running full time F2 activity monitor.  Other than that, I am committed to replacing AHP with HG.
Title: Re: The PiX10Hub Just keeps getting better!
Post by: Tuicemen on February 18, 2019, 12:03:38 PM
Not sure if this is where to comment or not;  if not, please move to proper thread if of any value?
As good a place as any! ;)
It is possible to do a real time monitor with a putty session open. This requires you to stop HG service then navigate to usr/local/bin/homegenie and type sudo mono HomeGenie.exe
 I suppose a script to do this could be created to simplify things as most users wouldn't want to do this unless an issue developed.
Title: Re: The PiX10Hub Just keeps getting better!
Post by: mike on February 18, 2019, 03:10:53 PM
HAHA!  You did it to me again!  I thought, this sounds cool, so I tried the putty mono thing.  Didn't get far but spent 30 minutes trying!  Found how to kill HG with ps -eaf, get PID number of HG, then Kill PID.  searched internet for mono linux, learned it is a little program, so I must have it, so searched my SD card for the word mono and found it in a couple weird spots (no mono directory under anything), not where you showed.  But tried to restart HG with your mono command; of course that did not work, no such program as mono.  haha.  so tried wherre my homegenie directory is (/home/pi/homegenie) but no such program as mono to run...  Gave up and sudo poweroff, waited, cycled power and got it all back running.  Enough fun for one day! 

Instead, I am going to begin researching how HG can send an email and see about adding sending an email anytime a security module says tamper (open).  After getting that to work, make it a program (macro) to only send the email if ARM is on...   
Title: Re: The PiX10Hub Just keeps getting better!
Post by: bkenobi on February 18, 2019, 04:01:08 PM
I have an activity monitor script that you could use as well.
Title: Re: The PiX10Hub Just keeps getting better!
Post by: Tuicemen on February 18, 2019, 04:19:39 PM
Mike your running an early beta PiX10Hub image.
HomeGenie should be located in the folder usr/local/bin/homegenie if running the release version
Since you have it else where you run sudo mono HomeGenie.exe from that folder
to stop HG type sudo systemctl stop homegenie.service

I have an activity monitor script that you could use as well.
Maybe you could post it when you locate it I'm sure others would find it useful.
 ;)
Title: Re: The PiX10Hub Just keeps getting better!
Post by: mike on February 18, 2019, 07:30:48 PM
I have an activity monitor script that you could use as well.

Thanks.  I just looked at it.  Not sure yet where or how to run a script yet so will bookmark it for when I learn.  Thank you!
Title: Re: The PiX10Hub Just keeps getting better!
Post by: mike on February 18, 2019, 07:34:09 PM
Mike your running an early beta PiX10Hub image.
HomeGenie should be located in the folder usr/local/bin/homegenie if running the release version
Since you have it else where you run sudo mono HomeGenie.exe from that folder
to stop HG type sudo systemctl stop homegenie.service

I have an activity monitor script that you could use as well.
Maybe you could post it when you locate it I'm sure others would find it useful.
 ;)

Thanks.  I believe I did that when I found the PID of homegenie running then killed it.  I then went to /home/pi/homegenie (where my program is) and entered sudo mono homegenie.exe      it still complained that it did not know what mono was.

bkenobi DID show his script location at bottom his post:  his github site has it available.
Title: Re: The PiX10Hub Just keeps getting better!
Post by: mike on February 18, 2019, 07:52:24 PM
....
Instead, I am going to begin researching how HG can send an email and see about adding sending an email anytime a security module says tamper (open).  After getting that to work, make it a program (macro) to only send the email if ARM is on...

Wow, the info out n the web!   A complete how to do what i want is here:

https://www.youtube.com/watch?v=aQLze9mWkYQ

This addition will be my next HG project...
Title: Alex & the PiX10Hub, Just keeps getting better!
Post by: Tuicemen on February 04, 2020, 08:49:07 AM
Some users here have started to post new scripts(macros), programs and widgets :)% I love that!
So here is a bit of a tip to improve Alexa X10 integration:
About a week or two ago Alexa gave me the response "Sorry (device name) isn't responding" even thought the module went on, which I would always get after repowering my Pi. So for some reason mostly as a Joke (because my wife was in the room) I said back to Alexa "yes it did" to which she said "Oh OK!" we both got a laugh out of that. So I kept it up any time I got that  isn't responding  response.( I got that a lot when building and testing the PiX10Hub image)
The last few times I repowered my pi I never got the "Sorry (device name) isn't responding" response from Alexa with the first command or any command lately. 8)
So it seems by telling Alexa the device indeed did go on or off that Alexa has learned not to expect a confirmation for my x10 commands. :)%
I'd be interested if anyone else has tried this and their results. Am I just lucky with this? ::) :'
 >!