Re: [SlimDevices: Plugins] Announce: SqueezeIR - A Generic Infra-Red Remote Control Applet for the Duet's SBC
@ indifference_engine think you right..the timer won't go any faster... redoing the thing in c...guess thats a LOT of work :-) will live with it... but whats wrong with time it by code...so the controller locks up while i'm holding volume up...it's not like i'm going to change track while turning up the volume.. just my idee --- i don't want to put you thrue a lot of work for this...not a big problem.. thanks anyway so far for the plugin and support. -- arnoldl arnoldl's Profile: http://forums.slimdevices.com/member.php?userid=34984 View this thread: http://forums.slimdevices.com/showthread.php?t=66795 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SqueezeIR - A Generic Infra-Red Remote Control Applet for the Duet's SBC
indifference_engine;501298 Wrote: The gap in the lirc file should definately not be 0 but should be either 44000 or 22608 (us) depending on whether you trust your 'scope or the lirc file. MACRO_INTERVAL should be either 90 or 112 (ms) respectively. I'll have a look at using proper repeat codes in the next version but will provide a switch to fall-back to re-sending the initial code just in case. By fancy test kit I probably meant your 'digital storage oscilloscope'. Does that require hardware or is it a software oscilloscope using a comm port or similar? did some more tests.. highering the gap and macro_interval works..i can make the interval between pulses longer. But i can't get them lower then 98ms even with gap 0 and MACRO_INTERVAL=20 it's still 98ms. So i think thats a limitation of the controllers timer function. maybe it's possible to force timings lower then 100ms not to use the timer function and time them by program execution time... i use a rigol 1042cd digital scope like the image i attached. but there are also software scopes that use your soundcard as an input.. thats fast enough for doing this.. like http://www.zeitnitz.de/Christian/scope_en just connect a generic receiver tsop1738 to +5v and your soundcard input , and i must be possible to get the same pictures.. grtx , arnold -- arnoldl arnoldl's Profile: http://forums.slimdevices.com/member.php?userid=34984 View this thread: http://forums.slimdevices.com/showthread.php?t=66795 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SqueezeIR - A Generic Infra-Red Remote Control Applet for the Duet's SBC
indifference_engine;500494 Wrote: I found that the timer in the Controller wasn't accurate enough to use repeat codes reliably so I have deliberately not implemented them. I think to get the required accuracy would require building SqueezeIR into the kernel rather than having it run as an applet. However, you could bully SqueezeIR into using repeat codes by doing the following and see how you get on (I can't guarantee that it will work though): QUOTE] thanks for the good effort... almost works :-) i checked the waveform on a scope , and the time between the end of the code and the start of the repeat code is 98ms.. this should be 44ms. i tried changing the gap to even 0 but that didn't change a thing. tried chanigin the MACRO_INTERVAL in SqueezeIRApplet but that didn't change it to.. any more idea's on how to shorten this time between the two codes?? thanks attached the squeezeremote and origenal remote waveforms. +---+ |Filename: origenalremote.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=8936| +---+ -- arnoldl arnoldl's Profile: http://forums.slimdevices.com/member.php?userid=34984 View this thread: http://forums.slimdevices.com/showthread.php?t=66795 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SqueezeIR - A Generic Infra-Red Remote Control Applet for the Duet's SBC
@ indifference_engine i changed the gap to 0 and set macro interval to 20 and restarted the controller... cheked if the files where still changed on the controller.. but no difference in time , nothing i took the pictures with my digital storage osciloscope...with a very simple (passive) ir diode on it.. very handy to troubleshoot problems like this.. what test kit are you tolking about?? -- arnoldl arnoldl's Profile: http://forums.slimdevices.com/member.php?userid=34984 View this thread: http://forums.slimdevices.com/showthread.php?t=66795 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SqueezeIR - A Generic Infra-Red Remote Control Applet for the Duet's SBC
thksfor the response.. -1- hmm is that something thats going to come in a next version... or i can define a diferent ab/code for hold of the volume key in the config xml, cant's i define a repeat ir command in the config for hold of vol+/-? -2- ok...didn't realy think of that...normaly only using the controller to start/stop music..so wouldn't be a problem for me to sent on when controller starts the music...but i get you point.. it might be nice to sent a off command when squeezebox standby menu item is chosen. thks arnold -- arnoldl arnoldl's Profile: http://forums.slimdevices.com/member.php?userid=34984 View this thread: http://forums.slimdevices.com/showthread.php?t=66795 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: SqueezeIR - A Generic Infra-Red Remote Control Applet for the Duet's SBC
hey Thanks for this wonderfull plugin it's really usefull.. got it working for the volume and power/source from my harman kardon amp. only two questions.. -1- can i speed up the repeat rate? holding vol+ on the origenal remote , changes volume almost twice as fast as the controller does. it's configured with the lirc file i attached.. -2- are there option to send commands on start playing or thing like that..so like when it was not used for more than x minutes..and then it starts playing it turns the amp on? again , thanks for the plugin grtx , arnold +---+ |Filename: hk.lirc.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=8911| +---+ -- arnoldl arnoldl's Profile: http://forums.slimdevices.com/member.php?userid=34984 View this thread: http://forums.slimdevices.com/showthread.php?t=66795 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins