Page 5 of 6
Re: Onkyo Reciver RS232 plugin
Posted: Thu Jul 30, 2009 6:25 pm
by Fiasco
you would probably have to reassign your events.
Re: Onkyo Reciver RS232 plugin
Posted: Thu Jul 30, 2009 6:49 pm
by Bartman
You have changed the name of the actions, so the actions have to be readded again too.
nonetheless I added your version to the svn.
Re: Onkyo Reciver RS232 plugin
Posted: Thu Jul 30, 2009 7:10 pm
by Fiasco
Onkyo Zone 2 and Zone 3 remote screen
I was planning to use the IUI framework to give an iphone feel to the controls but I'm going to abandon it as the animations are just to darn choppy.
Re: Onkyo Reciver RS232 plugin
Posted: Fri Jul 31, 2009 9:18 pm
by Livin
that looks pretty nice... are you using an iPhone/iPod?
definitely post once you are done.
Re: Onkyo Reciver RS232 plugin
Posted: Mon Aug 03, 2009 2:32 am
by Fiasco
Iphone.
Re: Onkyo Reciver RS232 plugin
Posted: Mon Aug 03, 2009 4:16 am
by Livin
Are you close to posting the code to run on the iphone?
Re: Onkyo Reciver RS232 plugin
Posted: Mon Aug 03, 2009 4:26 pm
by Fiasco
No. I've got multiple systems to integrate (Panasonic TV via UIRT, Onkyo 875, DirecTV HR20, Honeywell Environcom environmental controls, Lutron Homeworks Lighting controls ect)
Re: Onkyo Reciver RS232 plugin
Posted: Mon Aug 03, 2009 6:00 pm
by Livin
Fiasco wrote:No. I've got multiple systems to integrate (Panasonic TV via UIRT, Onkyo 875, DirecTV HR20, Honeywell Environcom environmental controls, Lutron Homeworks Lighting controls ect)
WOW... your not messing around
I'm integrating less but here's what my plan is...
XBMC - controlled by: EG & XBMC Remote for iPhone/iPod
Homeseer software (X10 devices) - automatic & web controls, custom HTML/ASP interface
Onkyo 805 - controlled by EG, need to finish 2nd zone controls
JRMC - need to integrate for 2nd zone audio
I've had the HTML/ASP interface for Homeseer for years, just changed it a bit to make it look nice on my iPod. Homeseer uses basic POST commands to trigger actions/devices so the interface is easy to build.
Can you shoot me some of your working code examples?
Re: Onkyo Reciver RS232 plugin
Posted: Mon Aug 03, 2009 8:42 pm
by Fiasco
right now im just working on the interfaces. I plan to incorporate the XBMC remote stuff from the app into the regular interface so I don't have to jump apps for remote control.
Here is the latest tweak on the Onkyo interface.
The interface currently updates by pulling a variables file from the EG server every couple of seconds. Mute, input, zone, volume, frequency indicators all currently work. If I go manually change the volume, frequency, remote ect with the knobs on the receiver the remote interface lags a couple of seconds before updating. It is fun to set the update interval to 250ms or so and watch the freq indicator run up when the receiver is in scan mode
Hitting the zone1/2/3 buttons on the bottom update the commands on the remote sent to the EG webserver by prepending them with "z1, z2, or z3".
Trying to figure out how to detect mouse down/mouse up as seperate events on an iphone by using alternate mouse detection commands as clicking the volume up/down arrows increments by 1/2 unit on my onkyo requiring 200 clicks to go from silent to full volume.... unacceptable.
You can adjust the volume by clicking anywhere on the LED slider on the right side of the screen.
When you click the sleep button the frequency display changes temporarily to display the number of minutes before sleep engages.
Hoping to wrap the Onkyo part up shortly so I can move on to the DirecTV HR20 receiver.
Re: Onkyo Reciver RS232 plugin
Posted: Mon Aug 03, 2009 10:55 pm
by Livin
Fiasco wrote:right now im just working on the interfaces. I plan to incorporate the XBMC remote stuff from the app into the regular interface so I don't have to jump apps for remote control.
Which stuff? Are you talking about the " XBMC Control Web Page" (
http://xbmc.org/forum/showthread.php?t=51596)?
Fiasco wrote:
Here is the latest tweak on the Onkyo interface.
The interface currently updates by pulling a variables file from the EG server every couple of seconds. Mute, input, zone, volume, frequency indicators all currently work. If I go manually change the volume, frequency, remote ect with the knobs on the receiver the remote interface lags a couple of seconds before updating. It is fun to set the update interval to 250ms or so and watch the freq indicator run up when the receiver is in scan mode

What about having EG send a refresh/update command to the interface when necessary... this should eliminate polling, which is costly I think?
Fiasco wrote:Hitting the zone1/2/3 buttons on the bottom update the commands on the remote sent to the EG webserver by prepending them with "z1, z2, or z3".
Nice
Fiasco wrote:Trying to figure out how to detect mouse down/mouse up as seperate events on an iphone by using alternate mouse detection commands as clicking the volume up/down arrows increments by 1/2 unit on my onkyo requiring 200 clicks to go from silent to full volume.... unacceptable.
What about a long or continuous button press/hold that controls the up/down?
Fiasco wrote:You can adjust the volume by clicking anywhere on the LED slider on the right side of the screen.
When you click the sleep button the frequency display changes temporarily to display the number of minutes before sleep engages.
Hoping to wrap the Onkyo part up shortly so I can move on to the DirecTV HR20 receiver.
nice... please send me the code once you are done - I'd like to check it out.
Re: Onkyo Reciver RS232 plugin
Posted: Wed Aug 05, 2009 8:39 pm
by Fiasco
...
Re: Onkyo Reciver RS232 plugin
Posted: Wed Aug 26, 2009 1:42 am
by Fiasco
Updated (view w/ iphone or safari
here
Updated plugin. Plugin now sets several eg.global variables that you can use the dynamic webserver plugin with.
onkyosleeptime:{{eg.globals.onkyosleeptime}}
onkyopower:{{eg.globals.onkyopower}}
onkyomastervolume:{{eg.globals.onkyomastervolume}}
onkyomute:{{eg.globals.onkyomute}}
onkyoinput:{{eg.globals.onkyoinput}}
onkyoz2power:{{eg.globals.onkyoz2power}}
onkyoz2mute:{{eg.globals.onkyoz2mute}}
onkyoz2volume:{{eg.globals.onkyoz2volume}}
onkyoz2input:{{eg.globals.onkyoz2input}}
onkyoz3power:{{eg.globals.onkyoz3power}}
onkyoz3mute:{{eg.globals.onkyoz3mute}}
onkyoz3input:{{eg.globals.onkyoz3input}}
onkyospectrum:{{eg.globals.onkyospectrum}}
onkyofrequency:{{eg.globals.onkyofrequency}}
Re: Onkyo Reciver RS232 plugin
Posted: Wed Aug 26, 2009 1:43 am
by Fiasco
screen shots
Re: Onkyo Reciver RS232 plugin
Posted: Thu Aug 27, 2009 3:15 am
by Livin
this looks great... I'm going to install it this weekend and let you know how it goes.
thx
Re: Onkyo Reciver RS232 plugin
Posted: Thu Aug 27, 2009 5:40 am
by Fiasco
About the polling you mentioned.
I setup a timeout so that the polling will suspend if you don't interact with the remote for a set period of time (90 seconds)