D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Exeter LUG Meeting

 

Thanks Rick for organising and Gordon for putting on the show:
http://flic.kr/s/aHsjzitm9C

Good to meet new people and catch up with folks like Simon!



As I mentioned last night, if I could purchase a RasberryPI, assign
its mac address to something like pi.lan on my DHCPD

Then ideally it would just be powered on as a Web server I could query like so

    $.getJSON("http://pi.lan/temp?jsoncallback=?";,
    function(data) {
        $('h1#temperature').html(data.celcius);
    });


I would be impressed.

So the problems in my mind is providing
1) simple reliable OS
2) Simple Webserver - http://hg.suckless.org/quark/ or
http://www.nazgul.ch/dev_nostromo.html
3) Some CGI to handle the JSON requests - i would personally write
this in shell. https://github.com/keenerd/jshon/ might help
4) Some decent API design - this is surprisingly non-trivial,
especially if we want to make this fast, then we need to use sockets
and probably golang to provide it?

I guess what I'm aiming for is something like Twine:
http://www.kickstarter.com/projects/supermechanical/twine-listen-to-your-world-talk-to-the-internet


The projects around http://prazefarm.co.uk/ I have mind in mind that
the rasberryPI might be useful for:
* logging temperature around the house that are within wireless range
* door access control powered by a USB RFID reader, would need to get
those doors magnets from somewhere
* security camera - this might be a bit too hard to do well compared
to http://www.y-cam.com/
* attached to a laser beam to count folks breaking the beam (motion
detector type use case)

After living in Singapore, I am still desperately keen to improve
insulation at the house and I was keen on the infrared thermometer.
More keen on a thermal imaging camera. Anyone have one I could borrow?


Kind regards,

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq