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.


Topics - gonesurfing

Pages: [1]
1
Users / phoenix mt202
« on: September 30, 2010, 09:28:12 am »
hi
is anyone using the phoenix mt202 with the onboard speakers is this model plug and play?
thanks steve

2
Users / freepbx
« on: September 25, 2010, 11:04:31 am »
hi
i've been looking at my phone setup in the advance section of the web admin page and have noticed a comment on the freepbx system status page that reads this is a very old
and unsupported version and there are 42 updates and modules and asks would i like to update
i have not got a working phone setup at present although my voip account is shown as registered on the status page
should i run the updates or will it crash my system or would it just be easier to reinstal lmce to the latest snapshot my current version is
freepbx 2.3.1.0
lmce 20100427
thanks steve
 

3
Users / matrix switch for house audio
« on: September 13, 2010, 11:39:49 am »
Hi
I have an old matrix switch from vaux lattis and was wondering if any one has made a template for a matrix switch ?
Steve

4
Users / sipdriod on eken m003 freepbx
« on: August 11, 2010, 10:43:21 am »
hi
i have set up the weborbiter 2 on the eken m003 and it works well especially with the dolphin web browser
ive been playing with sipdriod to see if it will work as an sip phone in lmce and i have followed the link
http://wiki.linuxmce.org/index.php/EP-636_SIP_Phone#LMCE_Setup
then after downloading sipdriod to the m003 i have config the sip account  in account setting
auth id - is the extention setup in lmce
password - is the password setup in lmce
server proxy - is 192.168.80.1
domain - 192.168.80.1
username - or caller id extention setup in lmce
port - 5060
protocol - udp
and it has a green light and says its registered on the m003 however when i try to use it to intercom one or all of my md it just drops out how can i test the lmce side ?
steve

5
Developers / DIVICE DRIVER i think its very close to working
« on: June 03, 2010, 09:01:57 am »
Hi,
I have DMX lighting through out my home and have been working on a serial to dmx512 protocol converter from Milford Industries.  I intend to add it to the Wikapaedia when I get it running.  I have set-up a template and have created a child device.  The following is the device log:

========== NEW LOG SECTION ==========
1   04/26/10 16:40:25   101 (spawning-device)   Starting... 1
1   04/26/10 16:40:25   101 (spawning-device)   Found /usr/pluto/bin/Generic_Serial_Device
05   04/26/10 16:40:25.256      Creating child 102 <0xb70738d0>
05   04/26/10 16:40:25.256      Note: Device manager has attached a device of type 37 that this has no custom event handler for.  It will not fire events. <0xb70738d0>
05   04/26/10 16:40:25.256      Note: Device manager has attached a device of type 37 that this has no custom handler for.  This is normal for IR. <0xb70738d0>
RCODE:
   0:require 'Ruby_Generic_Serial_Device'
   1:class Command < Ruby_Generic_Serial_Device::RubyCommandWrapper
   2:end
   3:class Device_101 < Ruby_Generic_Serial_Device::RubySerialIOWrapper
   4:def cmd_ReceiveCommandForChild(cmd)
   5:id=device_.childdevices_[cmd.devidto_].devdata_[12]#get child device number
   6:        off=',0'#turns the channel off
   7:        on=',254'#turns the channel on full
   8:        half=',127'#turns the channel on to 50 %
   9:    if cmd.id_==192#192 is on
  10:      conn_.Send(id+on+'\r')#set id to full%
  11:   end
  12:    if cmd.id_==193#193 is off
  13:      conn_.Send(id+off+'\r')
  14:   end
  15:end
  16:#### START SETTERS ####################################################################
  17:def initialize()
  18:super
  19:@returnParamArray=Array.new
  20:end
  21:####  END  SETTERS ####################################################################
  22:end
 24:05   04/26/10 16:50:36.132      GSDMessageTranslator isCmdImplemented = false <0xb56ffb90>
05   04/26/10 16:50:36.162      #### Pre-Process Queue = 1 <0xb56ffb90>
05   04/26/10 16:50:36.162      _QueueProc Pre - 192 : 0 <0xb7072b90>
05   04/26/10 16:50:36.162      GSD-Sleep Pre 192 : 0 <0xb7072b90>
05   04/26/10 16:50:36.163      Process Queue = 1 <0xb7072b90>
05   04/26/10 16:50:36.196      GSD-Sleep Post 192 : 0 <0xb7072b90>
05   04/26/10 16:50:36.196      _QueueProc Post - 192 : 0 <0xb7072b90>
05   04/26/10 16:50:46.669      GSDMessageTranslator isCmdImplemented = false <0xb56ffb90>
05   04/26/10 16:50:46.671      #### Pre-Process Queue = 1 <0xb56ffb90>
05   04/26/10 16:50:46.705      _QueueProc Pre - 193 : 0 <0xb7072b90>
05   04/26/10 16:50:46.705      GSD-Sleep Pre 193 : 0 <0xb7072b90>
05   04/26/10 16:50:46.705      Process Queue = 1 <0xb7072b90>
05   04/26/10 16:50:46.708      GSD-Sleep Post 193 : 0 <0xb7072b90>
05   04/26/10 16:50:46.708      _QueueProc Post - 193 : 0 <0xb7072b90>

As you can see, when I send a message from the child device from what I understand it registers to the parent.  However, it does not send the serial code to the device to turn the lights on.
when i reboot my core it randomly turns the lights on
I would appreciate any help with understanding the system better and also getting the driver to work


thanks steve   

6
Users / how do you test a serial connection
« on: April 02, 2010, 11:38:26 am »
hi
ive been working on a small project its a serial to dmx protocol convertor ,i have created a interface template with child device for the lights
and have overcome an earlier error in the ruby code,but its still not working
when i reboot the core it randomly triggers some of the lights,i am not quite sure what to try nexted, can any one suggest what to try next
steve

7
Users / syntax error gsd rudy code
« on: December 27, 2009, 08:51:40 am »
hi
can anyone tell me what i have got wrong here


Complete log
Device serial to dmx, # 123    
Device Template serial to dmx, device category Lighting Interface, manufacturer millford instruments.   
   
34 lines, displaying from 0 to 34   
1   

== ATTEMPT FRESH START ==
1   12/27/09 18:31:04   /usr/pluto/bin/Spawn_Device.sh 123 (spawning-device)   17694 Dev: 123; Already Running list: 15,16,18,19,27,28,21,22,26,94,23,25,93,30,
== FRESH START ==
1   12/27/09 18:31:04   /usr/pluto/bin/Spawn_Device.sh 123 (spawning-device)   device: 123 ip: localhost cmd_line: Generic_Serial_Device
0   12/27/09 18:31:04   123 (spawning-device)   Entering 123
========== NEW LOG SECTION ==========
1   12/27/09 18:31:05   123 (spawning-device)   Starting... 1
1   12/27/09 18:31:05   123 (spawning-device)   Found /usr/pluto/bin/Generic_Serial_Device
RCODE:
   0:require 'Ruby_Generic_Serial_Device'
   1:class Command < Ruby_Generic_Serial_Device::RubyCommandWrapper
   2:end
   3:class Device_123 < Ruby_Generic_Serial_Device::RubySerialIOWrapper
   4:def cmd_ReceiveCommandForChild(cmd)
   5:id=device_.childdevices_[cmd.devidto_].devdata_[12]#get child device number
   6:if cmd.id_==192#192 is on
   7:conn_.Send(id + ",240\r")#set channel ID to 95%
   8:end
   9:if cmd.id_==193#193 is off
  10:conn_.Send(id + ",0\r")#set channel ID off
  11:end
  12:end
  13:end
  14:#### START SETTERS ####################################################################
  15:def initialize()
  16:super
  17:@returnParamArray=Array.new
  18:end
  19:####  END  SETTERS ####################################################################
  20:end
 22:01   12/27/09 18:31:05.483      Failed loading code: Error loading code:
error: (eval):20: compile error
(eval):20: syntax error, unexpected kEND, expecting $end, line: 20
. <0xb57afb90>

thanks steve   

8
Users / SYNTAX ERROR IN GSD, SERIAL TO DMX 512 CONVERTER
« on: November 24, 2009, 10:12:46 am »
 Hi,
I bought a simple serial to DMX 512 converter and I am have troubles with the ruby and would be grateful if someone could help as I have exhausted my technical abilities which are very basic.  I was copying "GSD to driver weeder I/O WTDIO-M". I modified the AHA to the instructions from Milford Instruments ie channel number channel level [34,127]. Could you please view the error log and point me in the right direction?  If I can get this simple DMX converter working I will post a how to in the wiki.  I am sure there are a lot of better ways to write the driver in ruby but you have to start somewhere and this seemed to be the easiest to follow.  I have deleted the log from child 47 to child 86 as it just repeated.  I did this to cut the size of the post down.
Complete log
Device dmx protocol converter, # 46
  Device Template dmx protocol converter, device category Lighting Interface, manufacturer milford instruments.
  383 lines, displaying from 0 to 383
  1
  05      11/24/09 8:12:50.530            Going to rotate logs... <0xb5effb90>
05      11/24/09 19:27:16.703           Got a reload command from 0  <0xb5effb90>
05      11/24/09 19:27:16.960           void ClientSocket::Disconnect() on this socket: 0x88795a8 (m_Socket: 8) <0xb78538d0>
Return code: 2
2       11/24/09 19:27:16       46 (spawning-device)    Device requests restart... count=1/50 dev=46
Tue Nov 24 19:27:17 EST 2009 Restart
========== NEW LOG SECTION ==========
1       11/24/09 19:27:25       46 (spawning-device)    Starting... 1
1       11/24/09 19:27:25       46 (spawning-device)    Found /usr/pluto/bin/Generic_Serial_Device

05      11/24/09 19:27:25.172           Note: Device manager has attached a device of type 37 that this has no custom event handler for.  It will not fire events. <0xb78dd8d0>
05      11/24/09 19:27:25.172           Note: Device manager has attached a device of type 37 that this has no custom handler for.  This is normal for IR. <0xb78dd8d0>
05      11/24/09 19:27:25.172           Creating child 86 <0xb78dd8d0>
05      11/24/09 19:27:25.172           Note: Device manager has attached a device of type 37 that this has no custom event handler for.  It will not fire events. <0xb78dd8d0>
05      11/24/09 19:27:25.172           Note: Device manager has attached a device of type 37 that this has no custom handler for.  This is normal for IR. <0xb78dd8d0>
RCODE:
   0:require 'Ruby_Generic_Serial_Device'
   1:class Command < Ruby_Generic_Serial_Device::RubyCommandWrapper
   2:end
   3:class Device_46 < Ruby_Generic_Serial_Device::RubySerialIOWrapper
   4:#### 192 ####################################################################
   5:def cmd_192(pk_pipe, pk_device_pipes, cmd=nil)
   6:@returnParamArray.clear
   7:0000 006D 0000 0022 00AC 00AC 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0689
   8:return @returnParamArray
   9:end
  10:#### 193 ####################################################################
  11:def cmd_193(pk_pipe, cmd=nil)
  12:@returnParamArray.clear
  13:0000 006D 0000 0022 00AC 00AC 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0689
  14:return @returnParamArray
  15:end
  16:def cmd_ReceiveCommandForChild(cmd)
  17:if cmd.id_==192#192 is on
  18: id=device_.childdevices_[cmd.devidto_].devdata_[12]#get child device number
  19:  if id=="1"
  20:     conn_.send("1,240\r")#channel1 at 95%
  21:    end
  22:  if id=="2"
  23:     conn_.send("2,240\r")#channel2 at 95%
  24:    end
  25:  if id=="3"
  26:     conn_.send("3,240\r")#channel3 at 95%
  27:    end
  28:  if id=="4"
  29:     conn_.send("4,240\r")#channel4 at 95%
  30:    end
  31:  if id=="5"
  32:     conn_.send("5,240\r")#channel5 at 95%
  33:    end
  34:  if id=="6"
  35:     conn_.send("6,240\r")#channel6 at 95%
  36:    end
  37:  if id=="7"
  38:     conn_.send("7,240\r")#channel7 at 95%
  39:    end
  40:  if id=="8"
  41:     conn_.send("8,240\r")#channel8 at 95%
  42:    end
  43:  if id=="9"
  44:     conn_.send("9,240\r")#channel9 at 95%
  45:    end
  46:  if id=="10"
  47:     conn_.send("10,240\r")#channel10 at 95%
  48:    end
  49:  if id=="11"
  50:     conn_.send("11,240\r")#channel11 at 95%
  51:    end
  52:  if id=="12"
  53:     conn_.send("12,240\r")#channel12 at 95%
  54:    end
  55:  if id=="13"
  56:     conn_.send("13,240\r")#channel13 at 95%
  57:    end
  58:  if id=="14"
  59:     conn_.send("14,240\r")#channel14 at 95%
  60:    end
  61:  if id=="15"
  62:     conn_.send("15,240\r")#channel15 at 95%
  63:    end
  64:  if id=="16"
  65:     conn_.send("16,240\r")#channel16 at 95%
  66:    end
  67:  if id=="17"
  68:     conn_.send("17,240\r")#channel17 at 95%
  69:    end
  70:  if id=="18"
  71:     conn_.send("18,240\r")#channel18 at 95%
  72:    end
  73:  if id=="19"
  74:     conn_.send("19,240\r")#channel19 at 95%
  75:    end
  76:  if id=="20"
  77:     conn_.send("20,240\r")#channel20 at 95%
  78:    end
  79:  if id=="21"
  80:     conn_.send("21,240\r")#channel21 at 95%
  81:    end
  82:  if id=="22"
  83:     conn_.send("22,240\r")#channel22 at 95%
  84:    end
  85:  if id=="23"
  86:     conn_.send("23,240\r")#channel23 at 95%
  87:    end
  88:  if id=="24"
  89:     conn_.send("24,240\r")#channel24 at 95%
  90:    end
  91:  if id=="25"
  92:     conn_.send("25,240\r")#channel25 at 95%
  93:    end
  94:  if id=="26"
  95:     conn_.send("26,240\r")#channel26 at 95%
  96:    end
  97:  if id=="27"
  98:     conn_.send("27,240\r")#channel27 at 95%
  99:    end
 100:  if id=="28"
 101:     conn_.send("28,240\r")#channel28 at 95%
 102:    end
 103:  if id=="29"
 104:     conn_.send("29,240\r")#channel29 at 95%
 105:    end
 106:  if id=="30"
 107:     conn_.send("30,240\r")#channel30 at 95%
 108:    end
 109:  if id=="31"
 110:     conn_.send("31,240\r")#channel31 at 95%
 111:    end
 112:  if id=="32"
 113:     conn_.send("32,240\r")#channel32 at 95%
 114:    end
 115:  if id=="33"
 116:     conn_.send("33,240\r")#channel33 at 95%
 117:    end
 118:  if id=="34"
 119:     conn_.send("34,240\r")#channel34 at 95%
 120:    end
 121:  if id=="35"
 122:     conn_.send("35,240\r")#channel35 at 95%
 123:    end
 124:  if id=="36"
 125:     conn_.send("36,240\r")#channel36 at 95%
 126:    end
 127:  if id=="37"
 128:     conn_.send("37,240\r")#channel37 at 95%
 129:    end
 130:end
 131:if cmd.id_==193#193 is off
 132:  id=device_.childdevices_[cmd.devidto_].devdata_[12]
 133:  if id=="1"
 134:     conn_.send("1,0\r")#channel1 off
 135:    end
 136:  if id=="2"
 137:     conn_.send("2,0\r")#channel2 off
 138:    end
 139:  if id=="3"
 140:     conn_.send("3,0\r")#channel3 off
 141:    end
 142:  if id=="4"
 143:     conn_.send("4,0\r")#channel4 off
 144:    end
 145:  if id=="5"
 146:     conn_.send("5,0\r")#channel5 off
 147:    end
 148:  if id=="6"
 149:     conn_.send("6,0\r")#channel6 off
 150:    end
 151:  if id=="7"
 152:     conn_.send("7,0\r")#channel7 off
 153:    end
 154:  if id=="8"
 155:     conn_.send("8,0\r")#channel8 off
 156:    end
 157:  if id=="9"
 158:     conn_.send("9,0\r")#channel9 off
 159:    end
 160:  if id=="10"
 161:     conn_.send("10,0\r")#channel10 off
 162:    end
 163:  if id=="11"
 164:     conn_.send("11,0\r")#channel11 off
 165:    end
 166:  if id=="12"
 167:     conn_.send("12,0\r")#channel12 off
 168:    end
 169:  if id=="13"
 170:     conn_.send("13,0\r")#channel13 off
 171:    end
 172:  if id=="14"
 173:     conn_.send("14,0\r")#channel14 off
 174:    end
 175:  if id=="15"
 176:     conn_.send("15,0\r")#channel15 off
 177:    end
 178:  if id=="16"
 179:     conn_.send("16,0\r")#channel16 off
 180:    end
 181:  if id=="17"
 182:     conn_.send("17,0\r")#channel17 off
 183:    end
 184:  if id=="18"
 185:     conn_.send("18,0\r")#channel18 off
 186:    end
 187:  if id=="19"
 188:     conn_.send("19,0\r")#channel19 off
 189:    end
 190:  if id=="20"
 191:     conn_.send("20,0\r")#channel20 off
 192:    end
 193:  if id=="21"
 194:     conn_.send("21,0\r")#channel21 off
 195:    end
 196:  if id=="22"
 197:     conn_.send("22,0\r")#channel22 off
 198:    end
 199:  if id=="23"
 200:     conn_.send("23,0\r")#channel23 off
 201:    end
 202:  if id=="24"
 203:     conn_.send("24,0\r")#channel24 off
 204:    end
 205:  if id=="25"
 206:     conn_.send("25,0\r")#channel25 off
 207:    end
 208:  if id=="26"
 209:     conn_.send("26,0\r")#channel26 off
 210:    end
 211:  if id=="27"
 212:     conn_.send("27,0\r")#channel27 off
 213:    end
 214:  if id=="28"
 215:     conn_.send("28,0\r")#channel28 off
 216:    end
 217:  if id=="29"
 218:     conn_.send("29,0\r")#channel29 off
 219:    end
 220:  if id=="30"
 221:     conn_.send("30,0\r")#channel30 off
 222:    end
 223:  if id=="31"
 224:     conn_.send("31,0\r")#channel31 off
 225:    end
 226:  if id=="32"
 227:     conn_.send("32,0\r")#channel32 off
 228:    end
 229:  if id=="33"
 230:     conn_.send("33,0\r")#channel33 off
 231:    end
 232:  if id=="34"
 233:     conn_.send("34,0\r")#channel34 off
 234:    end
 235:  if id=="35"
 236:     conn_.send("35,0\r")#channel35 off
 237:    end
 238:  if id=="36"
 239:     conn_.send("36,0\r")#channel36 off
 240:    end
 241:  if id=="37"
 242:     conn_.send("37,0\r")#channel37 off
 243:    end
 244:end
 245:end
 246:#### START SETTERS ####################################################################
 247:def initialize()
 248:super
 249:@returnParamArray=Array.new
 250:end
 251:####  END  SETTERS ####################################################################
 252:end
254:01  11/24/09 19:27:25.242           Failed loading code: Error loading code:
error: (eval):252: compile error
(eval):7: syntax error, unexpected tINTEGER, expecting kEND
0000 006D 0000 0022 00AC 00AC 0015 004...
        ^
(eval):13: syntax error, unexpected tINTEGER, expecting kEND
0000 006D 0000 0022 00AC 00AC 0015 004...
        ^, line: 252
. <0xb56feb90>

9
Users / GSD ETHERNET
« on: September 19, 2009, 04:44:23 am »
Hi,  I am after some information.  I have searched all the wiki and Google and read all the posts on GSD and ruby codes.  I have also read Learn to Program by Chris Pine.

I have decided that "GSD to Drive a Weeder I/O WTDIO-M LinuxMCE wiki" would be ideal for my lighting interface and have set up the GSD template and created child devices for my lights which all seem to be working on my floor plan layout using #192 #193 #184.  The wiki outlines a serial interface however I am trying to use the ethernet and have searched everywhere however I cannot find an example of how to add the IP and port number in the ruby code so LinuxMCE will forward my ruby snippets.

My interface is listening to incoming UDP packets on port 52737 (0xCE01).  The IP address of the interface is 192.168.80.129.

Can someone please post an example or point me in the direction of an example in the wiki?  Many thanks.

Pages: [1]