Logitech Z906 Remote
Well, I was bored and if this already existed then I was also too dumb to google correctly.
But since I haven't found this so far here is a IR Remote the the Logitech Z906 5.1 Sound System, hope some of u guys find use for it.
Current info for developers (advanced users) of UR is here...... https://github.com/unifiedremote/Docs
As I understand (what I have deduced)... all code goes in the folders used by the server, that then uploads a sort of "shell" to the app, gives it the layout to display, and waits for commands and sometimes a bit of minimal user data. The "translation" through Lua to the OS is done server-side, which is how they manage to have one app talk to different OS(s).
So when IR is sent from the device (phone) (using the dev.irsend command) either it is already loaded in the app (which I doubt but I don't know) or the code is still server-side and called by the "action" and served up. I suppose a deduction could be made by looking at the size of similar remotes that do or don't contain IR code.
When the IR is to be sent by a device elsewhere on the network, like your GC, libs.server.run is called, which looks like a direct call to Lua on the server to do something. The app must have control though....... as it has the buttons for selecting the device, learning etc.
I was told by the developers many moons ago that the "double @irsend" was a temporary bodge while they got around to doing it properly.
Trawling the net I get the impression that we are the only people doing, or trying to do this with Unified Remote. Time for a message to @pbergqvist I think.......
Or maybe Jakob if he is still around?
@iPanini I have been hunting around for the developers email address. It might no longer be valid (if I find it) but they have not visited this forum in the last 4 months and if email digests are not sent then....?
I stumbled on this......... https://github.com/unifiedremote/Remotes/tree/master/Examples/IR Offline which hints that the app gets the xml layout file, and the lua rests with the server.....
I also wonder if you could have some luck making a widget.... https://www.unifiedremote.com/tutorials/how-to-use-ir using the downloaded code. If it works then you could copy the widget (maybe) from your phone and investigate the contents in Dreamweaver.
Here's my 2cents after giving it some thought:
- I'm giving a try at a couple off apps doing more or less the same. It's not easy to properly compare and estimate complexity vs ease of use. Also price and platforms supported are important.
- Creating your own layout is also a point, but I haven't even looked into it yet.
- In a 2nd stage interaction with house automation is an important factor. Thinking of Agocontrol, OpenHab, KNX in general. Idea being that in the end you will use only your phone or some tablet to do all you want to do, and again not 2 remotes living next to each other.
- For now I'm focusing on Unified Remote and MyUremote.
It is not very positive that neither Philip Bergqvist nor Jakob Berlund are active on the forum. The moment I have 'something' working, I consider contacting support.
- As I own an Onkyo TX-NR906 I know that this AV receiver is on the edge. Meaning that it supports TCP/IP, IR + RS232, but also meaning that I already found several remote apps that will support more recent types but not mine. This in spite of the fact that they're all based on the same communication protocol. (available on internet) So there must be some difference, but I have not pinpointed what exactly..
- I also want to try to somehow limit the amount of time & money I need to invest to get 'something' going.
For now I'm going to order the ZaZaRemote blaster / receiver, so that I at least am sure that learning will work.
Is there any list of known working mobiles re: IR learning?
I also intend to buy an iTach or iFlex + some cables. I found the information about the number of connections here on the iRule site.
I'm also trying to get a hold on the Pronto extender.
What type of Keene do you use?
It seems to me that all this will take some if not a lot of time.
Most of all I will invest more reading about UR and will try to find simple example paths to try and get on the road.
I'm also convinced it is important to be on the same frequency.
What I mean is, if I try to follow your examples -> Am I doing it the right way? On the phone / tablet (device) or the server?
I have found that on the phone there are at least 2 ways to go:
open UR > slide from the left > remotes > pick the Z906 & try to do your thing
- Using the widget, somehow I read about this method first and have been using this way most of the time, so this corresponds with your link to "How To Use IR"
I will most certainly look into your link Custom IR (Offline), but I feel that imperatively I need to get IR blasting visible in a camera...
Also thinking of wireshark to see what's happening, but I have no experience with this so am also afraid this will be a long winding road..
A lot to digest. I have one more try for the carriage return for you......hex.zip
I use the Keene IRAnywhere. I bought a "double pack" with one set "in" for learning and the other set "out" for sending, and that helped enormously with capturing codes and testing. One of them is in the drawer now as a spare. If your GC would respond then it would do everything........ I also bought an IR amplifier / distribution and some small and 1 high power blaster........ http://www.keene.co.uk/keene-ir-anywhere-ir-over-ip-modules-pair.html
They were quite helpful........ even on the phone!
I will try to reply to your other stuff slowly in the chat...... obviously you are moving faster than me....
For the GC you must try this before you go buying more kit......... http://www.rmartijnr.eu/ and if nothing works then give it a factory reset maybe.
You should be able to test your codes, and the unit etc............ I assume from your posts that you are on OSX.
Thanks for elaborating;
Yes, I'm mostly on OS X, but have win and linux at hand. Am now considering to have a go at IrScrutinizer,
Tried to install on my mac, but doesn't seem to start.
Have the win-version on a virtual machine now.
I think it should be a big help, but remains that I need a IR capable of learning. I found 2 usb IR receivers at home, none of those seem capable of learning.
Also considering to look into LIRC and WinIRC.
Looking at USB-UIRT too.
Would prefer if possible to quickly go out and buy some el cheapo learning capable receiver.
Not sure where and if to be found easily.
I already found the rmartijnr.eu site before. I think it's most of all OS X versions of helpers from Global Cache. Previously decided to prefer to stick with Global Cache original helpers, as I can easily do this within virtual machine. And thus avoid other difficulty..
@iPanini Hello again...... it could be that a lot of the help I tried to give was 100% useless.
Partly my fault, and partly not....
I was just forced to buy a new phone, and having installed the latest android apk from the play store some of the codes sent to the IR blaster no longer work. There are other problems as well....
And only at that moment (maybe because I am old) I remembered that years ago I went back to version 3.0.23 of the app....... because it worked properly in all respects!....... and set my devices to refuse updates for Unified Remote.
Fortunately I have quite a few of the older Android apk's and I am up and running again. UR probably have them stored somewhere on the net, but the old address is bad.
Thanks for the update.
In the mean time i have the iTach.
Only tonight I did some simple testing. I have to admit even after only about a week, I had to dig deep in to memory... how was it again...??
Anyway, I moved all our test dirs with Z906 code and put the original back in place.
After some fidling it just started working. So I'm on track again.
I also figured out that in Android app > preferences > IR (select & learn), I have to set / select the default IR (output) device. In this way I can select 'Built-in Blaster'.
I need to double check if I can turn off wifi and still control using the built in blaster, but at least I notice a blue led flashing when I press a button, so I believe my Note 4 blasting also works.
What I'm wondering now:
I'd like to figure out more about the internal functioning of UR in conjunction with the Global Cache devices. More specifically if I can send the learnt codes from the iTach with the GC 100-6... It guess it should work.
But then, how do I take the address of the 2nd Global Cache device into account??
I also would like to know if the codes that UR learns are written into a *.remote file somehow. (like the Z906 codes in the *.lua file)
Thanks again for helping out!
Well...... that is good news!
If you can remember and post what fiddling you did that would help others in the future....
I don't know if you can use the two iTachs together. There might be a way of telling them (in their control software) that they are "unit1" and "unit2" so that the "modules" are sequenced together?
When you learn an IR code in the UR app, you can then "share" it. I remember sending all my learned codes one by one by email to myself, and then copy/pasting them into the remote.lua file.
Hi, do you know whether it is possible to set volume of Z906 to an exact level? Does an IR code exist for this functionality?
E.g. I would like set volume level to 25% of max.