Jump to content

Vera Home Automation Plugin (Emby Vera)


chef

Recommended Posts

Yes it did get written. Or at least written too by looking at the date, it has the old name not MiosZwavecontroller it so it could have been left over?

That is good news. I will look at the save button jquery/java script and see what's next.

 

Super exciting

  • Like 1
Link to comment
Share on other sites

fantaxp7

@chef 

 

So some progress. I added my device and setup the scenes. Still save button issue and device not staying listed as added, but you are probably aware of that.

 

I played a movie and my lights dimmed, which was great, but after stopping the movie the scene to turn on lights did not run. I tried to play a movie again and it would not play. Here is an unhandled exception from the logs that mentions Mios.

 

https://www.dropbox.com/s/m4lkv8ouak7m779/unhandled_9cba59b0-ce60-491c-972e-a40e29a3bb7f.txt?dl=0

 

Thanks 

Link to comment
Share on other sites

fantaxp7

https://dl.dropboxusercontent.com/u/46151346/MiOSEmbyZWaveControllerCS/MiOSEmbyZWaveControllerCS/bin/Debug/MiOSEmbyZWaveControllerCS.zip

 

This version should stop those http request errors.

 

The REST api for Micasaverde responds with errors, so this should clear it up.

 

@@fantaxp7

@@chef

 

This seems to work so far! I added my device, still no save button and after setting it up it is not showing as a device that is already setup, but functionality it seems fine after playing a few movies.

 

Thanks 

Link to comment
Share on other sites

Hey @@fantaxp7 does this version fix the save button in the configuration wizard??

 

I ran into major problems, and had to recode the entire page from scratch.

 

https://dl.dropboxusercontent.com/u/46151346/MiOSEmbyZWaveControllerCS/MiOSEmbyZWaveControllerCS/bin/Debug/MiOSEmbyZWaveControllerCS.zip

Link to comment
Share on other sites

fantaxp7

Hey @@fantaxp7 does this version fix the save button in the configuration wizard??

 

I ran into major problems, and had to recode the entire page from scratch.

 

https://dl.dropboxusercontent.com/u/46151346/MiOSEmbyZWaveControllerCS/MiOSEmbyZWaveControllerCS/bin/Debug/MiOSEmbyZWaveControllerCS.zip

Seems about the same as before. 

  • Like 1
Link to comment
Share on other sites

fantaxp7

@@chef

 

Save button is visible again!

 

After I configure a device, I should see it listed right?

 

Thanks 

  • Like 1
Link to comment
Share on other sites

chef

@@chef

 

Save button is visible again!

 

After I configure a device, I should see it listed right?

 

Thanks

 

Great!

 

But it is not listed on the main configuration page? Or it doesn't write to the xml file?

 

Sorry if this is taking a while but I think I am finally getting a feeling for freeBSD and what can be coded and what can't be :)

  • Like 1
Link to comment
Share on other sites

fantaxp7

Great!

 

But it is not listed on the main configuration page? Or it doesn't write to the xml file?

 

Sorry if this is taking a while but I think I am finally getting a feeling for freeBSD and what can be coded and what can't be :)

It is NOT, correct. 

Link to comment
Share on other sites

chef

@@fantaxp7

 

I think you are going to love this one. Once I updated the Server to the most recent stable release, I finally understood what you where experiencing, and I think I have made it work.

 

https://dl.dropboxusercontent.com/u/46151346/MiOSEmbyZWaveControllerCS/MiOSEmbyZWaveControllerCS/bin/Debug/MiOSEmbyZWaveControllerCS.zip

  • Like 1
Link to comment
Share on other sites

fantaxp7

@@fantaxp7

 

I think you are going to love this one. Once I updated the Server to the most recent stable release, I finally understood what you where experiencing, and I think I have made it work.

 

https://dl.dropboxusercontent.com/u/46151346/MiOSEmbyZWaveControllerCS/MiOSEmbyZWaveControllerCS/bin/Debug/MiOSEmbyZWaveControllerCS.zip

@@chef

 

Sorry I was busy all week finally got to testing this. You are correct, I do love this one as it shows a lot of improvement. 

 

Everything seems to work better, although one thing I noticed when I navigate away from the plugin page and come back to it, the device I setup is not listed below. Even though it is not listed it seems to still work on the client I setup. 

 

Thanks

Link to comment
Share on other sites

chef

No worries.

 

There are major problems with plugins right now in Emby. There is a refresh bug which is making things hard tp develop right now.

 

I have a completely re-coded plugin which fixes ever problem we have ever experienced with it. But, I can't finish the coding until the main devs fix the plugin bugs.

 

I'll be in touch soon.

  • Like 1
Link to comment
Share on other sites

chef

So, the updated version for this plugin is in the Catalog now. If anyone come across anything let me know.

 

the old plugin is I its way out.

Edited by chef
Link to comment
Share on other sites

  • 2 weeks later...

So, the updated version for this plugin is in the Catalog now. If anyone come across anything let me know.

 

the old plugin is I its way out.

Only thing I seen is after setting up my device the screen refreshes and the device is no longer listed in saved profiles. If I refresh and add it again then it is still configured, im about to go test to see if its working by watching some content.

Link to comment
Share on other sites

chef

Thanks @@MEB much appreciated.

 

I'll look at the plugin page loading and see if there is anything going on that would cause this.

Link to comment
Share on other sites

Thanks @@MEB much appreciated.

 

I'll look at the plugin page loading and see if there is anything going on that would cause this.

 

Worked as expected, scenes ran normally.

Link to comment
Share on other sites

  • 2 weeks later...
chef

The http client threw a big error yesterday. I have a fix coming tonight in an update to the plugin.

 

Looks like sometimes the vera decides to not release information when asked by the plugin.

 

I just wrapped it in a try and catch statement and we'll ignore those times.

Link to comment
Share on other sites

  • 2 weeks later...
swan27matt

I am very excited to try this plugin out.  Is it possible to change the IP address or clear stored IP?  I have two Veras and the plugin found the IP of the Vera I do not wish to control.  I have tried temporarily unplugging the unwanted Vera and reinstalling the plugin but the original initialized IP has not changed.  Any thoughts? thank you

Link to comment
Share on other sites

  • 4 weeks later...

Any progress on keeping the lights off during a marathon?

 

chef MIA? haven't heard from you in awhile, I was wondering if maybe luke could add a flag when the videos are autoplaying so you can hook into and keep lights off. I have had to disable the pause and stop scenes to make it tolerable and just have the lights come on when I turn off the system with the harmony. Would like to have my pause scene back someday.

Link to comment
Share on other sites

chef

Sorry work is crazy. Let me see if I can run an item info request when playback starts, and if anything will return a Boolean if weather it is in a playlist or not.

 

I gotta put sometime back into coding, there are also other projects here that I can help with, but obviously Vera is my priority.

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...