Author Topic: Roku Netflix Player - MAC address  (Read 17335 times)

esev

  • Veteran
  • ***
  • Posts: 87
    • View Profile
    • Eric Severance
Roku Netflix Player - MAC address
« on: October 11, 2010, 05:16:53 am »
Hi Folks,

Is anyone who has a Roku Netflix Player willing to share the first four components of the MAC address?  I'd like to update the NetflixPlayer_telnet (#2049) device template and at the same time make it be plug-n-play compatible.

I'll start, the MAC address on my Roku Netflix Player is in the range 00:0d:4b:57:XX:XX

Thank you,
--Eric
Eric Severance
My setup

esev

  • Veteran
  • ***
  • Posts: 87
    • View Profile
    • Eric Severance
Re: Roku Netflix Player - MAC address
« Reply #1 on: October 11, 2010, 06:08:37 am »
Did a little more searching and it looks like PeteK got an answer from the Roku folks.
http://forums.roku.com/viewtopic.php?t=17319

It looks like according to that post, these MAC addresses are also used for the Roku Netflix Player
00:0D:4B:35:XX:XX
00:0D:4B:36:XX:XX
00:0D:4B:37:XX:XX
00:0D:4B:38:XX:XX

I guess they must have added more MAC addresses since that post, as mine is outside this range.  Does anyone else have a Roku with a MAC address outside of these ranges?
Eric Severance
My setup

tkmedia

  • wants to work for LinuxMCE
  • **
  • Posts: 937
    • View Profile
    • LMCECompatible
Re: Roku Netflix Player - MAC address
« Reply #2 on: October 11, 2010, 07:31:17 am »
i have roku box inside one of those ranges.

I started a telent controlled template. haven't gotten to the c++  code yet.  Started a couple times but got stuck with socket calls and other life challenges, hope to get back to it soon. Feel free to work on it.  ;D

Template 2049.


br

Tim



My Setup http://wiki.linuxmce.org/index.php/User:Tkmedia

For LinuxMce compatible  systems and accessories
http://lmcecompatible.com/

esev

  • Veteran
  • ***
  • Posts: 87
    • View Profile
    • Eric Severance
Re: Roku Netflix Player - MAC address
« Reply #3 on: October 11, 2010, 09:03:15 pm »
Feel free to work on it.  ;D

I've got this working for my MAC address range.  I modified your 2049 template and added the Generic Serial Device codes for it.

While I was poking around, I noticed that device 1959, the IR based Roku Netflix Player, is already using the 00:0D:4B:35:00:00 - 00:0D:4B:38:FF:FF MAC address range for it's plug-n-play detection.  I assume ethernet control is preferred to IR control.  Should I remove the PnP settings from device template 1959 and add them to device template 2049?  Or can they both have the same range?

For now, I'll submit the changes I've made to 2049, but only include the MAC address ranges that are outside 00:0D:4B:35:00:00 - 00:0D:4B:38:FF:FF.  That way folks can at least give it a try and see if it works for them.
Eric Severance
My setup

tkmedia

  • wants to work for LinuxMCE
  • **
  • Posts: 937
    • View Profile
    • LMCECompatible
Re: Roku Netflix Player - MAC address
« Reply #4 on: October 13, 2010, 07:19:53 am »
2049 is incomplete so maybe use the mac addresses to update the existing  ir template


Tim
My Setup http://wiki.linuxmce.org/index.php/User:Tkmedia

For LinuxMce compatible  systems and accessories
http://lmcecompatible.com/

esev

  • Veteran
  • ***
  • Posts: 87
    • View Profile
    • Eric Severance
Re: Roku Netflix Player - MAC address
« Reply #5 on: October 13, 2010, 01:58:58 pm »
2049 is complete now. :)

You should be able to pick up the changes I made by choosing Advanced>sqlCVS>Update and choosing all the dce and ir tables.  However, for this to work your version of LinuxMCE needs to be newer than Update 2010-09-16 23289.  A change was made to the Generic Serial Device plugin in that version which is required to use it with the Roku box.

--Eric
Eric Severance
My setup

tkmedia

  • wants to work for LinuxMCE
  • **
  • Posts: 937
    • View Profile
    • LMCECompatible
Re: Roku Netflix Player - MAC address
« Reply #6 on: October 13, 2010, 06:13:37 pm »
2049 is complete now. :)

You should be able to pick up the changes I made by choosing Advanced>sqlCVS>Update and choosing all the dce and ir tables.  However, for this to work your version of LinuxMCE needs to be newer than Update 2010-09-16 23289.  A change was made to the Generic Serial Device plugin in that version which is required to use it with the Roku box.

--Eric

Complete as it was intended, as in using telnet commands ?


Tim
My Setup http://wiki.linuxmce.org/index.php/User:Tkmedia

For LinuxMce compatible  systems and accessories
http://lmcecompatible.com/

esev

  • Veteran
  • ***
  • Posts: 87
    • View Profile
    • Eric Severance
Re: Roku Netflix Player - MAC address
« Reply #7 on: October 13, 2010, 06:18:20 pm »
Complete as it was intended, as in using telnet commands ?

That's right.  I'm using 2049 in my system today to control the Roku box over TCP port 8080.  I have no IR control setup right now.  You can see some of the changes here:
http://schema.linuxmce.org/sqlCVS/?site=batch/detail&repository=ir&batchid=399
Eric Severance
My setup

Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
Re: Roku Netflix Player - MAC address
« Reply #8 on: October 31, 2010, 07:29:28 pm »
Great job! I'd like to test this out when I get home tonight.

huh

  • Guru
  • ****
  • Posts: 245
    • View Profile
Re: Roku Netflix Player - MAC address
« Reply #9 on: February 14, 2011, 07:18:32 am »
I"m having trouble getting my roku setup.  First off, my MAC is of the range: 00:0d:4b:5d:XX:XX

But I manually added the Roku as a child device of my core and have the picture exporting to a PVR150 over composite.  The picture works just fine, but I cannot get LMCE to send commands to my device.  I telnet in on port 8080 and am able to manually send commands to the device, but no buttons pressed on my MD or orbiters work.

Under "Device Data" for the Roku player in the admin pages, "COM port on PC" is left as "Please select".

Any help would be greatly appreciated-

esev

  • Veteran
  • ***
  • Posts: 87
    • View Profile
    • Eric Severance
Re: Roku Netflix Player - MAC address
« Reply #10 on: February 14, 2011, 03:36:49 pm »
I"m having trouble getting my roku setup.  First off, my MAC is of the range: 00:0d:4b:5d:XX:XX

But I manually added the Roku as a child device of my core and have the picture exporting to a PVR150 over composite.  The picture works just fine, but I cannot get LMCE to send commands to my device.  I telnet in on port 8080 and am able to manually send commands to the device, but no buttons pressed on my MD or orbiters work.

Under "Device Data" for the Roku player in the admin pages, "COM port on PC" is left as "Please select".

Any help would be greatly appreciated-


There are two Roku templates.  One for IR control and one for TCP/telnet control.  Are you using template #2049 NetflixPlayer_telnet?  If so, you should only need to fill in the IP address.
Eric Severance
My setup

huh

  • Guru
  • ****
  • Posts: 245
    • View Profile
Re: Roku Netflix Player - MAC address
« Reply #11 on: February 14, 2011, 05:28:55 pm »
Yes- using the telnet template.  I will try deleting the device and reading it, but this time plugging in the ip address LMCE gives it and not the MAC address.  I have a standard setup, btw, with dual nics and nvidia vid card and the Tokyo is on the internal network connected via wire- not wirelessly- fwiw

Thanks


[Update]  Deleting the template and re-creating the device fixed the problem.  Roku works great now- thanks Esev for your help and the template
« Last Edit: February 16, 2011, 04:22:28 am by huh »

joerod

  • Guru
  • ****
  • Posts: 159
    • View Profile
Re: Roku Netflix Player - MAC address
« Reply #12 on: July 12, 2011, 04:08:49 am »
just a roku xd and I'm having the same issue as huh.  I added the mac address manualy to the template and it detected it great... installed it great and then I went through the setup wizard to setup the pvr150.

I get video just find and I can connect via telnet on port 8080.

when I click any button on the orbiter the log says:
Quote
48:05   07/11/11 22:06:26.644      GSDMessageTranslator isCmdImplemented = true <0xb591cb90>
05   07/11/11 22:06:26.644      #### Pre-Process Queue = 1 <0xb591cb90>
05   07/11/11 22:06:26.683      _QueueProc Pre - 200 : 0 <0xb711fb90>
05   07/11/11 22:06:26.683      GSD-Sleep Pre 200 : 0 <0xb711fb90>
05   07/11/11 22:06:26.683      Process Queue = 1 <0xb711fb90>
05   07/11/11 22:06:26.752      Parameter: 1005 <0xb511bb90>
01   07/11/11 22:06:26.752      Error while calling method: Cannot call class method: cmd_200
error: undefined method `nfsend' for #, line: 19
backtrace:
   in: (eval): 19
   from (eval):19:in `cmd_200'
 <0xb511bb90>
01   07/11/11 22:06:26.752      For obscure reasons could not handle the message <0xb511bb90>
05   07/11/11 22:06:27.008      GSD-Sleep Post 200 : 250 <0xb711fb90>
05   07/11/11 22:06:27.008      _QueueProc Post - 200 : 250 <0xb711fb90>
05   07/11/11 22:06:27.910      GSDMessageTranslator isCmdImplemented = true <0xb591cb90>

anyone lend a hand?

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Roku Netflix Player - MAC address
« Reply #13 on: July 12, 2011, 04:19:27 am »
When the GSD Starts, it will spit out a complete listing of the device. Can you please paste that in a reply?

-Thom

joerod

  • Guru
  • ****
  • Posts: 159
    • View Profile
Re: Roku Netflix Player - MAC address
« Reply #14 on: July 12, 2011, 04:24:13 am »
Return code: 2
2       07/11/11 22:23:19       151 (spawning-device)   ^[[1;33mDevice requests restart... count=1/50 dev=151^[[1;00m
Mon Jul 11 22:23:19 AST 2011 Restart
========== NEW LOG SECTION ==========
1       07/11/11 22:23:27       151 (spawning-device)   ^[[1;00mStarting... 1^[[1;00m
1       07/11/11 22:23:27       151 (spawning-device)   ^[[1;00mFound /usr/pluto/bin/Generic_Serial_Device^[[1;00m
RCODE:
   0:require 'Ruby_Generic_Serial_Device'
   1:class Command < Ruby_Generic_Serial_Device::RubyCommandWrapper
   2:end
   3:class Device_151 < Ruby_Generic_Serial_Device::RubySerialIOWrapper
   4:#### 86 ####################################################################
   5:def cmd_86(cmd=nil)
   6:@returnParamArray.clear
   7:nfsend("press home");
   8:return @returnParamArray
   9:end
  10:#### 190 ####################################################################
  11:def cmd_190(streamid, cmd=nil)
  12:@returnParamArray.clear
  13:nfsend("press select");
  14:return @returnParamArray
  15:end
  16:#### 200 ####################################################################
  17:def cmd_200(streamid, cmd=nil)
  18:@returnParamArray.clear
  19:nfsend("press up");
  20:return @returnParamArray
  21:end
  22:#### 201 ####################################################################
  23:def cmd_201(streamid, cmd=nil)
  24:@returnParamArray.clear
  25:nfsend("press down");
  26:return @returnParamArray
  27:end
  28:#### 202 ####################################################################
  29:def cmd_202(streamid, cmd=nil)
  30:@returnParamArray.clear
  31:nfsend("press left");
  32:return @returnParamArray
  33:end
  34:#### 203 ####################################################################
  35:def cmd_203(streamid, cmd=nil)
  36:@returnParamArray.clear
  37:nfsend("press right");
  38:return @returnParamArray
  39:end
  40:#### START SETTERS ####################################################################
  41:def initialize()
  42:super
  43:@returnParamArray=Array.new
  44:end
  45:####  END  SETTERS ####################################################################
  46:end
 48: