I'm impressed.
I have small keyring with a USB memory stick, 2 yubikeys and a cofee machine cashless RFID key on. Stupidly I left said key in the vending machine. The system operators at work collected it and set about finding the owner. 1st up, they discovered that they can't read any files off yubikeys (heh) but googled the image and found the manufacturers website and said they had found serial #.... and #.....
Having spend the last 2 days rummaging in car / home looking for it, I got an email from yubico saying that <email> had found my key, based on the serial no of the one I purchased. Work also got an email for the other serial no, which they traced to me.
I'm *very* impressed by this level of attention at yubico, and it means when distributing keys within the business it pays to keep track of the serial no (printed under the 2d barcode).
It does raise the question of how (if) one should notify yubico if they're passed on - especially if I overwrite the yubi profile (as I have done) to prove that I am the rightful owner of the key.
Things to consider with revocation / blocking, especially with a distributed architecture like Fedora....
Tuesday, 28 February 2012
Saturday, 25 February 2012
apcupsd via Python to Pachube
In python, the 'default' URL accessing toolkit (urllib2) doesn't support PUT, however I've discovered requests which a) does and b) is in Fedora. So one apt-get install python-requests.noarch and you're off.
So - one trivial script (reusing much of the code for my MQTT variant) you get https://gist.github.com/1903259. The only minor niggle was working out how to prepend the minimum extra json content (version and datastreams) as I'd not used the json libs before. (Hmm yet another github toy - embeddable gists with syntax highlighting. Nice) Update now I have 24h worth of data - plot attached
So - one trivial script (reusing much of the code for my MQTT variant) you get https://gist.github.com/1903259. The only minor niggle was working out how to prepend the minimum extra json content (version and datastreams) as I'd not used the json libs before. (Hmm yet another github toy - embeddable gists with syntax highlighting. Nice) Update now I have 24h worth of data - plot attached
Friday, 24 February 2012
Cool Stuff
Things you find on the internet...
The Swiss Federal Office for the Environment (FOEN) Hydrology dept monitors the water temp at its gauging stations (http://www.hydrodaten.admin.ch/en/) including the one downstream from Lac Leman. Soneone else is feeding these into pachube as a data feed (https://pachube.com/feeds/43397) which means it's trivial to generate an on demand plot of last weeks water temp:
The Swiss Federal Office for the Environment (FOEN) Hydrology dept monitors the water temp at its gauging stations (http://www.hydrodaten.admin.ch/en/) including the one downstream from Lac Leman. Soneone else is feeding these into pachube as a data feed (https://pachube.com/feeds/43397) which means it's trivial to generate an on demand plot of last weeks water temp:
Wednesday, 22 February 2012
Machine Tags
Flickr has had machine tags for several years now (and they are a Good Thing), but one of the problems with introducing new namespaces is the lack of any formal definition, so people are free to add as they wish (this is generally a good thing, but can lead to garbage data).
So: I propose a new namespace for the Amateur Radio community called say 'hamradio:' that would then mean an image such as http://www.flickr.com/photos/elwell/5397112294/in/set-72157625667743349/ could be suitably tagged. - The visual information in there shows callsign, date and position - but should it be plotted on the senders locatation, or the site that received it. Or both....
Since I don't have enough time, Someone Else (tm) should create a noticin.gs style QSL lookup that can integrate with hamlog.eu or qrz.com. Or something.
Discuss...
So: I propose a new namespace for the Amateur Radio community called say 'hamradio:' that would then mean an image such as http://www.flickr.com/photos/elwell/5397112294/in/set-72157625667743349/ could be suitably tagged. - The visual information in there shows callsign, date and position - but should it be plotted on the senders locatation, or the site that received it. Or both....
Since I don't have enough time, Someone Else (tm) should create a noticin.gs style QSL lookup that can integrate with hamlog.eu or qrz.com. Or something.
Discuss...
Tuesday, 21 February 2012
Teleinfo update
I''ve been using a teleinfo shield on a nanode to try and datalog our electricity usage, but the logging to the CSV file kept truncating as if the arduino had locked up. There have been discussions elsewhere that this may be related to the code in arduino 1.0 so I decided to rewrite a step at a time to try and debug the problem.
Some observations on the way:
1) having to flip a jumper over on the shield between programming and run is *very* annoying in a cold garage, so I'm going to rewire it slightly to use SoftwareSerial on a spare input (leave JP1 open and wire from one side of it to a spare pin) - I already have a link since the shield tries to use DIG6 by default which is used by the red LED on a nanode.
2) the arduino IDE doesn't like anything other than 8N! on the serial monitor. close it and use kermit. if you can't read serial with kermit, then it's *very* broken :-)
3q) our usage is going UP not down :-( -- lowest figure I managed to get the baseline to was 340VA
With a very simple logger
Serial.print(char(meter.read()));
I can stream the output to a kermit session log as
^Bnext trick is to try and get the processing organised into blocks and validate the checksum, but my code doesn't seem to detect the stx/etx properly
ADCO 040222048573 <
OPTARIF BASE 0
ISOUSC 30 9
BASE 040912359 ,
PTEC TH.. $
IINST 002 Y
IMAX 029 J
PAPP 00340 (
MOTDETAT 000000 B^C
void loop() {
if(meter.available()>0) {
if((c = meter.read()) == 02) { // start of block
Serial.println("DEBUG: Start Loop");
while((c = meter.read()) != 03) { // Loop until end of block
Serial.print(char(c));
}
digitalWrite(LED, LOW); // Flash LED
delay(50);
digitalWrite(LED, HIGH);
}
}
}
so mode debugging called for. Once thats done, then I'll send the values to an emon style display over rfm12b
Wednesday, 1 February 2012
plaquewatching
Some scribblings that may be of interest to those folks over at open plaques (@openplaques) about the Scottish Film Council, now merged into 'Scottish Screen'
Googling for plaque info reveals that there was a plaque erected in 1996 in Castle Gardens, Dunoon. Later taken down as Eric Campbell came from Cheshire (Ref)
One in Aberfeldy main square unveiled in 1997? for Donald Crisp -- may also be fake (ref) [1353]
Sean Connery unveiled his own one after it had been down for 4 years (ref, ref) after the demolition of S&N plant and building of 'Springside' development [8553]
Chariots of fire at St Andrews (pic pic) [added as 8822]
Duncan Macrae in Millport (pic) [already there as 8521]
Googling for plaque info reveals that there was a plaque erected in 1996 in Castle Gardens, Dunoon. Later taken down as Eric Campbell came from Cheshire (Ref)
One in Aberfeldy main square unveiled in 1997? for Donald Crisp -- may also be fake (ref) [1353]
Sean Connery unveiled his own one after it had been down for 4 years (ref, ref) after the demolition of S&N plant and building of 'Springside' development [8553]
Chariots of fire at St Andrews (pic pic) [added as 8822]
Duncan Macrae in Millport (pic) [already there as 8521]
Subscribe to:
Posts (Atom)
Word of mouth Skye History
Many years ago we lived in the Old Manse in Waternish, Skye. If you look on the maps, you'll spot that unlike nearly all the other house...
-
Those of you who follow my twitter stream will have noticed that I managed to 'lose' my home machine today. It was online and activ...
-
Many years ago we lived in the Old Manse in Waternish, Skye. If you look on the maps, you'll spot that unlike nearly all the other house...
-
There seem to be several branded versions of this cheap 2 unit wide energy meter available online from the regular stores. I have a 'tom...