Here are some of the first prints from this year… progress… always nice to see 🙂
I told you it was busy 🙂 Here is what I just sent to the printers – over 300 parts.
Well I managed to do some work over Christmas on St Pancras but the list seems never ending! Here are some of the bridges and first pass of the old Imperial Gas Works Co Gasometers (still needs some work) – oh and of course the hotel entrance.
We had a super time at RIAT this weekend, practicing my awful Polish skills got us a behind the scenes look and talk through one of their aircraft, really fun!
I got this ferrograph display as scrap about a year ago from the 3 week shelves at rLab and it gathered a lot of dust! So I started looking into testing and could see that it was functional by changing some of the headers. I then had a look on google and these displays were designed to plug into phone systems as such there wasn’t really an in.. until I saw a chap called Robert Coward had created a custom firmware.
I bought the firmware from Robert (which wasn’t cheap) but it is amazingly documented and actually brilliant.
I then hacked the input over to RS232 and plugged a Raspberry Pi into this interface.
The Pi runs a crontab every minute to download the contents of a php page which gets data about the weather and tfl.
So an evening later, I can see if the Metropolitan line is running okay and what time the 8.30 arrival is departing so I make it to the train on time.
I plan to really extend this out a lot as it is really nicely simple and very useful!
PHP code with screen output
$json_data = file_get_contents('http://api.openweathermap.org/data/2.5/weather?id=2634451&units=metric');
$json_obj = json_decode($json_data);
$tube_status_json_data = file_get_contents('https://api.tfl.gov.uk/line/mode/tube/status');
$tube_status_json_obj = json_decode($tube_status_json_data);
// Journey - use your own key!
$tube_journey_json_data = file_get_contents('https://api.tfl.gov.uk/Journey/JourneyResults/1000111/to/1000149?nationalSearch=False&&time=0845&timeIs=Arriving&&&&&&&&&&&&&alternativeCycle=False&alternativeWalking=True&applyHtmlMarkup=False&useMultiModalCall=False&app_id=XXX&app_key=XXX');
$tube_journey_json_obj = json_decode($tube_journey_json_data);
print "_01Z00_02A0" .
"Outside now: " . $json_obj->weather->description . " " . round($json_obj->main->temp,1) . "c " . date('jS H:i') . "_0C " .
$tube_status_json_obj->name . " " . $tube_status_json_obj->lineStatuses->statusSeverityDescription . "_0C " .
"Planner: " . $tube_journey_json_obj->journeys->duration . "mins, depart " . date("H:i",strtotime($tube_journey_json_obj->journeys->startDateTime)) . " arrive " . date("H:i",strtotime($tube_journey_json_obj->journeys->arrivalDateTime)) .