HomeGenie Forum

General Category => Stories => Topic started by: KaZe on August 12, 2015, 10:29:15 AM

Title: Jarvis Mark II + Homegenie
Post by: KaZe on August 12, 2015, 10:29:15 AM
https://www.youtube.com/watch?v=XeDQ-Wes-Mc&feature=youtu.be (https://www.youtube.com/watch?v=XeDQ-Wes-Mc&feature=youtu.be)
Title: Re: Jarvis Mark II + Homegenie
Post by: jshan on August 12, 2015, 06:45:20 PM
Excellent!
Title: Re: Jarvis Mark II + Homegenie
Post by: Gene on August 13, 2015, 01:21:42 AM
cool bananas!
Title: Re: Jarvis Mark II + Homegenie
Post by: jon on November 03, 2015, 12:34:07 AM

Hi, Kaze

 I really like your video. It is awesome . Please explain how to accomplish it.
Thanks,
Jon
Title: Re: Jarvis Mark II + Homegenie
Post by: KaZe on November 03, 2015, 10:00:54 AM
Hi!

You need installation:
1. HomeGenie (Win or Linux)
2. Jarvis Mark II (Win)
3. Wget (Where Jarvis is)

To control HG with Jarvis, you must create a control files. I attached the example. (more details: http://genielabs.github.io/HomeGenie/api/mig/overview.html (http://genielabs.github.io/HomeGenie/api/mig/overview.html) ) Then you must config Jarvis shell commands, which run the wget commands.
Title: Re: Jarvis Mark II + Homegenie
Post by: jon on November 03, 2015, 12:46:51 PM

Hi Kaze.
 
Is wget a component that I have to install on windows?
Jon
Title: Re: Jarvis Mark II + Homegenie
Post by: KaZe on November 03, 2015, 12:52:18 PM
Hi!

This is, what you need: http://gnuwin32.sourceforge.net/packages/wget.htm (http://gnuwin32.sourceforge.net/packages/wget.htm)
Title: Re: Jarvis Mark II + Homegenie
Post by: jon on November 03, 2015, 01:55:08 PM
Hi

Kaze. Complete setup file is what  need to download?
Jon
Title: Re: Jarvis Mark II + Homegenie
Post by: KaZe on November 03, 2015, 01:56:25 PM
Hi

Kaze. Complete setup is what  need to download?
Jon
Yes.
Title: Re: Jarvis Mark II + Homegenie
Post by: jon on November 03, 2015, 02:00:40 PM
Kaze
Thanks, as the moment my windows machine is not good once I repair it if any question I will ask you.
Appreciate your help.
Jon
Title: Re: Jarvis Mark II + Homegenie
Post by: jshan on November 03, 2015, 04:24:42 PM
KaZe, I was inspired by your Jarvis/HG implementation.  I wanted to set up something similar on my Android devices.  I used Utter! which allows one to create voice commands which can then execute a shortcut.  I used HTTP Shortcuts to create the shortcuts.  The shortcuts can be configured to run whatever HTTP get requests you define.  So I created a bunch of shortcuts  to control HG.  So, for example, I created a  shortcut to turn the alarm system on.  Then I used Utter! to respond to my voice command "turn the alarm system on".  With HTTP Shortcuts, you have the option of putting any/all of the shortcuts on the homescreen which was a bonus as I could then have a "quiet" way of executing the commands - just press on the shortcut.  This info might be useful to Android users if they're looking for a simple way to use voice commands to control HG.
Title: Re: Jarvis Mark II + Homegenie
Post by: KaZe on November 03, 2015, 05:38:26 PM
I think the best way to control HG from android device with voice command is a Google now always listening function and autovoice + tasker combination.
Title: Re: Jarvis Mark II + Homegenie
Post by: jon on November 03, 2015, 09:31:50 PM
Kaze
I know there is a vera pluggin for tasker. Does homegenie not need any plugging to be used with tasker+autovoice?

Jon
Title: Re: Jarvis Mark II + Homegenie
Post by: KaZe on November 03, 2015, 09:38:07 PM
You only need a tasker url launcher plugin.It does the same thing as a wget. You can send a http get commands  ;)
Title: Re: Jarvis Mark II + Homegenie
Post by: jon on November 04, 2015, 09:57:55 AM
Kaze
I just download autovoice, tasker and tasker url luncher.created some profile. But could not accomplish anything. can you explain give a little help.
Jon
Title: Re: Jarvis Mark II + Homegenie
Post by: KaZe on November 04, 2015, 10:07:25 AM
This tutorials help you:

Google now always listening: http://www.tomsguide.com/us/google-now-always-on-android,news-20492.html (http://www.tomsguide.com/us/google-now-always-on-android,news-20492.html)
Autovoice + tasker: https://www.youtube.com/watch?v=oQmQ-e5na58 (https://www.youtube.com/watch?v=oQmQ-e5na58)
Title: Re: Jarvis Mark II + Homegenie
Post by: KaZe on November 04, 2015, 10:13:49 AM
And this is HTTP Get Action example:
Title: Re: Jarvis Mark II + Homegenie
Post by: jon on November 05, 2015, 01:20:53 AM
 Kaze
thanks,
did everything in tasker every parameter is green. But some how not success. So  simple but frustrating in not getting the result expected.
Jon
Title: Re: Jarvis Mark II + Homegenie
Post by: jon on November 07, 2015, 03:13:27 AM

Hi kaze, Gene
I hope you don't mind. But I must be doing something wrong. This is what I am doing as per my interpretation.
User:password@server === admin:[email protected]
Path === HomeAutomation.NetwokRelays/1/Control.On.
thanks,
JON
Title: Re: Jarvis Mark II + Homegenie
Post by: dani on November 07, 2015, 05:03:46 AM
I think must add api/ in the front of Path
Title: Re: Jarvis Mark II + Homegenie
Post by: jon on November 07, 2015, 07:21:34 AM

dani,
Thanks for your help. I placed the api/  and not work.
JON
Title: Re: Jarvis Mark II + Homegenie
Post by: KaZe on November 07, 2015, 09:38:55 AM

dani,
Thanks for your help. I placed the api/  and not work.
JON

Hi

The full path is this:
/api/HomeAutomation.NetworkRelays/1/Control.On
Title: Re: Jarvis Mark II + Homegenie
Post by: KaZe on November 07, 2015, 09:44:18 AM
But this is my network relay board module path.
You must change the path to your device module path.
Title: Re: Jarvis Mark II + Homegenie
Post by: KaZe on November 07, 2015, 10:21:54 AM
The simple way is, you find your modul is configure/maintenance/Configuration and Data/Module cleanup.

Example:

I attach the pic. You can see the module path. So, if i'd like control on the virtual switch 1, this is the path:

http://serveraddress:port/api/HomeAutomation.VirtualSwitches/1/Control.On (http://serveraddress:port/api/HomeAutomation.VirtualSwitches/1/Control.On)

you can try it with your browser. So if your path is work on browser, you can use it with tasker too.

Title: Re: Jarvis Mark II + Homegenie
Post by: jon on November 08, 2015, 01:19:07 AM

Hi, Kaze, dani.

Awesome!!!  It works.
Thanks guys for your help. Kaze next will be jarvis mark ll.
Jon
Title: Re: Jarvis Mark II + Homegenie
Post by: jon on December 26, 2015, 03:02:10 AM
Hi Kaze and all
  Just to say that I was able to set up Jarvis mark 2 and it works wonderfully. Thanks Kaze for your help.
Jon