View Full Version : lua question
February 7th, 2010, 11:51 AM
hey all I am hoping someone here can help me out I was sent the code for the cm19 so that i could hapefully fix my remote issue the problem I have however is i have no idea how girder is suppose to react when i run the code I was told to "place in the lua directory and load through a luascript action require('CM15A')."
the problem is I have no idea how to tell if girder has succesfully accessed it or not
February 8th, 2010, 05:12 AM
I don't seem to have that script here - can you post a link to it?
February 8th, 2010, 05:02 PM
sure here is the link Ron sent to me http://www.promixis.com/temp/CM15A.lua
February 17th, 2010, 03:36 PM
Unload and remove the CM15A plugin from the Plugin directory. Restart Girder.
Open the Lua console.
Redownload the CM15A file from the link above. I've added the line
print("TEMP CM15A TESTING!!!")
at the top of the file
Then in Girder inside a scripting action type:
and press F5 to trigger that action, inside the lua console you should now see "TEMP CM15A TESTING!!!"
Now the CM15A functionality should be working.
February 17th, 2010, 06:11 PM
I get the "TEMP CM15A TESTING!!!" line now how do i proceed next or should I say how to I tell if it is receiving the signals to edit the file?
February 19th, 2010, 03:00 PM
Looks to me as though you should get either events or messages in the log.
February 19th, 2010, 08:21 PM
I get no reaction from girder logs or anything other than te test ling in the lua console
February 19th, 2010, 10:46 PM
ok i justed noticed in the log window that when i run the require commands I get a
Time Date Source Details Payloads
23:45:20:761 2/19/2010 ActiveHome Unable to connect.
what is the cause of this or rather what can cause this?
February 22nd, 2010, 09:29 PM
any ideas on teh activehome unable to connect issue
February 23rd, 2010, 06:03 AM
From the script it looks as though Girder can't create the COM object for X10.ActiveHome - I would suggest that you try reinstalling ActiveHome.
February 23rd, 2010, 06:24 AM
ok so i i need to install activehome? what version?
February 23rd, 2010, 06:46 AM
I would assume that the latest version should be okay.
February 23rd, 2010, 06:48 AM
o i will give it a shot wasn't aware it needed to be installed
February 23rd, 2010, 06:58 AM
Ok I just installed the newest version and it has the same issue still says unable to connect to activehome
February 23rd, 2010, 07:34 AM
And does ActiveHome Pro run okay?
Maybe download the Activehome SDK Redistributable Components from http://x10dispatcher.com/Downloads.aspx
February 23rd, 2010, 07:55 AM
Ok I have reinstalled activehome 5 times and I still get the same result
February 23rd, 2010, 09:05 AM
Did you try the SDK?
February 23rd, 2010, 09:17 AM
no i didn't let me see if i can find the link for it
February 23rd, 2010, 09:44 AM
well I found the sdk and it removes the activehome error but i still get no response from girder other than the temp line in the lua console
February 26th, 2010, 08:56 PM
any ideas would be great
February 27th, 2010, 03:16 AM
I assume you've tried sending X10 commands from a GML?
February 27th, 2010, 08:33 AM
am not trying to send them, I am trying to get it to read all the functions of the x10 mouse remotes
February 28th, 2010, 03:47 AM
Ah, I hadn't realised that you were trying to get a remote control to work.
Looking at the script I see this
elseif RFRemoteCommands [Parm2] then -- rf remote
-- ignored for now
Which does not bode well.
February 28th, 2010, 09:58 AM
well if anyone has an idea please speakup.
March 1st, 2010, 06:42 PM
I think what Rob was trying to say is that the RFRemote Commands section of code hasn't been developed yet which is why it doesn't work.
March 1st, 2010, 07:07 PM
I know that is what he is trying to say.
however I have managed by modifying that section to get the remote to accept commands.
However I have still been unable to get the mouse buttons to works so if anyone could chime in with advise on how to get it to see them it would be great
what i did was change -- ignored for now
local eventstring = 'REMOTE:'..Parm2
March 2nd, 2010, 05:23 AM
Do you get any events triggered that way? Or any errors in the Lua console?
March 2nd, 2010, 08:01 AM
it sees all the events accept the mousepad and buttons and nope no errors in the lua console. I did note that it doesn't decide if i am using a cm19 or cm15 though as i added print statements to each else if to see it it was
March 2nd, 2010, 08:50 AM
question if i am able to get this to work is there anyway to make similar changes to the x10 remote plugin so that i can use multiple remotes as the cm15a code doesn't pass the remote code
March 8th, 2010, 06:35 PM
ok any idea on the mousepad not working?
March 9th, 2010, 06:25 PM
Maybe they're being trapped by the driver and converted to HID events?
March 9th, 2010, 06:55 PM
not on the screen atleast
and according to the ahview application that is included with the sdk nothing is being recieved. I spoke with x10 today about it and they said to try replacing the cm19a i am using. As the google remote they make and the mouseremote are the same basic hardware so it should work fine and there is no affect so i plan to order a new cm19a sometime this week and give it a shot. i have one question do you folks think i should get a cm19a or a cm15A what is the difference?
March 9th, 2010, 07:04 PM
on a side note what is the cm15a capable of receiving i know it can read security modules. Can it read wireless temperature sensors?
March 10th, 2010, 06:05 PM
Anyone know this? I've never seen either the CM19A or CM15A - it appears to be a replacement for both the CM19A and CM11A from what I can tell though.
March 19th, 2010, 11:09 PM
well I picked up another cm19a and a cm15a I was unable to get either one to see the remotes, even straight through the activehome sdk so I called X10 back and was unable to get a straight answer from them. So what i want to find out is will a W800RF32 see X10 remotes? (figure it will work better with my motion sensors anyways) and which frequency do I need in the us?
What is about the best price I can expect to get one one?
April 11th, 2010, 05:17 AM
so is there any chance we could use the cm19 to send x10?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.