www.homeseer.com    
 

Go Back   HomeSeer Message Board > HomeSeer Products & Services > HomeSeer General Discussion Area

HomeSeer General Discussion Area General discussion about HomeSeer that does not fall into any other category or are not specific to 1.x or 2.x versions of HomeSeer.

Reply
 
Thread Tools Display Modes
  #1  
Old November 21st, 2011, 08:11 AM
Jakob.Sand's Avatar
Jakob.Sand Jakob.Sand is offline
Seer Deluxe
 
Join Date: Jan 2008
Location: Denmark, Karlebo
Posts: 469
Siri integration

Just for inspirration.
Look at this great video.
.
__________________
Best,
Jakob Sand, I automate everything!
Reply With Quote
  #2  
Old November 21st, 2011, 08:24 AM
reidfo's Avatar
reidfo reidfo is offline
Seer Master
 
Join Date: May 2006
Location: FL and TX
Posts: 1,204
It's a great hack. I saw the article and video this morning on Engadget. For those who are so inclined, here is a link to the source code.

https://github.com/plamoni/SiriProxy

I'm sure I'll be doing this real soon.
__________________
Gearhouse Club Member
HS Pro 3.0 | Linux Ubuntu 16.04 virtualized under Proxmox (KVM)
Hardware: Z-NET - W800 Serial - Digi PortServer TS/8 and TS/16 serial to Ethernet - Insteon PLM - RFXCOM - X10 Wireless
Plugins: HSTouch iOS and Android, RFXCOM, BLLock, BLDSC, BLRF, Insteon PLM (MNSandler), BeakerStat, Device History
Second home: Zee S2 with Z-Wave, CT100 Z-Wave Thermostat, Aeotec Z-Wave microswitches, HSM200 occupancy sensor, Ecolink Z-Wave door sensors, STI Driveway Monitor interfaced to Zee S2 GPIO pins.
Author of BeakerStat, the Radio Thermostat WiFi thermostat plugin for HS2.
Reply With Quote
  #3  
Old November 21st, 2011, 10:14 AM
AussieInSeattle AussieInSeattle is offline
Seer
 
Join Date: Jan 2004
Posts: 23
Interesting stuff (I was about to post the same link).

I'm pretty new to homeseer and am still trying to get my head around everything, but wouldnt it make more sense for something like the siri proxy to integrate with the speech part of Homeseer? So essentially whatever you speak into siri gets translated into text which gets passed to Homeseer Voice control and then the responses goes back through siri?

Not sure you'd be able to ingrate this into HSTouch as siri is more of an external client on the iPhone isnt it and you cannot integrate into apps?
Reply With Quote
  #4  
Old November 21st, 2011, 10:25 AM
drozwood90 drozwood90 is offline
OverSeer
 
Join Date: Sep 2005
Location: Western NY
Posts: 3,853
SIRI interface for WIFI thermostats...maybe HS is next?

http://www.engadget.com/2011/11/21/developer-creates-third-party-proxy-server-for-siri-controls-th/

A link sent to me by a coworker. Wow!

--Dan
__________________
Tasker, to a person who does Homeautomation...is like walking up to a Crack Treatment facility with a truck full of 3lb bags of crack. Then for each person that walks in and out smack them in the face with an open bag.
Reply With Quote
  #5  
Old November 21st, 2011, 10:32 AM
zimmer62's Avatar
zimmer62 zimmer62 is offline
Super Seer
 
Join Date: Jan 2002
Location: Lansing, MI, USA
Posts: 1,837
It looks like it's possible to mess around with this, but it's not a simple easy task...

Hopefully this becomes easier at some point. I don't want to monkey with my own DNS server right now, but I'm sure tempted.

If only I had more time in the day.
__________________
Joe (zimmer62)

BLSecurtiy, AC-RF2, RCS Serial Thermostats, RFXCOM SMarthome SwitchLinc, mcsXap, Global Cache GC100, SqueezeBox, TWA_ONKYOINTEGRA, BLLogMonitor, BLPlugins, BLRadar, BLSpeech, BLZLog.aspx, HSTouch (Windows, iPhone, iPod), USB Mimo touchscreens, VMWare Server, Vortexbox, Windows Home Server, MyMovies, Windows Media Center, X10, ZWave, and much much much more.
Reply With Quote
  #6  
Old November 21st, 2011, 05:41 PM
wpiman's Avatar
wpiman wpiman is offline
Seer Master
 
Join Date: Jun 2002
Location: Carlisle, MA
Posts: 911
Deleted
__________________
HS 2.5.0.21; Z-Seer 1.2 with ZStick (38 devices)
Operating System: Microsoft Windows XP Professional - Work Station;
Plug-Ins Enabled: ZWave Thermostats, HSTouch Server, TED, HSTouch Server Unlimited,
Media Player, HSTouch iPhone, CheaperRFID Plugin, AC RF Processor,
iTunes, WeatherPLUG

HSM100, HRDS1, Schlage Locks, WebController, WDT20, WGL..............

Second house....
2.4.0.72 Zstick
5 2Gig thermostats, Kwikset locks
Reply With Quote
  #7  
Old December 29th, 2011, 05:01 PM
zimmer62's Avatar
zimmer62 zimmer62 is offline
Super Seer
 
Join Date: Jan 2002
Location: Lansing, MI, USA
Posts: 1,837
setup Siri Proxy and messing around with that. It wasn't as hard as I thought.

See this other thread here:
http://board.homeseer.com/showthread...highlight=siri
Reply With Quote
  #8  
Old December 29th, 2011, 05:10 PM
damage damage is offline
Seer Deluxe
 
Join Date: Feb 2004
Posts: 162
there is work underway to build an xPL siri app http://goo.gl/S3HU1
Reply With Quote
  #9  
Old December 29th, 2011, 06:48 PM
zimmer62's Avatar
zimmer62 zimmer62 is offline
Super Seer
 
Join Date: Jan 2002
Location: Lansing, MI, USA
Posts: 1,837
cool, hopefully it can deal with two way information....
Reply With Quote
  #10  
Old December 30th, 2011, 03:13 AM
travisdh travisdh is offline
Super Seer
 
Join Date: Jan 2010
Location: Melbourne, Victoria, Australia
Posts: 1,644
Hi Guys,

I was wondering if Rupp, Rich or other Homeseer figures would be able to comment on SIRI, one of the suggestions that was made is that it would potentially be made open to app developers at a later date, so that iDevices could utilize SIRI, so for example say you have a YourTV app, you could ask SIRI "Whats on TV Tonight" and it would sent to the YourTV App, which would read out what is on the TV tonight.

If this were to become available to developers, would this be something you could potentially integrate into HSTOUCH. Then somehow HSTOUCH could control devices, or even better, you could create voice events which are transferred to hstouch on the device and since hstouch could potentially stay connected in the background, it could open up and do what was asked, so for example SIRI turn on the bedroom lights, and it would query HSTOUCH, turn on the bedroom lights and then say it had turned on the lights, all seamlessly.

Would this be something HST would be looking into should it become officially available to developers?
Reply With Quote
  #11  
Old December 30th, 2011, 08:29 PM
Krumpy's Avatar
Krumpy Krumpy is offline
Seer Master
 
Join Date: Apr 2001
Location: Minneapolis, MN
Posts: 1,082
Doubt that it will happen as I do not see them on the IOS camp.

They are more Android focused by their results.
Reply With Quote
  #12  
Old February 1st, 2013, 04:26 PM
mark_anderson_us mark_anderson_us is offline
Seer Master
 
Join Date: Jun 2010
Location: Chicago
Posts: 1,136
Hi Guys

Siri Integration is working

Full instructions and working downloads here (if you don't want to install from scratch yourself):

http://www.hometoys.com/emagazine/2013/02/siri-home-automation-integration-from-start-to-finish-brpart-1--the-basics-using-a-linux-vm/2087

Enjoy

Mark
__________________
________________________

Dell Zino HD - HSPRo 2.x
HSTouch - iPhone 3GS, 4S, iPad2 and iPad 3, 3xKindle Fire (Wall mounted)
2 x Brultech ECM1240 with UltraECM
USB UIRT
Cooper Aspire Z-Wave Switches
WGL800 w ACRF2 and 3xDS10a (Sump Level/Activity sensing)
HM ST812-2 Flood Sensor
HSM100 - Motion Detector with Light and Temperature
2GIG Thermostat
BLDSC - Alarm Plug-in
BLUPS
UltraLog (SQL2008)
Jon00 Plugins
Host XR3 BT and Jon00 BT Proximity
Global Cache IP2IR
Foscam FI8918W
Reply With Quote
  #13  
Old March 13th, 2013, 08:00 AM
tommyd75 tommyd75 is offline
Seer Plus
 
Join Date: Nov 2002
Location: chicago
Posts: 109
Show status of individual devices via SiriProxy??

Using these instructions I'm able to get status of individual devices.

https://github.com/espenhogbakk/siriproxy-homeseer


I'm able to see status of separate devices using for example this.
Just entering this into a browser "http://10.10.10.10/tenHsServer/tenHsServer.aspx?t=ab&f=GetDevice&d=K8"
which shows me text on a webpage like this.
"K8:Living room:Living Room Lights:Lamp Module w Status:0:LIGHTS:True:3:0::989::2/27/2013 3.00.00 AM;"

My question is do you know of a way to parse that info if all I want is a certain area like the part that says "True"
I'm trying to incorporate this into a SiriProxy plugin like this for example but i don't know how to get it to read that back.
Here's what I'm trying to do.

listen_for /What's the status of the living room light/i do
page = HTTParty.get('http://10.10.10.10/tenHsServer/tenHsServer.aspx?t=ab&f=GetDevice&d=K8').body rescue nil
reply = JSON.parse(page) rescue nil
say "The status of the living room light is currently #{reply["DON'T KNOW WHAT TO PUT HERE"]}"
Reply With Quote
  #14  
Old March 13th, 2013, 09:27 AM
mark_anderson_us mark_anderson_us is offline
Seer Master
 
Join Date: Jun 2010
Location: Chicago
Posts: 1,136
Quote:
Originally Posted by tommyd75 View Post
Using these instructions I'm able to get status of individual devices.

https://github.com/espenhogbakk/siriproxy-homeseer


I'm able to see status of separate devices using for example this.
Just entering this into a browser "http://10.10.10.10/tenHsServer/tenHsServer.aspx?t=ab&f=GetDevice&d=K8"
which shows me text on a webpage like this.
"K8:Living room:Living Room Lights:Lamp Module w Status:0:LIGHTS:True:3:0::989::2/27/2013 3.00.00 AM;"

My question is do you know of a way to parse that info if all I want is a certain area like the part that says "True"
I'm trying to incorporate this into a SiriProxy plugin like this for example but i don't know how to get it to read that back.
Here's what I'm trying to do.

listen_for /What's the status of the living room light/i do
page = HTTParty.get('http://10.10.10.10/tenHsServer/tenHsServer.aspx?t=ab&f=GetDevice&d=K8').body rescue nil
reply = JSON.parse(page) rescue nil
say "The status of the living room light is currently #{reply["DON'T KNOW WHAT TO PUT HERE"]}"
Download the Siri Wifi thermostat plug-in and take a look at that. It returns and speaks statuses
Reply With Quote
  #15  
Old March 23rd, 2013, 04:48 PM
tommyd75 tommyd75 is offline
Seer Plus
 
Join Date: Nov 2002
Location: chicago
Posts: 109
Using Siri to read back text from file.

Quote:
Originally Posted by tommyd75 View Post
Using these instructions I'm able to get status of individual devices.

https://github.com/espenhogbakk/siriproxy-homeseer


I'm able to see status of separate devices using for example this.
Just entering this into a browser "http://10.10.10.10/tenHsServer/tenHsServer.aspx?t=ab&f=GetDevice&d=K8"
which shows me text on a webpage like this.
"K8:Living room:Living Room Lights:Lamp Module w Status:0:LIGHTS:True:3:0::989::2/27/2013 3.00.00 AM;"

My question is do you know of a way to parse that info if all I want is a certain area like the part that says "True"
I'm trying to incorporate this into a SiriProxy plugin like this for example but i don't know how to get it to read that back.
Here's what I'm trying to do.

listen_for /What's the status of the living room light/i do
page = HTTParty.get('http://10.10.10.10/tenHsServer/tenHsServer.aspx?t=ab&f=GetDevice&d=K8').body rescue nil
reply = JSON.parse(page) rescue nil
say "The status of the living room light is currently #{reply["DON'T KNOW WHAT TO PUT HERE"]}"

Ok, I figured it out.......

Here's what works for me...


listen_for /what's the status of the alarm system/i do
begin
page = HTTParty.get('http://10.10.10.10/alarmstatus.txt').body rescue nil
say page
request_completed
end
end

I'm using a script to update the text file every time the status of the device changes.
In my case it is the alarm system.
So now using SiriProxy I can simply ask her "What's the status of the security system"
And she will read back what is in the text file.
Here's an example of my script.

sub main(sVal)
Dim fso,f1
Const OpenFileForReading = 1
Const OpenFileForWriting = 2



Path = "html/alarmstatus.txt"
Set fso = CreateObject("Scripting.FileSystemObject")
Set file = fso.OpenTextFile(path, 2,True)

file.WriteLine( "The security system is " & hs.devicestring("z99"))
file.Close
end sub
Reply With Quote
  #16  
Old March 23rd, 2013, 08:15 PM
jayman13 jayman13 is offline
Seer Master
 
Join Date: Jul 2011
Location: Chicago, IL
Posts: 895
Siri integration

Genius. Doesn't look like you even need tenHserver for that, right?
Reply With Quote
  #17  
Old March 23rd, 2013, 08:34 PM
tommyd75 tommyd75 is offline
Seer Plus
 
Join Date: Nov 2002
Location: chicago
Posts: 109
Quote:
Originally Posted by jayman13 View Post
Genius. Doesn't look like you even need tenHserver for that, right?
No you don't need tenHserver, only drawback is that you have to create a script and an event for each device you want to check.
I'm not going to have more than 10 devices I check on, so I'm ok with that.
More or less just using it to check on the security and some other devices I monitor.
Not using it to check the lighting status.
Reply With Quote
  #18  
Old March 23rd, 2013, 09:38 PM
jayman13 jayman13 is offline
Seer Master
 
Join Date: Jul 2011
Location: Chicago, IL
Posts: 895
Siri integration

Yeah, that's pretty cool. Not that using tenHserver is that big a deal. But this way you can check the thermostat status, security status, lock status, etc...without using a siriproxy plugin which I find are very buggy and tempermental...
Reply With Quote
  #19  
Old March 23rd, 2013, 10:45 PM
jayman13 jayman13 is offline
Seer Master
 
Join Date: Jul 2011
Location: Chicago, IL
Posts: 895
On this line "page = HTTParty.get('http://10.10.10.10/alarmstatus.txt').body rescue nil", are you supposed to put the IP and the port. Such as 192.168.1.195:60?
Reply With Quote
  #20  
Old March 23rd, 2013, 11:26 PM
jayman13 jayman13 is offline
Seer Master
 
Join Date: Jul 2011
Location: Chicago, IL
Posts: 895
Quote:
Originally Posted by tommyd75 View Post


listen_for /what's the status of the alarm system/i do
begin
page = HTTParty.get('http://10.10.10.10/alarmstatus.txt').body rescue nil
say page
request_completed
end
end

end sub
This part is making siri crash when I ask the question. Maybe it's formatting. Is that "begin" supposed to be there? Sorry for my ignorance.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:41 AM.


Copyright HomeSeer Technologies, LLC