The Pi Alexa X10 Hub

Started by Tuicemen, August 27, 2018, 07:14:42 AM

Previous topic - Next topic

Would you be interested in such a thing?

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

Total Members Voted: 8

alzy

Your directions for Setting up Mochad to call X10 devices in HA-Bridge say:

assuming you have the script file called X10cmd and its in the ha-bridge folder
1- on command is: ./x10cmd pl a1 on
2- off the command is: ./x10cmd pl a1 off
3- AllLightsOn is ./x10cmd pl a all_lights_on
4- AllLightsOff is: ./x10cmd pl a all_lights_off
5- One step Dim is: ./x10cmd pl a1 dim
« Last Edit: August 24, 2018, 01:08:27 PM by Tuicemen »

Since "x10cmd rf e3 on" and "x10cmd rf e3 off" work, I tried "x10cmd rf e3 dim" for Dim Item but Pi crashes and I have to reboot.

Tuicemen

Quote from: alzy on January 05, 2019, 06:50:00 PM
Your directions for Setting up Mochad to call X10 devices in HA-Bridge say:

assuming you have the script file called X10cmd and its in the ha-bridge folder
1- on command is: ./x10cmd pl a1 on
2- off the command is: ./x10cmd pl a1 off
3- AllLightsOn is ./x10cmd pl a all_lights_on
4- AllLightsOff is: ./x10cmd pl a all_lights_off
5- One step Dim is: ./x10cmd pl a1 dim
« Last Edit: August 24, 2018, 01:08:27 PM by Tuicemen »

Since "x10cmd rf e3 on" and "x10cmd rf e3 off" work, I tried "x10cmd rf e3 dim" for Dim Item but Pi crashes and I have to reboot.
that's why I said refer to the Mochad readme what you are running is a beta image.
Please Read Topic:
General Forum Etiquette
Before you post!

alzy

Oh! Sorry. I am running headless so i don't know how to access the Readme. What's the ssh command?

Tuicemen

Please Read Topic:
General Forum Etiquette
Before you post!

alzy

Readme file says that the command I used was correct. But it crashed the Pi when executed from the bridge gui.
Any thoughts? Thanks! B:(

Tuicemen

Quote from: alzy on January 06, 2019, 08:02:32 AM
Readme file says that the command I used was correct. But it crashed the Pi when executed from the bridge gui.
Any thoughts? Thanks! B:(
Don't use the dim commands?
Seriously, you could look at other versions on mochad. I'm not sure now what version I had used for initial testing but an older version may be a better option for you.
>!
Please Read Topic:
General Forum Etiquette
Before you post!

petera

Quote from: alzy on January 06, 2019, 08:02:32 AM
Readme file says that the command I used was correct. But it crashed the Pi when executed from the bridge gui.
Any thoughts? Thanks! B:(

Bjonica's version from this link works with all the relevant X10 commands using CM19. Just read up on the release notes and follow instructions https://github.com/bjonica/mochad

alzy


alzy

Thanks, but that is the same info as in the readme with the same command reference.

petera

Quote from: alzy on January 06, 2019, 08:53:50 AM
Thanks, but that is the same info as in the readme with the same command reference.

Well that version works with all the X10 commands using a CM19

alzy

Well it doesn't seem to work in this configuration. If I trigger a dim command from the bridge it crashes the Pi. B:(

brobin

I think the point is that the version of mochad in the image should be replaced with the earlier version of mochad to be able to use the dim commands. That means replacing mochad in the image you have.

alzy

I am confused. The readme file on the Pi says it should work. Is that readme file not the info for the installed version? Thanks.

brobin

It appears the dim command function was broken in the version on the image.  Reverting to the image recommended by petera reportedly works.  Your next question (as would be mine) is probably, "OK, how do I do that?" 

Tuicemen

Quote from: alzy on January 06, 2019, 10:11:26 AM
I am confused. The readme file on the Pi says it should work. Is that readme file not the info for the installed version? Thanks.
the image Brobin supplied was the Raspbian Stretch Full which I believe he ran the initial script on.
the full Stretch image includes many unneeded applications all of which are newer then mochad. Any one of these could be the issue.

It is possible to remove many unneeded applications and disable the Desktop ( which if you haven't done is still using resources)

I started a new poll for this on my forum with a 10 day time limit even thought this is of no use to me I'll look at a recreation given 10 positive poll submissions on my forum.
Please Read Topic:
General Forum Etiquette
Before you post!

SMF spam blocked by CleanTalk