Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mikeybs

Pages: 1 [2] 3 4 5
16
Users / Re: using a script to launch scenarios
« on: April 24, 2014, 07:43:23 am »
figured it out myself... simple recipe

svn checkout http://svn.linuxmce.org/svn/trunk/src/
cd src/MessageSend
make

in case anyone else is interested....

thanks again for all the help... and the smiles :)

17
Users / Re: using a script to launch scenarios
« on: April 24, 2014, 07:21:56 am »
I'd like to be able to run MessageSend from another linux host.  I tried to just copy the binary to the other linux host, but when I try to run it I get:

./MessageSend
-bash: ./MessageSend: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory


Can I compile this on the other linux host without too much difficulty?

Right now I am using ssh keys to execute the MessageSend commands on the linuxmce core, but there is a delay while the ssh login takes place.... it would be nice to have the scenarios execute faster...

18
Users / Re: using a script to launch scenarios
« on: April 23, 2014, 04:50:36 pm »
yay!  thank you so much posde

smile I did...

19
Users / Re: using a script to launch scenarios
« on: April 23, 2014, 08:10:59 am »
I'm having a hard time figuring out what the "Execute Command Group message of the DCERouter device" is...

I have found the PK_CommandGroup for all of the items in the CommandGroup table I am interested in.

There are so many tables dealing with devices/commands/command_groups, it is hard to figure out how to connect them all together.

I know that my DCERouter is device 2, but I am not sure how to get a list of the commands it is capable of and their IDs.

I have been able to successfully turn individual lights on/off using MessageSend using the information in dcerouter.log..  I just can't figure out how to execute the command groups.

Any help would be appreciated.  Thank you very much for the assistance provided so far. 

20
Users / Re: using a script to launch scenarios
« on: April 17, 2014, 08:06:12 am »
here is what I see when I click on one of my lighting scenarios in my web orbiter

it just shows the individual messages to each device, it doesn't show what command group was executed...

will I have to send messages to each device individually?

maybe I need to increase the verbosity of my logs in order to see command group information?


DCERouter.log
08   04/17/14 2:00:21.315      Received Message from 56 (myweb2orbiter / ) to 79 (Ceiling Lights / Home Theater), type 1 id 184 Command:Set Level, retry none, parameters: <0x7a18ab40>
08   04/17/14 2:00:21.315        Parameter 76(Level): 45 <0x7a18ab40>
08   04/17/14 2:00:21.317      Received Message from 56 (myweb2orbiter / ) to 78 (Daybed Lights / Home Theater), type 1 id 184 Command:Set Level, retry none, parameters: <0x7a18ab40>
08   04/17/14 2:00:21.317        Parameter 76(Level): 45 <0x7a18ab40>
08   04/17/14 2:00:21.319      Received Message from 56 (myweb2orbiter / ) to 81 (Lamp / Home Theater), type 1 id 184 Command:Set Level, retry none, parameters: <0x7a18ab40>
08   04/17/14 2:00:21.320        Parameter 76(Level): 50 <0x7a18ab40>
08   04/17/14 2:00:21.321      Received Message from 56 (myweb2orbiter / ) to 80 (Window Lights / Home Theater), type 1 id 184 Command:Set Level, retry none, parameters: <0x7a18ab40>
08   04/17/14 2:00:21.321        Parameter 76(Level): 45 <0x7a18ab40>


21
Users / using a script to launch scenarios
« on: April 15, 2014, 10:02:35 am »
I'd like to be able to trigger my predefined lighting and media scenarios with external scripts

I've read a bit about /usr/pluto/bin/MessageSend

but I'm not sure if that is what I am looking for or if that can only be used to update  status rather than make the events happen

can anyone offer me any advice on how this is best accomplished?

22
Users / Re: gc100 and rs232 control
« on: January 28, 2014, 09:58:21 pm »
well I've started all over again with a fresh install of the latest 12.04 dvd image and now I have an extra PC to use as a media director in the room I am trying to control the AV equipment in.

A scenario now appears for my cable box on the orbiter screen so that is progress.  I am guessing that is because I now have a dedicated media director in the room.  Clicking on it just turns my orbiter screen black on my tv and the cable box input is not selected on my receiver as hoped.

I believe I have identified the problem though

after launching the scenario I see this

cat /var/log/pluto/socat_ttyS_48_0.log
2014/01/28 15:38:07.227962  length=8 from=586 to=593
.30110F.> 2014/01/28 15:38:07.427839  length=8 from=594 to=601
.301210.> 2014/01/28 15:38:16.232581  length=8 from=602 to=609
.30110E.> 2014/01/28 15:38:16.465356  length=8 from=610 to=617
.30120F.< 2014/01/28 15:41:20.038248  length=21 from=24 to=44
x02x00x37x38x37x45x03< 2014/01/28 15:41:27.066101  length=21 from=45 to=65
x02x00x37x38x44x30x03< 2014/01/28 15:41:29.079447  length=21 from=66 to=86
x02x00x37x38x37x45x03< 2014/01/28 15:41:36.098627  length=21 from=87 to=107
x02x00x37x38x32x41x03


My scenario is the output from 15:41...

It appears I am doing something wrong with the ruby commands.  Earlier in the output you can see the results of sending commands with /usr/pluto/bin/TestSerialPort and you can see they look much different.

I am attempting to use ruby snippets like the following in the device template for my receiver:
conn_.Send("x02x00x37x38x37x45x03")

And as you can see they are not producing well formed output.  Can anyone help me with the ruby?

23
Users / Re: gc100 and rs232 control
« on: December 12, 2013, 08:06:57 am »
if you send me your email I will email you the credentials to get in, I just don't want to post the credentials in the forum for the whole world to see

24
Users / Re: gc100 and rs232 control
« on: December 12, 2013, 08:04:18 am »
yeah I can get you in remotely, I'll let you use ssh and port forwarding to see the webmin.  Let me know when a good time for you is and I'll do my best to be available...

25
Users / Re: gc100 and rs232 control
« on: December 11, 2013, 11:52:58 pm »
so is there anywhere I can go from here?  Should I try to get my hands on a MD?  I was hoping not to have to use one... I mostly just want to be able to control my AV equipment, I don't have the need for the multimedia features an MD provides.

26
Users / Re: gc100 and rs232 control
« on: December 11, 2013, 11:47:23 pm »
I only have a single EA that I set up myself as a non-pluto TV EA

27
Users / Re: gc100 and rs232 control
« on: December 11, 2013, 11:35:29 pm »
I've done that.  For every AV device I have them set to Manually Configure EA, I have the correct EA checked and I have them placed in the correct room...

28
Users / Re: gc100 and rs232 control
« on: December 11, 2013, 10:50:51 pm »
I've got nothing good to use for an MD right now :(

I suppose I could wrangle something up in a day or two if it's my only option

I do have a raspberry pi, but I am not able to get it to boot up as an MD, I am posting in another thread about that....

If I get that working maybe I'll be able to make some better progress

29
Installation issues / Re: LinuxMCE on raspberry pi
« on: December 11, 2013, 10:46:30 pm »
I am running 1204 right now, is there any working recipe to get a moonpi running on it?  It's pretty much my only option for MD right now...

30
Users / Re: gc100 and rs232 control
« on: December 11, 2013, 10:44:40 pm »

Pages: 1 [2] 3 4 5