Homeseer Plugin - Please take a look and help thank you

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
kiliansitel
Posts: 3
Joined: Thu Aug 11, 2011 12:42 pm

Re: Homeseer Plugin - Please take a look and help thank you

Post by kiliansitel » Fri Aug 12, 2011 9:00 am

Thanks for the response Walter,

I am on HSPRO 2.3.0.19 registered. Weird that it does not work on my setup....

Grtz,

Kiliansitel

kiliansitel
Posts: 3
Joined: Thu Aug 11, 2011 12:42 pm

Re: Homeseer Plugin - Please take a look and help thank you

Post by kiliansitel » Fri Aug 12, 2011 9:24 am

I got it to work by disabling "run homeseer as service" , any clues why it does not work when homeseer runs as service?

Thanks,

Kiliansitel

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Homeseer Plugin - Please take a look and help thank you

Post by krambriw » Fri Aug 12, 2011 3:45 pm

any clues why it does not work when homeseer runs as service?
No idea, I noticed the same when I changed it to run as service. Reverting back to normal application, it works again.

Since you anyway are not able to run EG as a service, you might accept also to run HS as a normal application.

Best regards, Walter

User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: Homeseer Plugin - Please take a look and help thank you

Post by Livin » Fri Aug 12, 2011 11:13 pm

Homeseer is not exactly high-quality coding. It has a lot of features but it is very buggy, and very messy. I stopped using it a while ago and simplified my HA setup - much happier now. I don't have EG "integrated" into my HA but I'm looking forward to exploring it with the next version of mControl and a few free apps I've been testing.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system

Ersan
Posts: 1
Joined: Wed Sep 14, 2011 6:39 am

Re: Homeseer Plugin - Please take a look and help thank you

Post by Ersan » Wed Sep 14, 2011 6:46 am

Modified krambriw's mod even further to add doEvent and fix the remote connections to HomeSeer that got broken.

Should be able to do almost anything you want when you can trigger Homeseer events.
Attachments
EventGhost.Plugin.HomeSeer.zip
(5.45 KiB) Downloaded 490 times

kmp14
Posts: 6
Joined: Thu Dec 29, 2011 5:25 pm

Re: Homeseer Plugin - Please take a look and help thank you

Post by kmp14 » Thu Dec 29, 2011 5:36 pm

Ersan,

I am having a problem with your version of the plugin. It won't initialize, and I get this error:

Error starting plugin: Homeseer
Traceback (most recent call last) (1509):
File "C:\Program Files\EventGhost\eg\Classes\PluginInstanceInfo.py", line 177, in Start
self.instance.__start__(*self.args)
File "C:\Program Files\EventGhost\plugins\Homeseer\__init__.py", line 61, in __start__
self.hs = Dispatch("homeseer.application")
File "win32com\client\__init__.pyc", line 95, in Dispatch
File "win32com\client\dynamic.pyc", line 108, in _GetGoodDispatchAndUserName
File "win32com\client\dynamic.pyc", line 85, in _GetGoodDispatch
com_error: (-2147221005, 'Invalid class string', None, None)

Someone else posted the same error earlier in this thread, then posted that they fixed it by installing an updated version of the plugin, but I am not sure where they found it since yours seems like the latest that is available (at least in this thread).

The original version of the plugin works correctly. Any thoughts, ideas, tips, etc would be appreciated!

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Homeseer Plugin - Please take a look and help thank you

Post by krambriw » Sun Jan 01, 2012 12:41 pm

What "original" are you referring to?

I hope you are not running HS as a service because then it will not work.

PS Just made a quick test, the version provided by Ersan in the above post works fine for me
Image3.jpg
Image2.jpg

kmp14
Posts: 6
Joined: Thu Dec 29, 2011 5:25 pm

Re: Homeseer Plugin - Please take a look and help thank you

Post by kmp14 » Tue Jan 03, 2012 5:30 pm

krambriw wrote:What "original" are you referring to?

I hope you are not running HS as a service because then it will not work.

PS Just made a quick test, the version provided by Ersan in the above post works fine for me
When I say "original", I mean the original version of this homeseer plugin, before the modifications that were posted on this thread.

I have a feeling that my problem is a 32bit / 64bit thing. EventGhost (latest non-beta version) is installed on a 32Bit PC, as is the Homeseer Voice software, but the Homeseer itself runs on a different PC, and that one is 64bit....although the more I think about that, however the Speaker client communicates with the Homeseer server I wouldn't think would be problematic since I assume it is just IP or http (so why would 64Bit on the homeseer side make a difference)?

Again, everything EventGhost wise is on a 32Bit Win7 PC. Only Homeseer itself is on a different PC that is 64bit.

Do homeseer and eventghost have to be on the same PC for this to work? (they don't for the original version of this plugin, since that one works for me).

Thanks for the help!

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Homeseer Plugin - Please take a look and help thank you

Post by krambriw » Tue Jan 03, 2012 9:37 pm

Do homeseer and eventghost have to be on the same PC for this to work?
I have no idea, sorry. For some people it works, I guess they have everything in one PC with 32 bit Windows but I'm not sure.

Best regards, Walter

kmp14
Posts: 6
Joined: Thu Dec 29, 2011 5:25 pm

Re: Homeseer Plugin - Please take a look and help thank you

Post by kmp14 » Tue Jan 03, 2012 10:04 pm

krambriw wrote:
Do homeseer and eventghost have to be on the same PC for this to work?
I have no idea, sorry. For some people it works, I guess they have everything in one PC with 32 bit Windows but I'm not sure.

Best regards, Walter
Thanks, I realize it is tricky one, probably would work for me if all 32Bit and on 1 PC. Regardless, I appreciate the response!

knobblywobbly
Posts: 4
Joined: Sat Sep 17, 2011 10:30 am

Re: Homeseer Plugin - Please take a look and help thank you

Post by knobblywobbly » Wed Sep 26, 2012 7:17 am

Hi everyone,

Where can I download the most up to date version of this plugin?

Thanks.

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Homeseer Plugin - Please take a look and help thank you

Post by krambriw » Wed Sep 26, 2012 7:37 am

To my knowledge, it is the one above posted by Ersan

knobblywobbly
Posts: 4
Joined: Sat Sep 17, 2011 10:30 am

Re: Homeseer Plugin - Please take a look and help thank you

Post by knobblywobbly » Wed Sep 26, 2012 11:48 am

krambriw wrote:To my knowledge, it is the one above posted by Ersan
Thanks very much. I'll download it and see if it solves my problem.

xanhoera
Posts: 2
Joined: Sun Nov 04, 2012 3:46 pm
Contact:

Re: Homeseer Plugin - Please take a look and help thank you

Post by xanhoera » Sun Nov 04, 2012 4:00 pm

If I may suggest, let's not spread copies of (different versions) into different threads. I've now created a git repo, feel free to fork: https://github.com/ihomeautomate/eventghost-hs-plugin

fyi, the domain which hosted the original blog(posts) will expire soon, but it'll still be available on a iHomeAutomate.eu page.

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Homeseer Plugin - Please take a look and help thank you

Post by krambriw » Sun Nov 04, 2012 6:51 pm

@xanhoera

And who R U?

If you are the original author it would be interesting if you presented you as such. U just appear from nowhere and have some ideas about not spreading around stuff. Instead, this is exactly what you just did, added another place. What would make us believe that this site will survive in the long run? (nothing is really preventing you from keeping a decent order in here).

Anyway, what you have uploaded is not covering the changes that has been made since a couple of years. Besides, as it is right now, it is not qualified to be a plugin for EventGhost, it is not developed following the guidelines.

If you feel committed, please merge the improvements in he other published versions into one and publish this (if you are the original author).

Awaiting your presentation and response,
Walter

Post Reply