LinuxMCE Forums
May 18, 2013, 10:47:19 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
  Home Help Search Chat Login Register  
  Show Posts
Pages: [1] 2 3 ... 5
1  LinuxMCE / Users / Re: network redirection on: May 08, 2013, 12:35:15 am
so how is this wired?  for instance,  are you running 1 nic on your core and have the router plugged into your modem or do you still have both nics setup and have the second one setup to route to the router?  i guess what i am trying to get at is:  does it still use the core as the dhcp and then just forwards all requests over the static route to the router bypassing the core firewall?  this would work fine as i would rather use my firebox as my router without losing the device detection functionality.  also, would i need to setup the static router of 1.1.1.1 on my router also?  thanks for the help
2  LinuxMCE / Users / Re: network redirection on: May 04, 2013, 12:50:16 pm
Since I'm guessing this isn't fixable,  how can I modify the dhcp server to use a different router?  It really sucks having to go through a remote desktop just to go to sites that use ports that I have forwarded.
3  LinuxMCE / Users / Re: remote on: April 24, 2013, 01:24:00 am
if i do a gsd device,  is there a way to call a scenario into play?  every room where i have a remote would have different scenarios, and once a scenario is fired, does it automatically know that when it for instance get the volume up command that it would be for that room or is there more under the hood programming required.  i could set this up as a standard ir remote,  im just not sure if its possible to map an ir function to call a scenario.
4  LinuxMCE / Users / network redirection on: April 24, 2013, 01:11:34 am
Something that I have noticed that is quite annoying is that when I try to go to a site that uses dyndns or a port that is forwarded to my core,  it automatically redirects me to the core.  So if I'm at home and trying to connect to a remote site for work and they use dyndns, then i get directed to my core instead of theirs.  The only way I have been able to get around itis to remote desktop into a remote site that does not use this and then do my work over that.  It is also doing it for any ports that I might need to connect to,  I can't use them if im using them at my location.
5  LinuxMCE / Users / Re: remote on: April 21, 2013, 01:14:53 am
The protocol can be anything that I tell it,  they are one way serial for the most part and I can have them send any serial string that is needed.  They can also send ir or ip.  Basically, I just map a button on the remote to a command and that command can be anything (ir hex, rs232 ascii or binary, or ip).
6  LinuxMCE / Users / remote on: April 20, 2013, 08:09:57 pm
I have several URC remotes just sitting around.  I have the base station also that have serial control.  I would like to program them like I do other automation systems in that on your main page you just select watch cable, bluray, etc.  and it runs the macro and goes to the control page.  In Savant, the macro would send a string like "room_cable_box_1_power_on" which would tell the system to turn on that room to cable.  Then I would just send in commands like "volume_up", etc for control.  Is there a specification for this or a driver that allows control in this fashion.  I would basically like to be able to call scenarios either by serial input or by mapping ir codes.
7  LinuxMCE / Users / ip control on: March 25, 2013, 02:11:44 am
I have a receiver that has multiple zones.  So what I have done is create 2 different templates, one for the main zone and one for the second zone.  In one room I have it attached to the main zone and in another, I am running it off of the second.  The problem seems to be that when I change rooms, that it is screws up the communication to the first room.  Is there someway that I should be setting this up differently?  I'm guessing that the problem is that because it is 2 separate devices, that it is trying to establish 2 separate connections to the same device?  Could I just make the second zone a child device and attach the other room to the child?
8  LinuxMCE / Users / Re: multihead setups on: March 17, 2013, 11:19:12 pm
it would definitely be cheaper on power and hardware to have several media directors instead of one big machine splitting it out.  The media directors could be asleep when not in use, but with one large machine, anytime one thing is needed, then that machine has to wake up every room.  Plus, you can use the follow me feature, if desired. 
9  LinuxMCE / Developers / Re: Missing Manufacturer and the device templates that went with it on: March 17, 2013, 11:08:21 pm
I tried the one way operation by removing the incoming data code.  It didn't seem to fix the problem.  I have noticed though that if I ask it to change channels twice then it will work.  Also, looking at the logs, it appears that it is sending the commands, but the box seems to be ignoring them sometimes.  One thing I did that seems to have helped out was in the code for the send commands on the number keys, I put a "sleep 0.5" command in front of each number. 
10  LinuxMCE / Developers / Re: Missing Manufacturer and the device templates that went with it on: March 16, 2013, 01:57:59 am
is there a way to change the delay on a gsd device?  when i tell it to change channels, it goes to fast and it will skip numbers sometimes.  i tried to adjust the times for ir thinking that maybe they also affected ip also.
11  LinuxMCE / Developers / Re: Missing Manufacturer and the device templates that went with it on: March 11, 2013, 07:26:37 pm
I got it to work, but something that I have noticed is that once mce takes control of the box and then if you try to control it with another app or through the browser, then it will cause the box to quit responding for some time to ethernet commands.  I tried it on an hr23 and 25 and got the same results.  My wife went to use the directv remote app on her android phone and it made both her app and mce unable to control it for several minutes.  I also tried it with a web browser and got the same thing.  It just times out.  Is there a connection limit on these boxes?
12  LinuxMCE / Users / Re: qorbiter qt version on: March 11, 2013, 07:23:07 pm
im just using a copy of andro_86, and it was available and it installed and updated ministro.  I have since tried to install in on ubuntu, but i keep getting a qt quick 1.1 not found,  I have installed the qt 4.8 libraries.
13  LinuxMCE / Users / Re: qorbiter qt version on: March 09, 2013, 06:27:53 pm
I have installed it from the play store.  I thought I had seen somewhere that it was possible to install it on a pc.  Is this not the case without extensive work?
14  LinuxMCE / Developers / Re: Missing Manufacturer and the device templates that went with it on: March 09, 2013, 04:42:32 pm
I have tried these codes, but this is what I get when i try to get it to work:

== ATTEMPT FRESH START ==
1   03/09/13 09:33:03   /usr/pluto/bin/Spawn_Device.sh 164 (spawning-device)   22440 Dev: 164; Already Running list: 15,16,18,19,29,30,31,87,151,38,21,56,163,22,59,25,26,54,27,23,50,
== FRESH START ==
1   03/09/13 09:33:03   /usr/pluto/bin/Spawn_Device.sh 164 (spawning-device)   device: 164 ip: localhost cmd_line: Generic_Serial_Device
0   03/09/13 09:33:03   164 (spawning-device)   Entering 164
========== NEW LOG SECTION ==========
1   03/09/13 09:33:03   164 (spawning-device)   Starting... 1
1   03/09/13 09:33:03   164 (spawning-device)   Found /usr/pluto/bin/Generic_Serial_Device
05   03/09/13 9:33:03.656      Connection for client socket reported NEED RELOAD IP=::ffff:127.0.0.1, device 164 last error 2 <0xb77476d0>
05   03/09/13 9:33:03.656      The router must be reloaded before this device is fully functional <0xb77476d0>
05   03/09/13 9:33:03.661      void ClientSocket::Disconnect() on this socket: 0x90520c0 (m_Socket: 5) <0xb77476d0>
05   03/09/13 9:33:03.713      Connection for client socket reported NEED RELOAD IP=::ffff:127.0.0.1, device 164 last error 2 <0xb77476d0>
05   03/09/13 9:33:03.716      Running without DeviceData, will try to add device <0xb5943b70>
01   03/09/13 9:33:03.755      GSD Port is not specified. Instantiating non-IO Wrapper. <0xb5943b70>
RCODE:
   0:require 'Ruby_Generic_Serial_Device'
   1:class Command < Ruby_Generic_Serial_Device::RubyCommandWrapper
   2:end
   3:class Device_164 < Ruby_Generic_Serial_Device::RubySerialWrapper
   4:#### START SETTERS ####################################################################
   5:def initialize()
   6:super
   7:@returnParamArray=Array.new
   8:end
   9:####  END  SETTERS ####################################################################
  10:end
 12:05   03/09/13 9:40:23.907      Got a reload command from 0  <0xb5943b70>
05   03/09/13 9:40:24.205      void ClientSocket::Disconnect() on this socket: 0x9052628 (m_Socket: Cool <0xb77476d0>
Return code: 2
2   03/09/13 09:40:24   164 (spawning-device)   Device requests restart... count=1/50 dev=164
Sat Mar  9 09:40:24 CST 2013 Restart
========== NEW LOG SECTION ==========
1   03/09/13 09:40:32   164 (spawning-device)   Starting... 1
1   03/09/13 09:40:32   164 (spawning-device)   Found /usr/pluto/bin/Generic_Serial_Device
05   03/09/13 9:40:34.010      Connect() failed, Error Code 111 (Connection refused)) <0xb782a6d0>
05   03/09/13 9:40:35.011      Connect() failed, Error Code 111 (Connection refused)) <0xb782a6d0>
05   03/09/13 9:40:36.012      Connect() failed, Error Code 111 (Connection refused)) <0xb782a6d0>
05   03/09/13 9:40:37.013      Connect() failed, Error Code 111 (Connection refused)) <0xb782a6d0>
05   03/09/13 9:40:38.014      Connect() failed, Error Code 111 (Connection refused)) <0xb782a6d0>
05   03/09/13 9:40:39.016      Connect() failed, Error Code 111 (Connection refused)) <0xb782a6d0>
01   03/09/13 9:40:45.942      Could not determine network address for device 164. <0xb5a26b70>
01   03/09/13 9:40:45.942      Could not add new Device Node. <0xb5a26b70>
RCODE:
   0:require 'Ruby_Generic_Serial_Device'
   1:class Command < Ruby_Generic_Serial_Device::RubyCommandWrapper
   2:end
   3:class Device_164 < Ruby_Generic_Serial_Device::RubySerialIOWrapper
   4:#### 123 ####################################################################
   5:def cmd_123(text, cmd=nil)
   6:@returnParamArray.clear
   7:RemoteKey("info")
   8:return @returnParamArray
   9:end
  10:#### 126 ####################################################################
  11:def cmd_126(cmd=nil)
  12:@returnParamArray.clear
  13:RemoteKey("guide")
  14:return @returnParamArray
  15:end
  16:#### 190 ####################################################################
  17:def cmd_190(streamid, cmd=nil)
  18:@returnParamArray.clear
  19:RemoteKey("enter")
  20:return @returnParamArray
  21:end
  22:#### 204 ####################################################################
  23:def cmd_204(cmd=nil)
  24:@returnParamArray.clear
  25:RemoteKey("0")
  26:return @returnParamArray
  27:end
  28:#### 205 ####################################################################
  29:def cmd_205(cmd=nil)
  30:@returnParamArray.clear
  31:RemoteKey("1")
  32:return @returnParamArray
  33:end
  34:#### 206 ####################################################################
  35:def cmd_206(cmd=nil)
  36:@returnParamArray.clear
  37:RemoteKey("2")
  38:return @returnParamArray
  39:end
  40:#### 350 ####################################################################
  41:def cmd_350(cmd=nil)
  42:@returnParamArray.clear
  43:buf = conn_.Recv(100, 500)
  44:if !(buf.empty?)
  45:  msg = buf.strip
  46:  log(msg)
  47:  log("")
  48:  log("***********************************************************")
  49:end
  50:return @returnParamArray
  51:end
  52:#### 355 ####################################################################
  53:def cmd_355(cmd=nil)
  54:@returnParamArray.clear
  55:$logFile = File.new("/var/log/pluto/DirecTV.log", "w")
  56:return @returnParamArray
  57:end
  58:#### PRIVATE METHODS ####################################################################
  59:def RemoteKey(key)
  60:   
  61:log("***************************************************************")
  62:    log("**********          Sending key=" + key + "         
  63:**********")
  64:   
  65:log("***************************************************************")
  66:    conn_.Send("GET\x20/remote/processKey?key=" + key + "&hold=keyPress\x20HTTP/1.1\x0D\x0AContent-Length:\x200\x0D\x0A\x0D\x0A")
  67:end
  68:
  69:def log(word)
  70:    logTime = Time.now
  71:    timeStr = logTime.strftime("%d-%m-%Y  %H:%M:%S  ")
  72:
  73:    $logFile.print( timeStr + word + "\n" )
  74:    $logFile.flush()
  75:    print(word + "\n")
  76:end
  77:#### START SETTERS ####################################################################
  78:def initialize()
  79:super
  80:@returnParamArray=Array.new
  81:end
  82:####  END  SETTERS ####################################################################
  83:end
 85:
15  LinuxMCE / Feature requests & roadmap / Re: Status / overview page? on: March 05, 2013, 09:33:00 pm
i see the idea behind it.  I'm not sure if its like this in other parts of the states, but my central time shows up as chicago, which would be the closest major city as far as time goes as it is directly north, but it is about 900 miles north of us.  im pretty sure chicago is the standard setting for our location as all devices that i have ever run across give us that option as the closest.  i would think the best way to do it would be somehow by lat/long, but i dont really know anything about weather systems and api's outside of america.
Pages: [1] 2 3 ... 5
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!