Difference between revisions of "GlobalCache GC-100"

From LinuxMCE
Jump to: navigation, search
(cnarolellitr)
 
(26 intermediate revisions by 15 users not shown)
Line 1: Line 1:
[http://ruthfremonta.freehostia.com/q/cameras.html digital slr camera] [http://trkeyes.weebly.com link] [http://britanycha.w8w.pl/wiki/elected-band.html elected band] [http://acture.isasecret.com/sludge.html activated sludge] [http://fount.isasecret.com/new/us-fiscal-policy.html us fiscal policy 2005] [http://guiana.myftp.info/pages/anna-kournikova.html anna kournikova sexy] [http://www.jackasskedr.00video.com/ domain] [http://gabrieleshoop.datadiri.com/view/tenerife-weather.html tenerife weather] [http://gabrieleshoop.datadiri.com/view/hydrocortisone.html hydrocortisone] [http://stout.yourtrap.com/q/most-point-in.html most point in a nhl season] [http://velure.isasecret.com/small/folate.html folate deficiency anemia] [http://gallia.isasecret.com/description/alliance-gaming.html alliance gaming] [http://wrung.mrbonus.com/styles/nfs-u2-cheats.html nfs u2 cheats ps2] [http://mserg.ifrance.com/3-millionare-spot.html 3 millionare spot ways] [http://jamesustaita.ecv.vg/directory/keoki-boy-music.html keoki boy music] [http://lidiame.w8w.pl/comments/wife-breeder.html wife breeder] [http://highly.yourtrap.com/new/3-buy-rose-shrub.html 3 buy rose shrub zone] [http://taynasvobodnay.ifrance.com/view/arrangement-basket.html arrangement basket edible fruit] [http://sourly.isasecret.com/content/rhonda-britten.html rhonda britten] [http://odiliabielecki.aboutus.vg/snow-plows.html snow plow part] [http://kizzygochenour.ecv.vg/importance-of-economics.html importance of economics to man] [http://jamesustaita.ecv.vg/directory/minneapolis-dating.html minneapolis dating service] [http://boomstickreport.freehostia.com/q/casio-cameras.html camera casio cheap digital] [http://lateshacl.w8w.pl/wiki/mowbray-golf-club.html mowbray golf club] [http://stout.yourtrap.com/q/100-sexiest-women.html 100 sexiest women] [http://glyndap.w8w.pl/wiki/india-city-maps.html india city maps] [http://tinishav.w8w.pl/view/teaching-career.html teaching career requirement] [http://meghann.w8w.pl/small/monstercom.html fact monster.com] [http://lateshacl.w8w.pl/wiki/utah-phone-directory.html utah phone directory] [http://maireje.w8w.pl/library/jag-tv-show.html jag tv show] [http://lorainda.wan.io/library/zyprexa.html zyprexa attorney] [http://zinamorano.aboutus.vg/content/yogi-tea-get-regular.html yogi tea get regular] [http://stout.yourtrap.com/q/red-vs-blue-2.html red vs blue 2] [http://unlov.ikwb.com/directory/jail-in-santa.html clara county inmate jail santa] [http://gabrieleshoop.datadiri.com/view/live-cam.html free live sex cam] [http://emnity.serveusers.com/email-reminder.html email reminder] [http://guiana.myftp.info/pages/relaxation.html relaxation music] [http://poorly.mrbonus.com/drink-too-much.html can you drink too much water] [http://ultrawoman.ifrance.com/styles/land-for-sale-southeast.html land for sale southeast texas] [http://poorly.mrbonus.com/eblaster.html computer eblaster emailspy key logger monitoring spector spectorpro spy spy stealth surveillance tech] [http://expel.serveusers.com/recliner-company.html recliner company] [http://plashy.mrbonus.com/l3.html camera coolpix digital l3 nikon] [http://rosanne.w8w.pl/resources/attraction-skegness.html attraction skegness tourist] [http://deriv.justdied.com/q/rummy.html rummy] [http://catwoman19801.freehostia.com/debt-reduction.html debt reduction tips] [http://guiana.myftp.info/pages/satellitetv.html satellitetv] [http://discov.portrelay.com/description/el-salvador-flag.html el salvador flag] [http://plashy.mrbonus.com/diseny.html diseny] [http://acture.isasecret.com/se-k700i-software.html se k700i software] [http://vanessamitten.datadiri.com/sitemap.html link] [http://should.yourtrap.com/lib/great-pyrenees.html great picture pyrenees] [http://gammon.isasecret.com/data/undie.html undie] [http://muurli.ifrance.com/resources/kidney-pain.html kidney pain] [http://sadyebeegle.ourprofile.net/data/norwegian-cruise.html norwegian cruise line reviews] [http://monast.isasecret.com/resources/natalie-portman.html natalie portman fake pics] [http://ultrawoman.ifrance.com/styles/john-of-god.html god john lennon lyric] [http://glyndap.w8w.pl/wiki/guitar-chord-finder.html chord scale finder guitar] [http://shawneebirchfie.aboutus.vg/timothy-dalton.html timothy dalton biography] [http://stout.yourtrap.com/q/star-computer-services.html star computer services] [http://acture.isasecret.com/stoppies.html stoppies] [http://lisbethcatt.ide.am/lib/walking-on-sunshine.html walking on sunshine] [http://thepetecom.profil.in/blog/feminizing.html feminizing] [http://sonnet.yourtrap.com/will-template-for.html will template for florida] [http://lying.yourtrap.com/space-saver-tv.html space saver tv] [http://unlov.ikwb.com/directory/list-of-foods-high.html food high potassium] [http://annasartin.freehostia.com/blog/buy-stock.html art cover dvd return superman] [http://sought.justdied.com/wiki/school-jokes.html school jokes] [http://shank.portrelay.com/resources/nuts-nutritional.html nuts nutritional info] [http://lidiame.w8w.pl/comments/new-york-computer.html new york computer software store] [http://rosanne.w8w.pl/resources/dog-accessories.html accessory big dog motorcycle] [http://rabinovich.freehostia.com/data/carnival-cruise.html carnival cruise discount] [http://muurli.ifrance.com/resources/tight-miniskirts.html tight miniskirts legs] [http://ocielowder.ide.am/q/tennessee-map.html county map tennessee] [http://ivanensis.profil.in/naked-hispanic.html hispanic naked woman] [http://acture.isasecret.com/placements-recruitment.html placements recruitment] [http://lying.yourtrap.com/30-06-weatherby.html 30 06 weatherby] [http://vbrilliant.datadiri.com/text/mercedes-benz.html mercedes benz houston] [http://lightbird.ifrance.com/directory/answering-interview.html answering dummy dummy interview question tough] [http://helenaimbre.freehostia.com/html/company-search.html company search] [http://www.marfa.africansisters.net/ site] [http://familyguy23.ifrance.com/blog/shipping-cars.html shipping cars] [http://acture.isasecret.com/gay-firemen.html gay firemen] [http://highly.yourtrap.com/new/kimber-handguns.html kimber handguns for sale] [http://deferr.ddns.us/text/listen-to-pat-benatar.html listen to pat benatar heartbreaker] [http://odiliabielecki.aboutus.vg/nice-body.html nice body] [http://highly.yourtrap.com/new/women-sucking.html women sucking nipples] [http://gallia.isasecret.com/description/i-love-ny.html i love ny] [http://familyguy23.ifrance.com/blog/woodlice.html woodlice] [http://cheese.justdied.com/lib/nj-financial-planner.html nj financial planner] [http://fount.isasecret.com/new/celebrity-homes.html celebrity home] [http://mastekostya.datadiri.com/styles/bedroom-chaise-lounge.html bedroom chaise lounge chaise lounge] [http://manaev.freehostia.com/web/bisexual-porn.html mmf bisexual porn] [http://shank.portrelay.com/resources/socket-462-processor.html socket 462 processor] [http://lightbird.ifrance.com/directory/car-insurance.html car insurance rates] [http://lying.yourtrap.com/cunninglingus.html cunninglingus] [http://monast.isasecret.com/resources/bela-fleck.html bela bhatt bing chen fleck jie mohan vishwa] [http://fount.isasecret.com/new/messenger-bags.html messenger bags] [http://britanycha.w8w.pl/wiki/wenger-wrist-watch.html wenger wrist watch] [http://micharandazzo.ourprofile.net/riled-dictionary.html riled dictionary] [http://widow.ddns.us/content/wdve-steeler-songs.html wdve steeler songs] [http://sonnet.yourtrap.com/free-giantess.html free giantess video clips] [http://katelyns.w8w.pl/blog/bi-threesome.html bi threesome] [http://gallia.isasecret.com/description/i-9-form.html i-9 form] [http://getontheboat.ifrance.com/pokemonmisty.html pokemonmisty] [http://sonnet.yourtrap.com/magic-springs.html magic springs ar] [http://sonnet.yourtrap.com/self-castration.html self castration testicle] [http://lightbird.ifrance.com/directory/work-from-home.html business home opportunity work] [http://gallia.isasecret.com/sitemap.html site links] [http://marlyscat.w8w.pl/long-term-loans.html cheap loan long payday term] [http://sought.justdied.com/wiki/reading-beer-festival.html reading beer festival 2006] [http://mserg.ifrance.com/san-clemente-site.html san clemente site myspace.com] [http://fount.isasecret.com/new/top-ten-baby-names.html baby girl name ten top] [http://smetra.wan.io/sitemap.html webmap] [http://martovskiy.ifrance.com/html/underlid.html underlid] [http://lightbird.ifrance.com/directory/globe-shoes.html globe shoes] [http://sonnet.yourtrap.com/ylang-ylang.html tree ylang ylang] [http://shank.portrelay.com/resources/futureama.html futureama link porn x.org] [http://guiana.myftp.info/pages/ati-tv-capture.html ati tv capture software] [http://stout.yourtrap.com/q/desktop-computer.html desktop computer] [http://poison.ddns.us/topic/strawberry-festival.html 2007 festival florida strawberry] [http://widow.ddns.us/content/pop-muzik-lyrics.html pop muzik lyrics] [http://stout.yourtrap.com/q/lucky-numerology.html lucky chinese numbers numerology] [http://sadyebeegle.ourprofile.net/data/air-cutting-tool.html air cutting tool] [http://thetoad.ifrance.com/content/sammy-davis.html sammy davis jr.] [http://should.yourtrap.com/lib/dive-watch.html dive watch] [http://mastekostya.datadiri.com/styles/petite-womens.html petite womens clothing catalog] [http://marlyscat.w8w.pl/tea-time-linens.html tea time linens wholesale] [http://ultrawoman.ifrance.com/styles/lou-armstrong.html lou armstrong] [http://expel.serveusers.com/swinging-couples.html swinging couples homepages] [http://glyndap.w8w.pl/wiki/jjjs-thumbnails.html gallery jjjs thumbnail] [http://britanycha.w8w.pl/wiki/belltech.html belltech] [http://marlyscat.w8w.pl/punisher-apparel.html punisher apparel] [http://acture.isasecret.com/stump-grinders.html carlton stump grinder] [http://tinishav.w8w.pl/view/major-difference.html major difference between windows nt and windows 2000] [http://should.yourtrap.com/lib/motorcycle-helmets.html motorcycle helmets wholesale] [http://poorly.mrbonus.com/muscadine-big-balls.html muscadine big balls] [http://katelyns.w8w.pl/blog/advantage-comparison.html advantage comparison difference height] [http://ivanensis.profil.in/sitemap.html domain] [http://helenaimbre.freehostia.com/html/relationships.html relationships] [http://wouid.mrbonus.com/small/mcinnes-cooper.html mcinnes cooper] [http://built.longmusic.com/sitemap.html url] [http://thetoad.ifrance.com/content/recreational-fishing.html recreational fishing tv] [http://highly.yourtrap.com/new/theme-park-misting.html theme park misting] [http://muurli.ifrance.com/resources/homemade-male.html homemade male masturbation toys] [http://britanycha.w8w.pl/wiki/heart-beat.html heart beat] [http://laviniamaddix.datadiri.com/electric-fly.html electric fly swatter] [http://blakniteludlam.freehostia.com/new/free-latina-porn.html free latina porn] [http://wrung.mrbonus.com/styles/free-games-for.html educational free game kid online] [http://maireje.w8w.pl/library/real-estate-leesburg.html real estate leesburg va] [http://glassrockboy.freehostia.com/text/gang-bangs.html bang black gang] [http://discov.portrelay.com/description/puppy-mill.html horrible mill puppy] [http://ultrawoman.ifrance.com/styles/office-space-for.html san gabriel valley office space for rent] [http://wouid.mrbonus.com/small/losing-weight.html losing weight hypnosis] [http://plashy.mrbonus.com/tissue-paper-flowers.html tissue paper flowers] [http://helenaimbre.freehostia.com/html/buy-codeine-promethazine.html buy codeine promethazine] [http://carameloholic.freehostia.com/new/transfer-case.html transfer case] [http://monast.isasecret.com/resources/bi-curious.html bi curious] [http://cheese.justdied.com/lib/trees-loose-their.html trees loose their leaves] [http://ivanensis.profil.in/free-electronic.html free electronic fax] [http://helenaimbre.freehostia.com/html/kohler-sinks.html kohler sinks] [http://stout.yourtrap.com/q/interaction-between.html interaction between endogenous human capital] [http://meghann.w8w.pl/small/search-exe-spyware.html search exe spyware] [http://monast.isasecret.com/resources/microsoft-anti.html microsoft anti virus free downloads] [http://gallia.isasecret.com/description/free-online-repair.html free online repair manuals] [http://grisellarsen.ide.am/directory/mobile-phone-directory.html mobile phone directory] [http://fount.isasecret.com/new/texarea.html texarea] [http://rabinovich.freehostia.com/data/verizon-residential.html verizon residential phone service] [http://maireje.w8w.pl/library/nursery-rhymes.html nursery rhymes mp3 downloads] [http://fount.isasecret.com/new/tiki-island.html tiki island] [http://boomstickreport.freehostia.com/q/underwear.html underwear] [http://rabinovich.freehostia.com/sitemap.html http] [http://thetoad.ifrance.com/content/key-chain-toy.html key chain toy] [http://mercedezalkire.aboutus.vg/life-science.html mathematical application for the management life and social science] [http://deriv.justdied.com/q/osu-educom.html osu edu.com] [http://jamesustaita.ecv.vg/directory/california-car-dealership.html california used car dealership] [http://kovshegru.profil.in/resources/bad-credit-mobile.html bad credit home loan mobile people] [http://thepetecom.profil.in/blog/www-adultfriendfinder.html adult friend finder com] [http://jewelreith.ourprofile.net/q/teen-crush-quiz.html teen crush quiz] [http://getontheboat.ifrance.com/taser-guns.html taser guns] [http://bellynda.profil.in/view/air-soft-pellet.html air soft pellet gun] [http://round.ddns.us/acclaim-photography.html acclaim photography] [http://micharandazzo.ourprofile.net/ariston-flower.html ariston flower] [http://poison.ddns.us/topic/us-constitution.html u.s. constitution history] [http://blakniteludlam.freehostia.com/new/draw-spiderman.html how to draw spider man] [http://tinishav.w8w.pl/view/count-basie.html count basie] [http://poison.ddns.us/topic/making-love-to.html making love to a virgin] [http://wrung.mrbonus.com/styles/vented-gas-logs.html vented gas log set] [http://thepetecom.profil.in/blog/verizon-residential.html verizon residential phone service] [http://should.yourtrap.com/lib/partner-in-travel.html find a travel partner] [http://ruthfremonta.freehostia.com/q/lortab.html lortab buy line] [http://taynasvobodnay.ifrance.com/view/vegetable-seed.html vegetable seed] [http://boomstickreport.freehostia.com/q/free-adaware.html adaware free] [http://acture.isasecret.com/code-coupon-depot.html code coupon depot office] [http://poison.ddns.us/topic/economics-terms.html economics terms glossary] [http://rosanne.w8w.pl/resources/wisconsin-search.html wisconsin search engine ranking] [http://sonnet.yourtrap.com/prints-posters.html prints posters art] [http://skolzashiy.wan.io/blog/xxx-free.html xxx free] [http://catwoman19801.freehostia.com/poker-table-plan.html poker table plan] [http://round.ddns.us/ultrasonic-jewelry.html sharper image ultrasonic jewelry cleaner] [http://emnity.serveusers.com/shailendra-group.html shailendra group]
 
{| align="right"
 
  | __TOC__
 
  |}
 
 
[[Category: Hardware]]
 
[[Category: Hardware]]
[[Category: Automation]]
+
[[Category: Security]]
 
[[Category: Infrared]]
 
[[Category: Infrared]]
  
[[Image:GC100.jpg|right]]
+
{{versioninfo|1004Status=PnP|1004UpdatedDate=24th of January 2012|1004UpdatedBy=BongoWongo}}
  
GC100 is a device which allows you to have remote connection almost anywhere. It's a network device which will forward all your data to :
+
[[Image:GC100.jpg|thumb|250px|GC 100]]
* couple of serial ports
+
 
* [[IR]] senders and/or sensors
+
GC100 is a network-capable device which allows you to add remote control (and other input device) connectivity. The Device had an update (from firmware version 3.0) that makes it work with DHCP and will be added in the subnet of LinuxMCE automatically. So the newer/updated versions are plug and play, the earlier versions need to be added manual as described in this page.
* several relays
+
 
For more details about the product check [http://www.globalcache.com/products/gc-index.html manufacturer web site].
+
It includes:
 +
 
 +
* serial ports
 +
* [[IR|Infrared]] sensors (inputs) and outputs
 +
* one or more relays
 +
 
 +
The remote control data is then able to be sent over an Ethernet (TCP/IP) network through the Ethernet port, without the requirement of a connection to a specific PC.
 +
 
 +
For more details about the product check [http://www.globalcache.com/products/gc-100/ the Global Cache manufacturer web site].
 +
 
 +
Demo videos:
 +
* http://www.youtube.com/watch?v=qig0pESNzyY
 +
* http://www.youtube.com/watch?v=DsSHxn0YS2Y
 +
* http://www.youtube.com/watch?v=58bQd0szCj8
  
 
== Send IR codes ==
 
== Send IR codes ==
Line 35: Line 44:
  
 
== How to ==
 
== How to ==
=== Install ===
+
=== Install old version ===
The device is not quite [[plug&play]]. You have to perform a factory reset and to add it from orbiter ("Add GC100" button).
+
The old version device is not quite [[plug&play]]. You have to perform a factory reset and to add it from orbiter ("Add GC100" button). LMCE will temporarily change its internal network and look for the gc100 at its factory default of 192.168.1.70, change the configuration of the GC100, and the core then goes back to its regular network settings. Note that this will almost certainly fail if your '''exernal''' IP on the core is in the 192.168.1 network! The script will then install needed software and after that it should say that device is ready to use (don't forget to [[quickreload]]).
  
A script will do some tricks with IP, will submit some pages on GC100's interface and so on. It will install needed software and after that it should say that device is ready to use (don't forget to [[quickreload]])
+
==== Complete Manual Install old version ====
 +
NOTE: Perform those steps if automation installation is not working! In 2.0.0.44 Gc-100 can be installed from the Orbiter by pressing the button 'Add GC100' but the device should have factory IP!
 +
 
 +
Factory reset the GC100. Connect it with a crossover cable to your pc. Change the ip address of your pc to the same network. Expl.: 192.168.1.101. Take a webbrowser and go to http://192.168.1.70.
 +
 
 +
Make two changes:
 +
 
 +
1. Serial: Change it to 4800/8/1/N (If you would like to connect a CM11 to it),
 +
2. Network: Change it to your Network, outside of the pluto DHCP range.
 +
 
 +
Take a note of the MAC address of your GC100
 +
 
 +
In the pluto admin:
 +
 
 +
1. Add a new device. Choose the GC100 template
 +
2. Edit the new device
 +
3. Enter your IP Adress
 +
4. Enter the MAC Address of your GC100. Example: 00:0c:11:22:33:44
 +
 
 +
Now reload everything.
  
 
=== Before the first use ===
 
=== Before the first use ===
Line 46: Line 74:
  
 
This should do it.
 
This should do it.
 
=== Changes in LinuxMCE 0710 beta 4 ===
 
The way the gc100 is configured in the database changes in LinuxMCE 0710 beta 4. If you are upgrading from a previous release and have a gc100 set up, you will have to reconfigure it.
 
 
The device tree will now have children for each relay, transmitter and sensor port. These are autodetected depending on the settings made to the gc100 itself and updated as the settings change.
 
 
If until now you would put a TV directly under the gc100, you will have to put it under a transmitter child from now on. This will tell the gc100 which port to use to send the code, instead of sending it using all available transmitters like it did until now. This will allow you to add more IR devices which use the same codes without stepping on each other's toes, since the IR codes will be routed just to the target device. The old functionality is still in place and you can still add a TV directly under the gc100, but make sure you mark the checkbox that says "Don't autoconfigure" if you don't want the gc100 to manage its children, so your device remains in its place.
 
 
This is also true for relays. Add your lights, or other devices that support On and Off commands, under the relay children. The On and Off commands will be routed to the right relay this way.
 
  
 
=== Known Problems ===
 
=== Known Problems ===
Line 121: Line 140:
 
==== Serial Port ====
 
==== Serial Port ====
  
The GC100's serial port does not work under LinuxMCE without a small modification, see: [http://forum.linuxmce.org/index.php?topic=2161.msg10140#msg10140 Re: GC100 + CM11 setup]
+
Previous problems in the gc100-serial-bridge.sh script were fixed in 0710 beta4.
  
The following commands should correct this issue (and make a backup copy just in case):
+
The GC100 serial port needs to be setup for 4800 bauds.  
mv /usr/pluto/bin/gc100-serial-bridge.sh /usr/pluto/bin/gc100-serial-bridge.sh.backup
+
sed -e 's/false/0/g' /usr/pluto/bin/gc100-serial-bridge.sh.backup >/usr/pluto/bin/gc100-serial-bridge.sh
+
  
It basicly replaces '''false''' with '''0''' in the ''/usr/pluto/bin/gc100-serial-bridge.sh'' fileAfterwards a reboot may be in order.
+
In some cases the gc100 may respond with "configuration is locked". If that happens, you need to re-configure the gc100 manually from factory defaults. In the /usr/pluto/bin/gc100-conf.pl, modify the wget call in the "sub configure_webgc" function to add parameter "Y=0" which means "do not lock config":
 +
sub configure_webgc {
 +
    $local_ip = shift;
 +
    system("wget -q -T 3 --read-timeout=4 -t 1 \"http://192.168.1.70/commands.cgi?2=$local_ip&3=255.255.255.0&4=$gw&Y=0&7=submit\"");
 +
    system("wget -q -T 3 --read-timeout=4 -t 1 \"http://192.168.1.101/commands.cgi?2=$local_ip&3=255.255.255.0&4=$gw&Y=0&7=submit\"");
 +
}
 +
or if you do it all manually from the command line:
 +
  wget -q -T 3 --read-timeout=4 -t 1 "http://192.168.1.70/commands.cgi?2=192.168.80.23&3=255.255.255.0&4=192.168.80.1&Y=0&7=submit"
 +
and adapt to the desired IP address.
  
==== Firmware version 3.0 and later ====
 
  
gc100 with firmware version 3.0 and later is Plug&Play, but not yet supported as such by LinuxMCE. It implements a DHCP client and also has a discovery beacon. Because it is able to get an IP address from the DHCP server, you won't be able to add it using the manual method describe here when using a default installation. You either have to use the completely manual installation procedure described on the [http://plutohome.com/wiki/index.php/Gc100#Complete_Manual_Install Plutohome Wiki for gc100], if you know what IP address the DHCP server gave it, or temporarily disable the DHCP server on the core (write down the DHCP settings, because they are erased from the database when you disable the DHCP server from Pluto-Admin - you can also /etc/init.d/dhcp3-server stop, add the gc100 and /etc/init.d/dhcp3-server start, without erasing the database).
+
You can now edit the port speed with the browser. If your browser hangs when you submit, you can use this the following wget call instead:
 +
wget -q -T 3 --read-timeout=4 -t 1 "http://192.168.80.23/serial.cgi?C=1&B=5&F=0&A=submit"
  
 
== Implementation details ==
 
== Implementation details ==

Latest revision as of 22:25, 24 January 2012


Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 PnP 24th of January 2012 BongoWongo
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information
GC 100

GC100 is a network-capable device which allows you to add remote control (and other input device) connectivity. The Device had an update (from firmware version 3.0) that makes it work with DHCP and will be added in the subnet of LinuxMCE automatically. So the newer/updated versions are plug and play, the earlier versions need to be added manual as described in this page.

It includes:

  • serial ports
  • Infrared sensors (inputs) and outputs
  • one or more relays

The remote control data is then able to be sent over an Ethernet (TCP/IP) network through the Ethernet port, without the requirement of a connection to a specific PC.

For more details about the product check the Global Cache manufacturer web site.

Demo videos:

Send IR codes

LinuxMCE implementation of GC100 assumes that in device tree we'll have children and the messages are actually addressed to them instead of GC100 itself.

So when you are sending "ON" to TV controlled by GC100, the message is routed to the GC100, it finds infrared code for "ON" for that specific TV, sends a command to gc100 to send a specific infrared sequence, which will blink IR sender connected to specific port, and the TV will turn on.

The only two commands that GC100 implements itself are : CMD_Send_Code used to test which IR is suitable for your equipment and CMD_Learn_IR used to learn new IR codes.

Learn IR codes

The learning device is actually unrelated to GC100. It may be plugged into one of GC100's serial ports (don't forget to set them to 9600 bps), or in regular serial port, just be sure you specified right port in GC100 device data.

There are several other devices that support learning of infrared codes : IRTrans, Tira, USB_UIRT.

Learning is done from web page. When clicking "Learn" gc100 will start a thread that will try to get data from the port. If nothing is received in 30 seconds the thread will die. The page will continue to refresh trying to see if anything was added, but after 30 seconds it's useless.

Sensors

The gc100 jacks are by default configured as IR transmitters, but they can be configured to function as sensors. The sensors are, in their most basic form, two wires connected to a jack plug. When you cross them, a "sensor tripped" event is emitted. I am not currently aware of how this is supposed to function, who will intercept the event and how will it react to it. One idea for using a sensor is attaching a doorbell button to it, which, when pressed, will notify you in some way.

You must go into the gc100's web panel and set the input jack to 'sensor w/ auto notify' to use an i/r jack for a sensor.

How to

Install old version

The old version device is not quite plug&play. You have to perform a factory reset and to add it from orbiter ("Add GC100" button). LMCE will temporarily change its internal network and look for the gc100 at its factory default of 192.168.1.70, change the configuration of the GC100, and the core then goes back to its regular network settings. Note that this will almost certainly fail if your exernal IP on the core is in the 192.168.1 network! The script will then install needed software and after that it should say that device is ready to use (don't forget to quickreload).

Complete Manual Install old version

NOTE: Perform those steps if automation installation is not working! In 2.0.0.44 Gc-100 can be installed from the Orbiter by pressing the button 'Add GC100' but the device should have factory IP!

Factory reset the GC100. Connect it with a crossover cable to your pc. Change the ip address of your pc to the same network. Expl.: 192.168.1.101. Take a webbrowser and go to http://192.168.1.70.

Make two changes:

1. Serial: Change it to 4800/8/1/N (If you would like to connect a CM11 to it), 2. Network: Change it to your Network, outside of the pluto DHCP range.

Take a note of the MAC address of your GC100

In the pluto admin:

1. Add a new device. Choose the GC100 template 2. Edit the new device 3. Enter your IP Adress 4. Enter the MAC Address of your GC100. Example: 00:0c:11:22:33:44

Now reload everything.

Before the first use

  • Insert proper wires in relays, devices in serial ports, IR LEDs and/or sensors.
  • Go to device's webpage and set proper inputs/outputs, baud rates and so on.
  • Add child devices in LinuxMCE-admin webpage and set proper device data to match the wiring.

This should do it.

Known Problems

MAC detection

--Nite man 06:03, 25 January 2008 (PST) To solve the MAC detection problem replace the function get_gc100mac() in the script /usr/pluto/bin/gc100-conf.pl by new one below:

sub get_gc100mac {
   my($mac, $page, $ret);

   `curl http://192.168.1.70/Commands.cgi -o gc100mac1 --silent`;
   `curl http://192.168.1.101/Commands.cgi -o gc100mac2 --silent`;

   open FILE, "gc100mac1";
   $ret = read FILE, $page, -s "gc100mac1";
   close FILE;

   unless($page) {
       open FILE, "gc100mac2";
       $ret = read FILE, $page, -s "gc100mac2";
       close FILE;
   }

   ($mac) = $page =~ /((?:[\dA-F]{2}-){5}[\dA-F]{2})/i;

   if($mac) {
       $mac =~ tr/\-/\:/;
       loggc("Mac Found $mac\n");
       system "rm -f gc100mac1 gc100mac2";
       return $mac;
   } else { exit 1 }

}

or apply that [gc100-conf.pl.patch]

Currently the support for the gc100 in LinuxMCE is broken, at least for some models or firmware versions. The /usr/pluto/bin/gc100-conf.pl script is for some reason unable to determine the gc100's MAC Adress after it has been reset to factory defaults. As a result it is only half configured and not added to the system properly.

The only known workaround [1] [2] at this time is to manually edit the perl script, and hardcode the MAC address of your gc100. In short, find this line in the script:

sub get_gc100mac {

Then insert this line immediately following it (replace 00:00:00:00:00:00 with the adress of your gc100):

return "00:00:00:00:00:00";

As a result it should look something like this now:

        exit(4);
  }
} 
    
sub get_gc100mac {
  
  return "00:00:00:00:00:00";
  
  `curl http://192.168.1.70/Commands.cgi -o gc100mac1 --silent`;
  `curl http://192.168.1.101/Commands.cgi -o gc100mac2 --silent`;
  open(FILE,"gc100mac1");
  @data1 = <FILE>;
  close(FILE);

Reset the gc100 to factory defaults if necessary and you should be able to add it from an orbiter as described above.

Another possible workaround might be described on the Plutohome wiki for the gc100, under Complete Manual Install.

Firmware versions known to be affected:

  • 2.4-06 (GC100-06)

Serial Port

Previous problems in the gc100-serial-bridge.sh script were fixed in 0710 beta4.

The GC100 serial port needs to be setup for 4800 bauds.

In some cases the gc100 may respond with "configuration is locked". If that happens, you need to re-configure the gc100 manually from factory defaults. In the /usr/pluto/bin/gc100-conf.pl, modify the wget call in the "sub configure_webgc" function to add parameter "Y=0" which means "do not lock config":

sub configure_webgc {
   $local_ip = shift;
   system("wget -q -T 3 --read-timeout=4 -t 1 \"http://192.168.1.70/commands.cgi?2=$local_ip&3=255.255.255.0&4=$gw&Y=0&7=submit\"");
   system("wget -q -T 3 --read-timeout=4 -t 1 \"http://192.168.1.101/commands.cgi?2=$local_ip&3=255.255.255.0&4=$gw&Y=0&7=submit\"");

} or if you do it all manually from the command line:

wget -q -T 3 --read-timeout=4 -t 1 "http://192.168.1.70/commands.cgi?2=192.168.80.23&3=255.255.255.0&4=192.168.80.1&Y=0&7=submit"

and adapt to the desired IP address.


You can now edit the port speed with the browser. If your browser hangs when you submit, you can use this the following wget call instead:

wget -q -T 3 --read-timeout=4 -t 1 "http://192.168.80.23/serial.cgi?C=1&B=5&F=0&A=submit"

Implementation details

In gc100.cpp there is a lot of code for format conversion and other stuff. Practically it's not a big deal it receives a command, find a proper IR sequence and sends it to gc100.

Operating the relays, IR transmitters, and sensors

The gc100 software architecture uses two threads to communicate with the gc100 regarding relays, IR transmitters and sensors, one for sending messages (SocketThread) and one for receiving (EventThread). The reason for this is that the gc100 protocol isn't completely a request-reply protocol, even if it seems like that at first. The gc100 can initiate a transmission when a sensor is tripped, enough to break the request-reply paradigm. The program was designed to treat the communication as asynchronous. Messages are sent to the device without expecting a reply, and the replies are treated as independent events and state change reports, without linking a request to a reply in the program logic (except for the initialization phase).