Jump to content

Vera plugin help


tp546

Recommended Posts

PrincessClevage

I'm not seeing any problems here.

 

What does your plugin configuration look like?

 

"plugins\configuration\MiOsZWaveController.xml"

I have blocked out i.p but it is correct for the vera unit

 

C:\Users\username\AppData\Roaming\Emby-Server\plugins\configurations
<?xml version="1.0"?>

-<DeviceConfiguration>

<Name>Windows 14.14393 - Emby Theater</Name>
<Id>7ddfea0f9395f10c339540665d50697726039ec8</Id>
</DeviceConfiguration>

-<SavedDeviceProfiles>

-<SavedDevice>

<Name>Windows 14.14393 - Emby Theater</Name>
<Id>7ddfea0f9395f10c339540665d50697726039ec8</Id>
<MoviesPlaybackStarted>Dim Light Start Movie</MoviesPlaybackStarted>
<MoviesPlaybackStopped>Lights Normal Movie stops</MoviesPlaybackStopped>
<MoviesPlaybackPaused>Lights Normal Movie stops</MoviesPlaybackPaused>
<MoviesPlaybackUnPaused>Dim Light Start Movie</MoviesPlaybackUnPaused>
<SeriesPlaybackStarted/>
<SeriesPlaybackStopped/>
<SeriesPlaybackPaused/>
<SeriesPlaybackUnPaused/>
<MusicPlaybackStarted/>
<MusicPlaybackStopped/>
<MusicPlaybackPaused/>
<MusicPlaybackUnPaused/>
<SessionStarted/>
<SessionEnded/>
<SceneSchedule/>
</SavedDevice>
</SavedDeviceProfiles>

-<EmbyReadyNetworkDevices>

-<Device>

<Name>Windows 14.14393 - Emby Theater</Name>
<Id>7ddfea0f9395f10c339540665d50697726039ec8</Id>
</Device>

-<Device>

<Name>Internet Explorer 11.0 - Emby Mobile</Name>
<Id>2483074a3f7fc220eb2801b66358ab2bfc425b99</Id>
</Device>

-<Device>

<Name>Internet Explorer 11.0 - Emby Mobile</Name>
<Id>d3995064857112eaa64cf26bbd84210e93e63f3c</Id>
</Device>

-<Device>

<Name> - Emby Theater</Name>
<Id>ACE</Id>
</Device>
</EmbyReadyNetworkDevices>
<InternalIp>xxxx</InternalIp>
<SerialNumber>45200405</SerialNumber>
<IsActive>false</IsActive>
<Model>Sercomm NA301</Model>

-<Scenes>

<string>Dim Light Start Movie</string>
<string>Lights Normal Movie stops</string>
<string>Motion Light on Hall Night Home</string>
<string>Motion None Lights off</string>
<string>Pause Movie</string>
<string>WakeAce</string>
<string>WakeNas</string>
<string>finished work</string>
</Scenes>
</PluginConfiguration>
Link to comment
Share on other sites

PrincessClevage

If you remove and re add your mios app profile does it work?

I have also tried uninstalling and re installing the app

Edited by PrincessClevage
Link to comment
Share on other sites

PrincessClevage

I'm not seeing any problems here.

 

What does your plugin configuration look like?

 

"plugins\configuration\MiOsZWaveController.xml"

I have observed that from within the Mios app you can click on your detected Vera controller

And it tries the following url

Localhost:8096/web/configurationpage?name=VeraDashboardPage

 

But returns the following:

Exception of type "mediabrowser.common.extentions.resourcenotfoundexception" was thrown

Should this display Vera dashboard?

Link to comment
Share on other sites

chef

I have observed that from within the Mios app you can click on your detected Vera controller

And it tries the following url

Localhost:8096/web/configurationpage?name=VeraDashboardPage

 

But returns the following:

Exception of type "mediabrowser.common.extentions.resourcenotfoundexception" was thrown

Should this display Vera dashboard?

At one point it did show the dashboard, but it didn't seem relivant to open the other dash, so it was removed. I'll make sure that link gets fix.

 

But your vera device is getting detected?

 

The config looks fine.

So you are saying that the scenes aren't triggered during playback event?

Edited by chef
Link to comment
Share on other sites

PrincessClevage

At one point it did show the dashboard, but it didn't seem relivant to open the other dash, so it was removed. I'll make sure that link gets fix.

 

But your vera device is getting detected?

 

The config looks fine.

So you are saying that the scenes aren't triggered during playback event?

correct, nothing happens. I can manually trigger the scenes and they work as expected
Link to comment
Share on other sites

chef

correct, nothing happens. I can manually trigger the scenes and they work as expected

Sorry just a another question.

 

Is it the theater app which usually triggers scenes which is not now?

Link to comment
Share on other sites

PrincessClevage

Sorry just a another question.

 

Is it the theater app which usually triggers scenes which is not now?

correct, but I have also tried the web browser and same issue. Correction, I just tested the browser and it triggered the scene correctly(I forgot to add edge browser action in mios app)

I have now installed the latest version and edge browser triggers scenes correctly but ET for windows desktop does not trigger scenes

 

I had version 1.0.6239.36421 installed and now Testing 1.0.6229.13542

Edited by PrincessClevage
Link to comment
Share on other sites

chef

Okay, I think I know the issue.

 

I'm gonna put together a fix and release it shortly.

 

We'll have to test it first and see if the fix works.

 

One moment...

  • Like 1
Link to comment
Share on other sites

chef

Do you notice how emby theater is now called "Chrome-Emby Theater" in the device list?

 

I think the device name has changed?

 

Let me know if you are seeing the same thing as me?

Link to comment
Share on other sites

  • 4 weeks later...
PrincessClevage

I'll check it out @@PrincessClevage

 

All my scenes have been set to the Xbox theater so I haven't used them lately... Ahhrrmmmm....

Hi Chef

With the latest version of ET I am getting lights on 10mins into the movie, are you having similar experience ?

Link to comment
Share on other sites

PrincessClevage

Hi Chef

With the latest version of ET I am getting lights on 10mins into the movie, are you having similar experience ?

I have re-installed the app and seems to of fixed the light on 10mims into movie but now I can not get the Un-pause action to trigger. I have tried several versions and different scenes:-/
Link to comment
Share on other sites

PrincessClevage

This is working correctly again with the latest stable server and ET versions

Link to comment
Share on other sites

chef

This is working correctly again with the latest stable server and ET versions

@PrincessCleavage

 

Yeah, the pause/unpause events maybe unstable if the media is being transcoded.

 

Because, transcoding splits the item into blocks, when a block finishes and and a new one starts... Technically playback stopped and started, so the lights may... Not always... flash.

 

I need to do some work on the plugin because it needs to:

 

1. Exit gracefully if no vera device is found on a network. Right now it crashes the entire emby server {cringe}...

 

2. Do a separate checkin while transcoding to see if the media item did indeed stop playing or is indeed paused.

 

I plan on working it out this week.

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...
PrincessClevage

Hi Chef,

Latest stable version of emby server 3.2.20 mios app no longer triggers scenes. I have tried ET client mios profile and IOS mios client profile. I have also tested that I can manually trigger the scene successfully

Link to comment
Share on other sites

chef

Hi Chef,

Latest stable version of emby server 3.2.20 mios app no longer triggers scenes. I have tried ET client mios profile and IOS mios client profile. I have also tested that I can manually trigger the scene successfully

Okay, if you remove the configuration xml and restart the server, adding devices back into the config, does it work?

 

Don't delete the xml just move it from the configuration folder.

 

Please let me know how it goes. :)

Link to comment
Share on other sites

PrincessClevage

Okay, if you remove the configuration xml and restart the server, adding devices back into the config, does it work?

 

Don't delete the xml just move it from the configuration folder.

 

Please let me know how it goes. :)

I did observe that saved configuration were no longer available in the mios plugin and I had to manually recreate them (main one for ET desktop and a test one for IOS) both don't work. I did also restart emby server, restarted Vera and restarted routers and manually tested the scene. All scene are showing correctly in the mios plugin (I added 2new scenes and they show up). Edited by PrincessClevage
Link to comment
Share on other sites

chef

I did observe that saved configuration were no longer available in the mios plugin and I had to manually recreate them (main one for ET desktop and a test one for IOS) both don't work. I did also restart emby server, restarted Vera and restarted routers and manually tested the scene. All scene are showing correctly in the mios plugin (I added 2new scenes and they show up).

But they won't run? Okay, I'm on it! I already think I know where the issue is. There was a DAta Transfer Object name change in the API which might be a problem.

Edited by chef
Link to comment
Share on other sites

PrincessClevage

But they won't run? Okay, I'm on it! I already think I know where the issue is. There was a DAta Transfer Object name change in the API which might be a problem.

As this is re-occurring is it possible that emby server is being deployed for various test environments, one of which has this different object name ?
Link to comment
Share on other sites

chef

As this is re-occurring is it possible that emby server is being deployed for various test environments, one of which has this different object name ?

Well it wasn't what I thought it was. Now I'm confused. I have been trying to recreate the issue.

 

I have some new versions ready.

 

If you have time to try it out.

Link to comment
Share on other sites

chef

As this is re-occurring is it possible that emby server is being deployed for various test environments, one of which has this different object name ?

Well it wasn't what I thought it was. Now I'm confused. I have been trying to recreate the issue.

 

I have some new versions ready.

 

If you have time to try it out.

Link to comment
Share on other sites

PrincessClevage

Well it wasn't what I thought it was. Now I'm confused. I have been trying to recreate the issue.

 

I have some new versions ready.

 

If you have time to try it out.

Sure, are they available via emby plugins or do you have a link to dl?
Link to comment
Share on other sites

PrincessClevage

Here is one to try.

 

Sorry but you may have to recreate the configuration again.

 

https://www.dropbox.com/s/x97lacsihcks0oy/MiOSEmbyZWaveControllerCS.zip?dl=0

Thanks Chef this fixed the issue. I did have some problems with ET display only a back screen after adding the mios .dll but I don't think it was not related and coincidental (had to uninstall re-install ET2.7.9) Edited by PrincessClevage
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...