Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

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 »

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 »

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 »

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 »

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 »

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 527 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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

@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