From: Reiter, E. <Ern...@mi...> - 2009-04-08 06:39:30
|
Hi, yes. I did make up my own cable, as my Receiver is about 15 meters away from my misterhouse box, I used a existing cable and wired it up to the serial port as described in the manual. Ernst -----Original Message----- From: Bart Bunting [mailto:ba...@ur...] Sent: Tuesday, April 07, 2009 11:39 PM To: 'The main list for the MisterHouse home automation program' Subject: Re: [mh] denon avr 3808 and mh Hi, I just bought a usb to serial adapter and plugged it straight in. I thought it was a standard serial connection? I'll have to try and figure out from the manual? Did you have to make your own cable? Regards Bart -----Original Message----- From: Reiter, Ernst [mailto:Ern...@mi...] Sent: Tuesday, 7 April 2009 10:26 PM To: The main list for the MisterHouse home automation program Subject: Re: [mh] denon avr 3808 and mh Hi, I used the following settings for the serial port: serial1_port=/dev/ttyUSB2 serial1_baudrate=9600 serial1_handshake=none serial1_datatype=records Cheers Ernst PS: What type of serial cable you bought? You need the serial cable with the right pin assignment (as it is described in the Serial Protocol from Denon: http://www.microcheese.de/download/AVR-2807SerialProtocol.pdf ) -----Original Message----- From: Bart Bunting [mailto:ba...@ur...] Sent: Sunday, April 05, 2009 3:58 AM To: 'The main list for the MisterHouse home automation program' Subject: Re: [mh] denon avr 3808 and mh Hi, I went and bought a serial cable to try to control the Denon that way. I am having no luck at this point. It appears that I'm just getting garbage from the Denon. The documentation suggests that it should be a 9600 8 n 1 connection. Are you able to tell me what paramaters you used when configuring your serial port? My serial port def looks like: serial2_port=/dev/ttyUSB0 serial2_baudrate=9600 #serial2_handshake=dtr serial2_datatype=raw Regards Bart -----Original Message----- From: Reiter, Ernst [mailto:Ern...@mi...] Sent: Friday, 20 March 2009 8:14 PM To: The main list for the MisterHouse home automation program Subject: Re: [mh] denon avr 3808 and mh Hi, i control my Denon AVR 2807 through the serial Port and it works quite well since 4 month. There is a documentation from Denon which describes that Protocol (http://www.microcheese.de/download/AVR-2807SerialProtocol.pdf). I implemented it as follows in MH: As already mentioned, if your AVR has a Ethernet port, it might be the better option. ############################################################################ #### # Denon AVR Reciever Serial connection $receiver_serial = new Serial_Item("PWSTANDBY", "xoff", 'serial1'); $receiver_serial -> add ("PWON", "xon"); $receiver_serial -> add ("PW?", "power-status"); $receiver_serial -> add ("MVUP", "volplus"); $receiver_serial -> add ("MVDOWN", "volminus"); $receiver_serial -> add ("MV62", "vol-18"); $receiver_serial -> add ("MV80", "vol+0"); $receiver_serial -> add ("MV98", "vol+18"); $receiver_serial -> add ("MUON", "mute-on"); $receiver_serial -> add ("MUOFF", "mute-off"); $receiver_serial -> add ("SIPHONO", "input-phono"); $receiver_serial -> add ("SICD", "input-cd"); $receiver_serial -> add ("SITUNER", "input-tuner"); $receiver_serial -> add ("SIDVD", "input-dvd"); $receiver_serial -> add ("SIVDP", "input-vdp"); $receiver_serial -> add ("SITV", "input-tv"); $receiver_serial -> add ("SIDBS", "input-dbs"); $receiver_serial -> add ("SIVCR-1", "input-vcr1"); $receiver_serial -> add ("SIVCR-2", "input-vcr2"); $receiver_serial -> add ("SIV.AUX", "input-vaux"); $receiver_serial -> add ("SICDR/TAPE", "input-cdr"); $receiver_serial -> add ("SI?", "input-status"); $receiver_serial -> add ("SDAUTO", "digital-in-auto"); $receiver_serial -> add ("SDPCM", "digital-in-pcm"); $receiver_serial -> add ("SDDTS", "digital-in-dts"); $receiver_serial -> add ("SDANALOG", "digital-in-analog"); $receiver_serial -> add ("SDEXT.IN-1", "digital-in-ext-in"); $receiver_serial -> add ("SVDVD", "video-select-dvd"); $receiver_serial -> add ("SVVDP", "video-select-vdp"); $receiver_serial -> add ("SVTV", "video-select-tv"); $receiver_serial -> add ("SVDBS", "video-select-dbs"); $receiver_serial -> add ("SVVCR-1", "video-select-vcr1"); $receiver_serial -> add ("SVVCR-2", "video-select-vcr2"); $receiver_serial -> add ("SVV.AUX", "video-select-vaux"); $receiver_serial -> add ("SVSOURCE", "video-select-source"); $receiver_serial -> add ("MSDIRECT", "surround-mode-direct"); $receiver_serial -> add ("MSPURE DIRECT", "surround-mode-pure-direct"); $receiver_serial -> add ("MSSTEREO", "surround-mode-stereo"); $receiver_serial -> add ("MSMULTI CH IN", "surround-mode-multi-ch-in"); $receiver_serial -> add ("MSMULTI CH DIRECT", "surround-mode-multi-ch-direct"); $receiver_serial -> add ("MSMULTI CH PURE D", "surround-mode-multi-ch-pure-direct"); $receiver_serial -> add ("MSDOLBY PRO LOGIC", "surround-mode-dolby-pro-logic"); $receiver_serial -> add ("MSDOLBY PL2", "surround-mode-dolby-pl2"); $receiver_serial -> add ("MSDOLBY PL2x", "surround-mode-dolby-pl2x"); $receiver_serial -> add ("MSDOLBY DIGITAL", "surround-mode-dolby-digital"); $receiver_serial -> add ("MSDOLBY D EX", "surround-mode-dolby-d-ex"); $receiver_serial -> add ("MSDTS NEO:6", "surround-mode-dts-neo6"); $receiver_serial -> add ("MSDTS SURROUND", "surround-mode-dts-surround"); $receiver_serial -> add ("MSDTS ES DSCRT6.1", "surround-mode-dts-es-dscrt61"); $receiver_serial -> add ("MSDTS ES MTRX6.1", "surround-mode-dts-es-mtrx61"); $receiver_serial -> add ("MSWIDE SCREEN", "surround-mode-wide-screen"); $receiver_serial -> add ("MS5CH STEREO", "surround-mode-5ch-stereo"); $receiver_serial -> add ("MS7CH STEREO", "surround-mode-7ch-stereo"); $receiver_serial -> add ("MSSUPER STADIUM", "surround-mode-super-stadium"); $receiver_serial -> add ("MSROCK ARENA", "surround-mode-rock-arena"); $receiver_serial -> add ("MSJAZZ CLUB", "surround-mode-jazz-club"); $receiver_serial -> add ("MSCLASSIC CONCERT", "surround-mode-classic-concert"); $receiver_serial -> add ("MSMONO MOVIE", "surround-mode-mono-movie"); $receiver_serial -> add ("MSMATRIX", "surround-mode-matrix"); $receiver_serial -> add ("MSVIDEO GAME", "surround-mode-video-game"); $receiver_serial -> add ("MSVIRTUAL", "surround-mode-virtual"); $receiver_serial -> add ("MS?", "surround-mode-status"); $receiver_serial -> add ("MSUSER1", "surround-mode-user1"); $receiver_serial -> add ("MSUSER2", "surround-mode-user2"); $receiver_serial -> add ("MSUSER3", "surround-mode-user3"); $receiver_serial -> add ("SSCUP", "cursor-up"); $receiver_serial -> add ("SSCDN", "cursor-down"); $receiver_serial -> add ("SSCLT", "cursor-left"); $receiver_serial -> add ("SSCRT", "cursor-right"); $receiver_serial -> add ("SSENT", "cursor-enter"); $receiver_serial -> add ("SSMEN ON", "system-setup-menu-on"); $receiver_serial -> add ("SSMEN OFF", "system-setup-menu-off"); $receiver_serial -> add ("PSMEN ON", "surround-parameter-menu-on"); $receiver_serial -> add ("PSMEN OFF", "surround-parameter-menu-off"); $receiver_serial -> state_overload(ON); $v_receiver_serial = new Voice_Cmd("Switch Receiver [xon,xoff,volplus,volminus,vol-18,vol+18,vol+0,input-status,power-status,sur round-mode-status,input-tv,input-dvd]"); if ($state = said $v_receiver_serial) { set $receiver_serial $state; } my $ReceiverStatusInput; if (my $data = said $receiver_serial) { logit("/tmp/receiver.log", $data); if (substr($data,0,2) eq "SI") { $ReceiverStatusInput = $data; } #print_log "Serial Receiver data received"; } -----Original Message----- From: Bart Bunting [mailto:ba...@ur...] Sent: Friday, March 20, 2009 6:09 AM To: 'The main list for the MisterHouse home automation program' Subject: Re: [mh] denon avr 3808 and mh Hi Mark, I had come to pretty much the same conclusion after doing some further reading. In fact someone has already written a windows client which appears to have a lot of functionality, with the one drawback for me that it runs on windows not Linux and is written in vb. For those out there who are using windows it may be an interesting thing. http://www.nicetaco.com/Command3808/Current/ I'd really like to figure out how to get MH to speak through the amp as well as being able to control it. I'm actually blind so using the front panel is pretty much useless apart from turning it on and volume up and down. The denon web ui is not the best but useable. It appears that there are a lot more commands exposed via the telnet interface. From reading it also seams that the protocol is common to quite a few models. I'll keep looking around and see if I can find the specs. Worse comes to worse I guess all the info is somewhere in the guts of the vb code :). It would be nice to get mh working with the Denons but at this point I know so little about mh and the Denon protocol I think it will take some time. Regards Bart -----Original Message----- From: Marc MERLIN [mailto:ma...@me...] Sent: Friday, 20 March 2009 3:51 PM To: The main list for the MisterHouse home automation program Subject: Re: [mh] denon avr 3808 and mh On Fri, Mar 20, 2009 at 09:34:24AM +1100, Bart Bunting wrote: > Hi all, > > I'm new to misterhouse and was wondering if anyone has done anything > with the Denon AVR 3808 amp. It has a serial port and can be > controlled and programmed via it. I happen to have the same, but haven't quite had the urge to do this yet :) Note that it'd be easier to program through the ethernet port, especially when it's already wired to your LAN. > At this point I don't have much info on the protocol but thought I'd > ask here in case someone has already had a go at interfacing > misterhouse with the 3808. I'd interface to ethernet port first: PORT STATE SERVICE 23/tcp open telnet 80/tcp open http 443/tcp open https 5000/tcp open upnp 5001/tcp open commplex-link 6666/tcp open irc 8080/tcp open http-proxy MAC Address: 00:05:CD:14:29:AC (Denon) Device type: storage-misc|media device Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ ---------------------------------------------------------------------------- -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 ---------------------------------------------------------------------------- -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 ---------------------------------------------------------------------------- -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 ---------------------------------------------------------------------------- -- ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 ---------------------------------------------------------------------------- -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |