gmontem 6 Posted May 28, 2019 Share Posted May 28, 2019 (edited) I sent you two PMs with two sets of log files, one with debug logging off, and the other set with it enabled. I don't know what happened but after attempting to get logs with debug logging on, I noticed the Emby Devices list was finally populated. This is with your test plugin. Having that interface app from Vera is okay. I'm using it too and it causes no issues. There is something else happening here.Can you PM me some log files of your server loading? Edited May 28, 2019 by gmontem 1 Link to comment Share on other sites More sharing options...
chef 3745 Posted May 28, 2019 Author Share Posted May 28, 2019 That's good news. The newest version if the plugin is really quite different. It has been completely reworked. Link to comment Share on other sites More sharing options...
chef 3745 Posted May 28, 2019 Author Share Posted May 28, 2019 (edited) Great News! I'm releasing a new version of this plugin! There are a whole lot of new upgrades to the logic. It follows closely to the other plugins in the catalog. Here are some screen shots: Really excited about this releases! Edited May 28, 2019 by chef 1 Link to comment Share on other sites More sharing options...
BillOatman 500 Posted May 29, 2019 Share Posted May 29, 2019 I'm doing something similar with Hue regarding using scenes. I see you have different ones for paused and unpaused which is a pretty cool idea 1 Link to comment Share on other sites More sharing options...
chef 3745 Posted May 29, 2019 Author Share Posted May 29, 2019 (edited) I'm doing something similar with Hue regarding using scenes. I see you have different ones for paused and unpaused which is a pretty cool idea @@BillOatman Here is how the pause events are wired up public static void CurrentPlaybackProgress(object sender, PlaybackProgressEventArgs e) { var config = new PluginConfiguration(); foreach (SessionInfo session in from session in SessionManager.Sessions from device in config.SavedDeviceProfiles where device.Name.Equals(session.DeviceName) && device.AppName.Equals(session.Client) select session) { switch (session.PlayState.IsPaused) { case true: PlaybackPaused(e); break; case false: PlaybackUnPaused(e); break; } } } The device in the Linq expression is one the user creates. Each time the Progress event is fired it looks for Paused Sessions and then compares info to saved profile data. There is a 'gottcha' there! notice 'AppName' and 'Client' are being compared. Sessions call the AppName: 'Client', while other parts of the API call the Client: 'AppName'! LOL! That switch statement calls the appropriate subroutine and it gets passed the EventArguments. PlaybackPaused(e) and PlaybackUnPaused(e). The rest of the logic is handled in those subroutine functions. Edited May 29, 2019 by chef Link to comment Share on other sites More sharing options...
jasonwilliams 29 Posted June 6, 2019 Share Posted June 6, 2019 Hi All, Here was my experience: 1. Installed plugin. Devices populated 2. Created profile. 3. Decided to start over - deleted profile. 4. Devices would not populate 5. Uninstalled plugin 6. Reinstalled plugin. Devices populated 7. Created profile. In short, it seems to have something to do with profiles. Hope this helps! Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted April 14, 2020 Share Posted April 14, 2020 (edited) Hi Chef, The Vera home automation plugin has stopped working and when I click on “saved profile” it doesn’t show any setting. Edited April 14, 2020 by PrincessClevage Link to comment Share on other sites More sharing options...
chef 3745 Posted April 14, 2020 Author Share Posted April 14, 2020 Hi Chef, The Vera home automation plugin has stopped working and when I click on “saved profile” it doesn’t show any setting. I'll check it out right away. Are you on a beta version of emby? Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted April 14, 2020 Share Posted April 14, 2020 I'll check it out right away. Are you on a beta version of emby? Stable version Link to comment Share on other sites More sharing options...
chef 3745 Posted April 14, 2020 Author Share Posted April 14, 2020 On it! Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted April 14, 2020 Share Posted April 14, 2020 On it!Thanks Chef Link to comment Share on other sites More sharing options...
chef 3745 Posted April 14, 2020 Author Share Posted April 14, 2020 @@PrincessClevage Can you do me a favor? Could you open developer tools in the browser, and click on the console tab. Then try selecting the saved Profile and tell me what the error is in the console? It's definitely a UI thing, I just need to know what it is. I can't seem to reproduce this on my end. Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted April 14, 2020 Share Posted April 14, 2020 @@PrincessClevage Can you do me a favor? Could you open developer tools in the browser, and click on the console tab. Then try selecting the saved Profile and tell me what the error is in the console? It's definitely a UI thing, I just need to know what it is. I can't seem to reproduce this on my end. I can not see any error in development tool but the profile would not open while I had development tools open but I have performed some additional troubleshooting and found that the problem lies within the time restrictions setting I.e:When I set a client profile for movie actions with no time restrictions the automation works but when I add a time restrictions nothing works, also when I delete the time entry the profile still does not work, I then tried deletion of the whole profile and create a new profiles and this still did not work so I deleted the profile again and then checked the config directory and the xml was still present with the profile details I just deleted. I then manually deleted the xml, restarted emby server which created a new blank xml then created a profile with no time restrictions and works again. Below are a couple of photos showing the profile with no icon, and showing after I select the profile no previous settings are presented Link to comment Share on other sites More sharing options...
chef 3745 Posted April 14, 2020 Author Share Posted April 14, 2020 Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted April 18, 2020 Share Posted April 18, 2020 Perhaps more too this one than initial thoughts Chef? Link to comment Share on other sites More sharing options...
chef 3745 Posted April 18, 2020 Author Share Posted April 18, 2020 I have code fixes I'll submit tonight. I'm not exactly sure what happened. But I reworked done stuff. The code was old and it needed some updates. 1 Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted April 19, 2020 Share Posted April 19, 2020 Thanks, Do I just wait for the plugin to auto update or manually update dll? Link to comment Share on other sites More sharing options...
chef 3745 Posted April 19, 2020 Author Share Posted April 19, 2020 Sorry. I'll post here one second. Link to comment Share on other sites More sharing options...
chef 3745 Posted April 19, 2020 Author Share Posted April 19, 2020 @@PrincessClevage Can you try this and see if it fixes the issue. If it doesn't can you send me a copy of your configuration XML, and a log? DOWNLOAD: VeraHomeAutomation.zip Link to comment Share on other sites More sharing options...
chef 3745 Posted April 20, 2020 Author Share Posted April 20, 2020 Does the missing image only happen with firefox @@PrincessClevage Link to comment Share on other sites More sharing options...
chef 3745 Posted April 20, 2020 Author Share Posted April 20, 2020 @@PrincessClevage Did you know that the "Save" button is actually different for each media type in the dialog? For instance, when you set Movies for a device, you must press save and then go to TV, set it up, and then press save. this seems like a bad way to do this, and it needs to be changed. Could this be the problem you are experiencing? Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted April 20, 2020 Share Posted April 20, 2020 (edited) Possibly as each time I click save it takes me back to the plugin view and I have to enter the profile again. But the problem still remains that when I enter the saved profile no setting for movie are displayed but they are listed correctly in the xml. Are you able to repeat this on your system? Edited April 20, 2020 by PrincessClevage Link to comment Share on other sites More sharing options...
chef 3745 Posted April 20, 2020 Author Share Posted April 20, 2020 (edited) I think the XML is corrupt. I have a new version here, but what happens if you remove the config XML file from the configuration folder and restart the server? Edited April 20, 2020 by chef Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted April 22, 2020 Share Posted April 22, 2020 I think the XML is corrupt. I have a new version here, but what happens if you remove the config XML file from the configuration folder and restart the server? I have updated the dll and same tests with the same results unfortunately, even after deleting the xml. Is this reproducible on your system? Link to comment Share on other sites More sharing options...
gmontem 6 Posted September 6, 2020 Share Posted September 6, 2020 I installed Emby Server onto a new Windows server. I then installed the Vera plugin. After restarting the Emby Server, the Emby Server crashed. It looks like the Vera plugin is making a request to my VeraSecure's port 3480 which is probably closed. My browser receives a connection reset error when I try to navigate to http://192.168.11.224:3480/data_request?id=sdata. Is there something I need to setup from my Vera's web frontend to get this work? I tried re-installing the "Emby Interface" app for Vera, but that didn't help. I attached the server log and the Vera plugin's XML file. embyserver.txt VeraHomeAutomation.xml Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now