Please login or register.

Login with username, password and session length
Pages: 1 [2]

Author Topic: Launching Mochad in Raspbian Jessie/Stretch-Need some help please  (Read 15032 times)

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: Launching Mochad in Raspbian Jessie/Stretch-Need some help please
« Reply #15 on: August 21, 2018, 12:41:17 PM »

I attempted to install this on my Pi 3b+ prior to a HA install first I installed mochad-0.1.16 as that's what the latest link pointed to B:(
once I finaly figured out the install sequence I couldn't get my CM15 to response so then I found and download and installed mochad-0.1.17 this still didn't work did a update... usual stuff still nothing in response to a test command.
checking the USB I discovered it was unplugged from the PI (not sure how or when that happened B:( tried again and still no response I figure I messed things up with two different versions of Mochad installed so Off to trying again with a fresh Debian install.
SO I have a few Questions
@petera
yYou stated there was a mochad-0.1.18 out there. do you have a download link for it?

For those that have Mochad working, Does the "mochad(version)" directory need to be renamed to just "mochad" or can the folder be left to what the tgz makes? I never tried this.
When you send the test command dose it matter from where?
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

lviper

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 10
  • Posts: 294
Re: Launching Mochad in Raspbian Jessie/Stretch-Need some help please
« Reply #16 on: August 21, 2018, 01:11:33 PM »

I believe 17 is the latest version. It's what I used when I gave it a try. Here is a link to a site that I used to install it.
https://www.sigmdel.ca/michel/ha/x10/domoticz_install_04_en.html
and here is the project.
https://sourceforge.net/projects/mochad/
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: Launching Mochad in Raspbian Jessie/Stretch-Need some help please
« Reply #17 on: August 21, 2018, 01:22:55 PM »

Thanks lviper 17 was the latest I could find as well the instuctions are different from what I had found here http://x10linux.blogspot.com/2012/08/installing-mochad-on-raspberry-pi.html?m=1
This may have been my issue, as I never made a mochad folder to contain the mochad-10.1.17 folder.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: Launching Mochad in Raspbian Jessie/Stretch-Need some help please
« Reply #18 on: August 21, 2018, 02:06:58 PM »

 :)% Success!
 not sure if the mochad  folder was the issue or my screw up else where but the link to the setup you supplied lviper worked.
I'll have to make a script to simplify this for the next time.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

lviper

  • PI Expert
  • Hero Member
  • ******
  • Helpful Post Rating: 10
  • Posts: 294
Re: Launching Mochad in Raspbian Jessie/Stretch-Need some help please
« Reply #19 on: August 21, 2018, 02:19:45 PM »

:)% Success!
 not sure if the mochad  folder was the issue or my screw up else where but the link to the setup you supplied lviper worked.
I'll have to make a script to simplify this for the next time.
 >!

Glad it worked for you. As you may know, mochad will see your security sensors. But as far as I can tell, the only way to act on them is by using mochad_dispatch and MQTT. I'm not sure where you are going with this, or if you are familuar with MQTT, but here is the link. I didn't go that far with it because I quickly figured out it wouldn't do what I wanted.

https://github.com/ChrisArgyle/mochad_dispatch
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: Launching Mochad in Raspbian Jessie/Stretch-Need some help please
« Reply #20 on: August 21, 2018, 02:27:53 PM »

Thanks I already use HomeGenie for seeing my Security sensors and it coupled with HA-Bridge and a Broadlink to send them.
Mochad was so I could look at other Pi Homea Automation options of which about 90% require it. ::) :'
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

docbell

  • Jr. Member
  • **
  • Helpful Post Rating: 1
  • Posts: 20
Re: Launching Mochad in Raspbian Jessie/Stretch-Need some help please
« Reply #21 on: August 21, 2018, 02:37:26 PM »

:)% Success!
 not sure if the mochad  folder was the issue or my screw up else where but the link to the setup you supplied lviper worked.
I'll have to make a script to simplify this for the next time.
 >!

Glad you have it working. One thing you might add to the recipes you are using is:

Code: [Select]
sudo systemctl enable mochad.service
This tells systemd to start mochad at boot time and restart it if it fails. The rest of your software (e.g., HomeGenie) may take care of this for you, but it can't hurt.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: Launching Mochad in Raspbian Jessie/Stretch-Need some help please
« Reply #22 on: August 21, 2018, 02:43:54 PM »

thank docbell,
HomeGenie doesn't use Mochad, near as I can tell it accesses the libusb file directly.
However if I do decide to move to another software option (which I doubt) I'll keep this in mind.
Currently my only reason for installing this is to experiment with using a spare SD card.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!
Pages: 1 [2]
 

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