Jump to content


Photo

Vera Home Automation Plugin (Emby Vera)

Home Automation

  • Please log in to reply
480 replies to this topic

#421 fantaxp7 OFFLINE  

fantaxp7

    Advanced Member

  • Alpha Testers
  • 941 posts
  • Local time: 05:05 AM
  • LocationBoston

Posted 21 February 2016 - 08:56 PM

This one has a fully functioning Configuration UI attached to the C# code which is nice.

However I am not sure how the event arguments working out. I gotta check those next.

@fantaxp7 I would love to know if this works for you.

The only HTML problem is that the Device List doesn't populate you have to press the "Refresh Devices" Button.

https://dl.dropboxus...ontrollerCS.zip

:)


  • chef likes this

#422 fantaxp7 OFFLINE  

fantaxp7

    Advanced Member

  • Alpha Testers
  • 941 posts
  • Local time: 05:05 AM
  • LocationBoston

Posted 21 February 2016 - 08:59 PM

Just to clarify that smile is a "we're back in business smile" 

 

So glad you were able to figure it out. 

 

Thanks for not giving up! 


  • chef likes this

#423 fantaxp7 OFFLINE  

fantaxp7

    Advanced Member

  • Alpha Testers
  • 941 posts
  • Local time: 05:05 AM
  • LocationBoston

Posted 21 February 2016 - 09:19 PM

A few notes, @chef

 

1. I selected a device, set up the scenes I wanted, then when I went to hit save I noticed that the save bar was completely gray.

2. After hitting save and coming back later to I don't see the device as setup and saved. 

 

Thanks



#424 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3838 posts
  • Local time: 05:05 AM
  • LocationPeterborough, Canada

Posted 21 February 2016 - 09:31 PM

A few notes, @chef

1. I selected a device, set up the scenes I wanted, then when I went to hit save I noticed that the save bar was completely gray.
2. After hitting save and coming back later to I don't see the device as setup and saved.

Thanks

Okay, I may have to look at the save button, because I ran into trouble with it as well and did a quick re-code which wasn't completely tested.

Does the configuration xml get written and saved too?


C# is better, I am glad this has worked out. If anything, it has forced me to catch up with the rest of the coders out there.

This is just the begining.

We need to change the plugin name as well.

"MiosZwavecontroller" will leave any doubt from the last plugin behind it.

This is great, we have a Cross platform utility, with "pause/unpause" events working (thanks to @GlennNZ ).

Edited by chef, 21 February 2016 - 09:42 PM.


#425 fantaxp7 OFFLINE  

fantaxp7

    Advanced Member

  • Alpha Testers
  • 941 posts
  • Local time: 05:05 AM
  • LocationBoston

Posted 21 February 2016 - 09:44 PM

Okay, I may have to look at the save button, because I ran into trouble with it as well and did a quick re-code which wasn't completely tested.

Does the configuration xml get written and saved too?


C# is better, I am glad this has worked out. If anything, it has forced me to catch up with the rest of the coders out there.

This is just the begining.

We need to change the plugin name as well.

"MiosZwavecontroller" will leave any doubt from the last plugin behind it.

This is great, we have a Cross platform utility, with "pause/unpause" events working (thanks to @GlennNZ ).

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?



#426 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3838 posts
  • Local time: 05:05 AM
  • LocationPeterborough, Canada

Posted 21 February 2016 - 09:48 PM

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
  • fantaxp7 likes this

#427 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3838 posts
  • Local time: 05:05 AM
  • LocationPeterborough, Canada

Posted 23 February 2016 - 10:38 PM

.....And @fantaxp7 this one finally fixes the HTTP Requests and runs scenes :)

 

https://dl.dropboxus...ontrollerCS.zip



#428 fantaxp7 OFFLINE  

fantaxp7

    Advanced Member

  • Alpha Testers
  • 941 posts
  • Local time: 05:05 AM
  • LocationBoston

Posted 24 February 2016 - 09:37 AM

.....And @fantaxp7 this one finally fixes the HTTP Requests and runs scenes :)

 

https://dl.dropboxus...ontrollerCS.zip

@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....a3bb7f.txt?dl=0

 

Thanks 



#429 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3838 posts
  • Local time: 05:05 AM
  • LocationPeterborough, Canada

Posted 24 February 2016 - 07:50 PM

https://dl.dropboxus...ontrollerCS.zip

This version should stop those http request errors.

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

@fantaxp7
  • fantaxp7 likes this

#430 fantaxp7 OFFLINE  

fantaxp7

    Advanced Member

  • Alpha Testers
  • 941 posts
  • Local time: 05:05 AM
  • LocationBoston

Posted 24 February 2016 - 08:51 PM

https://dl.dropboxus...ontrollerCS.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 



#431 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3838 posts
  • Local time: 05:05 AM
  • LocationPeterborough, Canada

Posted 27 February 2016 - 02:33 PM

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.dropboxus...ontrollerCS.zip



#432 fantaxp7 OFFLINE  

fantaxp7

    Advanced Member

  • Alpha Testers
  • 941 posts
  • Local time: 05:05 AM
  • LocationBoston

Posted 28 February 2016 - 03:50 PM

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.dropboxus...ontrollerCS.zip

Seems about the same as before. 


  • chef likes this

#433 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3838 posts
  • Local time: 05:05 AM
  • LocationPeterborough, Canada

Posted 01 March 2016 - 09:19 PM

@fantaxp7

 

This one simplifies the save button.

 

No fancy html here:

 

https://dl.dropboxus...ontrollerCS.zip



#434 fantaxp7 OFFLINE  

fantaxp7

    Advanced Member

  • Alpha Testers
  • 941 posts
  • Local time: 05:05 AM
  • LocationBoston

Posted 04 March 2016 - 09:46 AM

@chef

 

Save button is visible again!

 

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

 

Thanks 


  • chef likes this

#435 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3838 posts
  • Local time: 05:05 AM
  • LocationPeterborough, Canada

Posted 05 March 2016 - 09:48 AM

@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 :)
  • fantaxp7 likes this

#436 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3838 posts
  • Local time: 05:05 AM
  • LocationPeterborough, Canada

Posted 06 March 2016 - 06:34 PM

@fantaxp7 does this fix the profile list of saved devices?:

 

https://dl.dropboxus...ontrollerCS.zip



#437 fantaxp7 OFFLINE  

fantaxp7

    Advanced Member

  • Alpha Testers
  • 941 posts
  • Local time: 05:05 AM
  • LocationBoston

Posted 06 March 2016 - 08:09 PM

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. 



#438 fantaxp7 OFFLINE  

fantaxp7

    Advanced Member

  • Alpha Testers
  • 941 posts
  • Local time: 05:05 AM
  • LocationBoston

Posted 06 March 2016 - 08:20 PM

@fantaxp7 does this fix the profile list of saved devices?:

 

https://dl.dropboxus...ontrollerCS.zip

Afraid it doesn't 



#439 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 3838 posts
  • Local time: 05:05 AM
  • LocationPeterborough, Canada

Posted 12 March 2016 - 02:41 PM

@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.dropboxus...ontrollerCS.zip


  • fantaxp7 likes this

#440 fantaxp7 OFFLINE  

fantaxp7

    Advanced Member

  • Alpha Testers
  • 941 posts
  • Local time: 05:05 AM
  • LocationBoston

Posted 19 March 2016 - 11:33 AM

@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.dropboxus...ontrollerCS.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







Also tagged with one or more of these keywords: Home Automation

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users