It appears that the startup lua is broken when using the newest firmware. The message box says that it failures to startup the lua.
I have uninstalled the plugin using the apps section and reinstalled it… no sollution.
Restored my settings from before upgrade… still startup failure.
The i downloaded al te latest files from code.mios.com uploaded them but still the same error…
@The-Source, I upgraded last night and it looks like I have this error as well. Unfortunately, I’ll probably not get a chance to look into it much myself until this weekend.
My bad…I always figured I broke something when I started getting errors, so I moved away from the plugin to direct Pronto codes via SQBlaster. Maybe I can go back to the plugin later on. Let me know if I can help somehow.
Not running the plugin at the moment but it could have something to do with this issue:-
[url=http://forum.micasaverde.com/index.php/topic,5863.msg61742.html#msg61742]http://forum.micasaverde.com/index.php/topic,5863.msg61742.html#msg61742[/url]
All, I just uploaded a new version to SVN. I moved the main zone to a separate device. As we discussed earlier on this thread I think this was a good idea because the Denon distinguishes between turning off Z1 and turning off the Denon completely. That is, you can have Z1 off but Z2 or Z3 on. I still need to fix the json for the Main Denon zone as well as add support for actually turning off the entire receiver. Any help in that effort will be appreciated, otherwise I’ll work on improving this as I have time. Once that is all taken care off (and any other bugs you all find) I’ll publish a new plugin.
To install this I had to ssh into my vera and remove all the Denon plugin related files from /etc/cmh-ludl. This could have just been because I had uploaded some files earlier when there were still some bugs in how compression was handled.
Anyway, after removing all the files, making the changes I’ve uploaded to svn, and reinstalling it works for me.
Ok, it isn’t working fine anymore! But I think I have an idea of what is happening. I added a bit of code to see if a connection to the Denon was already open before we call luup.io.open(). Sure enough, it looks like it is!
So what I am finding is that my Denon is working great initially, and then when a reload happens and the receiverStartup function is called again, it seems like Vera is trying to reopen the connection to the Denon. The Denon only will accept one telnet session at a time, and so I think this reopen fails.
I am not sure how to handle this. I can skip opening a connection if one is already open I suppose? Any ideas?
01 06/17/10 10:56:32.612 luup_log:74: Denon AVR plugin: (receiverStartup) Vera already has opened a connection! <0x402>
01 06/17/10 10:56:32.614 luup_log:74: Denon AVR plugin: (receiverStartup) ipAddress=192.168.1.120, ipPort=23 <0x402>
01 06/17/10 10:56:32.864 IOPort::Connect connect -1 192.168.1.120:23 <0x580e>
For anyone interested in using multiple programs to control their Denon at the same time (e.g, Command3808 on Windows, various smart phone applications), I cleaned up my Denon multiplexing code and put it on the net:
Basically this lets you set up a pogoplug (or similar) as a virtual Denon receiver. The difference is it allows multiple clients, and in addition there is a debugging port that I open up. You can telnet to that debugging port and then watch the traffic that the various clients and the Denon sent each other.
You could run this on another Linux distro or a windows machine as well with a little modification, I’m happy to help out in that respect. Ideally you want a machine that is on all the time with nothing else running on port 23 or port 80 (so no existing telnet or web servers). There are two parts:
-
denon_telnet - this is a Python twisted program that connects to the Denon on port 23 and then allows multiple clients to connect to the denon
-
denon_http - this is just a simple daemon that opens an ssh tunnel from local port 80 (on the host computer) to port 80 on the Denon. This is needed because many denon programs (such as this plugin) expect the Denon webserver to have the same ip as the Denon telnet port.
This seems to have cleared up my problems with Lua failures. Unfortunately, I know not everyone will want to set this up so I would still like to figure out a way to handle that issue.
I just pushed a bunch of changes to the Denon repository. I seperated the JSON and device files for the denon itself and the denon zones. I also added dashboard on/off buttons for the Denon device and on/fff and volume for the zones.
The dashboard buttons were mostly implemented already, but there were some issues with the existing JSON that prevented their display. I need to re-add most of the control buttons back into the zone json file. Right now it is very incomplete as I pulled everything except for the on/off, volume, and source names to make it easier to work with. I’m still sorting through all the JSON options but made a lot of progress this weekend.
I also want to start adding additional functionality (for instance, the ability to type in AM/FM radio stations). Other ideas are welcome!
Ten pages of comments about the Denon plugin and I could no figure out HOW use it !
Could anyone post a link to the last version and a step-by-step instructions about how to install?
I download http://forum.micasaverde.com/index.php?action=dlattach;topic=5863.0;attach=4231 and using UI4 MIOS Developers/Luup Files/Upload Files with “Restart Luup after upload” on. But nothing happens. I expect some device would appears and things continues from there. But this does not happens.
Maybe using “Create device” ? But what fill to DeviceType and Internal ID ??
Thanks in advance…
Sorry to ask such a basic question but I can’t seem to find anything definitive in the recent pages of this thread nor the trac source: is this plugin still UI4 compatible or is it now UI5 only?
@lennier, I think the plugin should still be UI4 compatible. When I was editing it I tried to follow @guessed’s suggestions for preserving compatibility. Unfortanetly, I have no way of testing this as I don’t have UI4 anymore.
Sorry I am also new. I noticed the dates on the Denon app are 1/2012 but there are some references in this post to changes in the code more recent regarding how to setup zones, but my UI does not show any zone control. Using Denon AVR 3311ci and UI5.
@bfulton01, the newest code has not been checked in to the app store. You can grab it from here:
http://code.mios.com/trac/mios_denon-receiver-control/changeset/28/trunk?old_path=%2F&format=zip
Wow! Great news. I have a 2805 I would love to control as well. I’ll also be picking up a 3808. This pug in will be a great addition.
Keep up the good work.
I am also having problem to manualy install this app. I uplad the files from the zip file but i don’t know who to create the Denon device so it works.
Please hel[p.
Thanks
Hi!
I suppose this post is for radarengineer, or whoever is currently working on this plugin The version on the app store allowed me to change source and volume levels on my AVR1912s, but as noted earlier, it seems like the buttons to do this are missing from the version on code.mios.com. Is this mostly cosmetic and is it still being actively worked?
Thank you for the effort you’ve put in to this plugin so far!
@thetonyg, I think it should be mostly cosmetic. I am definitely still working on the plugin, I haven’t been very active for a few months due to other obligations but I’m trying to pick back up on my MiOS coding.
The newer control code should be solid, but I do need to rework the layout code and add more buttons. All the actions for scenes should be working. I am very interested in bug reports / suggestions.
radarengineer - awesome! I’d be happy to provide some feedback. I’m still getting everything setup in my Vera and migrated from Homeseer (along with starting a new job) so it might be a few weeks
Why do jobs always have to get in the way of our hobbies?
Well if your job didn’t, then you’d likely have no money to spend on your hobby
Very true! But still disappointing that I have a big stack of fun gadgets sitting in my office that are waiting to be integrated with Vera, but no time!
Json (which defines the interface / buttons) is pretty much the only part of MiOS coding I haven’t figured out yet. Mostly as I just haven’t had the time to really dig into it.