29 Apr '17, 3am

Learn how to track overhead flights with a #RaspberryPi Zero Wireless!

Learn how to track overhead flights with a #RaspberryPi Zero Wireless!

1 #!/usr/local/bin/perl 2 3 use strict; 4 use IO::Socket::SSL; 5 use JSON::PP; 6 use IO::Uncompress::Inflate qw($InflateError); 7 use Data::Dumper; 8 9 my $username = 'allaboutcircuits'; 10 my $apikey = 'allaboutcircuitsreallylongapikey'; 11 my $compression = 0; 12 13 # Open the TLS socket connection to FlightAware. 14 my $sock = IO::Socket::SSL->new('firehose.flightaware.com:1501') or die $!; 15 # print "Connected!\n"; 16 17 # Send the initiation command to the uncompressed socket. 18 my $initcmd = "live version 8.0 user $username password $apikey events \"position\" latlong \"33 -117 35 -119\""; 19 if ($compression) { 20 $initcmd .= " compression compress"; 21 } 22 binmode $sock; 23 print $sock "$initcmd\n"; 24 25 # Activate compression, if requested. 26 my $zsock; 27 if ($compression) { 28 $zsock = new IO::Uncompress::Inflate $sock 29 or die "IO::Uncompress::Inflate fai...

Full article: https://www.allaboutcircuits.com/projects/track-overhead-...

Tweets

Get Up Close to your Soldering with a Pi Zero Microscope

Get Up Close to your Soldering with a Pi Zero M...

hackaday.com 26 Apr '17, 8am

Do your Mark 1 Eyeballs no longer hold their own when it comes to fine work close up? Soldering can be a literal pain unde...

Senior Wireless System Engineer job at Riglobe Anywhere

Senior Wireless System Engineer job at Riglobe ...

startupjobs.asia 29 Apr '17, 2pm

Riglobe is evolving the way the world connects. By seamlessly connecting users around the world with internet access, anyw...

The Raspberry Pi As An IR To WiFi Bridge

hackaday.com 23 Apr '17, 2pm

[Jason] has a Sonos home sound system, with a bunch of speakers connected via WiFi. [Jason] also has a universal remote de...