smartbutnot / flightportal

Project for displaying the details of planes overhead on an Adafruit MatrixPortal and LED matrix
256 stars 22 forks source link

Add max_altitude parameter. #2

Closed riccardo1991 closed 1 year ago

riccardo1991 commented 1 year ago

I have made a little modification introducing the altitude. I did this, so it's possible to "ignore" the flights at cruise altitude and see on the panel only the ones are actually landing outside my window.

smartbutnot commented 1 year ago

Thanks for this, my first pull request! I've just done a rewrite of the details lookup which will impact this. It's a good idea though, so I've put in an area in for filters, with alititude the example. It'll be in code.py rather than secrets, the bounds box is in there because it could potentially show where people live, nothing else is likely to be sensitive.

Just testing it for memory stability, will merge here in a day or two and it hopefully covers your change too.

smartbutnot commented 1 year ago

Altitude now exposed in the get details, and example filter available.