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.

EventGhost + zVirtualScenes Integration Plugins

If you have a question or need help, this is the place to be.
PanteraGSTK
Posts: 25
Joined: Fri Feb 19, 2010 1:30 am

Re: EventGhost + zVirtualScenes Integration Plugins

Post by PanteraGSTK »

After more tinkering the plugin still won't connect, but it somehow sees all of my devices, at least it polls them.

I must be missing something simple.

Also, the author's site for this plugin isn't working.
m19brandon
Experienced User
Posts: 177
Joined: Mon Feb 03, 2014 10:36 pm

Re: EventGhost + zVirtualScenes Integration Plugins

Post by m19brandon »

What errors are you getting. I use this plugin with zVirtualScenes with no issue other then the zVirtualScenes webservers going to sleep. Are you running as admin versus just with an admin account, other wish Windows will block the port calming. I would also check the zVirtualScenes logs to see what it thinks it doing.
Telorast
Posts: 46
Joined: Wed Feb 27, 2013 2:44 pm

Re: EventGhost + zVirtualScenes Integration Plugins

Post by Telorast »

I'm using the plugin with zVirtualScenes 8, had to download source and rewrite a few things to get it to work but it's running fine now. But I'm just going one way, from zVirtualScenes to EventGhost.
m19brandon wrote:Now that my wife has given me the go ahead to add z-wave devices everywhere from our original 2 switch test, I added 5 more this week but have to add some code per switch. Does anyone of a better option? A dictionary maybe with the zVs service name, Im looking for some ideas. My current code to track status is using the Event Name="TCP.zVirtualScenes.Basic" followed by this python script. Any thoughts?
I do the same thing but I trigger on both Sensor and Basic because sometimes On values are stored in the database witch causes problems when those are restored during startup.

Code: Select all

payload = eg.event.payload[2]
if payload == "0":
    status = u"False"
elif payload == "255":
    status = u"True"
else:
    status = payload
if eg.event.payload[0] == u'1 Hallway' and eg.globals.HallwayMotionSensor != status:
    eg.plugins.EventGhost.TriggerEvent(u'Hallway.MotionSensor.' + status, 0.0)
    eg.globals.HallwayMotionSensor = status
    print "Hallway " + status
elif eg.event.payload[0] == u'2 Kitchen' and eg.globals.KitchenMotionSensor != status :
    eg.plugins.EventGhost.TriggerEvent(u'Kitchen.MotionSensor.' + status, 0.0)
    eg.globals.KitchenMotionSensor = status 
    print "Kitchen " + status
elif eg.event.payload[0] == u'3 Livingroom' and eg.globals.LivingroomMotionSensor != status:
    eg.plugins.EventGhost.TriggerEvent(u'Livingroom.MotionSensor.' + status, 0.0)
    eg.globals.LivingroomMotionSensor = status
    print "Livingroom " + status
elif eg.event.payload[0] == u'Door':
    if status == u'False' :
        status = u'Closed'
    else:
        status = u'Open'
    eg.plugins.EventGhost.TriggerEvent(u'Door.MotionSensor.' + status, 0.0)
PanteraGSTK
Posts: 25
Joined: Fri Feb 19, 2010 1:30 am

Re: EventGhost + zVirtualScenes Integration Plugins

Post by PanteraGSTK »

Apologies. I got it working. My server had been having issues for a while so once I moved it to the PC in the theater room it was a quick and simple setup.

Great plugin. Thanks.
wawa79
Posts: 25
Joined: Fri Nov 02, 2012 11:01 pm

Re: EventGhost + zVirtualScenes Integration Plugins

Post by wawa79 »

Hello,
I'm using the plugin with zVirtualScenes 8, had to download source and rewrite a few things to get it to work but it's running fine now. But I'm just going one way, from zVirtualScenes to EventGhost.
I am also interested in the updated plugin for zVirtualScene to interface ZWave with Eg. I just installed zVS 8.0 but I cannot find the compatible version of the plugin on https://github.com/aarondrabeck/zVirtualScenes. Could you upload it in their plugin folder or could you share it here?

Thanks! :D
m19brandon
Experienced User
Posts: 177
Joined: Mon Feb 03, 2014 10:36 pm

Re: EventGhost + zVirtualScenes Integration Plugins

Post by m19brandon »

There is no plugin for 8.0. They rewrote the REST api and thus broke the plugin.
purp
Posts: 7
Joined: Mon Jan 27, 2014 12:18 am

Re: EventGhost + zVirtualScenes Integration Plugins

Post by purp »

sintei wrote:I did a quick test with V8. The application force closed on me when selecting my z-wave stick so I went back to V7.
Waiting for Steve to finish up his own software so I can try it ;)
Were do i find the V7? Only seems to find V8
Telorast
Posts: 46
Joined: Wed Feb 27, 2013 2:44 pm

Re: EventGhost + zVirtualScenes Integration Plugins

Post by Telorast »

wawa79 wrote:Hello,
I'm using the plugin with zVirtualScenes 8, had to download source and rewrite a few things to get it to work but it's running fine now. But I'm just going one way, from zVirtualScenes to EventGhost.
I am also interested in the updated plugin for zVirtualScene to interface ZWave with Eg. I just installed zVS 8.0 but I cannot find the compatible version of the plugin on https://github.com/aarondrabeck/zVirtualScenes. Could you upload it in their plugin folder or could you share it here?

Thanks! :D
zVirtualScene EventGhost plugin: https://dl.dropboxusercontent.com/u/227 ... Plugin.rar

Sure I can share my version. I tossed out all the logging to make the conversion easier. I was expecting an official update so just did the minimum needed to get it to run. Just unpack the files into the plugin folder, also included the source code.
wysocki
Experienced User
Posts: 65
Joined: Mon Nov 23, 2015 9:23 pm
Location: Los Angeles area

Re: EventGhost + zVirtualScenes Integration Plugins

Post by wysocki »

I'm really struggling to get this running! Sorry for being a newb, but could someone summarize what's been going on with this project? I REALLY need to get z-wave running in EG from my Aeon z-stick. So far I have zVS running with no errors in the log!!! I've run the bridge program, but the configuration is not right because the zVS plugin gives me "unable to connect to server" error on startup of EG. I'm not an IT guy, so I'd really appreciate a "dummies" explanation! :oops:
Telorast
Posts: 46
Joined: Wed Feb 27, 2013 2:44 pm

Re: EventGhost + zVirtualScenes Integration Plugins

Post by Telorast »

wysocki wrote:I'm really struggling to get this running! Sorry for being a newb, but could someone summarize what's been going on with this project? I REALLY need to get z-wave running in EG from my Aeon z-stick. So far I have zVS running with no errors in the log!!! I've run the bridge program, but the configuration is not right because the zVS plugin gives me "unable to connect to server" error on startup of EG. I'm not an IT guy, so I'd really appreciate a "dummies" explanation! :oops:
I don't think it can be made easy at the moment. The EG plugin is for an older version of zVS. Until someone writes a new one you need to be an IT guy to figure it out.
Henrik4223
Posts: 47
Joined: Fri Mar 04, 2016 10:18 am

Re: EventGhost + zVirtualScenes Integration Plugins

Post by Henrik4223 »

I this plugin not "supported" anymore?
m19brandon
Experienced User
Posts: 177
Joined: Mon Feb 03, 2014 10:36 pm

Re: EventGhost + zVirtualScenes Integration Plugins

Post by m19brandon »

The VirtualScenes 7 version still works if you can find the code. The guy that wrote both zVirtualScenes and the Plugins is not longer active. He rewrote zVirtualScenes 8 REST engine thus breaking the Plugins.

zVirtualScenes was slow and I moved to Vera, which now is only about $100 and has a supported plugin.
Post Reply