Yup I got that far. Just trying to figure out how to get from this in aircraft.json
{ "now" : 1455992062.5,
"messages" : 1182944,
"aircraft" :
{"hex":"a6e5b8","altitude":2350,"messages":2,"seen":4.2,"rssi":-18.5},
{"hex":"a8856d","altitude":11600,"vert_rate":-2176,"track":102,"speed":409,"messages":19,"seen":0.9,"rssi":-19.2},
{"hex":"a302a0","altitude":9475,"messages":69,"seen":62.6,"rssi":-17.5},
{"hex":"aab9aa","altitude":23125,"messages":96,"seen":0.0,"rssi":-15.5},
{"hex":"a5097f","altitude":2100,"messages":51,"seen":149.2,"rssi":-17.7},
]
}
To showing the simple aircraft count and message rate on the map page
http://www.derptronics.com/linkover/img/Capturedump.JPG
On the LCD.
I can show the data with this Python script
import urllib
import json
url = "http://192.168.11.101/dump1090/data/aircraft.json"
data = urllib.urlopen(url).read()
data = json.loads(data)
lcd = CharLCD()
lcd.clear()
lcd.message("Aircraft: " +str(data'aircraft'])) #Aircraft
lcd.write4bits(0xC0) #Second Line
lcd.message("Messages: " +str(data'messages'])) #Messages
http://www.derptronics.com/linkover/img/FullSizeRender.jpg
Just stumped on how to display a simple count and message rate and not the entire aircraft data section/large message number. Python is not my thing and any help is appreciated.