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 - ladekribs

Pages: 1 2 [3] 4 5 6
31
Installation issues / Re: LG LCD Template
« on: January 10, 2011, 10:52:11 am »
Hi Barney,

still good with mine!

32
Users / Re: DHCP leases Foscam IP camera problem
« on: December 14, 2010, 03:20:20 pm »
hi barney,

try: sysctl -a | grep net.ipv4.conf.*.arp

this should give a list with

net.ipv4.conf.all.arp_filter = 1

to see if the command was successfull

34
Users / Re: DHCP leases Foscam IP camera problem
« on: December 10, 2010, 12:30:26 pm »
these looks correct:

IP Addr - 192.168.80.139
Subnet Mask - 255.255.255.0 - masking: what is left on the rightmost dot is outside(mostly internet) and right of dot is inside
Gateway - 192.168.80.1 - where you want all traffic to go(you want all to go via the core)
DNS Server - 192.168.80.1 - core will act as a proxy for your inside clients requests.

one test we could do is to setup a std kubuntu server with the same dhcp server as in linuxmce installed and see if the foscam fails the same way.

I will also test port forwarding on the local net


BR Stefan

35
Users / Re: DHCP leases Foscam IP camera problem
« on: December 10, 2010, 08:40:32 am »
@purps because you want the traffic to go to your core, not to the dns server

br Stefan

36
Users / Re: DHCP leases Foscam IP camera problem
« on: December 09, 2010, 08:48:30 pm »
Hi,

In PW44 case his camera communicates via the "Wifi AP: D-Link DWL-2100AP" ie ARP nefore it is linked to the core, that might be the reason it works for him.

guess you already figured that out :-)

by the way it worked to use an external demo camera as you said barney

br stefan

37
Installation issues / Re: Foscam Fi8905W
« on: December 09, 2010, 08:55:02 am »
Hi am, Glad You got it working, how did you set it up wire or wireless?
what other hardware do you have switches etc.


BR Stefan

38
Users / Re: DHCP leases Foscam IP camera problem
« on: December 08, 2010, 01:03:02 pm »
@Purps did you try http://www.foscam.com/dow.asp?anid=6  ?

@Barney I wonder what the differnce is when you put it behind a gateway I tried a Dlink, and there it seems to work(have not tried port forwarding yet...)

39
Users / Re: DHCP leases Foscam IP camera problem
« on: December 08, 2010, 11:19:39 am »
@Barney just curious, suppose you have access to a demo webcamera, could it be used in Linuxmce?

40
Users / Re: DHCP leases Foscam IP camera problem
« on: December 08, 2010, 09:04:06 am »
@PW44 I get the same problem with static IP-address

41
Users / Re: DHCP leases Foscam IP camera problem
« on: December 07, 2010, 02:06:18 pm »
@PW44 Do I have to decrease the dhcp span and set the Foscam ipadress outside the dhcp span? or just leave it as it was?


42
Users / Re: Foscam FI8918W has anybody got it working?
« on: November 30, 2010, 01:38:11 pm »

correct me if I am wrong, but if we make one template "Foscam pan/tilt" and one "Foscam fixed and enter MAC range in both of them, the Sara will ask if we would like to use both of them, but will she ignore the one not used? or will it be rediscowered all the time?

Best regard Stefan

43
Users / Foscam FI8918W has anybody got it working?
« on: November 29, 2010, 12:02:49 pm »
I Ordered a Foscam FI8908W after reading that Barney had got it working, but the supplier where out of that type so I got one FI8918W instead, it is supposed to be better wider viewing angles and such,but it dies after five to ten minutes when I have it connected to my LinuxMCE LAN, so I connected it to a router with only one pc on the lan, and there it stays alive.

what can be killing the camera so that I have to power it off/on to get it working (disconnecting/reconnecting ethernet wire might help)?

any Ideas?

BR Stefan

44
Installation issues / Re: LG LCD Template
« on: November 26, 2010, 12:39:59 pm »
@Barney,

yes I followed Your instructions and added som more commands as above,but I could not get it plug & play.
when I followed your instructions it kept asking if I had the LG 20LD(or what the name is), so I tried to rename the 20_LG_TV.sh
to 37_LH_TV.sh then it discovered the tv but kept on disabling and redetecting it in a loop. So I had to manually enter it.

@etNHGfU8,
have you tried sending commands from remote control resend A/V codes?


BR Stefan

45
Installation issues / Re: LG LCD Template
« on: November 25, 2010, 08:36:43 pm »
Hi Barney,
Sorry for being so slow on testing, but finally I can confirm that it is working on my 47LH4000 LG TV.

these are my settings now

Code: [Select]
Power
#193 Off
SendCommand("ka 01 00",1000,2)
#192 On
SendCommand("ka 01 01",10000,4)
Inputs
#316 AV 1
SendCommand("xb 01 02",1000,4)
#317 AV 2
SendCommand("xb 01 21",1000,4)
#712 Component 1
SendCommand("xb 01 05",1000,4)
#361 HDMI
SendCommand("xb 01 90",1000,4)
#767 HDMI 2
SendCommand("xb 01 91",1000,4)
#930 HDMI 3
SendCommand("xb 01 92",1000,4)
#154 RGB
SendCommand("xb 01 60",1000,4)
#166 Tuner
SendCommand("xb 01 10",1000,4)
#873 Tuner - Digital
SendCommand("xb 01 00",1000,4)
General
#190 Enter/Go

Internal
#373 Private Method Listing
# Private - Date: 28.02.2008 # the docs are wrong. they say responses are terminated with a \r. In reality some sets do, others don't. def SendCommand(command,timeout,retransmit) for i in 0...retransmit conn_.Send(command + "\r") # wait up to 8 seconds since it may be very slow if this is an 'on' command buf = conn_.RecvDelimited("x", timeout) if( !buf.nil? && (!buf.index("01 OK").nil? || !buf.index("01 NG").nil?)) print "Received good reply in less than ", timeout, "ms: ", buf, "\n" return else buf = conn_.Recv(1000,1000); print "Flushed buffer: ", buf, "invalid resonse in ", timeout, "seconds\n" end end end
#351 Process IDLE

#350 Process Incoming Data

#355 Process Initialize
# Initialize --- Date: 28.02.2008 # the docs are wrong. they say responses are terminated with a \r. In reality some sets do, others don't. # some sets won't respond to ka 01 ff when the tv is off. others do. @mute = false; # unfortunately we have to turn the device on if it's off to know that it's alive or else it won't respond to anything @input=-1 for iRetry in 0...4 print "Initializing unit\n" # Query the current volume level conn_.Send("kf 1 ff\r") # wait 4 seconds for the status command, which won't work if the tv is off $buf = conn_.RecvDelimited("x", 4000) if( !$buf.nil? && !$buf.index("01 OK").nil? ) print "Initialized ok - tv is on\n" # Use the returned response to set the volume x = $buf.index("OK") volume_level =$buf[x+2,2].to_i(16) print "Setting volume to ", volume_level, "\n" cmd_313(volume_level) return end print "TV is either off or not connected\n" # try turning it on conn_.Send("ka 1 01\r") # wait 10 seconds for the TV to respond sleep(10) # Query the current volume level conn_.Send("kf 1 ff\r") # wait 4 seconds for the status command, which won't work if the tv is off $buf = conn_.RecvDelimited("x", 4000) if( !$buf.nil? && !$buf.index("01 OK").nil? ) print "Initialized ok - tv was off\n" # Use the returned response to set the volume x = $buf.index("OK") volume_level =$buf[x+2,2].to_i(16) print "Setting volume to ", volume_level, "\n" cmd_313(volume_level) # Turn TV off again conn_.Send("ka 1 00\r") return end print "TV is not connected\n" sleep(1) end #DisableDevice( device_.devid_, true ) print "The device wouldn't respond. Disabling it.\n"
#384 Process Receive Command For Child

#356 Process Release

Numbers
#204 0
<$"mc 01 10\r"$>
#205 1
<$"mc 01 11\r"$>
#206 2
<$"mc 01 12\r"$>
#207 3
<$"mc 01 13\r"$>
#208 4
<$"mc 01 14\r"$>
#209 5
<$"mc 01 15\r"$>
#210 6
<$"mc 01 16\r"$>
#211 7
<$"mc 01 17\r"$>
#212 8
<$"mc 01 18\r"$>
#213 9
<$"mc 01 19\r"$>
Simple Control
#64 Skip Back - Channel/Track Lower
<$"mc 01 01\r"$>
#63 Skip Fwd - Channel/Track Greater
<$"mc 01 00\r"$>
Sound & Volume
#97 Mute
if(@mute) SendCommand("ke 01 00",10000,4) else SendCommand("ke 01 01",10000,4) end @mute=!@mute
#313 Set Volume
@volume=level.to_i() ilevel = (@volume).to_i print "setting volume to ", ilevel , "\n" if ilevel <16 SendCommand("kf 01 0" + "%x" % ilevel,1000,4) else SendCommand("kf 01 " + "%x" % ilevel,1000,4) end SetDeviceDataInDB( device_.devid_,device_.devid_.to_i , ilevel.to_s) print "volume and corresponding device data set\n"
#90 Vol Down
print "lowering volume from ", @volume, "\n" cmd_313(@volume-1)
#89 Vol Up
print "raising volume from ", @volume, "\n" cmd_313(@volume+1)

so now I can select tuner and change channels with the MCE remote.


Pages: 1 2 [3] 4 5 6