Guest
Login
Register
Home
Help
Search
Login
Register
more G-Labs products
This forum is soon going to be read-only.
Please join the new
HomeGenie community on Google+
HomeGenie Forum
Development
Feature request
Universal Remote Control UI For Lirc Send
« previous
next »
Print
Pages: [
1
]
2
Go Down
Author
Topic: Universal Remote Control UI For Lirc Send (Read 5984 times)
July 13, 2014, 08:29:36 PM
Read 5984 times
jjr
Information
Newbie
Posts:
15
Universal Remote Control UI For Lirc Send
Hi Gene
Can i say "thank you for your work" this is the best open source home automation software i have come across. I hope i can contribute to this project in one way or another as it develops. I have been messing around with the lirc send and receive and would like to have a universal remote control user interface, or just virtual buttons, so i can assign ir send commands and macros to individual buttons. I hope this makes sense
Logged
July 13, 2014, 08:55:03 PM
Reply #1
Gene
Information
Administrator
Posts:
1472
Tangible is the future!
Re: Universal Remote Control UI For Lirc Send
In latest hg release when you add a program to a control group it will shows up both as a button in the group view and also in the actions menu.
So you have always a quick access to the program.
Cheers,
g.
Logged
July 14, 2014, 08:45:36 PM
Reply #2
jjr
Information
Newbie
Posts:
15
Re: Universal Remote Control UI For Lirc Send
Hi cheers for the quick response. I see what you mean now even thou i can't get the c# code example working and i'm not having any luck with the wizard scripting either. When i do add the code program module i can see the button thanks. Could you advise me where im going wrong with your code example. I can send IR commands in terminal and every thing works fine. For example: pi@raspberrypi~$ irsend SEND_ONCE Toshiba_CT-90298 vol_up
But when i try the C# code:
var lirc = Modules.InDomain("Controllers.LircRemote").WithName("IR");
lirc.Command("Remotes.IrSend").Execute("lirc_rpi/vol_up");
I get nothing.
I have tried changing: WithName("IR"); to WithName("Toshiba_CT-90298");
I've also changed Execute("mceusb/VolUp") to Execute("lirc_rpi/vol_up");
What am i missing?
«
Last Edit: July 14, 2014, 09:23:19 PM by jjr
»
Logged
July 14, 2014, 10:14:28 PM
Reply #3
Gene
Information
Administrator
Posts:
1472
Tangible is the future!
Re: Universal Remote Control UI For Lirc Send
- create a new wizard script
- click on "Capture" button under the commands list
- press some buttons on the ir remote
you should see all the IRSEND commands sequence.
- save the new wizard script
- try to run and see if it's working
Cheers,
g.
Logged
July 14, 2014, 11:21:22 PM
Reply #4
jjr
Information
Newbie
Posts:
15
Re: Universal Remote Control UI For Lirc Send
The wizard script runs then goes idle but no RF signal is sent. I have tried various different combination with wizard scripts I've even tried to assign a push button on mcp23017 to trigger the captured button (yes i can capture ok). Am i right in assuming for IR send i should be creating the wizard in programme instructions? As programme conditions is used for IR receive. Please bear in mind i am a noob and am probably missing the obvious.
«
Last Edit: July 15, 2014, 09:32:16 PM by jjr
»
Logged
August 07, 2014, 09:53:21 PM
Reply #5
jjr
Information
Newbie
Posts:
15
Re: Universal Remote Control UI For Lirc Send
Hi i still can't get ir send to work with hg. The only thing that looks different in the code to what im entering into the command line is the ""
commands += """ + request.GetOption(c) + "" ";
c++;
}
ShellCommand("irsend", "SEND_ONCE " + commands);
When i receive an ir command hg seems to add a "" between the ir remote device name and the ir command. Which doesn't work from command line.
ie: "irsend SEND_ONCE Toshiba_CT-90298 vol_up" WORKS minus the colon's
but "irsend SEND_ONCE Toshiba_CT-90298vol_up" DOESN'T WORK
Anybody else got ir send working?
Logged
August 08, 2014, 07:17:49 AM
Reply #6
Jens
Information
Global Moderator
Posts:
211
Re: Universal Remote Control UI For Lirc Send
Yes, irsend works perfect for me. The only issue I was having was the version of the raspian image. The version has to be > 3.12.18+, in lower versions there is a timing issue.
regards
Jens
Logged
August 13, 2014, 10:47:19 PM
Reply #7
Jens
Information
Global Moderator
Posts:
211
Re: Universal Remote Control UI For Lirc Send
Hi jjr,
i did another test today with r410 and you are right, no IR Signal is sent, receive works again.
I cannot tell when it stopped working, but it has been working earlier
Jens
Logged
August 14, 2014, 01:55:47 AM
Reply #8
Gene
Information
Administrator
Posts:
1472
Tangible is the future!
Re: Universal Remote Control UI For Lirc Send
Yep IR send was broken. It should be fixed in r411 (available from ui update manager).
I couldn't test it right now though.
Cheers,
g.
Logged
August 14, 2014, 09:23:40 AM
Reply #9
Jens
Information
Global Moderator
Posts:
211
Re: Universal Remote Control UI For Lirc Send
Yes it is back working, thanks a lot.
Regards
Jens
Logged
August 19, 2014, 07:12:48 PM
Reply #10
jjr
Information
Newbie
Posts:
15
Re: Universal Remote Control UI For Lirc Send
Yeah all my ir send wizard scripts now work. Thanks gene your amazing
Logged
August 19, 2014, 09:06:19 PM
Reply #11
Jens
Information
Global Moderator
Posts:
211
Re: Universal Remote Control UI For Lirc Send
Hi jjr,
it just worked once or twice for me and stopped working again. Can you please have a look at my post in bugs/testing -any idea what to test? Irreceive works withput any issues
Thanks
Jens
Logged
August 19, 2014, 09:52:46 PM
Reply #12
jjr
Information
Newbie
Posts:
15
Re: Universal Remote Control UI For Lirc Send
Hi Jens
Your setup might be different to mine. Are you using a usb ir device or a homebrewed tsop ir receiver? Im using a tsop home-brewed breadboard setup.
Logged
August 20, 2014, 08:49:29 PM
Reply #13
Jens
Information
Global Moderator
Posts:
211
Re: Universal Remote Control UI For Lirc Send
I am using TSOP receiver and IR LED for irsend. Receive is no problem at all, send is no problem from os level, but it does not work via HG wizard script. How does your script for sending look like, can you post a screenshot?
Regards
Jens
Logged
August 20, 2014, 10:30:59 PM
Reply #14
jjr
Information
Newbie
Posts:
15
Re: Universal Remote Control UI For Lirc Send
Here's a screenshot
«
Last Edit: August 20, 2014, 10:54:27 PM by jjr
»
Logged
Print
Pages: [
1
]
2
Go Up
« previous
next »
HomeGenie Forum
Development
Feature request
Universal Remote Control UI For Lirc Send